Chocolate Layer Cake Recipe

Chocolate Layer Cake Recipe

This chocolate layer cake has two tender, deeply cocoa-flavored layers beneath a generous coating of chocolate buttercream. Buttermilk keeps the crumb soft, while hot water blooms the cocoa for a smooth, rich-tasting batter.

The cake serves 12 and takes about 30 minutes to prep, 28 minutes to bake, and 150 minutes total, including cooling and chilling. It suits birthdays, holidays, and any gathering where a classic layer cake belongs.

Why you’ll love it

Why This Chocolate Layer Cake Recipe Works

A few simple choices give these layers a moist crumb and a pronounced chocolate flavor without a complicated mixing method.

  • Hot water deepens the cocoa. Stirring hot water into the cocoa-containing batter helps bring out its flavor. The batter will be thin, which is expected.
  • Buttermilk keeps the crumb tender. Its acidity and moisture help create a soft cake, while baking soda provides lift.
  • Oil keeps the cake moist. Vegetable or canola oil stays fluid after baking, helping the layers remain tender even when chilled.
  • Two pans make easy layers. Dividing the batter between two round pans gives you matching layers ready to stack once completely cool.
  • A brief chill steadies the frosting. Refrigerating the assembled cake for at least 30 to 60 minutes helps the frosting set so slices are easier to serve.
Advertisement

What you need

Ingredients You’ll Need

Ingredients for Chocolate Layer Cake Recipe

These pantry-friendly ingredients make a soft chocolate cake. Measure carefully, and use natural cocoa powder for the texture this recipe is designed to produce.

  • All-purpose flour: Two cups (260 grams). Spoon into the measuring cup and level it for a tender, even crumb.
  • Granulated sugar: Two cups (410 grams) sweeten the cocoa and help keep the layers moist.
  • Natural cocoa powder: Three-quarters cup (65 grams), unsweetened. Choose natural cocoa; Dutch-process can make the cake denser.
  • Baking soda: Two teaspoons provide lift and react with the acidic buttermilk.
  • Fine sea salt: One teaspoon sharpens the chocolate flavor. Use fine salt so it disperses evenly.
  • Hot water: One cup (225 grams) loosens the batter and helps bring out the cocoa’s flavor.
  • Buttermilk: One cup (245 grams), at room temperature, adds moisture and acidity. Shake before measuring.
  • Vegetable or canola oil: Half a cup (100 grams) keeps the cake soft after cooling. Either neutral-flavored oil works.
  • Large eggs: Two, at room temperature, help bind the batter and mix in smoothly.
  • Vanilla extract: Two teaspoons round out the chocolate flavor.
  • Chocolate buttercream frosting: Use enough to fill and cover the cake. Choose a frosting that spreads easily over cooled layers.
Advertisement

Tools

Equipment You’ll Need

  • Two 9-inch round cake pans: Matching pans bake the layers at the same rate and make stacking straightforward.
  • Parchment paper: Rounds lining the pan bottoms help the cakes release cleanly after baking.
  • Mixer or whisk: Either a handheld mixer or a whisk can combine the wet ingredients with the dry mixture.
  • Cooling rack: A rack allows air to circulate around the cakes as they cool.

The method

How to Make Chocolate Layer Cake

1. Prepare the pans

Heat the oven to 350°F and position a rack in the middle. Line the bottoms of two 9-inch round cake pans with parchment, then lightly coat the pans with nonstick cooking spray.

Check that the oven rack is centered before the pans go in, so both layers bake evenly.

2. Sift the dry ingredients

Sift the flour, sugar, cocoa powder, baking soda, and salt together into a large bowl.

Sifting breaks up cocoa clumps and distributes the baking soda and salt through the flour.

3. Mix the batter

Add the hot water, buttermilk, oil, eggs, and vanilla. Use a handheld mixer or whisk to combine everything well, then divide the batter evenly between the prepared pans.

The batter will be quite loose. Pour carefully and compare the fill level in both pans.

