This intensely chocolaty Devil's Food Chocolate Cake with Chocolate Buttercream Frosting is a totally indulgent dessert. The cake is rich and moist with a tender crumb and it's a chocolate lover's dream. Especially with my favorite chocolate buttercream frosting slathered generously between the layers and around the outside - no fancy piping or decorating skills required!

When it's celebration time, homemade layer cakes are the best! Be sure to check out these other reader favorites: Yellow Cake with Chocolate Frosting, Homemade Funfetti Cake, and Best Red Velvet Cake.

A chocolate cake with a slice cut and slightly moved out of place.

Years ago, before we had moved to the California Bay Area, we were in San Francisco on vacation when I found a cookbook at the Baker's Hall store attached to the Boudin Bread Factory on Fisherman's Wharf called Sticky, Chewy, Messy, Gooey:  Desserts for the Serious Sweet Tooth. It was, of course, right up my alley and is still one of my favorite cookbooks in my collection. This devil's food chocolate cake with chocolate buttercream frosting is from that book, although I've adapted the recipe a bit over the years.

This is my go to chocolate cake recipe and it's definitely a keeper. I make it for birthdays, for special occasions, or when friends are coming over.

I looked for years and years for just the right homemade chocolate cake recipe but so many were too sweet or too dry and crumbly or just not chocolaty-enough for me.

I love serving a big slice of this cake with a few raspberries on the side and a nice tall glass of cold milk for drinking.

Why this Recipe Works

  • The thing I love about this chocolate cake is that the chocolate factor is deep and intense. That's in part to using both cocoa powder AND bittersweet (or semisweet) chocolate in the cake batter.
  • The dark brown sugar in the batter also boosts both the flavor and moisture level of the cake. And using buttermilk, oil, and boiling water with your wet ingredients keeps the cake from going dry or crumbly.
A slice of chocolate cake on a white plate missing a bite and next to fresh raspberries.

Ingredient Notes

  • Chocolate: The combination of unsweetened cocoa powder and chopped bittersweet chocolate makes for a deep, intense flavor that really does make this the best chocolate cake I've ever tasted.
  • Sugar: The combination of granulated sugar and dark brown sugar results in a well-rounded, more interesting flavor which is lacking in other chocolate cake recipes and especially missing in a box mix.
  • Fat: Using both butter and oil results in a cake that is big on flavor but also super moist.
Ingredients for making homemade chocolate cake.

How to Make This Recipe

Start by combining the chopped bittersweet chocolate and cocoa powder in a bowl with the hot (almost boiling) water. Let them sit, stirring occasionally, until the chocolate has melted.

Meanwhile, beat the butter, sugars, and oil together in a large mixing bowl until creamy and light. Add the eggs, one at a time, and the vanilla, stopping to scrape the bottom and sides of the bowl to make sure everything gets evenly incorporated.

Add the dry ingredients - the flour, baking soda, and salt - and mix just until combined. Add the chocolate mixture and buttermilk, then mix on medium-low speed, stopping to scrape the bottom and sides of the bowl, until the cake batter is mixed together.

Divide the batter evenly between two 9-inch round cake pans that have been lined with parchment paper circles on the bottom and sprayed with baking spray. Bake for 25-30 minutes until a toothpick inserted into the cake comes out with just a few crumbs and the cake is pulling away from the sides of the pan.

Chocolate cake batter in a 9-inch cake pan.

Cool for 5-10 minutes in the pan, then invert onto wire cooling racks to cool completely. If your cake layers aren't level, use a long serrated knife or cake leveler to even off the tops so they aren't domed when you are trying to assemble the cake.

Make the frosting by beating the butter until creamy and smooth, then add the cocoa powder and powdered sugar. Beat well until creamy, then add add the vanilla and salt. Add in enough heavy cream or milk to make a nice spreadable frosting, beating well until the frosting is creamy and light.

To assemble the cake, place your first cake layer onto a cake stand or plate and frost with the chocolate buttercream to create a nice, even layer. Add the second cake layer, then frost the outside of the cake with the rest of the frosting. If you want enough frosting for piping swirls on top of the cake, you will want to do 1 ½ times the batch of frosting.

A slice of chocolate cake removed from the whole and placed on a white plate below a cake stand.

FAQ's

Can I freeze a chocolate layer cake?

Yes, you sure can! This cake freezes well and will keep for 2-3 months if properly stored in the freezer. To freeze the whole cake, stick it in the freezer for 30-45 minutes until the frosting is completely set, then wrap the cake with plastic wrap directly on the frosting. It won't stick if the frosting is already frozen. To thaw, pull the cake out of the freezer and remove the plastic wrap. It usually takes about 6 hours to thaw a whole cake. Individual slices can be frozen in a similar fashion and won't take as long to thaw.

Can I make this recipe into cupcakes or other cake pan sizes?

