This vegan sweet potato cake is moist, soft and warmly spiced! It has a velvety texture from the sweet potato and is inspired by the classic Southern dessert. This cake is wonderful on its own or topped with a dairy-free cream cheese frosting and sweet potato caramel.

Close up of slice of sweet potato cake surrounded by more cake.

Simple Ingredients You’ll Need

Flat-lay of ingredients for the vegan sweet potato cake.

The full list of ingredient quantities and instructions are in the recipe card at the bottom of this post.

Notes About the Ingredients

Sweet potato for pureeing. Similar to my sweet potato bread, it adds a lovely cozy flavor and acts as a partial egg replacer. You can use steamed, boiled or baked sweet potato (see the notes in the recipe card for the baked option). Canned sweet potato will probably work, but I haven’t tested it myself.

Granulated sugar provides sweetness, moisture and ensures the cake isn’t too heavy. And some brown sugar, which adds notes of molasses that complement the sweet potato and spices so perfectly.

Neutral-flavored oil makes the cake soft and tender and balances the natural starches in the sweet potato. Without oil, sweet potato can make baked goods a little gummy.

Warm spices including ground cinnamon, ginger and nutmeg. These spices make this cake reminiscent of classic carrot cake!

For a chocolate version, check out my chocolate sweet potato cake!

Flat-lay of vegan sweet potato cake topped with cream cheese frosting and swirls of sweet potato caramel.

Prepare the Sweet Potato Cake Batter

First, if you’re using fresh sweet potato, you need to steam, boil or bake it. Baked sweet potato is a bit drier so, if you use it, you’ll need to add more milk to the recipe (see the notes in the recipe card for more details).

Once cooked, add the sweet potato and the remaining wet ingredients to a large jug or mixing bowl, then blend until smooth with a stick blender. A stand blender also works but avoid food processors as they won’t puree the sweet potato as finely. It’s easiest to blend the sweet potato with the wet ingredients – sweet potato is so thick that it can be difficult to blend by itself!

If your sweet potato is already pureed, add all the wet ingredients (including the sugar) to another bowl and mix until combined.

Then, in another bowl, add all the flour, raising agents, spices and salt and whisk until well combined.

Two image collage of dry ingredients in one bowl and wet ingredients in a pouring jug.

Pour the wet ingredients over the dry ingredients and fold until combined. The batter should be very thick.

Try to avoid overmixing, as this will make your cake gummy and dense. It’s okay if your cake batter has some lumps, as long as they aren’t lumps of dry flour.

For the best results:

  • If your flour is lumpy, sift it with the rest of the dry ingredients! When flour is lumpy, you’re more likely to overmix the batter.
  • Measure your flour accurately. It’s best to use the gram measurements but, if you only have measuring cups, use the spoon and level method.
Two image collage of mixing bowl with ingredients before mixing and final batter.

Baking Sweet Potato Cake

Pour the batter into a 9-inch (23cm) square cake pan with some parchment overhanging. The parchment will make it easier to remove the cake after baking! As the batter is quite thick, you’ll need to smooth it out with a spatula or spoon.

Two image collage of baking pan, before and after cake is baked.

Decorating the Cake

This vegan sweet potato cake is delicious without any frosting. If you want something more indulgent, I loved serving it with a soft cream cheese frosting. It is soft and tangy, which complements the sweet potato and spices so well!

Ensure the cake is completely cool before decorating, because a warm cake will melt the frosting! Keep in mind that sweet potato is a dense ingredient, so it can take at least 2 hours for the cake to cool down.

For a special touch, you can also swirl some sweet potato caramel in the frosting and sprinkle chopped pecans on top. The sweet potato adds an incredible depth of flavor that makes the caramel taste similar to Biscoff!

Some other topping ideas:

  • A softened American-style buttercream such as from my vegan ginger cake. For a softer buttercream, add a dash of dairy-free milk or cream. If you want a subtle tang similar to cream cheese frosting, add a dash of lemon juice.
  • A two-ingredient glaze, such as what I used in my pistachio lemon cake. But use plant-based milk instead of lemon juice.

Or serve a slice with a dollop of whipped dairy-free cream, coconut yogurt or a drizzle of warm custard. Yum!

Close up of cake on plate, focusing on soft and moist texture.

Customizing This Recipe

Can I make this cake healthier?

This sweet potato cake is meant to be a more indulgent dessert. For a sweet potato dessert with less sugar and oil than this one, check out my sweet potato bread or chocolate sweet potato cake.

Can I use gluten-free flour?

My team and I have tested this with King Arthur’s measure for measure gluten-free flour and it works well. I would just recommend baking the bread for a few extra minutes to ensure it’s baked through.
Other gluten-free flour blends are made with different ingredients, so results may differ.

Can I use a different cake pan?

This cake is quite thick and dense so I don’t recommend baking the recipe as is in a smaller baking pan. It’ll work best if you scale down the recipe! Tap on the number next to ‘Yield’ in the recipe card to scale down ingredient quantities.

I haven’t tested this recipe as a layer cake; however, it has a similar capacity to my pumpkin cake which means it should bake well in 2 x 8″ (20cm) round cake pans.

Bite shot of one slice of cake, revealing soft and golden texture.

More Vegan Desserts with Hidden Vegetables

Follow Rainbow Nourishments on Instagram, Facebook, TikTok and Pinterest, and subscribe via email to receive all of our latest recipes!

Close up of slice of sweet potato cake surrounded by more cake.
4.91 from 21 reviews

Vegan Sweet Potato Cake

