This sinfully dark chocolate Devil's Food Cake is so obscenely rich and fudgy that it elevates chocolate cake to a whole new level of decadence.
Being bad never felt so good.

What I love about this recipe
- It's so rich and fudgy that it blurs the line between chocolate cake and brownies.
- It produces layers of cake that bake up perfectly flat and stackable.
- The velvety crumb practically melts in your mouth, and yet...
- It's sturdy enough to stack up to every imaginable filling and frosting.
In other words, this chocolate cake is wicked good and earned the right to be called Devil's Food.

5 Tips for baking a really good chocolate cake
#1. Use Dutch process cocoa powder
This is an important difference. Chocolate is naturally acidic, and acidic reactions are a super important thing to understand in baking.
Acid enhances flavors, influences how a cake rises, and affects the cake's consistency. For the most part, you want some acid in your cake. Just not too much.
In chocolate cakes that call for acidic ingredients (like the unsweetened chocolate, baking powder, espresso, brown sugar, and sour cream in this recipe) Dutch processed works best because, unlike natural cocoa powder, it's gone through a process to neutralize its acidity.
In this recipe, using Dutch-processed cocoa powder means we can add enough to get a super rich chocolate flavor without overdoing the amount of acid in the batter.
If your local supermarket is anything like mine, the selection of cocoa powder is super limited. Mine usually carries one brand of Dutch process cocoa powder - Hershey's Special Dark. This brand works perfectly well. You can also find other options online. Besides Hershey's Dark, the brand I use is The Cocoa Trader.
#2. Use room temperature ingredients
In this Devil's Food Cake recipe, as in most cake recipes, you'll notice the words "at room temperature" after the butter, eggs, and sour cream. This is important. Please don't ignore it. At room temperature, eggs and dairy form an emulsion that traps air.
This is a good thing because all that trapped air expands in the oven, producing a fluffy consistency. Without this process, your cake won't rise well and you might end up with something more like a hockey puck than a cake.
Also, room temperature ingredients blend together better. For example, have you ever tried to beat cold butter with sugar? It doesn't really work.
The sugar won't fully incorporate into the butter until the butter is at room temperature. Using room temperature ingredients creates a smooth, fully blended batter that will result in a uniform texture and even baking.
If you manage to plan ahead a bit, simply set the butter, eggs, and sour cream out on the counter a couple of hours before you plan to make your cake. I rarely succeed in this level of pre-planning and so have come up with a few tricks for brining eggs and dairy to room temperature quickly.

#3. Use butter for flavor and oil for lightness and moisture
Oil is wonderful in cakes. When compared to butter, cakes baked with oil are loftier, have a more even crumb and stay moist and fresh tasting much longer. Case in point - Olive Oil Cake is moist, flavorful, tender and delicious, and keeps that fresh-from-the-oven texture for days after baking.
The same is true for my favorite Spice Cake and Carrot Cake recipes, both of which are oil based cakes and decadently moist and flavorful.
Oil is particularly great in chocolate cakes because chocolate tends to dry out a cake. And this cake has a LOT of chocolate.
So, why doesn't this recipe use ALL oil instead of a combination of butter and oil? Flavor. Butter adds flavor.
For this recipe, I found that 5 tablespoons of butter and 5 tablespoons of oil was the perfect balance for maximum buttery flavor AND a moist, tender crumb.

#4. Add some extra egg yolks
Eggs create essential structure and stability in cakes. Egg whites are fantastic at trapping air, which helps cakes rise in the oven, giving them a light texture. Yolks are fantastic at binding liquids and fats together, creating an emulsion that results in a super smooth homogenous batter.
Yolks also have a high fat content, contributing to this cake's rich flavor and velvety texture.
In this Devil's Food Cake Recipe, the combination of a total of 6 egg yolks and 2 egg whites achieves the perfect balance of a rich, fudgy consistency that isn't overly dense.
# 5. How to bake flat cake layers that are easy to stack
Sure, you can level off the top of a cake that's dome shaped. But, wouldn't you rather not have to?
If you follow the instructions to use room temperature ingredients in this recipe so that you have a homogenous, smooth batter, you're well on your way to baking well-risen flat cake layers. Baking the layers at 325 degrees will get you the rest of the way there.
Baking at a lower temperature slows down the cake's "spring" - how quickly it rises in the oven. This prevents a dome from forming on the top of the cake layers. If only every problem in life had such a simple solution.
Important note about baking temperature: Most of us are baking with ovens that are not 100% accurate when it comes to temperature. It's totally worth it to invest in an oven thermometer that will tell you what temperature your oven actually is.

