The Best Chocolate Cake Recipe {Ever}

The Best Chocolate Cake Recipe – A one bowl chocolate cake recipe that is quick, easy, and delicious! Updated with gluten-free, dairy-free, and egg-free options!

The Best Chocolate Cake Recipe Ever. The Best Chocolate Cake recipe with decadent Chocolate Buttercream Frosting that will quickly become your favorite! //

The Best Chocolate Cake Recipe Ever. The Best Chocolate Cake recipe with decadent Chocolate Buttercream Frosting that will quickly become your favorite! //

The best chocolate cake recipe. Ever? There are plenty of claims for the best chocolate cake recipe. I get that. But with one bite of this decadent, moist chocolate cake with chocolate frosting, every single person around the table commented that this was the best chocolate cake they’d ever tasted.

So as for my house, this chocolate cake recipe now holds that honor.

As the compliments continued, I didn’t begin to tell them how easy it was to make.

In all honesty, it is probably one of the easiest cakes I’ve made in a long time, really, but I just smiled and thanked them.

As we continued on gobbling up the cake, drinking our coffee or iced cold milk, the compliments just kept coming.

Then the requests for the recipe started.

That’s generally when you know that folks really like what you’ve made if they ask for the recipe and tell you for what event they plan to serve it.

As a cook, that really is one of the highest compliments you can receive – well, at least in my book.

The Best Chocolate Cake Recipe Ever

It was great to hear that they thought the cake was just as good after their last bite as they thought it was with their first.

Here’s another great thing about this recipe. The cake batter really can be made in a bowl without the use of a heavy duty mixer. Of course, that just makes things easier, but this is easily a recipe my Grandmother would have enjoyed making in her tiny kitchen with a whisk and a bowl. And I’m sure it would have turned out perfectly, too.

I’m not going to kid you, this makes a very rich, moist chocolate cake recipe. So if you are a faint of heart chocolate cake person, this is not the cake for you.

Based on the Old Fashioned Hershey’s recipe, I sort of went a bit heavy-handed with some changes testing cake after cake until I got it just the way I wanted it, but the end result was oh so worth it.

The few crumbs left on plates gave that away.

One of the ingredients that really made this cake recipe come to life, in my opinion, was the addition of espresso powder in both the chocolate cake and in the chocolate frosting.

If you’ve not tried a bit of espresso when baking with chocolate, you really should.

The espresso works to elevate the flavors in much the same way as vanilla extract and I now think of it as an essential part of my spice cabinet.

Espresso powder is easy to find at the grocery store or even online if your grocer doesn’t stock it normally, but I use it fairly frequently and it can become a little pricey. I’ve started making my own homemade espresso powder and since I have I’m not looking back! It is so easy to make and have on hand!

Believe me when I say, it is very much worth the effort to have just for those times you are baking with chocolate!

So my friends, if you have a chocolate cake lover in your midst, make them this cake. If they’ve had a bad day this is certainly something that will brighten it for them. If they’ve had a great day, then this chocolate cake is a great way to celebrate with them!

Let me just say again, this amped up classic chocolate cake + this Chocolate Buttercream Frosting Recipe = the best chocolate cake I’ve ever had!

How to Make Ahead and Store the Homemade Chocolate Cake:

Both the cake and the chocolate frosting can be made ahead. Allow the cakes to cool completely, wrap them well in plastic wrap and place each layer into a zip top freezer bag. Freeze the cake layers for up to one month.

To frost the cake, simply remove from the freezer and allow to thaw in the refrigerator with wrapping intact. Then, frost the cake once it has completely thawed.

Store the cake at room temperature on the counter. I like to store under a cake dome to keep the cake fresh.

Chocolate Cake Modifications You May Be Interested to Know About:

Note that I have updated the recipe to include some additional ingredients that I have tested through the years. I have found that this chocolate cake is even more versatile than I originally imagined! I’ve listed some of the modifications I’ve tested that I think may be of interest to you.

As a Gluten-Free Chocolate Cake Recipe:

To make the cake as a gluten-free chocolate cake recipe, I’ve successfully used an equal amount of Cup 4 Cup gluten-free flour in place of the all-purpose flour listed in the recipe.

As a Dairy-Free Chocolate Cake Recipe:

To make the cake a dairy-free chocolate cake recipe, I’ve used almond milk as well as coconut milk in place of the dairy. While not dairy-free, I’ve also used buttermilk in place of the milk with great results.

