Zimt

Devil's Food Cake Layer Recipe with Moist Chocolate Layers

· 5 min read · Cakes

In this article
  1. Ingredients
  2. Mix the dry ingredients
  3. Combine wet ingredients
  4. Finish the batter
  5. Bake the layers
  6. Cool and release
  7. Filling and frosting
  8. Serving size and yield
  9. Make-ahead timeline
  10. Storage and safety
  11. Why hot liquid?
  12. Common texture issues
  13. Substitutions and limits

Devil's food cake is a rich, deeply chocolatey layer cake with a moist, airy crumb and intense cocoa flavor. This version uses natural cocoa and a touch of baking soda for lift, creating tall, tender layers perfect for stacking. The batter is simple to mix and bakes reliably every time.

Ingredients

  • 1 3/4 cups (210g) all-purpose flour
  • 3/4 cup (65g) natural unsweetened cocoa powder
  • 2 cups (400g) granulated sugar
  • 1 1/2 teaspoons baking soda
  • 1 teaspoon baking powder
  • 1/2 teaspoon salt
  • 2 large eggs, at room temperature
  • 1 cup (240ml) buttermilk, at room temperature
  • 1/2 cup (120ml) neutral oil (canola, vegetable, or grapeseed)
  • 2 teaspoons pure vanilla extract
  • 1 cup (240ml) hot coffee or hot water

Mix the dry ingredients

Whisk together flour, cocoa, sugar, leavenings, and salt

In a large bowl, whisk the flour, cocoa powder, sugar, baking soda, baking powder, and salt until no lumps remain and the mixture is evenly combined. The cocoa tends to clump, so break it apart thoroughly with the whisk. This step ensures even distribution of leaveners and prevents streaks in the final crumb.

Combine wet ingredients

Add eggs, buttermilk, oil, and vanilla

In a separate medium bowl, whisk the eggs until smooth. Add the buttermilk, oil, and vanilla, and whisk until fully blended. The buttermilk adds tenderness and slight tang, while the oil keeps the cake moist. Using room temperature ingredients prevents the batter from seizing when hot liquid is added later.

Finish the batter

Incorporate wet into dry, then add hot liquid

Pour the wet mixture into the dry ingredients. Use a whisk or rubber spatula to blend just until combined. Do not overmix. The batter will be thick. Slowly pour in the hot coffee or hot water while stirring gently. The batter will thin out significantly and may have a few small lumps—this is normal. Overmixing at this stage can lead to a dense cake, so stop as soon as the liquid is incorporated.

Bake the layers

Divide batter and bake at 350°F

Preheat the oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, line the bottoms with parchment, and grease the parchment. Divide the batter evenly between the pans. Tap each pan gently on the counter to release air bubbles. Bake for 30 to 35 minutes, until a wooden skewer or cake tester inserted into the center comes out with moist crumbs but no wet batter. The layers should spring back lightly when touched.

Cool and release

Wait 10 minutes before removing from pans

Let the cakes cool in their pans on a wire rack for exactly 10 minutes. This short rest allows the structure to set so the layers don’t tear when unmolded. After 10 minutes, run a thin knife around the edges. Invert each cake onto the rack, peel off the parchment, and let cool completely—about 1 to 2 hours—before frosting.

Filling and frosting

Best with chocolate buttercream or whipped ganache

Stack and fill the layers with chocolate buttercream, whipped chocolate ganache, or boiled chocolate icing. For a classic pairing, use a fluffy chocolate buttercream made with 1 cup (230g) softened butter, 3 cups (360g) powdered sugar, 1/2 cup (45g) cocoa powder, 1/4 cup (60ml) heavy cream, and 1 teaspoon vanilla. Beat until light and spreadable. Frost the top and sides after filling. The cake’s deep chocolate flavor balances well with sweet, creamy frosting.

Serving size and yield

Serves 12 to 14

This recipe yields two 9-inch layers, about 2 inches tall when baked. Sliced into 12 to 14 pieces, each serving is rich and satisfying. The cake pairs well with vanilla ice cream, whipped cream, or a glass of cold milk. For gatherings, serve with fresh berries to cut the sweetness.

Make-ahead timeline

Bake, wrap, and freeze for later use

Bake the layers up to 3 days ahead. Cool completely, then wrap tightly in plastic wrap and store at room temperature for 1 day, or refrigerate for up to 3 days. For longer storage, freeze the unfrosted layers for up to 2 months. Thaw wrapped layers at room temperature for 2 to 3 hours before frosting. The cake can also be fully assembled and refrigerated for up to 2 days before serving—bring to room temperature for 30 minutes before slicing.

Storage and safety

Refrigerate frosted cake, use within 4 days

Once frosted, store the cake in the refrigerator, covered, for up to 4 days. Unfrosted layers keep at room temperature for 1 day, refrigerated for 3 days, or frozen for 2 months. Never leave a frosted cake with dairy-based frosting at room temperature for more than 2 hours (1 hour if above 90°F/32°C). Discard if left out longer. Do not taste raw batter—raw eggs and flour carry foodborne illness risk.

Why hot liquid?

Booster for cocoa flavor and texture

Hot coffee or hot water intensifies the chocolate flavor by blooming the cocoa powder, making the cake taste richer without adding more cocoa. It also helps dissolve sugar and activate leaveners quickly. Coffee enhances chocolate notes without making the cake taste like coffee—use water if preferred. The liquid must be hot but not boiling; just off the boil is ideal.

Common texture issues

Too dense or too dry

If the cake is dense, overmixing after adding the hot liquid is the likely cause. Mix only until incorporated. If dry, the oven may have run hot or the cake baked too long. Check at 30 minutes. Altitude affects baking: above 3,000 feet, reduce baking powder to 1 teaspoon and increase liquid by 2 tablespoons. Humidity can also affect flour absorption—add an extra 1 to 2 tablespoons of buttermilk if the batter seems too thick before adding hot liquid.

Substitutions and limits

Buttermilk, oil, and cocoa options

Buttermilk can be replaced with plain whole-milk yogurt thinned with milk to measure 1 cup. Do not use low-fat or nonfat dairy substitutes—they alter texture. Oil can be replaced with melted and cooled unsalted butter. Natural cocoa is required—Dutch-process cocoa changes pH and affects leavening. Do not substitute unless the recipe is reformulated. Eggs must not be replaced in this recipe—results will vary unpredictably.