Moist Devil's Food Cake
intro
Deeply fudgy, moist two-layer chocolate cake slathered in fluffy chocolate buttercream, a beloved timeless American celebration treat.
Ingredients
Steps
Prep oven and pans
Preheat your oven to 350°F (175°C). Grease two 9-inch round cake pans with butter, line the bottom of each with a circle of parchment paper, and lightly dust the sides with cocoa powder (to avoid white flour residue on the dark cake). Set prepared pans aside.
Whisk dry ingredients
In a large mixing bowl, whisk together 2 cups (240g) all-purpose flour, 1 3/4 cups (350g) granulated sugar, 3/4 cup (75g) Dutch-processed cocoa powder, 2 tsp baking soda, 1 tsp baking powder, and 1 tsp fine sea salt for 30 seconds until fully combined and no clumps of cocoa remain.
Mix wet batter base
Add 1/2 cup (113g) softened unsalted butter, 2 room-temperature large eggs, 1 1/2 cups (360ml) room-temperature buttermilk, and 2 tsp vanilla extract to the dry ingredient bowl. Beat with an electric mixer on medium-low speed for 2 minutes, scraping down the bowl sides once halfway through, until the batter is smooth and thick.
Thin batter and bake
Slowly pour 1 cup (240ml) of boiling water into the batter, stirring on the lowest mixer speed for 15 seconds until fully incorporated—batter will be thin, this is normal. Divide batter evenly between the two prepared pans. Bake for 30-35 minutes, until a toothpick inserted into the center comes out with 2-3 moist crumbs attached (no wet batter).
Cool cake layers fully
Remove baked cakes from the oven and let them 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—warm layers will melt buttercream and cause sliding.
Whip chocolate buttercream
In a large bowl, beat 1 1/2 cups (340g) softened unsalted butter on medium speed for 3 minutes until pale and fluffy. Add 2 1/2 cups (300g) powdered sugar, 1/2 cup (50g) Dutch-processed cocoa powder, 3 tablespoons (45ml) heavy cream, 1 teaspoon vanilla extract, and 1/4 teaspoon fine sea salt. Beat on low speed for 1 minute to avoid sugar dust clouds, then increase to medium-high and beat for 2 more minutes until light, spreadable, and free of lumps.
Assemble and frost cake
Place one fully cooled cake layer on a plate or cake stand. Spread 1 cup of the finished buttercream evenly across the top of the bottom layer, leaving a 1/4-inch border to prevent oozing when stacked. Place the second cake layer on top, then use the remaining buttercream to frost the top and sides of the cake in a smooth, even layer. Slice and serve, or chill for 30 minutes to set the frosting before serving.
Tips
2.Ensure all cold ingredients (butter, eggs, buttermilk) are brought to 65-70°F (18-21°C) room temperature before mixing to create a smooth, emulsified batter that rises evenly without lumps.
3.Never frost warm or partially cooled cake layers: residual heat will melt the buttercream, causing it to slide off the cake and create a soggy, uneven finish.

