This chocolate sweet potato cake is a rich and fudgy chocolate cake recipe made extra moist with shredded sweet potatoes. It’s frosted inside and out with tangy chocolate cream cheese frosting, and completely irresistible!
Sweet potato is such an underrated ingredient in desserts. Try this homemade sweet potato ice cream, next. And if you’re looking for another indulgent dessert, check out my buttermilk chocolate cake.
Fudgy Chocolate Sweet Potato Cake
I’m already pretty crazy about my original sweet potato cake, and this one’s for chocolate lovers! It’s a soft and fudgy chocolate cake filled with tender shredded sweet potatoes, and frosted with indulgent chocolate cream cheese frosting. It’s an easy recipe to make from scratch, even if you’re new to baking and frosting layer cakes. If the idea of baking sweet potatoes into dessert sounds a bit strange to you, trust me. Those who tried this recipe during testing had no idea there was sweet potato in there. Just look at how moist and chocolatey this cake turned out!
Why I Love This Sweet Potato Cake Recipe
- Rich and chocolatey. I based this sweet potato cake on my chocolate zucchini cake recipe, swapping shredded zucchini for sweet potato instead. This cake is fudgy and rich, and husband-approved.
- Subtle sweet potato sweetness. The sweet potatoes are finely shredded and cooked nicely into the cake. It adds a hint of sweetness as the sweet potato caramelizes in the heat and goes together wonderfully with the chocolate.
- Extra moist. Most of my cake and cupcake recipes use vegetable oil in place of butter. Combined with sour cream, it yields an ultra-moist, yet fluffy and tender chocolate cake that stays that way for days.
Ingredient Notes
These are the key ingredients for this chocolate sweet potato cake, along with some notes. Scroll down to the recipe card for a printable ingredients list with the full recipe measurements and details.
- Sweet Potatoes – Freshly grated using a box grater or similar. Alternatively, what I like to do for my carrot cake is throw chunks of sweet potato into a food processor and pulse it into smaller pieces that way.
- Oil – Choose a mild vegetable oil, like canola oil. You could use olive oil (as long as it’s not a robust-flavored oil) for a slightly more savory note.
- Sour Cream – This can also be substituted with plain or Greek yogurt.
- Cocoa Powder – Since this recipe uses both baking soda and baking powder, I opted for Dutch-processed cocoa powder, which gives this cake a rich and fudgy flavor. I use it in both the cake and the frosting. You can use natural unsweetened cocoa powder as well (learn about the different types of cocoa powder in my tutorial).
- Brewed Coffee – To enhance the chocolate flavor in cakes. You shouldn’t taste the coffee unless you are sensitive to it. You can use any variety, decaf or regular. If you don’t have any coffee, milk is the best alternative.
- Frosting – I frost this cake with my easy chocolate cream cheese frosting. Full-fat cream cheese is always recommended. Both the butter and cream cheese for the frosting should be cold, straight from the fridge. Heavy cream in the frosting can be swapped for milk if needed.
How to Make a Sweet Potato Chocolate Cake
Making a soft, moist, and fudgy chocolate sweet potato cake takes just a few easy steps. I’ve included step-by-step photos here, and you’ll find the printable recipe directions in the recipe card after the post.
- Mix the wet ingredients. Mix together the sugar, eggs, oil, sour cream, and vanilla. Peel and grate the sweet potato into small pieces and add to the batter.
- Add the dry ingredients. Combine and sift the dry ingredients into a bowl. Give that a whisk, then add the dry ingredients to the wet batter and mix, streaming in the hot coffee as you go.
- Bake. Divide the cake batter evenly between two greased and lined round cake pans. Bake at 350ºF for 30-35 minutes. Afterward, allow the cakes to cool before you frost them.
- Prepare the frosting. First, cube the cold butter and beat for few minutes until it’s soft and whipped. Then add the cream cheese and beat till combined. Next, incorporate the cocoa powder and vanilla. Once that’s smooth, add powdered sugar a couple of cups time, beating in between until the frosting is whipped and fluffy. Only add the heavy whipping cream if needed to thin out the frosting.
- Assemble and frost the cake. Once the cakes are cooled, level the cake layers and assemble your chocolate sweet potato cake. I have a full tutorial on how to make a layer cake if needed. Afterward, frost the outside of the cake and use any leftover frosting to decorate (see below for more ideas).
Julianne’s Recipe Tips
- Peel the sweet potatoes. Don’t forget to remove the sweet potatoes’ skins before you shred them for the cake.
- Grease and line the baking pans. I like to line the bottom of my round cake pans with parchment paper and then grease AND flour the sides of the pans. It’s extra insurance against sticking, so the cakes pop right out.
- Use bake-even stripes for evenly baked cake layers. For nearly all my recipes, I use my bake even stripes to produce evenly baked, flatter cakes which makes the layers slightly taller as well.
- How to tell it’s done baking. When a toothpick stuck into the center of your chocolate sweet potato cake comes out clean, the cake is done. If it’s still streaked with batter, the cake needs a bit more time in the oven.
- Cold ingredients for the frosting makes a difference. The recipe calls for cold butter and cold cream cheese. Before combining them together, the butter should be whipped and spreadable, a similar spreadable consistency to the cream cheese. The cold ingredients prevents the frosting from being too soft to handle.
More Ways to Decorate
I love finishing this cake with swirls of leftover chocolate cream cheese frosting. If you’re still getting the hang of frosting cakes, I have in-depth tutorials on how to use a piping bag and how to use piping tips that walk you through it. I also have a guide on how to decorate cupcakes, and many of those tips apply to cake decorating, too!
There are countless ways to decorate this chocolate sweet potato cake, here are some of my go-to’s:
- Add garnishes. Top the cake with a sprinkle of shaved chocolate, chocolate chips, or crushed nuts, like pecans. You could also add your favorite sprinkles.
- Add a drip. Use pourable chocolate ganache to make a chocolate drip cake.
- Different frosting. If cream cheese frosting isn’t your thing, you can absolutely frost this sweet potato cake with any frosting you prefer. Try my classic chocolate buttercream frosting, this whipped ganache frosting, or brown butter frosting.
- Drizzle with caramel. Give the top of the frosted cake a drizzle with homemade salted caramel sauce or hot fudge sauce.
How to Store
- To store. Store the frosted sweet potato chocolate cake airtight at room temperature for up to 2 days, or in the fridge for up to 1 week. If you do keep it in the fridge, I recommend taking it out ahead of serving to bring it back to room temperature.
- Freeze. You can freeze the frosted or unfrosted cake. To freeze the assembled layer cake, store it airtight and keep it frozen for up to 1 month. Thaw the cake in the fridge before serving. Store the unfrosted cake layers double-wrapped in plastic wrap and thaw them in the fridge before decorating.
More Chocolate Cake Recipes
Chocolate Sweet Potato Cake
- Prep Time: 45 minutes
- Cook Time: 32 minutes
- Total Time: 1 hour 17 minutes
- Yield: 10 slices
- Category: Cake
- Method: Oven
- Cuisine: American
Description
This chocolate sweet potato cake is a moist and fudgy chocolate cake recipe made extra indulgent with shredded sweet potato and the creamiest chocolate frosting.
Ingredients
For the cake
- 2 ½ cups raw, grated sweet potato (about 1 ½ large or 2 medium sweet potatoes)
- ½ cup (118ml) vegetable oil
- 4 large eggs, at room temperature
- 1 tablespoon (15ml) pure vanilla extract
- ½ cup (120g) full-fat sour cream, at room temperature
- 1 ½ cups (285g) granulated sugar
- 2 cups (240 g) all-purpose flour, sifted
- 1 cup (80g) Dutch-processed cocoa powder, sifted
- 3 teaspoons (12g) baking powder
- 1 ½ teaspoon (6) baking soda
- 1 teaspoon (5g) salt
- 1 cup (236ml) hot brewed coffee
For the Frosting
- 1 ½ cups (339g) unsalted butter, cold
- 8 ounces (226g) full-fat cream cheese, cold
- 1 cup (80g) Dutch-processed cocoa powder, sifted
- 6 cups (780g) powdered sugar, sifted
- 1 tablespoon (15ml) pure vanilla extract
- ¼ teaspoon salt
- 1–2 tablespoons (15-30ml) heavy whipping cream (or milk)
Instructions
For the Cake
- Preheat the oven to 350°F. Prepare two 8-inch round baking pans, line the bottom with parchment paper, and grease and flour the sides of the pan.
- Using the large cheese grater, grate the peeled sweet potato. Alternatively, you could use a food processor for smaller pieces.
- In a large mixing bowl, combine the eggs, oil, sour cream, and vanilla extract. Beat all the ingredients together until well combined. Add the sugar and beat until incorporated.
- Sift together the remaining dry ingredients in a large bowl and whisk to combine. Add the dry ingredients to the wet ingredients and begin mixing while slowly streaming in the coffee. Beat at a low speed until well combined.
- Divide the batter evenly between the two pans, about 2 ¾ cups of batter each. Bake at 350°F for 30-35 minutes. Test the cake for doneness by inserting a toothpick into the center of the cake. If the toothpick comes out clean, the cake is done. Remove from the oven and allow to cool completely.
For the Frosting
- Cut the butter into 1-inch blocks. Beat the butter for 3-4 minutes until it’s softened and whipped.
- Then add the cream cheese and cream together for 2-3 minutes until they are fluffy and free of lumps, and scrape down the bowl occasionally.
- Next, Add the cocoa powder and vanilla extract and beat until well combined,
- To finish, add the confectionary sugar 2 cups at a time and beat for 60-90 seconds until completely smooth before adding more. Reserve the heavy cream only if needed to thin out the frosting.
- Level the cake layers if needed. Place a dollop of frosting on your cake board and place the bottom layer of cake on top of that. Place half of the frosting in a large piping bag, then cut off the end of the piping bag. Pipe the first layer of frosting, pipe in circles working outside edge to the middle. Spread evenly with an offset spatula. Place the second layer inverted of the cake.
- Use the piping bag to fill in any gaps between the layers and to create a crumb coat. Using an offset spatula or icing smoother, wipe away the excess frosting, leaving you just enough to coat the outside of the cake. With the remaining frosting, pipe the frosting along the outside edge of the cake using a large open round tip then use an offset spatula to smooth the edges. Use any remaining frosting to decorate with.
Notes
Substitutions:
- Dutch-processed cocoa powder can be swapped with a natural, unsweetened cocoa powder
- Sour cream can be substituted with plain or Greek yogurt.
- Coffee is used to enhance the chocolate flavor in cakes. You shouldn’t taste the coffee unless you are sensitive to that. You can use any variety, decaf or regular. If you don’t have any coffee, milk is the best alternative
-
Heavy cream in the frosting can be swapped for milk if needed.
Storing
- To store. Store the frosted sweet potato chocolate cake airtight at room temperature for up to 2 days, or in the fridge for up to 1 week. If you do keep it in the fridge, I recommend taking it out ahead of serving to bring it back to room temperature.
- Freeze. You can freeze the frosted or unfrosted cake. To freeze the assembled layer cake, store it airtight and keep it frozen for up to 1 month. Thaw the cake in the fridge before serving. Store the unfrosted cake layers double-wrapped in plastic wrap and thaw them in the fridge before decorating.
Nutrition
- Serving Size: 1 Slice
- Calories: 1037
- Sugar: 103.8 g
- Sodium: 613.6 mg
- Fat: 53.5 g
- Carbohydrates: 141.2 g
- Fiber: 6.8 g
- Protein: 10.8 g
- Cholesterol: 179 mg
Can this be made into a cupcake?
Hi Jane, I have not specifically tested it as cupcakes, but given the baking powder and fluffiness of the cake, I think it should work just fine. I would recommend preparing the batter or even a half batch and then baking up 1 or 2 cupcakes to see how they turn out. If you don’t like it, you can use the remaining batter to make a cake.
Hi there!
Wow, this Sweet Potato & Chocolate cake seems delicious, and I’ll definitely make it.
However, could you tell me which cup size you used (in ml) for the measures?
Thank you for your attention.
Regards,
Marcia C. Viegas
São Paulo/Brazil
Hi Marcia, I use a website called Covert Me to convert my recipes. I looked up raw sweet potatoes and it says 236ml
I used baked yam (pureed in the blender) over grated. Much easier and still tasted awesome. I also added an extra egg (in place of 2 egg whites), 1/4 cup extra oil (I used avocado and olive oil), doubled the cocoa (yeah… chocolate crazy here!) and used two 9″ cake pans instead of three 8″ ones (greased with coconut oil… it renders, in my opinion, a pleasant texture and flavor to the bottom of chocolate cake). These mods required a longer baking time (total of ~30-45 min).
The end result was absolutely fabulous! It disappeared before I was even able to bother with making the frosting. 😉
HA! Anna- that’s amazing!! I love the substitutions and I am so glad it worked out for you. I might have to try that doubling the cocoa trick 🙂
This may be a silly question but,,, is the sweet potato raw or boiled
Hi there, not a silly question at all! This should be raw. I will add that to the recipe description. You just need to shred them like carrots!