Converting a cake recipe to other size pans is easier than you think! This recipe makes about 8 cups of batter, which is perfect for 2 dozen cupcakes, two 9-inch round cake pans, three 8-inch round cake pans, or four 6-inch round cake pans. It's also just right for a 9x13-inch baking dish if you want to keep things simple or use this recipe for a poke cake. Just keep in mind that baking times will likely change and you shouldn't fill your pans more than ⅔ full.

A slice of chocolate cake being removed from a white cake stand.

Recipe Tips

  • Measure your ingredients carefully. It's common to over measure flour, resulting in a dry, dense cake. I recommend using the spoon & level approach for best results and have a guide on how to measure baking ingredients for more detail!
  • Don't overbake. I actually don't like to bake "until a toothpick comes out clean" because I feel like that often means the cake is likely to be a little dry. Instead, I watch for just a few crumbs clinging to my toothpick or skewer. You just don't want it to come out wet from batter that is still not baked all the way through.
  • Pair with your favorite frosting! We love the decadent classic combination of chocolate cake with chocolate frosting, but I have lots of frosting recipes that would go well with this recipe. Others I would recommend are homemade rainbow chip frosting, salted caramel frosting, or Oreo frosting.

More Classic Cake Recipes You'll Love

Did you make this recipe?

Let me know what you thought with a comment and rating below. You can also take a picture and tag me on Instagram @houseofnasheats or share it on the Pinterest pin so I can see.

Stay in the know

Homemade Chocolate Devil's Food Cake From Scratch

4.85 from 13 votes
Amy Nash
Prep Time 15 mins
Cook Time 25 mins
Total Time 40 mins
Course Dessert
Cuisine American
Servings 12 servings
This intensely chocolaty Devil's Food Chocolate Cake with Chocolate Buttercream Frosting is a totally indulgent dessert.  The cake is rich and moist with a tender crumb and it's a chocolate lover's dream.  Especially with my favorite chocolate buttercream frosting slathered generously between the layers and around the outside - no fancy piping or decorating skills required!

Ingredients
  

Cake

  • cup cocoa powder (35g)
  • 4 ounces bittersweet or semisweet chocolate finely chopped
  • 1 cup boiling water
  • 1 cup buttermilk (236mL)
  • ½ cup salted butter, softened (114g)
  • ½ cup vegetable oil
  • 1 cup firmly packed dark brown sugar (200g)
  • 1 cup granulated sugar (200g)
  • 3 large eggs at room temperature
  • 2 teaspoons vanilla
  • 2 ¼ cups cake flour (281g)
  • 1 teaspoon baking soda
  • ½ teaspoon salt

Frosting

  • 1 cup salted butter, softened (227g)
  • 3 ½ cups powdered sugar (420g)
  • ½ cup cocoa powder (50g)
  • ¼ teaspoon salt
  • 2 teaspoons vanilla
  • 4-5 Tablespoons whole milk or heavy cream

Instructions
 

Cake

  • Preheat the oven to 350 degrees F. Prepare two 9-inch round cake pans by cutting circles of parchment paper to line the bottoms, then lightly spray the insides of the pans with cooking spray.
  • Combine the cocoa powder and finely chopped chocolate in a large bowl. Pour the boiling water over the chocolate and stir until the chocolate is completely melted. Once cooled, add the buttermilk to the chocolate mixture.
  • In the large bowl of a stand mixer, beat the butter and oil together for 1 minute. Add the dark brown and granulated sugars and beat for another 2-3 minutes, until light and creamy. Scrape down the sides of the bowl and add in the eggs, one at a time, beating well after each addition and scraping down the sides of the bowl. Add the vanilla extract.
  • In a separate bowl, sift together the flour, baking soda and salt. Add half of this to the batter and mix on low speed just until combined. Pour in half of the chocolate-buttermilk mixture and mix again, just until combined, then repeat with the flour and the remaining chocolate-buttermilk mixture, scraping down the sides of the bowl between additions, until everything is incorporated.
  • Divide the batter between the two prepared cake pans and bake for 25 to 30 minutes, or until a toothpick or cake tester comes out clean. Be sure not to overbake.
  • Transfer the cakes to wire racks and allow them to cool completely before assembling the cake with frosting.

Frosting

  • In a large bowl, cream the butter for 2 minutes using an electric mixer. Add the powdered sugar and cocoa powder and mix again at the lowest speed until combined.
  • Add the salt, vanilla, and milk or cream and increase the speed to medium, mixing until the chocolate buttercream is light and fluffy, about 3 minutes. For a softer frosting, increase the milk or cream by small increments., half a tablespoon at a time. Makes enough to very generously frost a two-layer cake.

Video