OMG this is the most moist devil’s food cake I’ve ever made from scratch! Brought it to my kid’s soccer team potluck last weekend and every single parent asked for the recipe. The crumb is so rich and chocolatey, not dry at all even when I left it covered on the counter overnight. 10/10 will be my go-to chocolate cake from now on!
Tasted amazing but I definitely messed up the first bake? Wait no, I followed the directions exactly but my layers sank in the middle? Maybe my oven runs hot? Flavor was incredible though, even the slightly sunken parts got devoured at my family dinner last night. The frosting recipe that goes with it? *Chef’s kiss*
Game. Changer. I’ve been searching for a devil’s food cake recipe that doesn’t taste like boxed mix for literal years, and this is it. Made it for my office potluck yesterday and even the guy who swears he ‘hates chocolate’ had two slices. SO good.
Has anyone tried making this with a 1:1 gluten free flour blend? My granddaughter has celiac and I want to make this for her birthday next week, it looks so good!
Made this for my roommate’s birthday in our tiny dorm oven and it came out insane! I thought for sure I’d mess it up since medium difficulty intimidated me, but the instructions were so clear even a cooking newbie like me nailed it. We ate half the cake standing up in the kitchen it was so good.
My kids loved it! I added a little extra espresso powder to the batter like I do with all my chocolate bakes to amp up the chocolate flavor, and it was a massive hit. Served it with vanilla ice cream after Sunday supper and everyone went back for seconds. Perfectly moist, not too sweet, exactly what a devil’s food cake should be.
Wait a second, is the cooling time really a full hour? I’m in a rush for my book club tonight and wondering if I can pop the layers in the fridge to speed that up? Flavors look incredible I just don’t wanna wait too long before frosting.
This looks incredible! Has anyone tried swapping the eggs for flax eggs here? I’m vegan and always hunting for moist chocolate cake recipes that don’t turn out dense or gummy, and this looks like exactly what I’ve been searching for.
Took this to my neighbor’s cookout over the weekend and people were raving. I was worried the total time (including cooling) would be too long for a Saturday afternoon, but I baked the layers Friday night, let them cool, wrapped them up, and frosted it Saturday morning – zero stress. The cake was still perfectly moist even after sitting out for a few hours at the cookout.
Made this for my husband’s birthday and he said it’s better than the fancy bakery cake we got for our wedding! The only thing I messed up was I forgot to add the hot coffee the recipe calls for and used hot water instead, and it was still amazing. I can only imagine how much better it is with coffee!
Okay y’all, I have a track record of drying out every chocolate cake I’ve ever made. Like, they’re so crumbly you need a glass of milk just to get a bite down. But this one? Came out perfectly moist first try! I literally did a happy dance in my kitchen when I pulled the layers out and they were soft and springy. 100% recommend even for people who are bad at baking cakes like me.
Wait can I freeze the layers? I like to prep cake layers ahead for birthday parties so I don’t have to do all the work the day of. Would this hold up in the freezer for a week or two?
Live at 6,000 feet so I was worried I’d have to adjust the recipe a ton, but I added an extra 2 tbsp of flour, reduced the sugar by 2 tbsp, and bumped the oven temp up by 25 degrees, and it came out perfect! Super rich, fudgy, exactly what I wanted for a devil’s food cake. Will be making this for every holiday gathering from now on.
Made this with my little cousin for her 10th birthday sleepover and the girls went wild for it! We added rainbow sprinkles to the frosting and it was so fun. The instructions were easy enough for two kids to follow (we only made a little mess with the cocoa powder, oops) and the cake was so chocolatey and moist. My aunt asked for the recipe immediately!
Is this cake super sweet? I find a lot of devil’s food cake recipes are cloyingly sweet to the point where you can’t even taste the chocolate. I prefer a deeper, darker chocolate flavor that’s not just sugar overload.
Made 4 of these for my kid’s school bake sale last week and they sold out in 20 minutes! People were coming back asking if there were more slices left. I paired it with a simple chocolate buttercream and it was a total hit. Worth every minute of prep and cooling time, trust me.
This is exactly the devil’s food cake my grandma used to make! I was worried no recipe would live up to my childhood memory but this hits every note – dense but moist, deep chocolate flavor, not fluffy like a regular chocolate cake. I cried a little when I took the first bite, it was so nostalgic. SO good.
Flavor was 10/10 but I wish the recipe noted what size pans to use more clearly? I used 8 inch pans instead of 9 inch and the batter overflowed in my oven and made a huge mess. I had to scrape burnt chocolate off the bottom of my oven for 20 minutes, oops. The parts that didn’t burn were amazing though, just wish I’d used the right pan size!
Just pulled this out of the oven an hour ago, snuck a tiny bite of the edge while it was cooling and WOW. I was planning to save it for my friend’s housewarming party tomorrow but I’m this close to just eating half of it tonight for my late night snack. It’s so fudgy and moist, I don’t know if I can resist. Worth every second of wait time even if I end up having to bake another one tomorrow because I ate half of it lmao.