What Kind of Frosting Goes Best with Devil's Food Cake?
These 10 frosting recipes pair beautifully with devil's food cake:
- White Chocolate Ganache Buttercream
- Quick Chocolate Buttercream with Heavy Cream
- American Buttercream {with Butter and Heavy Cream}
- Italian Meringue Buttercream {Step-by-Step Instructions}
- Cream Cheese Buttercream
- Raspberry Cream Cheese Frosting
- Milk Chocolate Buttercream
- How to Make Chocolate Ganache
- Chocolate Orange Buttercream {3 Ingredients}
- Mascarpone Frosting

Cakes that begin with this recipe

- Black Forest Cake. Every bite of this Black Forest Cake is loaded with creamy chocolate and juicy cherries. Three deep, dark, rich and chocolaty Devil's Food cakes are doused with cherry liquor, layered with sweetened vanilla whipped cream and tart Morello cherries, and topped with dark chocolate ganache.
- German Chocolate Cake. This German Chocolate Cake is all about rich chocolate fudge cake, warm caramel filling with toasted pecans and sweet coconut, and milk chocolate ganache.
- German Chocolate Cupcakes. Dark Chocolate Devil's Food Cupcakes topped with a generous spoonful of rich, caramel German Chocolate topping packed with toasted pecans and coconut, and covered in a drizzle of chocolate ganache.
- Blackout Chocolate Cake. If there's a way to pack more chocolate into this cake, I don't know what it is. Three layers of rich Devil's Food Cake are layered with Chocolate Pastry Cream and then covered in a thick layer of chocolate ganache. It's a chocolate lover's wet dream. Yes. I just said that.
- Double Chocolate Cupcakes with Amaretto Pastry Cream and Almond Pralines. These chocolate cupcakes are filled with Amaretto Pastry Cream, frosted with whipped chocolate ganache and topped with almond pralines. Because if you're going to eat a cupcake, it should be an amazing cupcake.
Devil's Food Cake is a Building Block Recipe
Building block recipes are tried-and-true recipes that I consider foundational to great home baking. They are the kind of recipes I come back to over and over again, sometimes baking them as is, but often using them as a jumping off point to create something new. > Scroll through all Building Block recipes.
If you give this recipe a try, let me know! Leave a comment, rate it, or take a picture and tag it #ofbatteranddough on Instagram.
Happy baking!

SAVE THIS RECIPE
This site is protected by the Google Privacy Policy and Terms of Service apply.
๐ Recipe