This vegan sweet potato cake is moist, soft and warmly spiced! It has a velvety texture from the sweet potato and is inspired by the classic Southern dessert. This cake is wonderful on its own or topped with a dairy-free cream cheese frosting and sweet potato caramel.

Ingredients

Wet Ingredients

Dry Ingredients

Sweet Potato Caramel (optional)

  • ¼ cup (55g) dairy-free cream
  • ½ x (~45g) very small sweet potato, (weighed after peeling, or 3 tablespoons / 45g sweet potato puree)
  • ¼ cup (50g) granulated sugar
  • 2 tablespoons (30g) vegan butter
  • ½ teaspoon vanilla
  • ¼ teaspoon salt, or to taste

Dairy-Free Cream Cheese Frosting (optional, note 3)

Instructions 

Prepare the Sweet Potato:

  • Peel and chop your sweet potato into small chunks. Steam or boil the sweet potato for 10-15 minutes, or until tender. Let it cool completely. (See note 4 to bake the sweet potato)

Prepare the Cake:

  • Preheat the oven to 180°C (350°F). Grease or line a 9-inch (23 cm) square baking pan with parchment paper.
  • Add the cooked sweet potato and the rest of the wet ingredients (including the sugar) to a large pouring jug or bowl. Puree the mixture with a stick blender. Alternatively, you can blend the mixture in a stand blender. If your sweet potato is already pureed, mix it with the rest of the wet ingredients in a bowl until smooth.
  • Add the dry ingredients to a large mixing bowl and whisk until combined.
  • Add the wet ingredients to the dry ingredients and mix until just combined and there are no pockets of dry/wet ingredients. The batter should be very thick. Make sure you don't overmix the batter, as this will make your cake dense.
  • Pour or scoop the batter into your prepared cake pan and smooth the top.
  • Bake the cake for 38-42 minutes. If you insert a toothpick in the center, there shouldn't be any wet batter on it (some moist crumbs are fine).
  • Allow the cake to cool in the pan for around 15 minutes, then transfer it to a cooling rack to cool completely.

Make the Sweet Potato Caramel (optional, prepare at least 2 hours before decorating):

  • Add the cream and cooked sweet potato puree to a pouring jug and blend until just smooth. Set aside at room temperature.
  • In a small saucepan, mix the sugar with about 2 tablespoons of water. Over medium-high heat, cook the mixture until it starts bubbling. Cook until it turns into a clear syrup, then until it turns golden brown. Watch the caramel as it may burn quickly. Do not stir, but swirl the pan to let it cook evenly (note 5).
  • Remove the pan from the heat and carefully whisk in the cream mixture. Be careful, as the mixture may bubble up. Add the butter, vanilla and salt and stir until smooth. Transfer the caramel to a bowl or jar to cool completely. Refrigerate until needed.

Make the Frosting (optional):

  • Add the butter to a large bowl or the bowl of a stand mixer with the paddle attachment. Beat until light and fluffy. Add the powdered sugar and beat until just combined. Finally, add the vegan cream cheese and vanilla and beat until smooth. If your frosting is too runny, add more powdered sugar. Avoid overmixing, as this will cause the frosting to soften. Chill the frosting until needed.

Decorate the Cake:

  • When the cake has fully cooled, spread the frosting on top of the cake. If desired, swirl the sweet potato caramel into the frosting and sprinkle chopped pecans on top. Cut the cake and serve.
  • Store the unfrosted cake in an airtight container at room temperature for 2-3 days, in the fridge for 5 days or in the freezer for 1 month. Alternatively, if the cake is topped with cream cheese frosting, keep it at cool room temperature for 1-2 hours. Otherwise, store the decorated cake in the fridge for 3 days or in the freezer for up to 1 month. Allow the cake to come to room temperature before serving.

Notes

  1. If you’re making the sweet potato caramel, you’ll need 400g of sweet potato. If you’ve already made your own sweet potato puree (made from steaming or boiling), you’ll need 360g of it. I haven’t tested this recipe with canned sweet potato puree but it should work similarly.
  2. Gluten-free version: This recipe works well with King Arthur’s measure for measure flour, and no other changes. You may need to bake the cake for an extra 3-5 minutes.
  3. For frosting/decoration alternatives, check out the blog post above.
  4. For a stronger sweet potato flavor, you can use baked sweet potato. Preheat your oven to 425°F (220°C), place 1-2 whole sweet potatoes with their skin on a baking sheet and bake for 50-60 minutes, or until they’re fork-tender. When the potato has cooled, remove the skin and puree using a food processor or stick blender. Baked sweet potato puree is drier than steamed sweet potato so I suggest adding an extra 2 tablespoons (30g) of dairy-free milk to the batter.
  5. If your caramel has crystallized, add a dash of water and keep cooking until the sugar dissolves.
  6. I updated the recipe in 2026 by increasing the ratio of sweet potato and making the cake more moist and indulgent. If you want to make the original recipe, for the dry ingredients, use 3 cups (375g) all-purpose flour, 1 cup (200g) brown sugar, 3 teaspoons pumpkin spice, 3 teaspoons baking powder and ½ teaspoon baking soda. The wet ingredients were 1 ¼ cups (300g) sweet potato puree, 1 ½ cups (360g) dairy-free milk, ½ cup (110g) oil, 2 teaspoons ACV and 1 teaspoon vanilla. Use the same method as above and bake for 25-30 minutes.  
Did you Make this Recipe?Rate it & leave your feedback in the comments section below, or tag @rainbownourishments on Instagram and hashtag #rainbownourishments!

This post may contain affiliate links. As an Amazon Associate, I may earn a small commission from qualifying purchases at no additional cost to you.