Notes

  • If you don't have cake flour on hand, just replace ¼ cup of the flour with ¼ cup of cornstarch instead.
  • Converting a cake recipe to other size pans is easier than you think! This recipe makes about 8 cups of batter, which is perfect for 2 dozen cupcakes, two 9-inch round cake pans, three 8-inch round cake pans, or four 6-inch round cake pans. It's also just right for a 9x13-inch baking dish if you want to keep things simple or use this recipe for a poke cake. Just keep in mind that baking times will likely change and you shouldn't fill your pans more than ⅔ full.
  • Freezing: This cake freezes well and will keep for 2-3 months if properly stored in the freezer. To freeze the whole cake, stick it in the freezer for 30-45 minutes until the frosting is completely set, then wrap the cake with plastic wrap directly on the frosting. It won't stick if the frosting is already frozen. To thaw, pull the cake out of the freezer and remove the plastic wrap. It usually takes about 6 hours to thaw a whole cake. Individual slices can be frozen in a similar fashion and won't take as long to thaw.

Nutrition

Calories: 740kcal | Carbohydrates: 96g | Protein: 7g | Fat: 39g | Saturated Fat: 25g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 9g | Trans Fat: 1g | Cholesterol: 105mg | Sodium: 403mg | Potassium: 251mg | Fiber: 3g | Sugar: 74g | Vitamin A: 815IU | Calcium: 75mg | Iron: 2mg
Tried this recipe? Show me on Instagram!Mention @HouseOfNashEats or tag #houseofnasheats!

This post was originally published in May, 2017. The photos and content were updated in November, 2021.

Share This With the World

PinYummly

Related Recipes

About the author

Hi, I'm Amy

I enjoy exploring the world through food, culture, and travel and sharing the adventure with mostly from-scratch, family friendly recipes that I think of as modern comfort cooking.

Leave a comment

Your email address will not be published.

How many stars would you give this recipe?




This site uses Akismet to reduce spam. Learn how your comment data is processed.

Reader questions and reviews

  1. This looks like the perfect chocolate creation! So moist and rich and chocolatey! And as you said, with both chocolate and cocoa powder it is absolutely delicious!

  2. This cake looks so delicious! My favorite of all cakes and your photos are all beautiful. Scrumptious!

  3. I need to get out my stand mixer. This cake looks so moist and chocolaty I have to try this. I wonder if it would work as a sheet cake.

  4. Wow, this cake looks amazing. Chocolate cake is my favorite cake but it can get dry. This looks so moist.

  5. I love chocolate cake, it's one of my most favorites. This looks terrific, I'd try a piece right now if I could.

  6. This is by far my most favorite cake ever, looks moist and decadent. And then paired with raspberries just delightful. I wish I had a slice.

  7. Looks sinful! chocolate cake, smothered with chocolate all over, wish i could have it now ! Bliss, pure bliss! I better get myself up and bake something chocolatey now!

  8. This looks like the only chocolate cake recipe needed! I don't do much baking, but this one looks like it's worth it!

  9. Nothing like a good chocolate cake with chocolate frosting. Soft, moist and chocolaty. This looks yum.

  10. Oh my goodness, this recipe....ALL the heart eyes! Love love love Devil's Food Chocolate Cake. Yours looks amazing and your photos are gorgeous!

  11. The cake looks gorgeous Amy !!! I love Devil's food cake as they are so light and fluffy and the chocolate buttercream would be a great pairing with it. I'm bookmarking your recipe to try soon.

  12. Gorgeous cake and beautiful shots of your dessert! I can almost smell and taste the chocolate. It looks so rich and moist. YUM!! I'm going to have to make this.

  13. Drooling and licking the screen!! Seriously, this chocolate looks totally scrumptious! I can see perfect texture and lots of yummy deliciousness, too!

  14. So... I'm on my way to your house... this is my all time favorite dessert and your recipe is perfect .. PS - I am sitting here is complete jealousy over your frosting capabilities as I generally frost baked goods like a 4 year old ... perfect recipe, perfect pictures... thank you for sharing!!

  15. Oh my, I am not too much of a chocolate cake fan but I know for sure my husband will love this. Especially with both chocolate and cocoa powder.

  16. Kelli@hungryhobby
    This is a winner for the sweet tooth craving! Chocolate lovers come and get it!

  17. This cake looks so delectable! Beautiful photos. I don't seem to have the best luck with cakes, but definitely need to try again with this one.

  18. Delicious, but my cake came out more like a fudge cake rather than devil's food. I have found that results vary with the cocoa/chocolate, so it would help to specify the brand. I used Ghirardelli bittersweet chocolate, Saco Pantry Dutch blend cocoa, and canola oil. Also, there was way too much batter for two 9 x 1 1/2 inch pans. Perhaps deeper pans or three pans would work. It is a moist, flavorful cake and I would make it again.

  19. 3 stars
    Hice este pastel exactamente como la receta definitivamente es húmedo, pero le falta sabor a chocolate.

  20. 5 stars
    This cake turned out so amazing that I can’t even describe it adequately. It was moist, choclatey, just the rich sweetness and not so rich that you can’t enjoy it. My guests said it was the best chocolate cake they had ever eaten.