Moist Devil's Food Cake
intro
Ultra-rich, moist, deeply chocolatey two-layer cake slathered in silky chocolate buttercream, a beloved American treat perfect for joyful celebrations.
Ingredients
Steps
Prep pans and oven
Preheat your oven to 180°C (350°F) with a rack positioned in the center. Grease two 9-inch round cake pans with butter or nonstick spray, line the bottom of each with a circle of parchment paper, and lightly dust the sides with cocoa powder (instead of flour to avoid white residue on the dark cake layers).
Whisk dry ingredients
In a large mixing bowl, combine 240g all-purpose flour, 80g of the Dutch-processed cocoa powder, 300g granulated sugar, 1 ½ tsp baking soda, 1 tsp baking powder, and 1 tsp of the fine salt. Whisk vigorously for 45 seconds to fully incorporate all ingredients and break up any cocoa lumps, ensuring even leavening distribution across the batter.
Mix cake batter
Add 240ml room-temperature buttermilk, 120ml vegetable oil, 2 room-temperature large eggs, and 2 tsp of the vanilla extract to the dry ingredient bowl. Mix on medium speed with an electric mixer for 2 minutes, then slowly pour in 240ml hot brewed coffee, stirring on low speed for 30 seconds until the batter is smooth and thin (a very liquidy batter is normal for this recipe). Divide the batter evenly between the two prepared pans.
Bake and cool layers
Place the pans on the center oven rack and bake for 28-32 minutes at 180°C (350°F). Test for doneness by inserting a wooden toothpick into the center of each layer: it should come out with 2-3 moist crumbs attached, not coated in wet batter. Let the cakes cool in the pans on a wire rack for 10 minutes, then turn them out directly onto the rack to cool completely to room temperature (about 1 hour) before frosting; you can make the buttercream while the cakes cool to save time.
Make chocolate buttercream
In a large bowl, beat 226g softened unsalted butter on medium-high speed for 3 minutes until pale and fluffy. Add the remaining 50g Dutch-processed cocoa powder and remaining ¼ tsp fine salt, beat on low for 30 seconds to combine, then gradually add 360g powdered sugar in 3 equal batches, alternating with splashes of 60ml heavy cream and the remaining 1 tsp vanilla extract. Beat on medium speed for 2 minutes until the frosting is smooth, silky, and easily spreadable.
Assemble and frost cake
Place one fully cooled cake layer on a cake stand or serving plate, spread 1 cup (about 240ml) of the chocolate buttercream evenly over the top with an offset spatula, leaving a ¼-inch border if desired. Place the second cake layer flat-side up on top of the filling, then use the remaining buttercream to coat the top and sides of the cake in a smooth, even layer, creating gentle swirls with the spatula tip for a classic homemade look.
Tips
2.The hot brewed coffee in the batter blooms cocoa powder to amplify deep, rich chocolate flavor; if avoiding caffeine, substitute an equal amount of hot water for identical cake texture.
3.To reduce loose crumbs when frosting, wrap fully cooled cake layers in plastic wrap and chill them in the refrigerator for 2 hours before assembly for a smoother, professional-looking finish.

OMG this devil’s food cake is SO good! I made it for my son’s 10th birthday party last weekend and every single kid asked for a second slice. It stayed moist for 3 whole days even after I sliced it, total game changer compared to the dry box mix I usually grab. Already got 3 requests for the recipe from the other parents at the party!
This is marked medium difficulty and I’m super new to baking—should I actually attempt this? I’ve only ever made cookies from pre-made dough before, and I don’t want to mess up my anniversary dessert for my partner next week.
Made this for our weekly family dinner last night and WOW. The deep chocolate flavor is unreal, not too sweet, and the crumb is so perfectly tender I almost didn’t believe I made it from scratch. Skipped the fancy coffee addition the recipe mentions because I didn’t have any on hand, and it was still incredible. 10/10 will make again.
I brought this to my office potluck earlier this week and people were literally scraping the cake plate clean. My only tweak is that I added a half teaspoon of extra espresso powder to bump up the chocolate flavor even more, and it was chef’s kiss. My coworker who swears he hates chocolate cake had two slices!
Wait, has anyone tried making this with a 1:1 gluten free flour blend? I have a celiac kiddo and I’m dying to make a good chocolate cake for his birthday that doesn’t taste like dry cardboard.
Made this for my roommate’s birthday in our tiny dorm kitchen, and it was so much easier than I thought it would be! We didn’t have round cake pans so I baked it in a 9x13 pan and slathered extra chocolate frosting on top, and our whole floor came by to grab a piece. Will absolutely be making this for every birthday from now on, no more overpriced grocery store cakes for us.
The cake itself was perfect, but my chocolate buttercream came out way too grainy when I made it? I followed the measurements exactly, not sure what I did wrong. Did I overbeat it maybe?
Taste was great, but the cook time listed felt way off for me? I had my oven calibrated recently, and my layers were still totally jiggly in the middle at the 35 minute mark, ended up adding almost 12 extra minutes of bake time. Almost made me late to my kid’s soccer banquet when I thought I’d have time to let it cool before we left.
I swapped the sour cream for full fat Greek yogurt because that’s all I had in the fridge, and it was still so moist and delicious! The chocolate flavor is so deep, it pairs perfectly with a cold glass of milk. My husband said it’s better than the devil’s food cake his grandma used to make, which is the highest praise possible in our house.
I’ve been baking devil’s food cake for over 40 years, and this is hands down the best recipe I’ve ever tested. The ratio of fat to flour is perfect, it doesn’t sink in the middle like so many other recipes I’ve tried over the years. I made it for my granddaughter’s high school graduation party and got so many compliments, I already printed out copies of the recipe to hand out to my friends at the senior center.
Saw this recipe going around on my TikTok For You Page and decided to try it instead of my usual box mix, and it did NOT disappoint. I added a layer of salted caramel between the cake layers and topped it with chocolate shavings, and my prom date said it was the best cake he’s ever had. Definitely not as hard as I thought scratch baking would be, I’m hooked.