As an Egg-Free Chocolate Cake Recipe:

To make the cake an egg-free chocolate cake recipe, I’ve used 2/3 cup of unsweetened applesauce in place of the 2 large eggs in the recipe.  You will note that you may have to bake the cake just a few minutes more. Be sure to check with the skewer for doneness.

To Use Butter and Other Oils:

I’ve additionally tested the chocolate cake recipe with additional oils, as well as butter. I’ve tested using an equal amount of melted coconut oil to the vegetable oil called for in the recipe. I’ve also tested using the same volume of melted butter in place of the oils in the chocolate cake. While it does make the cake texture slightly different, it is still mighty delicious and worth trying if you’d prefer to use butter in place of oils in your chocolate cake.

Whew! See what I mean! This is the chocolate cake of everyone’s dreams, I think!

Best Chocolate Cake Ever //
Print Recipe
4.83 from 2355 votes

The Best Chocolate Cake Recipe {Ever}

The Best Chocolate Cake Recipe - A one bowl chocolate cake recipe that is quick, easy, and delicious! Updated with gluten-free, dairy-free, and egg-free options!
Prep Time15 mins
Cook Time30 mins
Total Time45 mins
Course: Dessert
Cuisine: Dessert
Keyword: best chocolate cake, cake, chocolate cake, chocolate cake recipe, dairy free chocolate cake, easy chocolate cake, egg free chocolate cake, gluten-free chocolate cake
Servings: 12
Author: Robyn Stone | Add a Pinch


  • 2 cups all-purpose flour
  • 2 cups sugar
  • 3/4 cup unsweetened cocoa powder
  • 2 teaspoons baking powder
  • 1 1/2 teaspoons baking soda
  • 1 teaspoon salt
  • 1 teaspoon espresso powder
  • 1 cup milk buttermilk, almond, or coconut milk
  • 1/2 cup vegetable canola oil, or melted coconut oil
  • 2 large eggs
  • 2 teaspoons vanilla extract
  • 1 cup boiling water
  • Chocolate Buttercream Frosting Recipe


  • Preheat oven to 350º F. Prepare two 9-inch cake pans by spraying with baking spray or buttering and lightly flouring.

For the chocolate cake:

  • Add flour, sugar, cocoa, baking powder, baking soda, salt and espresso powder to a large bowl or the bowl of a stand mixer. Whisk through to combine or, using your paddle attachment, stir through flour mixture until combined well.
  • Add milk, vegetable oil, eggs, and vanilla to flour mixture and mix together on medium speed until well combined. Reduce speed and carefully add boiling water to the cake batter until well combined.
  • Distribute cake batter evenly between the two prepared cake pans. Bake for 30-35 minutes, until a toothpick or cake tester inserted in the center of the chocolate cake comes out clean.
  • Remove from the oven and allow to cool for about 10 minutes, remove from the pan and cool completely.


The cake batter will be very thin after adding the boiling water. This is correct and results in the most delicious and moist chocolate cake I've ever tasted! xo
Freezer Friendly
Let the baked cake layers cool completely. Wrap them well with plastic wrap and then with foil. Put each layer into a freezer bag and freeze up to 2 months. To serve, thaw in the refrigerator overnight with wrapping intact. The next day, the layers are ready to fill and frost.

Do let me know how you like it.

Here are a few additional ways I like to make this cake!

Chocolate Cupcakes

If you are looking for cupcakes from this recipe, I’ve shared my recipe for the best chocolate cupcakes with vanilla buttercream frosting for ya. This recipe makes a perfect dozen so that you can scale the recipe to make as many chocolate cupcakes as you need! Talk about easy! 🙂

9×13 Chocolate Cake

I love this version! It is a delicious, scaled-down version that is just the thing for potlucks, reunions, tailgates, and travels perfectly! I’ve also scaled-down the frosting so that has the frosting to cake ratio that my family prefers. It is a definite winner!

Large Chocolate Sheet Cake

Scaled for a crowd, this recipe bakes beautifully in a rimmed baking sheet and is perfect for all sorts of get-togethers. Think of it as the 9×13’s big brother! 🙂 This recipe features Fudge Icing, but you can definitely substitute the icing for whatever you fancy!


And there you have it. There are so many ways to enjoy this delicious cake. Practically one for whatever need you might have. But, if I’ve missed one, be sure to let me know and I’ll work on it for you! 🙂

