• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Recipes
  • About Me
  • Contact
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • Youtube
Sugar Spun Run
  • All Recipes
  • Desserts
    • Cookies
    • Candy
    • Bars & Brownies
    • Cake
    • Pies
  • Breads (Yeast & Quick Breads)
  • Savory
  • Breakfast
    • Muffins
    • Scones
  • Seasonal
    • Cozy Winter / Holiday Treats
    • Easter / Spring
    • Fall Recipes
    • Summer Recipes
  • Shop
menu icon
go to homepage
subscribe
search icon
Homepage link
  • Home
  • Recipe Index
  • About Me
  • Contact/Work with Me
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • Youtube
  • ร—
    Home ยป Recipes ยป Cake

    The Best Devilโ€™s Food Cake Recipe

    Published: May 9, 2021 by Sam Merritt โ€ข 158 Comments

    This post may contain affiliate links. As an Amazon Associate I earn from qualifying purchases. Please read my disclosure policy.
    Jump to Recipe Jump to Video
    collage of devils food cake, top image of single slice, bottom image of slice with whole cake behind it

    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!

    Devil's food cake with a bite taken out on a white plate

    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

    Ingredients for devil's food cake

    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

    Melting the chocolate, stir the sugars and flour, adding the melted chocolate, and mixing.
    1. 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.
    2. Remove your chocolate mixture from the stove and let it cool. Meanwhile, whisk sugars and dry ingredients together in a large heatproof bowl.
    3. Add the chocolate mixture to your dry ingredients and stir until smooth and combined.
    4. Stir in the sour cream, then add the eggs and vanilla and stir until smooth.

    Baking The Devilโ€™s Food Cake

    Pouring the batter into pans, checking for doneness, loosening with a knife, finished cakes.
    1. 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.
    2. 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.
    3. 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.
    4. 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!).
    Devil's food cake with a slice taken out

    Frequently Asked Questions

    Why is it called Devilโ€™s Food Cake?

    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.

    Why is my cake dry?

    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.

    Can I make this as cupcakes?

    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).

    Devil's food cake with a slice being taken out

    More Recipes For Chocolate Lovers

    • Slice of frosted Red Velvet cake on a white plate
      Red Velvet Cake
    • Chocolate cream cheese frosting on cupcake
      Chocolate Cream Cheese Frosting
    • Slice of hot chocolate cake topped with marshmallows with a mug of hot chocolate in the background
      Hot Chocolate Cake
    • chocolate lava cake on white plate
      Chocolate Lava Cakes Recipe

    Enjoy!

    Letโ€™s bake together! Make sure to check outย the how-to VIDEO in the recipe card!ย 

    Devil's food cake on a white plate

    Devilโ€™s Food Cake

    Rich, fudgy, and super moist, my Devil's Food Cake is a recipe you're going to want to bookmark and save! Recipe includes a how to video!
    5 from 76 votes
    Print Pin Rate
    Prevent your screen from going dark
    Course: Cake, Dessert
    Cuisine: American
    Prep Time: 20 minutes minutes
    Cook Time: 33 minutes minutes
    Total Time: 53 minutes minutes
    Servings: 12 slices
    Calories: 405kcal
    Author: Sam Merritt

    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

    • Two 8" baking pans
    • Mixing bowls
    • Medium sized sauce pan

    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

    Serving: 1slice (without frosting) | Calories: 405kcal | Carbohydrates: 55g | Protein: 5g | Fat: 20g | Saturated Fat: 12g | Trans Fat: 1g | Cholesterol: 76mg | Sodium: 367mg | Potassium: 212mg | Fiber: 2g | Sugar: 36g | Vitamin A: 618IU | Vitamin C: 1mg | Calcium: 77mg | Iron: 2mg

    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.

    Tried this recipe? Show me on Instagram!Mention @SugarSpun_Sam or tag #sugarspunrun!

    More Cake Recipes

    • slice of chocolate cake with a bite missing (showing fudgy texture) on white plate.
      The BEST Chocolate Cake Recipe
    • Slice of tiramisu layer cake with one bite missing on a plate.
      Tiramisu Cake
    • Slices missing from a pan of homemade dirt cake made with Oreo cookie crumbs, a cream cheese filling, and gummy worms.
      Homemade Dirt Cake Recipe
    • Slice of sourdough chocolate cake with a bite missing.
      Sourdough Chocolate Cake

    Reader Interactions

    Comments

    1. Anne Cassia

      January 30, 2025 at 12:24 am

      5 stars
      Made this for my friendโ€™s birthday, with the chocolate fudge frosting. He told me it was the best chocolate cake heโ€™s had! Our other friend took some home and three days later, it was still moist.

      Also, I wish every recipe I used would have the ingredient measurements included with the steps. So much easier.

      Reply
    2. Gay Towfiq

      January 02, 2025 at 12:46 pm

      5 stars
      been told that this is the best cake ever.

      Reply
      • Beth L Van Prooyen

        January 25, 2025 at 12:30 pm

        I have a liquid coffee concentrate, can this be used and if so how much? it says to mix one part concentrate to three parts water, milk or other liquid of your liking to make a cup of coffee.

        Reply
        • Sam

          January 28, 2025 at 11:55 am

          Hi Beth! You can use that concentrate to make 1 cup of coffee and use that instead of the water. ๐Ÿ™‚

    3. Sue

      November 26, 2024 at 9:50 pm

      5 stars
      Great devilโ€™s food cake! Very dark and delicious, made exactly as written. For my grandchild who has an egg allergy, Iโ€™ve used egg replacer (Bobโ€™s Red Mill) with no issues.

      Reply
      • Sam

        November 27, 2024 at 6:58 am

        Iโ€™m so glad you enjoyed it so much, Sue! Thank you for the feedback! ๐Ÿ™‚

        Reply
    4. RedBlueSpice

      October 28, 2024 at 2:50 pm

      I make a cake from a Devilโ€™s food cake mix that adds 4 eggs, oil, sour cream, choc pudding mix, and choc chips. Over the decades, my family insists on this being their birthday cake. I really donโ€™t want to use a box mix, so I went on a hunt on your blog, because you make THE BEST CAKE RECIPES. After seeing this recipe, it looks like all I would probably add are the chocolate chips. It has the sour cream, doesnโ€™t seem to need pudding and quite likely would ruin your cake, and you test your recipes so well, I would hate to add 2 more eggs. I suspect the recipe I found many years ago probably added all of those extra ingredients to try to make a box cake mix taste like a from scratch cake, like the one here you have developed. Do I have this correct?

      Reply
      • Sam

        October 29, 2024 at 7:12 am

        Thank you so much for trusting my recipes so much! Iโ€™m so glad theyโ€™ve all been such a hit! You definitely donโ€™t want to add and extra eggs or pudding mix here, or oil, or sour cream. You would be fine to stir some chocolate chips into the batter. You are correct in saying that someone was just trying to doctor the flavor of a box mix in that other recipe. I hope you love this one! ๐Ÿ™‚

        Reply
        • RedBlueSpice

          October 29, 2024 at 8:45 pm

          Sweet! I canโ€™t wait to make this cake! Every single cake I make of yours is phenomenal!

    5. Lori Adkins

      October 10, 2024 at 7:29 pm

      5 stars
      EXCELLENT exact directions! Turned out beautifully for my husbandโ€™s birthday cake!

      Reply
      • Emily @ Sugar Spun Run

        October 11, 2024 at 1:27 pm

        Wonderful! Thanks for using our recipe, Lori ๐Ÿฅฐ

        Reply
    6. Julia

      September 24, 2024 at 6:16 am

      Do you think I could substitute mayonnaise for the sour cream?

      Reply
      • Sam

        September 24, 2024 at 1:05 pm

        Hi Julia! I would try a plain full fat greek yogurt, but Iโ€™m not sure mayonnaise would work quite the same. ๐Ÿ™

        Reply
    7. Mona

      September 12, 2024 at 5:23 pm

      5 stars
      This is the first time I have every made a cake from scratch, and I must stay Iโ€™m proud of myself, but even prouder of the recipe loll! Great job!

      Reply
      • Emily @ Sugar Spun Run

        September 12, 2024 at 5:41 pm

        Weโ€™re so happy it turned out nicely for you, Mona! Thanks for trying our recipe ๐Ÿฅฐ

        Reply
    8. Romaine

      July 27, 2024 at 9:40 pm

      5 stars
      I really wanted to comment on how I loved the way the recipe was laid out- posting the ingredients again at each step, saving scrolling up and down (and potentially missing an ingredient or adding at the wrong time). Super helpful! Cake was delicious and I highly recommend using the frosting recipe linked. Fudgier (sp) than buttercream. I used unsweetened chocolate (itโ€™s what I had) and it had the beautiful texture of buttercream, but less sweet. So delicious!

      Reply
      • Emily @ Sugar Spun Run

        July 29, 2024 at 12:55 pm

        Weโ€™re so happy it was helpful, Romaine! Thanks for the review ๐Ÿฉท

        Reply
    9. Sara

      July 16, 2024 at 11:13 am

      5 stars
      This was absolutely the best cake recipe I have ever used. The cake was unbelievable moist and the perfect amount of sweetness. I used a shot of espresso instead of instant coffee. I also added fresh strawberry in-between the cake layers and used her recipe for chocolate buttercream frosting.

      Reply
      • Emily @ Sugar Spun Run

        July 16, 2024 at 11:16 am

        That sounds divine, Sara! Weโ€™re so happy you enjoyed it so much ๐Ÿฅฐ

        Reply
    10. A

      May 31, 2024 at 6:23 am

      Just checking, is it really 400g sugar in the cake alone? That seems a lot but Iโ€™ll give it a try!

      Reply
      • Sam

        May 31, 2024 at 11:37 am

        It is, enjoy! ๐Ÿ™‚

        Reply
        • A

          June 03, 2024 at 2:31 pm

          5 stars
          I should never have doubted. Fantastic results, delicious cake! I donโ€™t actually make chocolatey bakes that often but this one Iโ€™ll be coming back to.

        • Emily @ Sugar Spun Run

          June 03, 2024 at 3:12 pm

          Weโ€™re so happy it was a hit for you! ๐Ÿ˜Š

        • Lisa OConnor

          August 28, 2024 at 8:01 am

          5 stars
          Hi Sam, my daughter wants this cake for her 18th birthday party on Saturday. It will be a 10 inch heart shape. Will this mixture be OK in that size tin? and will it do 2 layers or 1? Thanks in advance โ˜บ๏ธ

        • Emily @ Sugar Spun Run

          August 28, 2024 at 9:26 am

          Hi Lisa! You will be able to fill your pan for one layer, but you will have excess batter. You can either discard it or use it for cupcakes. We hope your daughter loves her cake! ๐Ÿฅณ

    11. Megan Mollett

      April 29, 2024 at 11:37 pm

      5 stars
      I love this recipe! Iโ€™ve used it many times! Always turns out perfect. Could I add chopped Oreos to the batter to make a chocolate Oreo cake?

      Reply
      • Sam

        April 30, 2024 at 10:59 pm

        Hi Megan! My only concern here is that the oreos could potentially sink to the bottom of the cake, but I havenโ€™t tried it to say for sure how it would work. Let me know if you do. ๐Ÿ™‚

        Reply
    12. Abigail Mann

      April 06, 2024 at 3:29 pm

      5 stars
      My family LOVES this chocolate cake recipe and it is a HIGHLY requested favorite in our household!!! So delicious and so dense and fudgey!!! We love it!

      Reply
    13. Michelle Smith

      March 12, 2024 at 1:12 pm

      5 stars
      This was a delicious cake!!

      Reply
    14. Melissa A.

      January 11, 2024 at 11:20 pm

      5 stars
      This is the absolute BEST chocolate cake recipe I have ever baked and tasted! The recipe is easy to prepare and the ingredient measurements are simple to increase or decrease for desired cake size. Sam, your devils food cake recipe has ruined me from baking any other chocolate cake recipe! Thank you so much for sharing your gift of cooking.:)

      Reply
      • Tom E.

        March 23, 2024 at 3:29 pm

        Another winner Sam. Ditto for the fudge frosting.

        Reply
        • Jerry

          July 18, 2024 at 7:47 am

          5 stars
          WOW WOW WOW, I love this cake more than the coca cola and chocolate cake. Everyone loved it. I used a hot cup of instant coffee, baked in a 13 x 9. Even on day 3 it was still fresh and fudge. Never used Dutch process before glad I did. Thank you so much for putting in all the work so we dont have to. You always look great and never seem to gain an ounce, please tell us your secret. Thanks again.

    15. Michelle Lowe

      January 07, 2024 at 5:19 pm

      5 stars
      The BEST!

      Reply
    ยซ Older Comments
    Newer Comments ยป
    5 from 76 votes (35 ratings without comment)

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Recipe Rating




    Primary Sidebar

    The author (Sam) in blue shirt holding donut Hi, I'm Sam! I'm dedicated to bringing you sweet, simple, and from-scratch dessert recipes. My life may or may not be controlled by my sweet tooth. Send help (or chocolate). Read more about me.

    Warm Weather Recipes

    Overhead view of a cup of dirt pudding with one bite missing.

    Cup of Dirt Recipe

    Serving of blueberry cobbler topped with a scoop of vanilla ice cream in a white dish.

    Blueberry Cobbler

    Lemonade in glass pitcher

    Homemade Lemonade Recipe

    Collage of strawberry recipes including strawberry sauce, strawberry cake, strawberry shortcake, strawberry tart, and strawberry frosting.

    Strawberry Recipes

    bowl of chicken corn chowder topped with bacon and green onions

    Chicken Corn Chowder

    glass jar full of homemade lemon curd on a gray marble surface surrounded by lemon halves and small white baby's breath flowers

    Lemon Curd Recipe

    More Summer Recipes

    Most Popular

    flaky biscuit on white cloth

    Easy Homemade Biscuits

    Pizza dough in glass bowl, after rising

    The Best Pizza Dough Recipe

    Slice of cheesecake

    The Best Cheesecake Recipe

    Potato soup in bowl, with toppings

    The Ultimate Creamy Potato Soup

    one bite missing from a slice of vanilla cake with chocolate frosting

    The Best Vanilla Cake Recipe

    Stack of cookies made from this chocolate chip cookie recipe with melty chocolate chips and a bite missing from the top cookie

    The WORST Chocolate Chip Cookie Recipe

    places sugar spun run has been featured (Women's Day, Redbook, Good Housekeeping, Country Living, the huffington post, People, Delish, MSN, TLC, Parade, Better Homes & Gardens, Buzzfeed)
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • Youtube

    Privacy Policy

    Footer

    โ†‘ back to top

    ABOUT

    • About Me
    • Policies, Disclosure & Privacy
    • Terms of Use

    CONTACT

    • Contact
    • Work with Me!

    ยฉ 2020 Sugar Spun Run. All Rights Reserved

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required

    Recipe Ratings without Comment

    Something went wrong. Please try again.