Devil’s Food Cake (Moist & Rich Chocolate Layer Cake Recipe) 🍫

Written by: Noah Williams, on December 18, 2025

Modified on July 9, 2026

This Devil’s Food Cake is everything a classic chocolate layer cake should be: deeply chocolatey, moist from edge to center, and rich without feeling heavy. Made with cocoa powder, buttermilk, and hot coffee, it delivers bakery-level flavor using simple ingredients you likely already have. The texture is soft and tender, perfect for stacking, frosting, and serving at birthdays, holidays, or any time you need a reliable chocolate cake that impresses every single time.

Devil’s Food Cake Ingredients

Chocolate Cake Ingredients

  • 1 ¾ cups all-purpose flour
  • 1 ½ teaspoons baking soda
  • ½ teaspoon salt
  • ¾ cup unsweetened cocoa powder
  • 1 ½ cups granulated sugar
  • ½ cup unsalted butter, softened
  • 2 large eggs, room temperature
  • 1 teaspoon vanilla extract
  • 1 cup buttermilk
  • ½ cup hot coffee or hot water

Chocolate Frosting Ingredients

  • ¾ cup unsalted butter, softened
  • 2 ½ to 3 cups powdered sugar
  • ½ cup unsweetened cocoa powder
  • ¼ cup heavy cream or milk
  • 1 teaspoon vanilla extract
  • Pinch of salt

How to Make Devil’s Food Cake Step by Step

Prepare the Cake Pans

  • Preheat your oven to 350°F (175°C).
  • Grease two 8-inch round cake pans.
  • Line the bottoms with parchment paper and lightly dust with cocoa powder.
  • This prevents sticking and keeps the cake edges clean and dark.

Mix the Dry Ingredients

  • In a medium bowl, whisk together flour, baking soda, salt, and cocoa powder.
  • Whisking evenly distributes the leavening so the cake rises consistently.

Cream the Butter and Sugar

  • In a large bowl, beat the softened butter and sugar until light and fluffy, about 2 to 3 minutes.
  • This step traps air, which helps create a soft crumb.

Add Eggs and Vanilla

  • Add the eggs one at a time, mixing well after each addition.
  • Stir in the vanilla extract until smooth and fully incorporated.

Combine Wet and Dry Ingredients

  • Add the dry ingredients in three additions, alternating with the buttermilk.
  • Begin and end with the dry ingredients.
  • Mix gently and stop as soon as the batter comes together to avoid overmixing.

Add the Hot Coffee

  • Slowly pour in the hot coffee or hot water while mixing on low speed.
  • The batter will be thin, which is exactly what you want for a moist cake.
  • Hot liquid blooms the cocoa powder, intensifying the chocolate flavor.

Bake the Cake

  • Divide the batter evenly between the prepared pans.
  • Bake for 30 to 35 minutes, until a toothpick inserted in the center comes out with a few moist crumbs.
  • Let the cakes cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely before frosting.

How to Make the Chocolate Frosting

Frosting Instructions

  • Beat the butter until creamy and smooth.
  • Add cocoa powder and powdered sugar gradually, mixing on low speed.
  • Pour in the cream, vanilla, and salt.
  • Beat on medium-high speed until light, fluffy, and spreadable.
  • Adjust the consistency with extra cream or powdered sugar as needed.

Frost the Cake

  • Place one cake layer on a serving plate.
  • Spread an even layer of frosting on top.
  • Add the second layer and frost the top and sides.
  • Smooth with an offset spatula or create swirls for a bakery-style finish.

Practical Tips for Perfect Results

  • Use room temperature eggs so they blend smoothly into the batter.
  • Do not skip the hot coffee or water, as it deepens the cocoa flavor significantly.
  • Avoid overmixing after adding flour to keep the cake tender.
  • If your cakes dome slightly, level them with a serrated knife for neat layers.
  • For ultra-moist layers, wrap cooled cake layers in plastic wrap and chill for 30 minutes before frosting.

Bonus Ideas and Variations

  • Turn this recipe into cupcakes by baking for 18 to 22 minutes.
  • Make it extra indulgent by adding a layer of chocolate ganache between the cake layers.
  • Swap half the cocoa powder for Dutch-processed cocoa for a darker color and smoother flavor.
  • Add ½ cup mini chocolate chips to the batter for extra richness.
  • Cake layers can be wrapped tightly and frozen for up to 2 months before frosting.

Frequently Asked Questions

Can I make this cake without buttermilk?

Yes. Mix 1 tablespoon of vinegar or lemon juice with 1 cup of milk and let it sit for 5 minutes before using.

Will the cake taste like coffee?

No. Coffee enhances the chocolate flavor but does not leave a coffee taste.

Why is the batter so thin?

Devil’s Food Cake batter is meant to be thin. This creates a moist and tender texture after baking.

How should I store Devil’s Food Cake?

Store frosted cake covered at room temperature for up to 2 days or refrigerated for up to 5 days.

Can I bake this in a 9×13-inch pan?

Yes. Bake for 35 to 40 minutes and check for doneness with a toothpick.

This Devil’s Food Cake recipe for a rich, moist chocolate dessert that’s perfect every time.

Print

Devil’s Food Cake

A classic chocolate layer cake that is deeply chocolatey, moist, and rich, perfect for birthdays and holidays.

  • Author: a-thompson
  • Prep Time: 15 minutes
  • Cook Time: 35 minutes
  • Total Time: 50 minutes
  • Yield: 8 servings
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
  • Diet: Vegetarian

Ingredients

Scale
  • 1 ¾ cups all-purpose flour
  • 1 ½ teaspoons baking soda
  • ½ teaspoon salt
  • ¾ cup unsweetened cocoa powder
  • 1 ½ cups granulated sugar
  • ½ cup unsalted butter, softened
  • 2 large eggs, room temperature
  • 1 teaspoon vanilla extract
  • 1 cup buttermilk
  • ½ cup hot coffee or hot water
  • ¾ cup unsalted butter, softened (for frosting)
  • 2 ½ to 3 cups powdered sugar
  • ½ cup unsweetened cocoa powder (for frosting)
  • ¼ cup heavy cream or milk
  • 1 teaspoon vanilla extract (for frosting)
  • Pinch of salt (for frosting)

Instructions

  1. Preheat your oven to 350°F (175°C).
  2. Grease two 8-inch round cake pans, line with parchment paper, and dust with cocoa powder.
  3. In a medium bowl, whisk together flour, baking soda, salt, and cocoa powder.
  4. Beat the softened butter and sugar until light and fluffy, about 2 to 3 minutes.
  5. Add the eggs one at a time, mixing well after each addition, and stir in vanilla extract.
  6. Add the dry ingredients in three additions, alternating with the buttermilk, starting and ending with dry ingredients.
  7. Slowly pour in the hot coffee or hot water while mixing on low speed.
  8. Divide the batter between the prepared pans and bake for 30 to 35 minutes.
  9. Let the cakes cool in the pans for 10 minutes, then turn out onto a wire rack.
  10. Beat the butter until creamy for frosting, then gradually add cocoa powder and powdered sugar.
  11. Pour in the cream, vanilla, and salt, and beat until light and fluffy.
  12. Place one cake layer on a plate, frost the top, add the second layer, and frost the top and sides.

Notes

For ultra-moist layers, wrap cooled cake layers in plastic wrap and chill for 30 minutes before frosting.

Did you make this recipe?

Share a photo and tag us — we can't wait to see what you've made!