My Devil’s Food Cake recipe is rich, fudgy, and dangerously chocolatey! It’s also simple to make and essentially foolproof! Today I’m walking you through all the steps, be sure to check out the how-to video in the recipe card!
What is the Difference Between Chocolate Cake and Devil’s Food Cake?
Leading with this question because it’s one I had myself. What’s the point of adding another chocolate cake to the blog, anyway, when I already have an incredible, 5-star chocolate cake recipe?
After a bit of digging I learned that devil’s food cake is in a class of its own. While it’s known for being fudgier, moister, and richer than classic chocolate cake, people seem to widely disagree on what ingredients are critical to makes it so. Some recipes call strictly for melted chocolate, others for natural cocoa, and still others for Dutch-process. So which is right!?
After far too many hours of devil’s food cake research, I came to the following conclusions:
- It should be plush, velvety, and more fudgy and moist than a classic chocolate cake. Soft and melt-in-your-mouth, yes, but not quite so fluffy as many other cakes.
- The chocolate flavor should be more intense than a classic chocolate cake. While any frosting will work on this cake, a thick and fudgy chocolate one is preferred (coming soon!).
- Sour cream played an important role in many early recipes and I felt it belonged here as well, as did Dutch-process cocoa.
- While baking powder may make an appearance, baking soda should be the primary leavener.
- It is not the same as red velvet cake. I was shocked to find at least one source claiming that it was and felt strongly that I should set the record straight here. Nope!
With these parameters in mind, I set about developing the best devil’s food cake recipe. It took weeks to get things just right, but I’m so excited to share this one with you today. Let’s get to it!
Ingredients
Many of today’s ingredients are basic pantry staples, but let’s talk about a few of them, including what role they play in the chemistry of making the perfect cake:
- Flour. I specifically developed my recipe to be made with all-purpose flour. I have not tried it with cake flour but think it could work if substituted properly. I do not recommend any other kind of flour, such as self-rising flour.
- Sugar. A blend of granulated sugar and brown sugar give this cake the best flavor.
- Butter. Most of my cake recipes use a blend of oil and butter to maximize both flavor and moisture. However, for this fudgy recipe we have plenty of moisture added elsewhere, so we’re going for all flavor with all butter.
- Cocoa powder. While many recipe developers disagree on the best chocolate to use when making devil’s food cake, I found that this recipe works best with Dutch-process cocoa powder to attain its signature deep, rich chocolate flavor. While “natural” cocoa powder is highly acidic, Dutch-process has been treated and neutralized. It also yields a darker color for the cake. We’ll “bloom” the cocoa powder in our milk & water on the stovetop for ultimate chocolate intensity in this cake.
- Milk & Water. For the perfect texture, a blend of whole milk and water works best. This is the liquid we’ll heat to bloom our cocoa powder.
- Coffee. Coffee doesn’t make the cake taste like coffee, but it does enhance the rich chocolate flavor. You have several options here. 1) Omit the water above and use your favorite coffee instead. 2) Use water and a teaspoon of instant coffee. 3) If you have neither coffee nor instant coffee you can just use water. Even without the enhancement of coffee flavor the cake will still taste good.
- Sour cream. Sour cream plays an important role in this cake. It adds moisture (thanks to its fat content) and the acidity helps to activate the baking soda.
This is just an overview of some of the ingredients I used and why. For the full recipe please scroll down to the bottom of the post!
How to Make Devil’s Food Cake
- Combine the butter, milk, water, cocoa powder and instant coffee in a saucepan. Cook until the butter is melted then bring the mixture to a boil. This not only “blooms” our cocoa (releasing its full, intense chocolate flavor) but it also melts our butter, which also helps the cake’s flavor.
- Remove your chocolate mixture from the stove and let it cool. Meanwhile, whisk sugars and dry ingredients together in a large heatproof bowl.
- Add the chocolate mixture to your dry ingredients and stir until smooth and combined.
- Stir in the sour cream, then add the eggs and vanilla and stir until smooth.
Baking The Devil’s Food Cake
- Evenly pour the finished batter into two round baking pans (I use 8″ but include notes in the recipe for different sized pans and even for cupcakes!) and bake.
- Check that the cake is done by inserting a toothpick into the center of each cake. The toothpick should have some fudgy crumbs (but no wet batter!). A toothpick with no crumbs may indicate that the cake is overcooked, which could mean a dense/dry cake.
- When the cake is finished baking allow it to cool in the pan for 15 minutes then run a knife along the edge of the cake to loosen it.
- Carefully invert the cakes onto a cooling rack to finish cooling (careful, the pans are still hot!). Let the cakes cool completely before covering with frosting.
Frosting
I used a chocolate fudge frosting that I’ll be sharing later this week, but here are a few other options that are great with this cake:
- Chocolate Frosting
- Chocolate Buttercream
- Swiss Meringue Buttercream
- Chocolate Cream Cheese Frosting
- Brown Butter Frosting (I iced this cake with brown butter frosting for Zach’s birthday at his request, the combination was incredible!).
Frequently Asked Questions
This cake allegedly originated in the 1900s, and while there are a number of different reasons cited for the reason behind the name, nobody seems to know for sure. My best guess after scouring the internet? With its sinfully dark color, rich, decadent taste and plush, fudgy crumb, it most starkly stood out as the antithesis to the light, fluffy and airy angel food cake that predates it.
This recipe is specifically designed to be rich, fudgy and moist. However, a few wrong turns can leave you with a cake that is dense or dry.
The most likely culprit is accidentally over-baking your cake. This is especially easy to do if your oven is running hotter than it says (which many ovens do!). Because of this I highly recommend keeping an oven thermometer (this is the one I use) in your oven at all times.
However, accidentally over-measuring your flour can also yield a dense or dry cake. If you haven’t already, please see my guide on how to measure flour.
Yes! This recipe will make approximately 24 cupcakes. Fill cupcake liners โ -3/4 of the way full and then bake for 17-18 minutes (a toothpick inserted in the center should come out clean or with a few moist crumbs).
More Recipes For Chocolate Lovers
Enjoy!
Letโs bake together! Make sure to check out the how-to VIDEO in the recipe card!
Devil’s Food Cake
Ingredients
- 1 cup (226 g) unsalted butter
- ยฝ cup (118 ml) whole milk
- 1 cup (236 ml) water
- ยพ cup (75 g) Dutch-process cocoa powder
- 1 teaspoon instant coffee optional, see note
- 2 cups (250 g) all-purpose flour
- 1 cup (200 g) granulated sugar
- 1 cup (200 g) light brown sugar firmly packed
- 1 ยฝ teaspoons baking soda
- 1 teaspoon baking powder
- 1 teaspoon salt
- ยพ cup (190 g) sour cream
- 2 large eggs room temperature preferred
- 2 teaspoons vanilla extract
- 1 batch chocolate frosting or your favorite frosting
Recommended Equipment
Instructions
- Preheat oven to 350F (175C) and line the bottom of two 8โ baking pans (see note for different size pans) with cut-out parchment paper lines and spray the sides with baking spray (or you may thoroughly grease and flour the pans). Set aside.
- In a medium-sized saucepan, combine butter, milk, water, cocoa powder, and instant coffee.1 cup (226 g) unsalted butter, ยฝ cup (118 ml) whole milk, 1 cup (236 ml) water, ยพ cup (75 g) Dutch-process cocoa powder, 1 teaspoon instant coffee
- Place on stovetop over medium-low heat and stir frequently until butter is melted. Increase heat to medium and bring to a boil, stirring constantly. Remove from heat and allow to cool for 15 minutes while you prepare the dry ingredients.
- In a separate large bowl whisk together flour, sugar, baking soda, baking powder, and salt.2 cups (250 g) all-purpose flour, 1 cup (200 g) granulated sugar, 1 cup (200 g) light brown sugar, 1 ยฝ teaspoons baking soda, 1 teaspoon baking powder, 1 teaspoon salt
- Whisk the chocolate mixture briefly once more to combine then Pour into flour mixture. Stir until smooth.
- Add sour cream and stir until combined.ยพ cup (190 g) sour cream
- Add eggs and vanilla and stir well until batter is smooth.2 large eggs, 2 teaspoons vanilla extract
- Evenly divide batter into prepared baking pans and bake on 350F (175C) for 30-35 minutes or a toothpick inserted in the center comes out clean or with fudgy crumbs (preferred, as sometimes a clean toothpick can indicate the cake is overdone).
- Allow to cool in the baking pans for 15 minutes then run a knife along the edge to loosen it from the pan and carefully invert onto a cooling rack to cool completely (be careful, the pans will still be hot).
- Cool completely before frosting.1 batch chocolate frosting
Notes
Coffee
Instead of using water and instant coffee you can instead just use 1 cup of your favorite coffee. The coffee enriches the chocolate flavor of the cake and I recommend it, but if you have neither coffee nor instant coffee the recipe can be made with just water (it’ll still be good!).Baking Pans/Making as Cupcakes
This recipe may be baked in two 9โ pans (bake for 28-30 minutes) or it will make 24 cupcakes (bake for 17-18 minutes). This recipe will also work in a 9×13″ pan baked for approximately 30 minutes. Always use the toothpick test to check for doneness: a toothpick inserted in the center should come out clean or with moist, fudgy crumbs (preferable). A bundt pan will also work though I have not tried this recipe in a bundt pan myself so cannot comment on the bake time. ยMaking In Advance
You may make the cake up to two days in advance of frosting and serving. Simply bake and cool then wrap tightly in plastic wrap. I store at room temperature. This cake may be prepared, cooled, and frozen for up to a month before thawing and frosting. After frosting, the cake may be stored in an airtight container at room temperature for up to 48 hours or in the refrigerator for up to 5 days.Nutrition
Nutritional information is based on third-party calculations and should be considered an estimate only. Actual nutritional content will vary based upon brands used, measuring methods, cooking method, portion sizes, and more.
Shayna
I made these yesterday then froze them to decorate with frosting on Sunday for my twinsโ 7th birthday. They looked amazing and it was honestly so easy! My question is, would it still look good if I just made them two one later cakes? I was gonna stack them and make a two tiered cake, but now weโre thinking two cakes might feed more plus theyโd each get a cake! Also, I LOVE your recipes! Theyโre some of my go-tos! So thank you!
Sam
Happy birthday to your twins! I couldn’t imagine having 2 at once, that has to be crazy. You could certainly do 2 individual cakes. It won’t look bad, but it won’t look quite as impressive as the 2 layer cake. ๐
Shayna Kershaw
Now Iโm thinking of just making two double layer cakes! Can I use margarine instead of butter you think?
Sam
I don’t bake with margarine too often, but I think it could work here. ๐
Seema
Hi,
I would like to try this recipe but sour cream is not available where I live.. Any other options Instead of sour cream?
Emily @ Sugar Spun Run
You can substitute full-fat Greek yogurt for the sour cream, and it should still turn out beautifully. We hope you love this cake, Seema! โค๏ธ
OG
Best cake ever!!
Itโs so moist and rich ๐คค๐คค
Heavenly!
Lyndyb
I made this cake yesterday with a buttercream icing for my husband’s birthday and he told me it was the best cake yet. I followed the recipe and didn’t use a mixer and it came out dense but moist and with a wonderful, deep chocolate flavor – perfect.
I can’t wait to try some of your other recipes. Thanks so much!
Sam
I’m so glad everyone enjoyed it so much! ๐
kat
Yet to find a recipe that isn’t spectacular ๐
One clarification please. The above recipe states at the bottom the cook time is 30-35 minutes. the printable recipe states total cook time as 22 minutes. Even thinking the 22 minutes was on the short time, I still thought that was the time :-l
Rushing I guess, lol./
Still came out perfect!
Sam
I’m so glad you have been enjoying the recipes and that the cake turned out so well for you, Kat! Thank you for bringing that to my attention about the cook time at the top, I’m not sure why it was showing that way but it’s been corrected! <3
Jessica
Do we have measurements for a 10 inch cake? Iโm wondering how many batches of this I would need for a 2 layer cake
Sam
Hi Jessica! You will need to increase the recipe by 50% to get enough to fill 2 10 inch round pans. ๐
Shelby C.
Always a fan of your recipes. As soon as I saw this on Instagram, I knew I had to make it! Very soft and rich in flavor. Making it again tomorrow for my friend’s birthday! Two times in a week and a half. Thank you so much!
Sam
I’m so glad you enjoyed it so much, Shelby! That’s a lot of cake in a short span, but I would be lying if I said I haven’t done it many times before. ๐
Simone
I canโt wait to try this. Can I use oil instead of butter or maybe half butter and oil?
Sam
Hi Simone! I would be a little bit worried the cake may just fall apart with oil. It’s already a very moist cake. If you do try it let me know how it goes. ๐
Liz
Hi can someone please let me know why my butter is separating? I don’t want to mix it in if it won’t come out right.
Sam
Hi Liz! Keep stirring and it should come together. If it doesn’t it should still work. ๐
Danielle
This cake is so soft, fudgy and down right delicious, I didnโt even want to share with my kids! You always make the best recipes, and I always get the best results from them. Thanks for sharing another amazing one!
Sam
So thrilled to hear it was such a hit, Danielle! Thank you so much for letting me know how it turned out for you, I appreciate it! ๐
Gary Simpson
CAN YOU USE BUTTERMILK INSTEAD OF MILK
Sam
I haven’t tried it, but it’s worth a shot! It will add more fat and moisture to the cake, as well as a richer flavor.
Amy Wonder
Can I use Hershey’s special dark cocoa?
Sam
Hi Amy, I haven’t tried it with this cocoa powder.
Bruce
7-minute frosting is also excellent for devilโs food cake. Itโs very simple flavor allows the chocolate to shine.
Morgan
This recipe is AMAZING!!!! Just made this today and I am obsessed. Thank you for sharing.
Sam
I’m so glad you enjoyed it so much, Morgan! ๐
Richard
Can I use 2% milk in a larger amount and use less water?
Sam
Hi Richard! That should be fine. Enjoy ๐
Cheryl
How much Expresso Powder do you think? 1 teaspoon?
Sam
If I’m not mistaken, espresso powder is a bit more potent. Unless you like a stronger coffee flavor I would probably only use about 1/2 teaspoon. Let me know how it turns out for you! ๐