Dark, moist chocolate cake gets a deeper kind of richness when sweet potato puree is mixed into the batter. The sweet potato doesn’t taste obvious here; it melts into the crumb, softens the texture, and keeps the layers tender for days. What you get is a cake that slices cleanly, holds together beautifully, and tastes like the kind of dessert people go back for before dinner is even cleared.
The trick is using the puree as part of the wet ingredients instead of trying to work it in at the end. That keeps the batter smooth and gives the cocoa and cinnamon enough support to taste rounded instead of flat. The ganache frosting matters just as much: it starts glossy and loose, then gets whipped with powdered sugar until it turns fluffy enough to spread between layers without sliding off the cake.
Below, I’ll walk you through the small details that keep the cake from turning dense, how to get the ganache to the right texture, and the swaps that still give you a great result when you need them.
The sweet potato made the layers unbelievably moist, and the ganache whipped up into the fluffiest frosting. I chilled the cake for 20 minutes before slicing and the layers held perfectly.
Save this Sweet Potato Chocolate Cake for the kind of chocolate dessert that stays moist, slices cleanly, and feels a little extra special.
The Sweet Potato That Keeps the Crumb Tender Instead of Heavy
The biggest risk with a cake like this is density. Sweet potato puree adds moisture, but if the batter is overmixed or the puree is too wet, the cake can turn gummy in the center before the edges are fully set. The fix is simple: use smooth puree, not stringy mash, and fold it in with the eggs and buttermilk until the batter just comes together.
Cocoa powder also changes how this cake behaves. It absorbs liquid fast, which is why the batter may look a little thick before baking. That’s normal here. The buttermilk loosens the mix enough for a soft crumb, and the baking soda gives the cake lift while the cinnamon rounds out the chocolate instead of making it taste sharp.
What the Sweet Potato, Buttermilk, and Ganache Each Bring to the Pan

- Sweet potato puree — This is the ingredient that keeps the cake plush for days. Use plain cooked and mashed sweet potato puree with no butter, milk, or seasoning mixed in. Canned puree works if it’s thick and smooth; if it looks loose, blot it or simmer it briefly so it doesn’t thin the batter.
- Buttermilk — It adds tang and reacts with the baking soda for a lighter crumb. Regular milk won’t give the same rise or the same subtle sharpness, so the cake can taste flatter. If you need a stand-in, mix 1 tablespoon lemon juice or vinegar into 1 cup milk and let it sit for 5 minutes.
- Dark chocolate chips — These melt into a ganache that tastes deeper than milk chocolate and balances the sweet potato beautifully. Use good chips if you can; cheap ones often contain more stabilizers and can taste waxy. If you only have chopped chocolate, it works too and usually melts even smoother.
- Butter in the frosting — The butter helps the ganache whip into a spreadable frosting instead of staying glossy and pourable. Let the chocolate mixture cool before beating in the powdered sugar or it will turn loose and greasy.
Getting the Batter, Ganache, and Frosting to the Right Texture
Building the Base
Start by creaming the butter and sugar until the mixture looks pale and a little fluffy. That step gives the cake its structure, so don’t rush it. Add the eggs one at a time, then mix in the sweet potato puree, buttermilk, and vanilla until the batter looks smooth and evenly colored. If it looks curdled for a moment, keep mixing; the dry ingredients will pull it back together.
Bringing in the Dry Ingredients
Whisk the flour, cocoa powder, baking powder, baking soda, cinnamon, and salt together before adding them to the wet mixture. Cocoa clumps easily, and uneven mixing is how you end up with bitter little pockets in the finished cake. Fold just until the flour disappears. If you keep beating at this point, the layers can bake up tight instead of tender.
Baking Until the Center Springs Back
Divide the batter evenly between two greased 9-inch pans and bake at 350°F until the tops spring back and a toothpick comes out with a few moist crumbs, usually 35 to 40 minutes. The center should be set, not jiggly, and the sides will start pulling away from the pan. If the tops dome more than you want, that usually means the oven is running hot or the pans are too crowded on the rack.
Whipping the Ganache Into Frosting
Heat the cream until it’s steaming, then pour it over the chocolate chips and butter and let it sit for 2 minutes before stirring. That rest time matters because it gives the chocolate a head start on melting instead of forcing it to split. Once the ganache is smooth, let it cool until spreadable, then beat in the powdered sugar and vanilla until it turns fluffy. If it’s too warm, it will slide; if it’s too cold, it will go grainy and stiff.
Three Ways to Work This Cake Around What You Have
Dairy-Free Version
Use plant-based butter, a thick dairy-free milk plus 1 tablespoon vinegar in place of the buttermilk, and dairy-free dark chocolate for the ganache. The cake will still be moist and chocolatey, though the frosting won’t whip quite as fluffy. Chill it before slicing so the layers stay neat.
Gluten-Free Swap
Replace the flour with a 1:1 gluten-free baking blend that includes xanthan gum. The cake will be a little more delicate, so let the layers cool completely before moving them. Don’t use almond flour here; it changes the structure too much and the center can sink.
Make It a Bit Less Sweet
Use bittersweet chocolate chips instead of semisweet and cut the frosting sugar by about 1/2 cup if you prefer a darker finish. The cake itself stays the same, but the chocolate flavor comes forward more sharply and the frosting tastes less candy-sweet.
Storage and Reheating
- Refrigerator: Store covered for up to 4 days. The cake actually stays moist, and the frosting firms up slightly in the fridge.
- Freezer: Freeze unfrosted layers wrapped tightly for up to 2 months, or freeze frosted slices on a tray before wrapping. Thaw in the refrigerator so the frosting doesn’t sweat.
- Reheating: This cake is best served at cool room temperature, not warmed. If it has been refrigerated, let it sit out for 30 to 45 minutes so the ganache softens and the crumb tastes tender again.
Answers to the Questions Worth Asking

Sweet Potato Chocolate Cake
Ingredients
Equipment
Method
- Preheat the oven to 350F, then grease two 9-inch round pans. Make sure the pans are fully coated so the layers release cleanly.
- Beat the butter and sugar until light and smooth. Add the eggs, sweet potato puree, buttermilk, and vanilla and beat until evenly combined.
- Fold the flour, cocoa powder, baking powder, baking soda, cinnamon, and salt into the batter until no dry streaks remain. Keep mixing gentle to preserve a tender crumb.
- Divide the batter evenly between the two prepared pans. Tap the pans lightly to level the tops.
- Bake for 35-40 minutes at 350F, until a toothpick in the center comes out with moist crumbs. Let the cakes cool completely before frosting.
- Heat the heavy cream until steaming, then pour it over the dark chocolate chips and butter. Let it rest 2 minutes before stirring.
- Stir until smooth, then cool the ganache until spreadable. You want a thick, glossy texture that will spread without running.
- Beat the cooled ganache with powdered sugar and vanilla until fluffy. Scrape the sides as needed so the frosting becomes uniform.
- Frost between the layers and then frost all over the cake. Smooth the surface for a clean finish, letting excess drip slightly for coverage.