4. Bake the cake layers

Bake for 28 to 35 minutes, until a toothpick inserted in the center comes out clean or with moist crumbs. Leave the cakes in their pans for 2 to 3 minutes after baking.

Avoid opening the oven early in the bake; check the center with a toothpick near the end of the stated range.

5. Release and cool

Run a knife around the edges, then turn the cakes out onto a cooling rack. Let both layers cool completely before frosting.

Warm cake can soften or melt the buttercream, so wait until the layers feel cool all the way through.

6. Fill and frost

Set one layer on a cake stand or serving platter and spread frosting over its top. Add the second layer, then cover the top and sides with the remaining frosting.

If a layer shifts while you frost, gently nudge it back into place before covering the sides.

7. Chill before slicing

Refrigerate the frosted cake for at least 30 to 60 minutes before cutting and serving.

The frosting should feel set rather than soft when you touch it lightly.

Advertisement

Tips & common mistakes

Tips and Common Mistakes

A few small details help the layers bake evenly and stay neat when you assemble the cake.

  • Use natural cocoa powder. It gives the cake the rise and texture intended here. Dutch-process cocoa can make the finished layers denser.
  • Bring the cold ingredients to room temperature. Room-temperature buttermilk and eggs blend more evenly into the oil and dry ingredients.
  • Divide the batter evenly. Evenly filled pans are more likely to finish baking together and stack without a pronounced height difference.
  • Let the layers cool completely. Frosting warm cake can cause the buttercream to slide or melt. Give the centers time to cool, not just the edges.
  • Use moist crumbs as a doneness cue. A few moist crumbs on the toothpick are fine; wet batter means the center needs more baking.
  • Chill before cutting. The stated chill helps the frosting hold its shape and makes cleaner slices.
Advertisement

Make it your way

Substitutions and Variations

Keep the cocoa and leavening aligned with the recipe, but these options can adjust the flavor or baking format.

  • Coffee instead of water: Use one cup of freshly brewed coffee in place of the hot water for a deeper-tasting chocolate cake.
  • Add espresso powder: Stir in 1 to 2 teaspoons for a more intense chocolate flavor without making the cake taste strongly of coffee.
  • Canola or vegetable oil: Either oil works as written. Choose a neutral variety so it does not compete with the cocoa.
  • Bake in a 9×13-inch pan: The cake can be baked in this pan, with baking time similar to the stated time for an aluminum pan. It will be a single-layer cake rather than a stack.
  • Use a glass pan: If using a 9×13-inch glass pan, set the oven to 325°F and watch the bake closely.
  • Choose a different frosting: A compatible chocolate frosting can replace chocolate buttercream; the sweetness and richness will depend on the frosting you use.
Advertisement

Serving

What to Serve with Chocolate Layer Cake

Serve slices with a cold glass of milk, as suggested, or offer coffee alongside the cake to balance its sweetness.

For a celebration, pair the cake with fresh berries or a scoop of vanilla ice cream. Cut chilled slices with a clean knife for tidier portions.

Storage

Make-Ahead, Storage and Reheating

Make ahead: Bake and cool the layers, wrap each separately, and refrigerate for up to 2 days or freeze for up to 3 months. Chocolate buttercream can be made 2 to 3 days ahead and refrigerated; bring both layers and frosting to room temperature before assembling.

Storage: Cover leftover cake tightly and refrigerate for up to 5 days. For the best texture, let slices come to room temperature before serving.

Freezing: Wrap individual leftover slices to protect them from freezer burn and thaw overnight in the refrigerator. A fully frosted cake can also be frozen for up to 3 months; thaw overnight in the refrigerator, then bring to room temperature to serve.

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

Advertisement

Questions

Chocolate Layer Cake FAQs

Can I make this chocolate layer cake without a mixer?

Yes. A whisk works to combine the wet ingredients with the sifted dry ingredients; mix until the batter is well combined.

Why is the cake batter so thin?

