Food

How to Make a Chocolate Layer Cake

By Hayride Live · Updated

Total time
2 hr 30 min
Prep
40 min
Cook
30 min
Serves
12

Jump to recipe

A tall chocolate layer cake with three moist 8-inch (20 cm) layers and a fluffy chocolate buttercream takes about 2.5 hours end to end, most of it cooling time. The batter comes together in one bowl, and the layers bake at 350°F (175°C) in 25-30 minutes. This is a birthday-and-potluck cake: deep cocoa flavor, sturdy enough to slice, and the frosting doubles as filling.

Ingredients

Chocolate Cake Layers

  • 2 cups (250 g) all-purpose flour
  • 1 1/2 cups (300 g) granulated sugar
  • 3/4 cup (75 g) unsweetened cocoa powder
  • 1 1/2 teaspoons baking soda
  • 1 teaspoon salt
  • 2 large eggs
  • 1 cup (240 ml) buttermilk
  • 1/2 cup (120 ml) vegetable oil
  • 2 teaspoons vanilla extract
  • 1 cup (240 ml) hot coffee (or hot water)

Chocolate Buttercream

  • 1 1/2 cups (340 g) unsalted butter, softened
  • 4 1/2 cups (510 g) powdered sugar, sifted
  • 1 cup (100 g) unsweetened cocoa powder
  • 1/2 cup (120 ml) heavy cream, plus more if needed
  • 2 teaspoons vanilla extract
  • 1/4 teaspoon salt

Before You Start

Everything at room temperature mixes smoother, so set out the eggs, buttermilk and butter about 30 minutes ahead. Buttercream on a warm cake slides off, so build cooling time into your plan: the layers need about 1 hour on a rack before frosting.

  1. Grease three 8-inch (20 cm) round cake pans, line the bottoms with parchment circles, and dust the sides with cocoa.
  2. Preheat the oven to 350°F (175°C) and set a rack in the middle position.
  3. Sift the powdered sugar and cocoa for the frosting so there are no lumps to fight later.

Swap notes: no buttermilk? Stir 1 tablespoon lemon juice or vinegar into 1 cup (240 ml) milk and let it sit 5 minutes. Coffee deepens the chocolate flavor without tasting like coffee; hot water works fine if you’d rather skip it.

Instructions

Make the Cake Layers

  1. Whisk together in a large bowl the flour (250 g), sugar (300 g), cocoa (75 g), baking soda and salt until no lumps remain.
  2. Add the eggs, buttermilk (240 ml), oil (120 ml) and vanilla; beat on medium for 2 minutes until smooth.
  3. Pour in the hot coffee (240 ml) and stir just until the batter is even. It will be thin — that is what keeps the crumb moist.
  4. Divide the batter evenly between the three pans, about 2 cups (480 ml) each, and tap the pans once on the counter to release air bubbles.
  5. Bake at 350°F (175°C) for 25-30 minutes, until a toothpick in the center comes out with a few moist crumbs and the cake springs back when lightly pressed.
  6. Cool the cakes in their pans on a wire rack for 10 minutes, then turn them out and cool completely, about 50 minutes more, before frosting.

Make the Buttercream

  1. Beat the softened butter (340 g) on medium speed for 2 minutes until pale and fluffy.
  2. Add the sifted powdered sugar (510 g) and cocoa (100 g) in three additions, mixing on low until each is incorporated.
  3. Pour in the cream (120 ml), vanilla and salt, then beat on medium-high for 2-3 minutes until light and spreadable. Add cream 1 tablespoon (15 ml) at a time if it is too stiff.

Assemble the Cake

  1. Level any domed tops with a serrated knife so the layers sit flat.
  2. Place the first layer on a plate or turntable and spread about 3/4 cup (180 ml) frosting to the edge with an offset spatula.
  3. Stack the second layer, add another 3/4 cup (180 ml) frosting, then top with the third layer, bottom-side up for a flat top.
  4. Spread a thin crumb coat over the whole cake and chill it for 20 minutes to lock in crumbs.
  5. Frost the top and sides with the remaining buttercream, then slice with a warm, dry knife.

Pan Sizes and Baking Times

The batter fits a few common pan setups; only the bake time changes.

Pans Bake time at 350°F (175°C)
Three 8-inch (20 cm) rounds 25-30 minutes
Two 9-inch (23 cm) rounds 22-27 minutes
One 9×13-inch (23×33 cm) sheet 30-35 minutes
24 standard cupcakes 18-22 minutes

Use the toothpick test in every case: moist crumbs mean done, wet batter means a few more minutes. The 9×13 sheet cake skips the layering entirely — pour the frosting over the top and serve it from the pan.

How Long Does Chocolate Layer Cake Keep?

Frosted cake keeps about 3-4 days in the refrigerator in a covered container; the buttercream firms up cold, so let slices sit 20-30 minutes at room temperature before serving for the best texture. Unfrosted layers can be wrapped tightly in plastic and frozen up to 2 months — thaw them still wrapped so condensation stays on the outside. Frosted cake also freezes well, up to about 2 months, wrapped in plastic then foil.

Food safety: the cake contains eggs and dairy, so refrigerate it within 2 hours of serving (1 hour if the room is above 90°F/32°C). Raw batter contains raw flour and raw eggs, so scrape the bowl into the pan rather than snacking on it — flour should be heat-treated to 160°F (71°C) and eggs pasteurised before either is eaten raw, and pregnant people, young children, older adults and anyone with a weakened immune system should avoid raw batter.

Why Is My Layer Cake Dry or Lopsided?

Dry cake almost always comes from over-measuring flour or over-baking: spoon the flour into the cup and level it, and pull the layers the moment the toothpick shows moist crumbs. A lopsided stack usually means domed layers — trim them level rather than pressing them flat, which squashes the crumb. If the frosting looks grainy or curdled, the butter was likely too cold; warm the bowl briefly with your hands or beat 1-2 minutes longer. And if the layers stick to the pans, the parchment circles were skipped — run a thin knife around the edge next time and let them cool the full 10 minutes before turning out.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.