A rich, moist, classic, and completely from-scratch homemade Chocolate Cake Recipe! Surprisingly simple, this cake is fudgy and full of decadent chocolate flavor (thanks to key ingredients like buttermilk and brown sugar). I like to frost this cake with a silky chocolate buttercream, but include other frosting options for you in the recipe!
The Only Homemade Chocolate Cake Recipe You’ll Ever Need
This chocolate cake is not new to the blog. I originally published it over two years ago after a ton of trial and error… a ton. In fact, it took me almost 5 months of failed cakes and frustration to perfect this homemade chocolate cake recipe.
And after many, many, many disappointing cakes, it was clear from the first fudgy forkful that this one was a winner. In fact, it’s one of my proudest creations on the blog to-date, and I even used it as the base for my German Chocolate Cake.
Today I’m bringing it back with more notes and helpful tips, but the recipe remains unchanged (because there’s no need to mess with perfection!). This chocolate cake has already earned a fair number of 5 star ratings, but I’d love to hear what you think! Leave me a comment and a rating once you try it out (please!).
Frosting: So Many Choices!
I frosted this cake with my favorite, silky smooth chocolate frosting. In my opinion a good chocolate cake needs a good (decadent) chocolate frosting, and this one is it. Chocolate lovers… you can thank me later.
However, if you’re looking for something a little different I included a few other options in the recipe. Two of my favorite options would be my Cream Cheese Frosting or Swiss Meringue Buttercream. Or maybe the Peanut Butter Frosting (because peanut butter and chocolate!) or Oreo frosting… so many options!
How to Make Chocolate Cake Moist
Each ingredient in this chocolate cake recipe was carefully chosen to make for a moist chocolate cake.
- Buttermilk gives this cake a great flavor but also keeps it soft and moist. If you don’t have buttermilk on hand, you can use my easy buttermilk substitute instead.
- A blend of butter and oil gives us a cake with great flavor that’s also moist. Don’t substitute the oil for butter or your cake will come out dry, and don’t substitute the butter for oil or you’ll lose some of that great butter flavor!
- An extra egg yolk contributes to the tender, melt-in-your-mouth crumb.
- Brown sugar combined with white granulated sugar is also key. The molasses in the brown sugar adds to the flavor and, surprise, makes the cake moist.
Another way to keep this chocolate cake moist is to take care that you do not over-bake it. Make sure that your oven temperature isn’t running hotter than it is leading you to believe (I keep two thermometers in my oven to make sure the temperature is accurate), as an oven that’s too hot will over-bake your cake in your hurry and it will come out dry and crumbly.
How to Make Chocolate Cake
Chocolate cake really doesn’t get much easier than this. I’ll often use my stand mixer to make this batter, but doing it by hand is absolutely an option. Simply:
- Whisk together your dry ingredients (including your sugar and brown sugar).
- Add wet ingredients (minus hot coffee) and stir until well-combined. OK now once wet and dry ingredients are combined you can add your hot coffee. Stir carefully (don’t splash yourself!) and make sure all ingredients are well-combined.
- Pour into two round cake pans that have been lightly greased and floured (or sprayed with baking spray) and make sure you line the bottoms with parchment paper first! Your cakes will never stick if you follow this step!
- Bake until a toothpick inserted in the center comes out clean or with a few moist crumbs.
When checking to see that my chocolate cake is finished baking, I do the “toothpick test” mentioned above.
However, I really look for the toothpick to come out with a few moist crumbs (not with wet batter, they should distinctly be crumbs) and not to come out completely clean. The cake will continue to bake in its pans while it’s cooling, so if the toothpick comes out completely clean then you run the risk of the cake over-baking and drying out while it’s cooling. We want a moist chocolate cake, so look for crumbs!
Do I have to use Coffee in this Recipe?
No, actually you can use hot water instead. However, it is important that you use a hot liquid, whether coffee or water. The reason for this is that the hot water will “bloom” your cocoa powder, fully developing the chocolate flavor in this cake.
Now here’s why I recommend using coffee: It won’t make your cake taste like coffee but it will enhance the chocolate flavor. Since I’m not actually a coffee drinker I keep a jar of instant coffee in my house specifically for this chocolate cake recipe — I just dissolve a teaspoon of instant coffee into hot water before adding it to my batter.
For a strong coffee flavor, frost the cake with my coffee frosting, instead.
Can I use this recipe to make Cupcakes?
You can, but I’ve found that this chocolate cake recipe is so moist that the cupcakes sometimes try to just fall apart, and you really need a fork to eat them. Because of this, if you’re looking for a good chocolate cupcake recipe I really recommend trying my easy chocolate cupcake recipe instead.
If you still want to make cupcakes, this recipe will make about 22-24 cupcakes. Fill each cupcake liner no more than ⅔ of the way full and bake on 350F (175C) for 16-18 minutes. Don’t get me wrong, they’re incredible, just make sure to keep a fork handy 😉
Can I substitute Self Rising Flour or Cake Flour?
I do not recommend substituting self rising flour for this recipe. Self rising flour contains baking powder and salt and this recipe already has its leaveners and salt accounted for. I can’t guarantee results if you try the cake this way.
As for cake flour, I’ve never used it with this chocolate cake because it simply has never been necessary and I don’t often keep cake flour on hand. I specifically developed this recipe to work with all purpose flour and deliver a soft, moist, and stable but not at all dry crumb. If you try it with cake flour I’d love to hear how it works for you, though!
Can I Freeze This Chocolate Cake?
Yes, you can freeze the layers (after they’ve cooled completely) by wrapping them very well with plastic wrap and then freezing. The cake may also be frozen after it’s frosted. To do this I would place your cake in the freezer for about 10-15 minutes or until the frosting is firm, remove it and wrap very well and then return to the freezer. This cake may be frozen for up to a month.
More Cake Recipes to Try:
Enjoy! I’d love to hear how this recipe works for you!
Let’s bake together! Head on over to my YouTube channel where I’ve already uploaded over 200 recipe videos that you can watch for free!
The BEST Chocolate Cake Recipe
Ingredients
- 1 ¾ cup all-purpose flour (205g)
- 1 cup brown sugar packed (200g)
- 1 cup sugar (200g)
- ¾ cup natural cocoa powder (I do not recommend substituting Dutch processed) (75g)
- 1 ½ teaspoon baking soda
- ¾ teaspoon salt
- ½ cup unsalted butter melted (113g)
- ½ cup canola oil (may substitute vegetable oil) (118ml)
- 2 large eggs + 1 egg yolk room temperature preferred
- 2 teaspoons vanilla extract
- 1 cup buttermilk¹ (236ml)
- ½ cup hot coffee² (or 1 teaspoon instant coffee dissolved into ½ cup hot water) (118ml)
Silky Chocolate Buttercream³
- 1 cup semisweet chocolate chips (170g)
- 1 cup unsalted butter softened to room temperature (226g)
- 2 cups powdered sugar (320g)
- ½ teaspoon vanilla extract
- ½ teaspoon salt
- 2 Tablespoons heavy cream (30ml)
- ¾ cup mini chocolate chips optional
Instructions
- Preheat oven to 350F (175C) and prepare two deep 8" round cake pans⁴ by lining the bottoms with parchment paper and lightly greasing and flouring the sides. Set aside.
- In the bowl of a stand mixer fitted with a paddle attachment, whisk together flour, sugars, cocoa powder, baking soda, and salt.
- Add melted butter and oil, stir well.
- Add eggs and egg yolk, one at a time, stirring well after each addition. Pause occasionally to scrape down sides and bottom of bowl.
- Stir in vanilla extract. Gradually add buttermilk and stir well.
- Add hot coffee, stirring until ingredients are well-combined (be sure to scrape sides and bottom of bowl again).
- Evenly divide batter between prepared pans. Bake on 350F (175C) for 35-40 minutes (toothpick inserted in center should come out with moist crumbs).
- Allow to cool for 15 minutes before inverting onto cooling rack to cool completely before frosting.
Chocolate Buttercream Frosting
- In a microwave-safe bowl, microwave chocolate chips at 15 second intervals, stirring between intervals, until chips are completely melted. Set aside and allow to cool slightly (about 10 minutes, stirring occasionally).
- Cream room temperature butter with an electric mixer. Stir in slightly cooled chocolate and beat well.
- Gradually add sugar, scraping down the sides and bottom of bowl occasionally.
- Sprinkle in salt and vanilla extract, stir well.
- Gradually add heavy cream, increase speed to high and beat for 1 minute.
- Spread a thick layer of frosting over the top of one cake round and sprinkle with mini chocolate chips. Top with second cake round and evenly frost cake. Slice and serve.
Notes
- Cream Cheese Frosting
- Chocolate Cream Cheese Frosting
- Swiss Meringue Buttercream
- Peanut Butter Frosting
- Vanilla Frosting
Nutrition
Nutritional information is based on third-party calculations and should be considered an estimate only. Actual nutritional content will vary based upon brands used, measuring methods, cooking method, portion sizes, and more.
Recipe originally published 02/27/2017.
Maria B Rugolo
This chocolate cake recipe is everything it promises to be! My layers baked up beautifully even flat tops! Moist, light, fluffy and rich in chocolate taste! Another perfect recipe by Sam!
Sam
I am so happy to hear you enjoyed it so much, Maria! Thank you so much for trying my recipe!! 🙂
Megan Mollett
Should I double the recipe to get three 8” layers?
Sam
You would only need to increase it by 50% to get 3 layers. 🙂
Yuka
Hi, I’ve tried this recipe as a single tier cake, and the vanilla one as a cupcake. They are delicious! Would like to make a 10” chocolate and a 8” vanilla tiered cake. Would your recipes support the tiers?
Sam
Hi Yuka! I’m not sure how many layers you are going for, but I would think they should work for 3 layers. I would probably use dowels just to make sure there are no issues. 🙂
Ann
Thank you for this recipe. Instead of buying whipping cream, could I use coconut milk?
Sam
Hi Ann! Coconut milk could work for the frosting. You may not need as much. 🙂
Sherri Ristow
Hi Sam I wanted to ask can I use Greek yogurt in place of the buttermilk ?
I made your vanilla cakepop recipe it was amazing so moist and delicious I wanted to know is it possible to use that recipe and add cocoa powder to make it into chocolate flavor ? My granddaughter is turning 4 and she request chocolate cake pops .
Emily @ Sugar Spun Run
Hi Sherri! You will probably need to water it down a bit to thin it out, but it could work. We actually have a chocolate cake pop recipe you can use instead 😊
Brian Klotzbach
Just made this today and so much better than store bought. Moist and rich and not too sweet.
Susan Avery
I stumbled across this chocolate cake recipe a few years ago. I will say it is the best chocolate cake that I have ever had. I constantly receive request to make this cake for friends and family. I have even made it as a wedding cake, for my best friend.
Recently my husband was diagnosed with celiac’s disease and can no longer have gluten.
I made the cake swapping out the flour for Bob’s Red Mill Gluten Free 1 to 1 Baking Flour. I was concerned about taste, texture, and if it would rise correctly.
Surprisingly, it worked great! My family never knew the difference.
Sam
I’m so glad you’ve enjoyed it so much, Susan! I’m sorry to hear about your husband’s diagnosis, but thank you for the feedback using the gluten free flour. 🙂
Tammy
Hello!
So I love the flavour of this cake it’s so amazing – but I have CONSTANT trouble with sinking….im not new to baking and can’t figure out why?? BS is fresh and using pure cocoa powder but it’s almost everytime…I even reduced the heat and cooked longer and still sinking….ideas?? It’s dynamite so I want to make it work! Ps tried with gluten free flour one for one and bakes beautifully….
Sam
Hmmm that is really odd. Are you at high altitude by chance?
Tehila
I love you sam like literally lol. Your recipes make me look like a professional baker when I have family and friends over.
Erica
Can this recipe be doubled?
Emily @ Sugar Spun Run
Absolutely! Enjoy, Erica 😊
Tina
Hi sam! Is your flour measurement correct? Doesn’t 1 3/4 cup all-purpose flour weigh 220 grams?
I just want to be sure 😊
Emily @ Sugar Spun Run
Hi Tina! For this recipe we would use the grams as written. Sam has since standardized all of her measurements, so you won’t see that discrepancy in newer recipes. This cake has been done both ways and does work 😊
Jules
Hi Sam,
Can this recipe be made in 3 x 6inch pans?
Thanks 😀
Sam
Hi Jules! This well make more than enough batter for 3 6 inch pans so make sure you don’t overfill your pans. 🙂
Makenzie
I make thus chocolate cake every year for my daughters birthday! The best chocolate cake ever!!
We are making one together tomorrow after watching the original Matilda 🙂 can’t wait for chocolate cake
Thank you for sharing your recipes every one I have tried turns out amazing! You are my goto for a lot of recipes and not just deserts ❤️
Emily @ Sugar Spun Run
We love that, Makenzie! Thanks so much for commenting. Enjoy your cake! 🥰
Jasmyn
This was absolutely amazing!
I made this for Easter and it was phenomenal!
I did tweak the recipe just a bit. Instead of using all brown sugar(which I couldn’t find, I had light brown), I used some dark brown as well! And I added cacao powder with the cocoa powder I had. I only did because I didn’t have enough cocoa powder.
I don’t know if it made a difference, but the raving reviews of my family made me glad! I thought the cacao would ruin it!
The cake was smooth and decadent! One person said it tasted like I added caramel, but I didn’t.
To sum it up, this cake is amazing!
Emily @ Sugar Spun Run
We’re so glad you enjoyed it, Jasmyn! Thanks for letting us know how it went for you 🥰
Lynette
This choc cake IS absolutely 100% the BEST choc cake I have ever had! I just made it yesterday for my foster daughters 12 birthday bcuz thats what she wanted along with choc frosting. I had a different recipe picked out for the cake and the frosting but chose this recipe instead and I’m so glad I did!! We all couldn’t get enough of it and we just had it again a few mi utes ago. I seriously just want to keep eating it lol! My grandmother use to make choc mayonnaise cake which I thought was the best but I would take this choc cake over it any day! All your hard work for 5 months of trial and error definately paid off! Awesome job! I’ve also tried many different choc frosting recipes and have not liked them at all and this silky choc frosting is SOOOO good! This entire recipe is a perfect balance…neither the cake or the frosting are too sweet! Ty..Ty for this! 😁
Rhonda Ledbetter
Can this be made in a 13×9 cake pan? If so, how long would it need to bake?
Sam
Hi Rhonda! It will work in a 13 x 9 but I’m not sure on a bake time. I would just keep a close eye on it while baking.
Theresa Miller
Love this cake recipe, its the best! Question how do you store your cake after making it? Does go into refrigerator or stay on the counter top?
Sam
Hi Theresa! It will be fine on the countertop in an air tight container for a couple of days. 🙂
Shelly
So, I’m not the biggest fan of dark chocolate, and I see in your chocolate frosting recipe for the cake you use semi-sweet chocolate chips. Will using dark chocolate make the frosting have a dark chocolate flavor. And if so, can I use milk chocolate instead? Thank you, and sorry if I didn’t make any sense, I understand 🤣
Sam
Hi Shelly! Milk chocolate will work here. 🙂
Julian
Hi there! Do you know the height of this cake in inches? Thank you so much, I am SO excited to try this recipe!!
Sam
Hi Julian! I haven’t measured it, but I think it’s around 5 inches tall. The cakes are approximately 2 inches then a bit of frosting.