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.

Simple Ingredients You’ll Need

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!

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.

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.

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.

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!

Customizing This Recipe
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.
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.
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.

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!

Vegan Sweet Potato Cake
Ingredients
Wet Ingredients
- 1 x (~360g) large sweet potato, or 2 x medium sweet potatoes (weighed after peeling, note 1)
- 1 cup (200g) granulated sugar
- ½ cup (100g) packed brown sugar
- ⅔ cup (145g) neutral flavored oil
- ½ cup (120g) dairy-free milk, room temperature
- 2 teaspoons apple cider vinegar, optional
- 1 teaspoon vanilla extract
Dry Ingredients
- 2 ¼ cups (280g) all-purpose plain flour, spoon and leveled (note 2 for gluten free)
- 3 teaspoons baking powder
- ½ teaspoon baking soda
- 2 teaspoons ground cinnamon
- ½ teaspoon ground ginger
- ½ teaspoon ground nutmeg
- ½ teaspoon salt
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)
- ⅓ cup (75g) vegan cream cheese, room temperature
- ⅓ cup (75g) vegan butter, room temperature
- 1 ½ cups (180g) powdered sugar / icing sugar, plus more if needed
- ½ teaspoon vanilla extract
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
- 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.
- 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.
- For frosting/decoration alternatives, check out the blog post above.
- 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.
- If your caramel has crystallized, add a dash of water and keep cooking until the sugar dissolves.
- 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.
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.

I made this for a vegan guest coming to our dinner party as a big donut shaped cake. I’m not vegan, and it was truly unbelievably delicious. I’ve been eating leftovers for breakfast the last two days since. I made a quick icing with confectioners sugar and almond milk and vanilla. It was so good!!
Hi Tina, this is truly the best kind of feedback!! I’m thrilled that you enjoyed this cake (especially as a non-vegan) and that it kept well overnight too. Thanks so much for your kind feedback, I appreciate it a lot!
This is one of the very best vegan cake recipes – I make it every month!
Hi Monica, aw what a compliment! I’m so happy that you make this cake regularly. Thanks for letting me know 🙂
We aren’t a vegan family, just a family who keeps vegan ingredients and ran out of eggs and milk. This cake is amazing, half of it is gone already and I haven’t even made the icing yet. Bravo.
Hi Labeille, I’m so happy that you and your family enjoyed this cake!!! Thanks so much for your kind feedback 🙂
The ingredient picture really helps and it looks like a recipe I can realistically try.
“Vegan cream cheese” isn’t really a thing where I am plus most vegan substitutes are really expensive. Can you suggest a simple, dairy free formula for making a similar style icing from scratch?
Hi Sorcha, glad that you find the ingredients picture helpful. With the icing, you can use a simple vegan buttercream but add lemon juice to it (to mimic the cream cheese flavor). If you use the buttercream from my lemon cake recipe, you’ll need around 75% of the recipe to cover this cake.
Hi Anthea! I have tried the recipe and it is really delicious. It’s easy to make and I’ve tried several cake recipes from you now, all turned out perfect! I wanted to make the strawberry muffins today, but unfortunately the store was out of strawberries. Thank you for sharing your recipes and super sweet that you are so animal friendly!! Greetings from the Netherlands
Hi Gina! I’m so happy that you enjoyed this sweet potato cake and several others from my website! Thank you so much for your ongoing support and for doing your best for the animals ❤️.
I have been searching for a smash cake recipe with no eggs and this comes close, as my grandson loves sweet potatoes. However she does not give him added sugars of any kind. How could I modify this recipe if I remove the sugar?
Hi Lisa, I haven’t tried this recipe if you remove the sugar however, I suspect the texture will be similar to my vegan savory muffins. You won’t need to modify the recipe but the cake will taste almost savory. I hope that helps.
I suggest banana cake. No need for eggs and naturally sweet.
This was so darn good. It was most definitely beautifully soft, moist and so yummy and a big hit with everyone.
I used whole meal spelt flour and coconut sugar and made up the spices as per the notes. Then chose the apple crumble on top and it didn’t disappoint.
My partner absolutely loved it on its own, and he didn’t once mention that it was a bit too “earthy” as he describes some of the super dooper healthy treats I make.
I was really happy with it … But I really enjoyed it with a dollop of coconut yoghurt (mango or passion fruit) on the side at dessert time.
Definitely be making it again and can’t wait to check out some other recipes 🤩
I’m so thrilled that you loved this cake, Gina! I love that you were able to customize it to your tastes and that your partner loved it as well. I hope you enjoy anything else that you get to make from my website! Thank you so much for your support and for your kind feedback ❤️
Very easy!!! A LOT of tip very useful!! I am italian and here there isn’t Canned pure of anything 😓 so I did it and mix potato with soy milk and oil and it was perfect!
Toasted some pecan to cover The frosting for more crunchy
I’m so glad you found the post useful and the recipe easy! And that’s great that the cake worked with your potato mixture. Thanks so much for your feedback Mari :).
Made this today for Thanksgiving dessert. Everyone loved it, especially my picky 15yr old & 6yr old nephews. Definitely will be making this for Christmas and event
Aw isn’t it the best when picky teens and kids enjoy our cooking?! Thanks so much for your feedback!
Another great success! I slightly modified the recipe since I didn’t have everything available and it still turned out absolutely fabulous – moist, fluffy with just the right amount of crumb.
Firstly, I only made half the recipe in a loaf tin. I used wholemeal spelt flour, which meant I needed to use less flour – it absorbs more liquid than all-purpose. So I used 150g instead. Then, I used liquid sweetener (without measuring). Most importantly, I made my own sweet potato puree.
A quick hack, start boiling the potato before you do anything else for the recipe! By the time I had everything set up I only needed to mash the potato – don’t even need to blend it – and mix it in with the rest of the ingredients.
For frosting, I only used cream cheese + liquid sweetener. BAM, done!
Aw, I always love hearing about your baking adventures! I’m so glad your modifications worked. And thanks so much for the tip about the potatoes too! Thanks a million for your support last year Vai – I appreciate it so so much. Here’s to a better 2022 xx
I made the cake this week and it was so yummy. Lighter than I’d expect and had such a wonderful aroma. I added a little extra sweet potato because I had it and didn’t want it to go to waste. It meant I needed to add about 15 more minutes to the cooking time but it was still lovely and not overcooked on the outside.
Aw I’m so happy to hear that Orla! Yes, it’s so much fluffier than I expected too haha. Glad it worked with extra sweet potato too. Thanks for your lovely feedback 🙂 x
This was soo good!! I didn’t bake it in the oven for long enough so it came out rather… uncooked, but it was still delicious. Everyone in my family loved it
I’m soo glad to hear that you enjoyed it even though it was underbaked! Thanks Alice!
This is my kind of cake! I am looking forward to warm cinnamon spiced things in the fall :)!
Thanks so much Amy! I adore cinnamon too. I could add it to alll of my baked treats xoxo