Devil’s food cake is legit one of my fave chocolate cake varieties. I make mine not too sweet and super fudgy prepping it with cocoa powder, sour cream, and a shot of fresh, bittersweet coffee. It’s so decadent, you’ll be in chocolate heaven after one bite no lie! I frost mine with either Swiss meringue buttercream or cream cheese frosting depending on my mood.
This post may contain affiliate links. Read our disclosure policy.

They’re Lovin’ It! Here’s what They’re Sayin’:
“My Dad asked for this for his birthday. It was a huge hit! ”
—JEANETTE
Ingredients Notes
- Butter and Oil: I grab unsalted butter and use oil for more moisture.
- Sugars: Swap in more all brown sugar or all granulated sugar if you don’t have both. Or if you just have granulated, make your own brown sugar by adding in molasses.
- Dutch Processed Cocoa Powder and Coffee: That powder gives rich chocolate flavor while also darkening the color of the cake and the coffee amps up the intensity even more.
- Sour Cream: or Greek yogurt.
- All-Purpose Flour: For a softer more tender cake, go with cake flour.
How to Make Devil’s Food Cake
Step 1: Sift the flour, baking soda, baking powder, and salt. Once sifted together, set aside.
Step 2: Mix the butter and sugar on medium speed for 3 minutes, until light and fluffy. On low speed, add the eggs, on at a time. Add the oil and vanilla and beat until well mixed, scraping down the bowl with a rubber spatula.
Step 3: In a small bowl, whisk together the cocoa powder and hot coffee until smooth.
Step 4: With the mixer on low, add the chocolate mixture to the batter. Turn the mixer to low, , slowly add half of the flour mixture to the batter. Then add all the sour cream. Finally add the remaining flour mixture and fold with a spatula until combined.
Step 5: Divide the batter evenly between the two prepared pans and smooth the tops.
Step 6: Bake for 30 to 40 minutes, until a toothpick inserted into the center comes out clean. Cool in the pans for 30 minutes, then turn the cakes out onto a wire rack and cool completely.
Step 7: Slice each cake layer in half horizontally. Place the bottom of the first cake, cut side up, on a flat serving plate and spread 1 cup of frosting on the top. Place the top of the first cake, cut side down, on top and spread another 1 cup of frosting on top.
Step 8: Next, place the top layer of the second cake on top, cut side up, and frost with another 1 cup of frosting. Finally, place the bottom layer of the second cake, bottom side up (so the top of the cake is flat). Frost the top and sides of the cake.
Devil’s Food Cake
Want to Save This Recipe, Boo?
Ingredients
- 1 1/2 cups unsalted butter room temperature
- 1 1/2 cups granulated sugar
- 3/4 cup light brown sugar packed
- 4 large eggs room temperature
- 2 tbsp oil
- 1 1/2 tbsp vanilla extract
- 3/4 cup Dutch-processed cocoa powder
- 3/4 cup hot brewed coffee
- 3 cups all purpose flour
- 1 tsp baking soda
- 1 tsp baking powder
- 1 1/2 tsp salt
- 1 cup sour cream room temperature
- Swiss Meringue Buttercream Find the Full Recipe HERE! if desired, halve the recipe
Instructions
- Preheat oven to 350 degrees F. Grease two 9×2-inch round cake pans, line the bottoms with parchment paper, grease the parchment and flour the pans. Set aside.
- In a medium bowl, sift together the flour, baking soda, baking powder, and salt. Set aside.
- Using an electric mixer, cream the butter and sugar on medium speed for 3 minutes, until light and fluffy. On low speed, add the eggs, on at a time. Add the oil and vanilla and beat until well mixed, scraping down the bowl with a rubber spatula.
- In a small bowl, whisk together the cocoa powder and hot coffee until smooth. With the mixer on low, add the chocolate mixture to the batter.
- Still with the mixer on low, slowly add half of the flour mixture to the batter, then all of the sour cream, then the remaining flour mixture, mixing each addition until combined. With a rubber spatula, fold the batter until it is well mixed.
- Divide the batter evenly between the two prepared pans and smooth the tops. Bake for 30 to 40 minutes, until a toothpick inserted into the center comes out clean. Cool in the pans for 30 minutes, then turn the cakes out onto a wire rack and cool completely.
- Slice each cake layer in half horizontally. Place the bottom of the first cake, cut side up, on a flat serving plate and spread 1 cup of frosting on the top. Place the top of the first cake, cut side down, on top and spread another 1 cup of frosting on top. Next, place the top layer of the second cake on top, cut side up, and frost with another 1 cup of frosting. Finally, place the bottom layer of the second cake, bottom side up (so the top of the cake is flat). Frost the top and sides of the cake. The cake can be stored, covered, for up to 3 days. If you use the meringue buttercream, the cake should be refrigerated; bring to room temperature prior to serving. If you use any other type of frosting (a traditional vanilla, chocolate, cream cheese, etc.), the cake can be stored at room temperature.
Notes
How to Store Devil’s Food Cake
Make sure you wrap leftovers tightly with plastic wrap or place it in a cake carrier to keep it fresh for up to 3-4 days. If you need it to last any longer than that, add to the fridge. Just make sure you let your slices come back to room temp before you eat them.How long will devil cake last in the fridge?
It should stay all good for up to 5 days.Can I freeze?
Absolutely boos! Start by chilling the cake in the fridge so the frosting gets firm. Next cut slices, wrap them in plastic wrap and add to freezer bags releasing excess air. Label with the date. They should stay all good in the freezer for up to 3 months. Thaw in the fridge then bring back to room temp before you indulge again. NOTES: For the Frosting, you can use my Swiss Meringue Buttercream but I would halve the recipe since it makes quite a lot of frosting! This cake naturally makes 2 layers however if you want to make 4 simple cut the two layers in half for a taller cake.Nutrition
Recipe Tips
- Keep the Coffee Kick: Nothing makes a rich devil’s food chocolate cake recipe like that little kick of coffee y’all. It makes that chocolate stand out, and trust me, you won’t even taste the coffee boos, trust me.
- Don’t Overbake: Boos, make sure you watch that bake time like a hawk so you don’t dry out your layers.
- Cool Completely Before Frosting: If you don’t want a super melty cake sliding around everywhere, make sure that the cake layers have cooled completely before frosting.
Serving Suggestions
- Frost It Up: I like to contrast the rich chocolate cake with a vanilla frosting like my American buttercream, seven minute frosting, or Oreo frosting.
- Add Berry Vibes: Serve each slice with fresh berries or dollop of strawberry sauce on the plates.
- Dollop It Up: Add spoonfuls of whipped cream to each slice.
- A La Mode: Add a delish scoop of homemade vanilla ice cream, mocha ice cream, coffee ice cream or cookies and cream ice cream.
Want to Save This Recipe, Boo?
Recipe Variations
- Get Chocolatey With It: Add chocolate ganache to the inside of the cake and frost with chocolate Swiss meringue buttercream and chocolate frosting.
- Add Caramel: Add caramel sauce in between the layers and coat the entire cake with my caramel frosting.
- Gluten-Free: Swap out the flour with your fave 1:1 ratio gluten-free baking flour. The texture may change slightly but it will still be fire.
Recipe Help
Absolutely boos. You can wrap your layers super well and store in the fridge or even in the freezer then bring to room temp before frosting them.
Try the good ole’ toothpick trick. Insert into the center and if it comes out clean or mostly clean, it’s good to go boos.
Absolutely y’all. You can bake the batter in lined cupcake tins instead. Just lower the bake time.
This cake turned out beautifully! .i would post a picture if I could. Not sweet. This was a total knock out! Thank you!
This cake is amazing!! My son asked me several times to make it for him and he’s not a cake person. It was a hit with both family and friends. And I made this swiss meringue buttercream icing which my mom raved over!! You guys sound try it!! You can check out pictures on my Instagram @kimbakekakes
I just cannot wait t make this. The recipe looks fabulous!
Baking for two due to Covid but trying to give my husband a beautiful cake for his mid-May birthday nonetheless. Will halving this recipe allow me to bake this as 2 6” cakes? Your ginger molasses bundt cake was such a huge hit at Thanksgiving, that I’d love to bake a cake that hits all his flavor notes, as this one does. Stay safe!
First of all thank you for all that you do for us in sharing you and yours recipes. I have not made a cake in decades. Can you use instant coffee (Folgers) or it have to be the kind you brew in a coffee pot? I remember licking the spoon and getting the left over out the mixing bowl. I still have my mother mixing bowl (white-Sunbeam). Those was the precious good old days. Thank you again.
Sharyl, I’ve always used instant coffee in my chocolate cake. Brand of choice would have to be Cafe Bustelo Instant Espresso.
I made this cake while visiting my parents and didn’t have my normal coffee pot. So I went and got the instant Folgers coffee it worked just fine!
It’s my birthday next week (12th May) and I want this cake to celebrate! Maybe I can get my hubby to make it for me!
This devil’s food cake looks so rich and yummy! That frosting is perfection.
One of my favourite cakes is devils food cake, but for some reason I have never made it myself at home. This looks SO good, I will need to give this a go! Thanks for the recipe : )
Love the combination of ingredients in this cake recipe. So yum !!
I LOVE a good devils food cake! this is delish. Thanks for the tip about warming up the eggs, it’s a game changer for this non-planner