Devil's Food Cake
This sinfully dark chocolate Devil's Food Cake is soย obscenely rich and fudgy that it elevates chocolate cake to a whole new level of decadence. Being bad never felt so good.
Ingredients
- ยฝ cup dutch process cocoa powder
- 4 ounces unsweetened chocolate, very finely chopped
- 1 ยฝ teaspoon instant espresso powder
- 1 cup boiling water
- 1 ยฝ cups all-purpose flour
- ยฝ teaspoon baking soda
- ยพ teaspoon baking powder
- ยพ teaspoon table salt (1 ยผ teaspoon kosher salt)
- 5 tablespoon salted butter
- 5 tablespoon vegetable or canola oil
- 1 ยฝ cups light brown sugar
- 2 large eggs
- 4 large egg yolks
- 2 teaspoon pure vanilla extract
- ยฝ cup sour cream (full fat)
Instructions
- If baking a layer cake: Preheat the oven to 325 degrees and grease and flour two or three 8 or 9-inch round cake pans, lining the bottoms with parchment paper. (Here's how to grease and flour pans and line them with parchment paper.) If baking cupcakes, heat oven to 400 degrees, lightly spray the top of two cupcake pans with non-stick spray, and line the cavities with paper liners.
- Add the cocoa powder, finely chopped unsweetened chocolate, and espresso powder to a bowl. Pour in the boiling water and stir until smooth. Set aside.
- In a separate bowl, add the flour, baking soda, baking powder, and salt. Whisk to combine and set aside.
- Using an electric mixer, beat the butter, oil, and light brown sugar, stopping to scrape down the sides of the bowl a time or two, until it looks fluffy and lightened in color, at least 5-6 minutes.
- Add the 2 whole eggs one at a time, beating until each is fully incorporated before adding the next.
- Scrape down the sides of the bowl and add two of the egg yolks. Beat until the yolks are fully incorporated into the batter. Scrape down the sides of the bowl and add the remaining two egg yolks. Beat until fully incorporated.
- Add the sour cream and vanilla and beat until the batter is smooth and homogenous, stopping to scrape down the sides of the bowl as necessary, about 30 seconds.
- Add the chocolate and flour mixtures in alternating additions: โ of the flour, ยฝ of the chocolate, โ of the flour, ยฝ of the chocolate, โ of the flour. After each addition, beat on low speed just long enough to barely incorporate. Be careful to not over beat.ย Give the batter one final stir with a spatula to fully incorporate all the ingredients. Divide the batter between the cake pans - OR distribute among paper lined cupcake pans.
- Bake round cake layers for 33-43 minutes, until a toothpick inserted in the center of one of the cakes comes out without any visible cake batter. (Three layers will take close to 33 minutes. Two layers will take close to 43 minutes.) Bake cupcakes for 5 minutes then reduce the oven temperature to 350 degrees (keep the oven door closed) and bake for an additional 15 minutes, until a toothpick inserted in the center of one of the cupcakes comes out without any visible cake batter.
- Remove the cakes or cupcakes from the oven. Allow the cakes to rest in their pans for 5 minutes, then gently flip the cakes out onto the wire racks and allow to cool completely. Allow the cupcakes to cool in the pan until sturdy enough to lift out with your fingers.
Notes
Favorite Frosting Recipes for Devil's Food Cake:
Recommended Products
As an Amazon Associate and member of other affiliate programs, I earn from qualifying purchases.
Nutrition Information:
Yield: 16 Serving Size: 1 slice of cake, unfrostedAmount Per Serving: Calories: 250Total Fat: 12gSaturated Fat: 6gTrans Fat: 0gUnsaturated Fat: 5gCholesterol: 95mgSodium: 349mgCarbohydrates: 30gFiber: 2gSugar: 17gProtein: 6g


















doris says
this cake looks really good can this be made in a 9x13 pan or I have to half the recipe and I would leave out the coffee cuz I don't like anything with coffee in it.
Rebecca Blackwell says
Hi Doris! Yes - you can bake this cake in a 9x13 pan. I would go ahead and make the full recipe. If you have a bit of extra batter, use it to make a couple of cupcakes if you like. And you can absolutely leave out the coffee. You really can't taste it in there, it just supports the flavor of the chocolate. But, if you are at all concerned that you might be able to detect it, leave it out with no worries. Please let me know if you have any other questions! And I'd love to hear what you think of this cake after you make it! xo
KJ says
Hi, I first made this recipe years ago and it is one of our favorites. I see that you've adjusted several of the ingredients (less water, more egg yolks, etc.). How does this compare with your earlier recipe?
Rebecca Blackwell says
Hi KJ! I'm so happy to hear that you and your family like this recipe! One of the best things about publishing recipes online is that they can be tweaked based on feedback from other bakers all across the world. Occasionally, it makes sense to make minor adjustments to a recipe based on that feedback, in an effort to ensure that bakers everywhere (in different altitudes, climates, etc.) will have success. That's what's happened with this recipe. The tweaks are usually minor and I doubt you'll notice a difference between the original recipe and the recipe as it is now. But, please do let me know if you ever run into any problems or have any suggestions for a recipe! I do my best to listen to the experience of other bakers and make improvements and clarifications whenever necessary. xo
Elle says
Hi there,
This recipe looks amazing. I was just wondering, do you think replacing the sour cream with buttermilk will work?
Rebecca Blackwell says
Hi Elle! Yes! That will work! I do suggest using whole milk buttermilk, if you can, rather than the kind made from low-fat milk. I'd also use 1 tablespoon less; measure 1/2 cup buttermilk and remove 1 tablespoon. This will account for the fact that buttermilk has a slightly higher water content than sour cream. Please let me know if you have any other questions! And I'd love to hear how your Devil's Food Cake comes out for you! xo
Natalie says
Can you swap out a gluten free 1:1 flour in place of the AP flour listed? I make your gluten free vanilla cake but want to mix it up with chocolate for a change.
Rebecca Blackwell says
Hi Natalie! I think swapping out the flour for GF flour will work well, but I have to tell you that I've never made this cake with GF flour so I can't say for sure. I'd suggest making a half batch to test it and adding some Xanthan Gum - probably 2 teaspoons per recipe. So, 1 teaspoon if you're making a half batch. I hope that helps! Please let me know if you have any other questions. And I would love to hear how this works out for you! xo
Lona says
That is way too much xanthan gum.
Lona says
Maybe 1/4 of a teaspoon. Hope that helps.
Meghan says
The best chocolate cake Iโve ever made or had. And Iโve made and had a lot! Itโs so moist and rich. I used it as the layers for a German chocolate cake and oh. My. Goodness. I could have eaten the entire thing myself!
Rebecca Blackwell says
Hi Meghan! I am so happy to hear that you liked this recipe so much! This is one of my favorite recipes because I think it tastes perfectly decadent all on its own, but can also be used to make an infinite number of other kinds of chocolate cake - like German Chocolate! Thank you so much for taking the time to leave a comment for me! I appreciate it so very much! xo
Valerie says
The absolute BEST chocolate cake I have ever made! I true splurge worthy dessert. And donโt miss out covering it with chocolate buttercream frosting. I will make this again and again:)
Rebecca Blackwell says
Hi Valerie! I am so happy to hear that you liked this recipe! This is my favorite chocolate cake... If I could, I'd eat it every day.m ๐ Thank you so much for taking the time to leave a comment for me! I appreciate it so much! xo