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.
Tahseen
Hi Sam. I want to bake this cake in a 9 inch springform pan as I don’t have 2 normal pans. How much baking time u think it would require for a perfect moist cake. Also I would be making 3 thin layers out of it, so how much brown butter frosting would I be needing it. I am sure the recipe will not fit a 3 layer cake with border frosting. Kindly suggest. I want to make this cake for my Eid party. Thank you.
Sam
Unfortunately without having tried these alterations I wouldn’t really be able to advise on bake times or quantities of frosting. I would just keep an eye on the cakes while they bake so you don’t over-bake them. 🙂
JW
I made this recipe in a Bundt pan—perfect in 26 minutes
Kristina Natoli
Hi! I just made this recipe this morning and while baking both 8” cake pans the batter decently cracked in both pans. Any ideas why that happened?
Sam
Hi Kristina! If it’s just a surface crack, it shouldn’t really be a big deal and you should be able to use it just fine. If it cracked really deeply it may have been under-mixed. 🙁
Michelle
Hi! I have read that Dutch cocoa can be substituted with regular cocoa by adding 1/8 teaspoon baking soda for every 3 Tablespoons of cocoa. That would mean a 1/2 teaspoon in addition to the amount of baking soda already listed in the recipe. Do you know if that is accurate/would work?
Sam
Hi Michelle! I have not heard of this substitution and I’d be hesitant to comment on how it would work.
Rachel
Just made this yesterday for a friend’s birthday. The birthday girl LOVES chocolate, the other friend is pickier. They both loved it 😀 So very moist! I baked it in a 9×13 for 30 mins, and it was perfect. I also substitued orange extract for vanilla extract because I’m extra LOL
Can I admit that I ran out of time to make the Browned Butter frosting so I just used chocolate Duncan Hines, and it was still fabulous?
Sam
I am so glad everyone enjoyed it so much, Rachel! 🙂
Kristen
Hi! What would be the baking time for smaller (mini) cupcakes? Thanks!
Sam
Hi Kristen! I’m not sure in a mini cupcake. I haven’t baked them as a mini cupcake before. 🙁
Meike
Thank you for this great recipe! My (american) mom used to make Devil’s Food Cake with 7-minute-icing for my birthday. Unfortunately, her recipe has been lost. This year, I was determind to find the recipe closest to the one I have cherished since childhood. Scrolling through a dozen recipes, I finally decided on this one and you can’t imagine my surprise when afterwards I read your name… my mother’s first name was Merritt! What a happy coincidence. Being german, I especially appreciated the measurements in gramms. The cake tasted great and the texture was devine.
Sam
I’m so glad this met all of your expectations! I’m so glad you found it. 🙂
Kristen G
I never gave an update on this one! I made them as mini cupcakes, and they were perfect, although now it was such a while back I don’t remember my timing. But I just wanted to leave a review and rating. Absolutely delicious. I made some with the Ermine frosting and some with vanilla buttercream.
Sam
I’m so glad to hear it! Thank you for letting me know how it turned out! 🙂
norma
Hi, just about to make this for a friend’s birthday. I’d like to make 3 or 4 layers. Any problem dividing the layers horizontally? Or would you suggest making it in a 9×13 pan and stacking the layers?
thanks!
Emily @ Sugar Spun Run
Hi Norma! You can cut the cake layers in half for four thin layers, or you could increase the recipe by 50% for three normal layers. And of course, doubling would give you four normal layers. Hope that helps!
Brenda
I made this in a 9 X 13 pan, sliced it in half longways, spread an 8 oz. container of Cool Whip before putting the top layer back on it. Made it into a “suzie q” cake. Everyone loved it. Thanks for the great recipe 😀
Emily @ Sugar Spun Run
Sounds absolutely delicious, Brenda! Our homemade whipped cream would also be a great filling 😊
cher
I want to try this recipe. But I couldn’t find any sour cream around my neighborhood. Can I omit the sour cream inside the recipe?
Emily @ Sugar Spun Run
Hi Cher! If you can find full-fat Greek yogurt, that will work too 😊
Ann Hinner
I made this cake for a holiday cake and it was the BEST dark chocolate cake I have ever eaten! My husband said to save this recipe. I used a light peppermint flavored buttercream, a little bit of chocolate crunch and crushed candy canes in the the middle. Oh. My. Goodness. It was delicious. Thank you so much for sharing this recipe.
Emily @ Sugar Spun Run
Wow, that sounds heavenly Ann! Thanks so much for trying our recipe and coming back to leave a comment 😊
Alaina
Hi Sam! I love your blog and it’s my go to for anything sweet! Do you have a recommendation on brand of cake pans to use? I’d like to start trying some cake recipes, but don’t have cake pans.
Thanks a bunch!
Sam
Hi Alaina! Thank you so much for following my blog! Sorry for missing this comment earlier! I personally like to use gold Oxo cake pans. I have an Amazon shop and have them listed there if you’d like to check it out, though they are only available as part of a set on Amazon. I do know they are also available from Bed Bath & Beyond (and likely other places, as well!). I also have enjoyed using Fat Daddios pans in the past but am in the process of switching all of those pans over to USA cake pans (just because I like to buy USA-made where I can) and if all goes well with testing will be recommending those in the future, will keep you posted!
Mickenzie
Hello! I have a few questions before I make this recipe!
I have 6 inch pans, so what would you recommend for baking time if I use them? Secondly, when cooled completely, is this cake sturdy enough to stack 3-4 layers? I am going for a taller look. Thank you!
Sam
Hi Mickenzie! I haven’t tried baking them in 6 inch pans so I’m not sure how long it would need to bake, but it will definitely be stackable for 3-4 layers. 🙂
Trudy
Hi. I haven’t made this yet because I need to check something with you first. Your printed recipe list 1 teaspoon of salt, but the video says 3/4 teaspoon. Could you please tell m which one is correct?
Thanks!
Sam
Hi Trudy! 1 teaspoon is correct, sorry about the confusion!
Lynn
I made this cake for my wife’s birthday and it was a huge hit. Everyone said it was the best cake they ever had. She wanted coconut icing, so I made a cream cheese icing and added coconut. It was superb! Thanks for sharing this recipe.
Emily @ Sugar Spun Run
Hi Lynn! We are so happy to hear that your guests loved the cake! Love the idea of swapping in coconut icing. Thanks for commenting.
Tracy
Loved this cake! Even though I love chocolate, I normally don’t particularly like chocolate cake. Most of them seem very dry. Totally not a problem with this recipe! This cake is so moist and tender – and it stayed that way for several days. I used the Chocolate Fudge frosting, and it was delicious as well. Another winner, Sam!
Sam
I’m so glad you enjoyed it so much, Tracy! 🙂
Ann
Delicious recipe! Any idea why I’d have white clumps (about the size of a small pea) in the finished cake? I’m thinking flour that didn’t get mixed, but I mixed the batter a good bit. I’d love to figure this out! Any ideas?
Sam
Hi Ann! I’m so glad you enjoyed the cake overall. Is there a chance some of your ingredients are old or have been exposed to moisture? The most likely culprits would be your flour, baking soda, or baking powder. If it’s baking soda or powder they will be very bitter. If it’s your flour you can try sifting the flour before you use it. I hope that helps. 🙂
Angie
Made this recipe for my daughter’s birthday!! It was superb!! As always Sam’s recipes never let me down!! I can ałways trust that it will come out great!! I love making all of her recipes!! Thanks Sam for making recipes so easy to follow 😊
⭐⭐⭐⭐⭐
Sam
I’m so glad everyone enjoyed it so much, Angie! 🙂
Dale Anderson
My grandson always asks for a red velvet cheesecake for his birthday, but I want to try something different. Will this recipe work for adding a cheesecale middle layer. What icing would yourecommend?
Emily @ Sugar Spun Run
Hi Dale! We’d recommend you try our Cheesecake Stuffed Dark Chocolate Cake. We hope your grandson loves it and has a very happy birthday!