PS – Many of you have asked me if there is a way to make a Vanilla Cake Recipe that is just as delicious as this chocolate. Well friends, I’ve tested and tested and tested and now can proudly say – YES! It is definitely the best Vanilla Cake I’ve ever tasted, too! 🙂

Robyn xo


The Best Chocolate Cake recipe with decadent Chocolate Frosting that will quickly become your favorite! //

This post contains affiliate links.

From the Add a Pinch recipe archives. Originally published 2012.

8,212 comments on “The Best Chocolate Cake Recipe {Ever}”

  1. This is the most amazing chocolate cake ever! I made it for my mom on her birthday, and she went nuts about it! She even finds excuses to have me make it, and I enjoy this recipe so much!

    • I love hearing this, Kayla! Hope your mom had a wonderful birthday – so cute that she finds excuses for chocolate cake!!!
      Thanks so much for sharing this with me! Glad to have you here! xo

  2. Hi, 
    How can I modify the recipy for high altitudes?
    I live  in Mexico City, with an altitude above 2,000 meters from sea level. 
    Can you please help me?! 

  3. The best chocolate cake I’ve ever eaten 

  4. I tried it once and it came out really nice. But after the first, the subsequent ones were not like it. Anyway, I will give it another try, with the hope that it will come out nice.

  5. Oh my goodness…this is indeed the best chocolate cake EVER!!! I followed the recipe exactly, and frosted it with your strawberry buttercream. My husband and daughter raved over the results, and both said this will be the cake they request for their birthdays! Any frosting would be wonderful on this cake, the layers are perfectly moist and delicious…thank you!!!

  6. I made this cake for my mom’s birthday last year and haven’t even looked at a different recipe since. She especially loves them as mini cupcakes. She says it makes them guilt free!

  7. Just followed your recipe but it looks dry, nothing looks like in your pic. Very disappointed..

  8. Does the espresso come through in taste or does it just enhance the chocolate?

  9. Has anyone done the sheet cake recipe and layered it?

  10. I made this recipe today and it’s so delicious!!! Amazing cake!!
    Thanks for the recipe.

  11. This is the best chocolate cake recipe I have come across. We use it for all of our birthdays. I never have espresso powder so I just brew a fresh pot of coffee and measure out a cup and that takes the place of the booking water and espresso powder 🙂

  12. Hi Robyn , I’m thinking of making this cake as a middle tier of a wedding cake, I live in the uk and we use trams or pound and ounces is there a conversation recipe and has online tried it

  13. Hi!
    thanks for the recipe. i would like to try it but first i would like to know if it stacks well and can be used with fondant or if it’s too soft for that.

  14. Could I use cake and pastry flour and skip the salt and baking powder?  I’m planning to try this out this weekend and don’t want to mess up my sons bday cake!  Thanks!

    • Hi Leanne,
      I hope your son has a fantastic birthday!
      For the cake, you won’t be able to skip the salt and baking powder. Please make sure you include all the ingredients in the recipe and follow the instructions for the best results – but you can use cake flour if you wish. Hope you all enjoy the cake! Thanks! xo

  15. I made this for my friends getting together.First off they were shocked l made it from scratch.( they thought that was not done any more) .I will never make a box cake again.Now l am the one that in charge of desserts for the get together.Thank you so much for all you recipes. Your my ’go to girl’

    • Aww, that’s so great to hear, Anne! I’m so happy you impressed your friends with the cake! I’m glad you enjoy the recipes!!! It’s wonderful to have you here! Thanks! xo

  16. I loved this chocolate cake, I did however half the frosting as I figure it would be too much and I was right. I inserted Double cream into the middle of the cake which I think made it even more amazing! Great recipe 

  17. LOVE this choc cake recipe. Thank you

  18. I’ve made this recipe twice now. The first time was perfect (~5000 ft elevation). Moist, delicious, light, and went great with a glass of milk. The second time I had the cake(s) in the oven for about 10 minutes before I realized I didn’t add the milk to the batter! It was too late to fix, so I just let it ride. Turns out when you leave the milk out it makes for a more dense, darker chocolate flavor which my wife enjoyed more then the original. It turned out delicious even with the mistake! Highly recommend this recipe!

    • Wonderful to hear that you both enjoyed it! Don’t you just love it when a simple “goof” turns out delicious?! I appreciate your recommendation and your kind comment! Glad to have you here! Thanks!

  19. Am wondering if the espresso powder is optional? Can I make the cake without it?
    Can’t wait to get started on baking! 

  20. Hi! just wondering can i make this cake ahead of time and freeze it?

  21. Made this chocolate cake for a get together  dinner and people went crazy over it. Friends who didn’t usually like chocolate (i know weirdos) told me they actually enjoyed it. Some contacted weeks later asking me to bake this cake for their birthday. So far, it’s been the best chocolate cake I’ve made and I’ll be making it again this weekend for another friend’s birthday. Yum❣️ And thanks for sharing your recipe. 

  22. Truly a winner! I love to bake and am always on the look out for recipes that fit my taste. The instant espresso is a game changer in my opinion. I used more than the recommended amount in both the cake and the frosting; DELISH!! Thank you 🙂

  23. Love this cake.  I’ve made many and this is now my only chocolate cake recipe.  It always turns out great.  What I wish for is a yellow cake that is just as wonderful, just as easy.  How can we make that happen?   This month I’ve made 4 Victoria Sponges and they’ve all left something to be desired- not the least being, once I thought I got it right, that they are sponge cakes!  No- I want it to be more like this- moist and full of favor.  
    Next week I’m back to this cake, with earl grey butter creme and caramel (as per another blog), for my son’s birthday.   I love this with a swiss style buttercreme in either vanilla or chocolate.

    • Hi Andi!
      I’m happy to hear you enjoy my Best Chocolate Cake! I’ve created it’s “sister cake”, my Best Vanilla Cake . It’s moist and delicious – and so simple to make – just like my Chocolate Cake.
      Hope your son has a wonderful birthday!
      Thanks so much! xo

  24. I can’t make chocolate cake to save my life, but yesterday I searched google and found this one.
    I made it as one cake in a 10″ tin and it came out, the moistest, beautiful chocolate cake ever, I chocolate buttercreamed the middle and made a rich chocolate ganache for the top.
    No body is going to believe I made it. Fantastic recipe.

  25. Hi there, I’m wanting to make a 3 layer cake, can I do that with 8 inch round pans and still have it turn out? 

    • Hi Emily,
      I always use 9 inch pans as per my recipe. I believe you would find that if you try to use all of the batter in 8 inch pans that the pans are overfilled, as the recipe is written for 2 – 9 inch pans. If you want a third layer, you will want to make another recipe batch to have enough. You can always make cupcakes with the extra or make and freeze a 4th layer if you wish. Hope you enjoy it! Thanks! xo

  26. This is now my go-to chocolate cake recipe. The best!

  27. I made it twice and it fell both times. Not sure why. My ingredients were all fresh. 

  28. Made this cake for my sons third birthday and it was absolutely delicious. Thanks for sharing ❤️

  29. Easy, delicious infallible 

  30. Delicious! It’s the closest to what I have been looking for. I have tried so many other chocolate cake recipes hoping for the best. This is my favorite so far.
    I had to make 4 pans which were 6 inches in diameter because I have a tiny little oven. (I live in Japan where full size ovens are a luxury.)
    I put about 1 cup of batter in each pan. I baked the first layer at 12 minutes which was too much. It was slightly overcooked. I baked the rest of the layers at 170 celsius for 9 minutes.
    The batter did look a little watery, but I trusted the recipe as is and it worked. Thank you.

  31. Do I have to add the cup of boiling water?

    • Oh yes, absolutely, Vince. Please don’t skip that step – I know it may seem a bit different, but it is important in this recipe. Thanks so much Vince! Enjoy! 🙂

  32. I made this for the office and it was a BIG hit. It was also my first time making a chocolate cake and frosting. Everyone loved it! Not too sweet, just right. Great recipe. Highly recommend. 

    • What a great compliment Annabella…your first time making chocolate cake!!! I’m so happy you enjoyed it and that your office mates enjoyed it too! Thanks so much for this kind compliment! xo

  33. I like my cakes light and fluffy.  This recipe, although good, is dense and heavy.  I love chocolate so I did eat the cake but I don’t think I’ll make it again.  My personal preference.

    • I’m sorry your cake didn’t turn out as it should have, Susan. I’ve made this many, many times and never had that issue with this recipe, so I’m not sure what happened. This is not a dense and heavy cake – quite the opposite, so I hope that you enjoy it more if you try it again. Thanks.

  34. I’m feeding about 20 people. Would this work well as a 4 stack cake? Or would it be better to make two separate two stack cakes?

    • I’ve never tried doing this as a four stack, Aaron, so I can’t say how it will work. I hope you enjoy it and two cakes can be presented beautifully as well! Thanks!

  35. My friends and I baked this cake and we all have zero baking experience and somehow it ended up tasting amazing!! awesome recipe, simple and easy to follow

  36. I make this using applesauce instead of eggs (my son has an egg allergy) and it turned out fantastic! Super rich and moist and tasty!! Thank you for including options without eggs!

    This is my go to Chocolate cake receipe from now on!

  37. What a lovely moist chocolate cake. I’ve made oodles of chocolate cakes before and this reigns supreme (sorry, Ina). My new go to. Made it in a 9×13, baked for 40 mins. The frosting is good, too. I would half it next time as it makes a lot. Anyone who says this is dry must have made an error. I was concerned with how liquidy the batter was when I poured it in the pan. Come to find out the liquidy batter produced and Incredibly moist, though not overly so, cake.

  38. Going to try making this cake over the weekend. Was wondering if you have tried substituting one cup of light brown sugar for one of the two cups of sugar. Also wanted to know when you make with orange juice do you swap out the vanilla extract for orange or use both or just vanilla . Thanks I’m new to this baking fun

    • Hi Douglas,
      I’ve not made any of the substitutions you mention, so I am not sure of their results. I always suggest following the recipe & recipe instructions for results that have been tested and proven to work. I really hope you enjoy the cake! Thanks so much!

  39. This was so amazing, moist and initially when in the baking tins I thought its way to ‘wet to set’ but it did and it was ‘melt in your mouth; decadence. Thank you! Took a fab photo if you would like it posted.

  40. Truly the Best Chocolate Cake EVER! I bring it to every function and everyone always asks for the recipe.

  41. Hi! How many cupcakes did your recipe yield when doubling the cake recipe?

  42. Hi,

    Would this be okay if I used an 8 inch tin?

  43. WOW! This chocolate cake puts all other chocolate cakes to shame! This recipe was really easy to follow and used ingredients already in my pantry. The recipe made two great sized cakes, I sliced these through the middle, filled them with strawberry jam and then had four yummy layers! I used the icing recipe that was suggested on the page, but halved the amount and it was plenty! Everyone loved it! 

  44. I accidentally used less coco powder than I should have, but the cake was still delicious!

  45. This recipe is the best chocolate cake I have ever made. The texture is perfection and it tasted absolutely delicious. I would highly recommend this recipe for anyone who wants a five minute cake, because it gets eaten so quickly!

  46. Love this recipe! It’s my go to. Can you provide a 2 layer version, using 3, 9″ round cakes? That extra layer makes the cake even better (if that’s possible)!

  47. Made this for fathers day! Turned out great! Very moist. It baked very evenly too so instead of having to cut the top off, I just flipped it over before I frosted it. It tasted delicious too!

  48. I love this recipe!! I want to make it again but I don’t have buttermilk. Will regular milk make it less fabulous? 🙂

  49. Have you changed this recipe at all in the last year or so? I made it a few times within the last couple of years and it was INCREDIBLE!!! Seriously the best cake I’ve had and everyone I made it for loved it! But…..I’ve made it 4 different times since Christmas and every single time I make it now the middle sinks. It never puffs up and then sinks agree I take it out of the oven, it never rises in the middle during baking. I just bought new baking powder and baking soda, thinking that was the problem and tried again tonight and had the same problem. Help!! Do you know what would be causing this and how I can adjust?? I need this cake in my life, it’s so good!

    • Hi Colette,
      I’ve not changed the recipe at all and I’m sorry to hear that your cake is not rising in the center. I can’t be certain what is causing it, but a few ideas may be to check that the temperature on your oven is correct – sometimes they need to be recalibrated as they don’t cook at the correct temperature. I’m also wondering if you have changed any way you make the recipe (such as how you mix it, pans you use, etc)
      I hope some of this helps! Thanks so much!

    • Mine did this too, and I followed the recipe exactly. 🙁

  50. I loved the recipe. The cake turned out perfect. Will definitely share this with friends. Love from Pakistan..❤❤❤

Leave a Reply

Your email address will not be published. Required fields are marked *