Chocolate Sweet Potato Cake with Creamy Frosting

Chocolate Sweet Potato Cake

Chocolate sweet potato cake is a tender, deeply chocolatey layer cake with finely grated sweet potato worked into the batter. The potato adds moisture without making the cake taste like a vegetable, while hot coffee deepens the cocoa flavor and cream cheese gives the frosting a smooth, tangy finish.

This cake takes 45 minutes to prepare and 32 minutes to bake, and it makes 10 slices. It is a lovely choice for birthdays, holidays, or any gathering where a rich layer cake belongs on the table.

Why you’ll love it

Why This Chocolate Sweet Potato Cake Recipe Works

The cake gets its soft crumb from a few complementary ingredients and careful mixing. These details also make the layers easier to assemble and frost.

  • Coffee boosts the cocoa. Hot brewed coffee brings out a fuller chocolate flavor without making the cake taste strongly of coffee. Add it gradually so it incorporates smoothly into the batter.
  • Oil keeps the cake soft. Vegetable oil stays fluid after cooling, helping the layers remain moist even when chilled. Sour cream adds richness and a little tang.
  • Dutch cocoa gives deep color. Dutch-processed cocoa has a rounded, less sharp flavor that suits the rich cake and frosting. Sifting it helps prevent dry pockets in both mixtures.
  • Cream cheese balances the frosting. Cream cheese adds a gentle tang to the butter and cocoa, keeping the sweet frosting from tasting one-dimensional. Beat it until smooth before adding the powdered sugar.
Advertisement

What you need

Ingredients You’ll Need

Ingredients for Chocolate Sweet Potato Cake

The cake and frosting both use cocoa, so sift each portion separately. Bring the eggs and sour cream to room temperature for an easier-mixing batter.

  • Sweet potato: Two and a half cups, peeled and grated raw; choose firm potatoes and grate them finely.
  • Vegetable oil: Half a cup adds moisture and keeps the cooled cake tender.
  • Eggs: Four large eggs, at room temperature, help bind and structure the layers.
  • Vanilla extract: One tablespoon goes into the batter, adding warmth alongside the cocoa.
  • Sour cream: Half a cup of full-fat sour cream, at room temperature, enriches the crumb; plain yogurt also works.
  • Granulated sugar: One and a half cups sweetens the batter and helps keep the cake moist.
  • All-purpose flour: Two cups, sifted, give the cake its structure; measure before sifting.
  • Dutch-processed cocoa powder: One cup, sifted, supplies the cake’s chocolate flavor; natural unsweetened cocoa is an acceptable swap.
  • Baking powder: Three teaspoons provide lift alongside the baking soda.
  • Baking soda: One and a half teaspoons help the batter rise and balance the sour cream.
  • Salt: One teaspoon sharpens the chocolate flavor in the cake.
  • Hot brewed coffee: One cup, regular or decaf, intensifies the chocolate; use milk if coffee is unavailable.
  • For the frosting: One and a half cups cold unsalted butter, 8 ounces cold full-fat cream cheese, 1 cup sifted Dutch cocoa, 6 cups sifted powdered sugar, 1 tablespoon vanilla, ¼ teaspoon salt, and 1–2 tablespoons cream or milk to thin as needed.
Advertisement

Tools

Equipment You’ll Need

  • Two 8-inch round cake pans: Matching pans bake the layers evenly and make them straightforward to stack.
  • Parchment paper: Rounds on the pan bottoms help release the cakes without damaging their edges.
  • Box grater or food processor: Grate the peeled sweet potato finely so it distributes through the batter.
  • Offset spatula and piping bag: These help spread the filling and smooth frosting around the assembled layers.

The method

How to Make Chocolate Sweet Potato Cake

1. Prepare the pans

Heat the oven to 350°F. Line the bottoms of two 8-inch round pans with parchment, then grease and flour their sides.

Coat the sides evenly so the baked layers can release cleanly.

2. Grate the sweet potato

Peel the sweet potato and grate it using the large holes of a cheese grater. A food processor is another option for making small pieces; set the grated potato aside.

Keep the shreds fine and fairly even so they soften during baking.

3. Mix the wet ingredients

In a large bowl, beat the eggs, oil, sour cream, and vanilla until combined. Beat in the sugar, then stir in the grated sweet potato.

Scrape the bowl once so the sour cream and sugar are evenly incorporated.

4. Combine the batter

Sift the remaining dry ingredients into a large bowl and whisk them together. Add the dry mixture to the wet mixture, then slowly stream in the hot coffee while mixing on low until combined.

Stop mixing once no obvious dry streaks remain; prolonged beating can make the crumb less tender.

5. Bake the layers

Divide the batter evenly between the pans, about 2 ¾ cups in each. Bake at 350°F for 30-35 minutes, then test the center with a toothpick. Let the cakes cool completely after removing them from the oven.

A toothpick inserted in the center should come out clean. Cool the layers fully before frosting or the frosting will soften.

6. Whip the butter

Cut the cold butter into 1-inch blocks and beat it for 3-4 minutes until softened and whipped.

Scrape the bowl if butter sticks to the sides; the mixture should look lighter and fluffy.

7. Blend the cream cheese

Add the cold cream cheese and beat for 2-3 minutes, scraping the bowl occasionally, until fluffy and free of lumps.

Check the bottom of the bowl for firm cream cheese before moving on.

8. Finish the frosting

Beat in the cocoa powder and vanilla. Add the powdered sugar 2 cups at a time, mixing for 60-90 seconds until smooth before each addition. Add the heavy cream only if the frosting needs thinning.

The finished frosting should hold its shape but spread without tearing the cake.

9. Stack and frost

