Devil's Food Cake
intro
Rich, deeply fudgy chocolate layer cake with silky chocolate buttercream, a nostalgic American dessert beloved by chocolate lovers for its moist, tender crumb.
Ingredients
Steps
Prep Oven and Pans
Preheat your oven to 180°C (350°F) with a rack positioned in the center. Grease two 9-inch round cake pans thoroughly with butter or nonstick spray, line the bottom of each pan with a circle of parchment paper, and lightly dust the sides with cocoa powder to avoid white flour residue on the dark cake layers.
Whisk Dry Ingredients
In a large mixing bowl, combine 220g all-purpose flour, 65g (¾ cup) of the Dutch-processed cocoa powder, 300g granulated sugar, 1 ½ teaspoons baking soda, 1 teaspoon baking powder, and 1 teaspoon of the fine sea salt. Whisk vigorously for 30 seconds to fully combine and break up any cocoa lumps, ensuring leavening is evenly distributed.
Mix Cake Batter
Add 240ml room-temperature buttermilk, 120ml vegetable oil, 2 room-temperature large eggs, and 2 teaspoons of the vanilla extract to the dry ingredient bowl. Mix with an electric hand mixer on low speed for 1 minute, then slowly stream in 240ml hot (just off boil, ~95°C/200°F) brewed coffee, mixing on low for an additional 30 seconds until the batter is smooth and thin; the thin consistency is normal and creates a moist crumb.
Bake Cake Layers
Divide the batter evenly between the two prepared pans (roughly 480g of batter per pan). Bake for 28-32 minutes at 180°C (350°F), until a toothpick inserted into the center of each cake comes out with 2-3 moist crumbs attached (not coated in wet batter, not completely clean). Do not overbake, as this will result in a dry, crumbly cake.
Cool Cake Layers
Let the cakes cool in their pans on a wire rack for 10 minutes at room temperature, then run a thin offset spatula around the inner edge of each pan to loosen the cake, invert the layers onto the wire rack, and peel off the parchment paper circles. Allow layers to cool completely to 21°C (70°F) for 1 full hour before frosting, as warm cake will melt buttercream on contact.
Make Chocolate Buttercream
In a large bowl, beat 226g softened room-temperature unsalted butter with an electric mixer on medium speed for 3 minutes until pale and fluffy. Add 360g powdered sugar, the remaining 45g (½ cup) cocoa powder, 60ml heavy cream, the remaining 1 teaspoon vanilla extract, and remaining ¼ teaspoon fine sea salt. Mix on low speed for 1 minute to incorporate, then increase to medium-high and beat for 2 more minutes until light, smooth, and spreadable.
Assemble and Frost Cake
Place one fully cooled cake layer on a cake stand or serving plate, spread 240ml (1 cup) of the chocolate buttercream evenly across the top in a 1cm (½-inch) thick filling layer. Place the second cake layer on top, centered, then use the remaining buttercream to frost the top and sides of the cake in a smooth, even coat. Chill the assembled cake in the refrigerator for 15 minutes to set the frosting before slicing and serving.
Tips
2.Use room temperature eggs, buttermilk, and butter: cold ingredients fail to emulsify smoothly, leading to a dense, uneven crumb in the cake and lumpy, hard-to-spread buttercream.
3.Hot coffee amplifies the deep, rich chocolate flavor without adding a prominent coffee taste; substitute equal amounts of hot water if you prefer to make the cake caffeine-free.

OMG this devil's food cake was the star of our Sunday family dinner! I baked it for my son's birthday and all the kids were begging for second slices. It was so moist even after I left it covered on the counter overnight — total game changer compared to the box mix I usually use. Worth every minute of the 2+ hour time commitment, trust me!
Took a stab at this for my partner's anniversary dessert and wow, SO good. I’m usually terrible at layer cakes — mine always come out dry or lopsided — but the tip about lining the pans with parchment and letting the batter rest before baking made all the difference. Only tiny gripe is I wish the cooling time guidance was a little more specific for people with super warm kitchens, mine took a bit longer to set than expected.
Made this last minute for a neighbor’s potluck and got so many recipe requests! It’s rich without being cloying, and the crumb is perfectly tender. I added a tiny pinch of espresso powder to the batter like I do with all chocolate baked goods and it amped up the chocolate flavor so much, highly recommend that hack.
Wait, is there a trick to getting the cakes to not stick to the pan? I greased and floured like the recipe said but half of my first layer stuck when I went to flip it out 😭 I patched it up with extra frosting and no one complained, but I want to get it right next time!
My kids loved it! I cut the sugar by a quarter cup because I don’t love super sweet desserts and it was still perfectly chocolatey. Baked it in a 9x13 pan instead of two round layers to make it easier for school snack time and it baked up perfectly in 35 minutes, for anyone who wants to skip the layer cake hassle.
Hands down the best devil's food cake recipe I’ve ever tried. I’ve made so many dry, bland versions over the years and this one checks every box: deep chocolate flavor, moist for days, sturdy enough to stack but still melts in your mouth. Made it for my book club and everyone thought I bought it from a fancy bakery, little do they know I’m just a guy who follows directions well lmao.
Pro tip for anyone short on time: I made the cake layers two days ahead, wrapped them tight in plastic wrap, and stuck them in the freezer until I was ready to frost. They were even moister than when I baked them fresh the last time I made this recipe! Total lifesaver when you’re prepping for a big party.
I made this cake last month for my roommate’s birthday and it was incredible — easily the best chocolate cake I’ve ever had! Has anyone tried making it with a 1:1 gluten free flour blend? I’m hosting a birthday party for my niece who has celiac and this looks too good not to serve, I just don’t want it to turn out gummy or dense.