That is expected. The cup of hot water loosens the cocoa batter, and the thin mixture bakes into moist layers.

Can I use Dutch-process cocoa powder?

It is not the best choice here. The recipe calls for natural cocoa, and Dutch-process cocoa can produce a denser cake.

Can I assemble the cake while the layers are warm?

No. Let the layers cool completely first; warm cake can soften the buttercream and make it difficult to frost neatly.

How do I know when the cake layers are baked?

Insert a toothpick into the center of a layer. It should come out clean or with moist crumbs, not wet batter.

Advertisement

Recipe Card

Chocolate Layer Cake Recipe

Chocolate Layer Cake Recipe

Rich, moist chocolate layer cake made from scratch with pantry staples like cocoa powder, buttermilk, and hot water. Two fudgy layers with chocolate buttercream frosting, ready for any occasion.
Prep Time 30 minutes
Cook Time 28 minutes
Total Time 2 hours 30 minutes
Servings: 12
Calories: 241

Ingredients
  

  • 2 cups (260 grams) all-purpose flour
  • 2 cups (410 grams) granulated sugar
  • 3/4 cup (65 grams) natural unsweetened cocoa powder
  • 2 teaspoons baking soda
  • 1 teaspoon fine sea salt
  • 1 cup (225 grams) hot water
  • 1 cup (245 grams) buttermilk at room temperature
  • 1/2 cup (100 grams) vegetable or canola oil
  • 2 large eggs at room temperature
  • 2 teaspoons vanilla extract
  • Chocolate buttercream frosting to frost

Method
 

  1. Prep: Preheat the oven to 350°F. Center an oven rack in the middle position. Line the bottom of 2 9-inch round cake pans with parchment paper. Lightly spray with nonstick cooking spray.
  2. Dry ingredients: In a large bowl, sift 2 cups flour, 2 cups sugar, 3/4 cup cocoa, 2 teaspoons baking soda, and 1 teaspoon salt.
  3. Wet ingredients: Using a handheld mixer or whisk, mix in 1 cup water, 1 cup buttermilk, 1/2 cup oil, 2 eggs, and 2 teaspoons vanilla extract until well combined. Spread the batter evenly between the pans.
  4. Bake: Bake 28 to 35 minutes, or until a toothpick inserted in the center comes out clean or with moist crumbs. Let cool 2 to 3 minutes before running a knife around the edges and turning out onto a cooling rack. Let cool completely.
  5. Assemble chocolate cake. On a cake stand or serving platter, place 1 cake layer. Spread the frosting evenly over the top. Place second layer on top and spread remaining frosting all over the top and sides. Refrigerate at least 30 to 60 minutes before slicing. Enjoy with a cold glass of milk!

Notes

Storing: Leftover cake can be stored tightly covered in the refrigerator for up to 5 days. To freeze leftovers, wrap individual slices in plastic wrap to prevent freezer burn, then thaw overnight in the fridge. Make Ahead & Freezing: Cover each baked and cooled cake layer individually in plastic wrap and refrigerate up to 2 days or freeze up to 3 months. The chocolate buttercream can be made 2 to 3 days in advance (cover and keep in the fridge). Bring cake layers and frosting to room temperature before assembling. Frosted cake can be frozen up to 3 months, simply thaw overnight in the refrigerator and bring to room temperature to serve. Pan Alternative: This cake bakes well in a 9x13-inch pan. Bake times are similar to the time listed above for an aluminum pan. If using a glass pan, reduce the oven temperature to 325°F and keep a close eye on time. Espresso Powder/Coffee: For a more intense chocolate flavor, feel free to add 1 to 2 teaspoons espresso powder. Hershey's original recipe uses 1 cup freshly brewed coffee in place of the hot water. Cocoa Powder: Natural cocoa powder in the cake will give you the rise and texture that makes this cake so good. Dutch-process cocoa will give you a much denser cake. Recipe credit: Recipe adapted from Hershey's.

Related Recipes