Level the layers if needed. Anchor the bottom layer to a cake board with a dab of frosting, then pipe half the frosting in circles from the edge toward the center and smooth it evenly. Set the second layer on top upside down.

Center the layers before adding the top one; the inverted layer gives the cake a flatter surface.

10. Coat and decorate

Pipe frosting into any gaps and spread a thin crumb coat over the cake, wiping away excess with an offset spatula or icing smoother. Pipe the remaining frosting around the outside edge, smooth it, and use any extra to decorate.

A thin first coat traps loose crumbs, helping the final layer of frosting look cleaner.

Advertisement

Doneness

How to Tell When It’s Done

The layers are ready when a toothpick inserted into the center comes out clean. The tops should look set rather than wet, and the cakes should begin to pull slightly from the pan edges.

If the toothpick shows wet batter, return the pans to the 350°F oven and continue baking, checking again before removing them. Let the layers cool completely before assembly; warmth can melt the frosting and make the cake slide.

Tips & common mistakes

Tips and Common Mistakes

A few small choices make the layers easier to bake, stack, and frost neatly.

  • Grate the potato finely. Smaller shreds soften more evenly and disappear into the chocolate crumb. Avoid thick pieces that may stay firm after baking.
  • Measure flour carefully. Too much flour can make the cake dense. Spoon it into the measuring cup and level it before sifting.
  • Stream in the coffee slowly. Gradual addition lets the liquid blend into the thick batter without splashing or leaving uneven pockets.
  • Cool the layers completely. Even slightly warm cake can loosen the cream cheese frosting. If convenient, bake the layers ahead and frost once cool.
  • Scrape the frosting bowl. Butter and cream cheese can cling to the bottom and sides. Scraping between additions helps prevent lumps.
Advertisement

Make it your way

Substitutions and Variations

These swaps preserve the general method, though they can shift the cake’s flavor or texture slightly.

  • Plain yogurt: Replace the sour cream with plain or Greek yogurt. Full-fat yogurt keeps the batter rich and close in texture.
  • Milk instead of coffee: Use milk if you do not have brewed coffee. The cake will still be chocolatey, though the cocoa flavor may be less pronounced.
  • Decaf coffee: Decaffeinated brewed coffee works just like regular coffee here, adding depth without the caffeine.
  • Milk in the frosting: Use milk instead of heavy cream to loosen the frosting, adding it sparingly because it may thin the mixture faster.
  • Different sweet potato: Any variety of sweet potato can be grated for the batter. Choose a firm one and keep the shreds fine for even baking.
Advertisement

Serving

What to Serve with Chocolate Sweet Potato Cake

Serve slices at room temperature so the cake and cream cheese frosting feel soft and creamy. Fresh berries or sliced strawberries add a bright contrast to the rich cocoa.

For a celebration, pair the cake with coffee, tea, or a scoop of vanilla ice cream. Keep slices modest; the frosting makes each serving satisfying.

Storage

Make-Ahead, Storage and Reheating

Make ahead: Bake the layers ahead, cool them completely, and wrap them well until you are ready to assemble. Frosting and stacking can wait until serving day; let chilled cake sit out ahead of serving so it is not cold and firm.

Storage: Keep the frosted cake airtight at room temperature for up to 2 days, or refrigerate it for up to 1 week. Bring refrigerated slices toward room temperature before serving for a softer texture.

Freezing: Freeze the frosted assembled cake airtight for up to 1 month, then thaw it in the refrigerator before serving. Unfrosted layers can also be double-wrapped in plastic wrap and thawed in the refrigerator before decorating.

Reheating: This cake is best served at room temperature rather than reheated. Let refrigerated slices sit out until the frosting softens and the cake no longer feels chilled.

Advertisement

Questions

Chocolate Sweet Potato Cake FAQs

Can I taste the sweet potato in the cake?

No, not strongly. Finely grated sweet potato mainly adds moisture and tenderness, while the cocoa and coffee lead the flavor.

Can I make this cake without coffee?

Yes. Use milk in place of the brewed coffee; the chocolate flavor will be a little less intense.

Why is my cream cheese frosting lumpy?

The cream cheese may not have blended fully with the butter. Beat it until smooth and scrape the bowl, especially around the bottom and sides.

Can I bake the cake in one pan?

The instructions are written for two 8-inch round pans. A single pan changes the cake’s depth and baking time, so use the specified pans for predictable layers.

How do I keep the layers from sliding?

Level uneven layers and center each one as you stack. A thin crumb coat helps secure loose crumbs and fills small gaps before the outer frosting goes on.

How many servings does the cake make?

It makes 10 slices. For neat portions, use a sharp knife and wipe it between cuts.

Advertisement

Recipe Card

Chocolate Sweet Potato Cake

Chocolate Sweet Potato Cake with Creamy Frosting

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.
Prep Time 45 minutes
Cook Time 32 minutes
Total Time 1 hour 17 minutes
Servings: 10 slices
Calories: 1037

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)

Method
 

  1. 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.
  2. Using the large cheese grater, grate the peeled sweet potato. Alternatively, you could use a food processor for smaller pieces. Set aside.
  3. 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, then mix in the sweet potatoes.
  4. Sift the remaining dry ingredients in a large bowl and whisk to combine. Add the dry and wet ingredients and begin mixing while slowly streaming in the coffee. Beat at a low speed until well combined.
  5. 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.
  6. Cut the butter into 1-inch blocks. Beat the butter for 3-4 minutes until it’s softened and whipped.
  7. 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.
  8. Next, Add the cocoa powder and vanilla extract and beat until well combined,
  9. 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.
  10. 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.
  11. 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

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.

Related Recipes