Moist and exploding with chocolate flavor, this classic chocolate cake features 2 cake layers plus chocolate buttercream! The chocolate buttercream frosting is rich and creamy and completes this chocolate cake recipe. Chocolate sprinkles are optional but are a fun garnish. If you like my chocolate cupcakes recipe, you need to bake this cake.
Famous Chocolate Cake Recipe
In my family, I’m “famous” for 4 recipes: chocolate chip cookies, brownies, lasagna, and chocolate cake. But it’s the chocolate cake that is the most popular and requested!!! From birthday parties to dinner parties, it’s always a huge hit! Here’s why I think this classic chocolate cake recipe is the best:
- Abundant chocolate flavor thanks to cocoa powder in the cake batter and real chocolate in the chocolate buttercream frosting!
- The cake layers are soft, fluffy, and melt-in-your-mouth moist.
- Decadent and rich, it’s a classic dessert everyone loves.
- This recipe uses basic ingredients, and I provide some ingredient substitutes below.
- My chocolate buttercream frosting is rich, fudgy, and packed with chocolate flavor!
You can make cake layers in advance, wrap in plastic wrap, and freeze for up to 2 months.
Ingredients for Chocolate Cake
- Sugar: This recipe uses granulated sugar, light brown sugar, and confectioner’s sugar.
- Flour: The most important of the dry ingredients. I only suggest using all-purpose flour, but for a gluten free chocolate cake, a 1-for-1 gluten free flour may work.
- Unsweetened Cocoa Powder: This should not be replaced with Dutch process cocoa.
- Baking Soda: Helps the cake batter spread evenly in the cake pans, ensuring even cake layers.
- Baking Powder: Helps the cake batter rise in the cake pans, avoiding overly dense cake layers.
- Salt: Enhances the chocolate flavor and balances sweetness in both the cake batter and chocolate buttercream frosting.
- Eggs: You’ll use 2 large eggs plus an egg yolk. Make sure your eggs at room temperature before use in the cake batter.
- Sour Cream: In a pinch, this may be replaces with full-fat plain Greek yogurt.
- Milk: Whole milk works best, but reduced fat milk will work in a pinch. I don’t suggest subbing plant based milks. But if you must, coconut milk will work best. But it will add a subtle coconut flavor.
- Oil: For a neutral flavor, use canola oil or vegetable oil. If you don’t mind a subtle flavor from the oil, you may use a mild olive oil or coconut oil (melted).
- Vanilla Extract: Real vanilla extract adds rich flavor and enhances the other flavors in the cake.
- Hot Coffee: Or freshly boiled water. You can read the pros and cons of each below.
- Chocolate: For a sweeter chocolate buttercream frosting, use semi-sweet chocolate. For a darker buttercream frosting, use dark chocolate or bittersweet chocolate. I suggest a less sweet chocolate since the buttercream has a lot of sugar.
- Butter: You can’t make chocolate buttercream frosting without butter! Use a quality butter brand you enjoy the taste of and be sure to bring it to room temperature before use.
Cake Batter
- Oven Prep: Preheat the oven to 350 at least 30 minutes before you plan on baking.
- Prep Cake Pans: Use parchment paper rounds to line your cake pans! Be sure to spray each pan generously with nonstick baking spray.
- Combine Dry Ingredients: Combine the sugars, all purpose flour, cocoa powder, baking power, baking soda, and salt. Use an extra large bowl here!
- Combine Wet Ingredients: In a separate large bowl whisk the eggs, egg yolks, milk, sour cream, oil and vanilla extract. Pour this mixture into the dry ingredients. Add the hot coffee to the cake batter and mix until combined.
- Bake Cake Layers: They’ll take about 26 to 30 minutes, depending on your oven. Pull the cake pans when a toothpick inserted in the center of each cake layer comes out clean.
- Cool Cake Layers: Cool in the cake pans for 10 minutes. Then invert onto a cooling rack to cool completely. Don’t attempt to trim the cake layers or frost until the cakes have cooled completely.
Hot Coffee vs Hot Water
When it comes to this wet ingredient, you have an option. Here are the main pros and cons of hot coffee versus just using hot water:
- Hot coffee enhances the chocolate flavor in the cake batter.
- Hot coffee also adds a subtle mocha flavor without making the cake taste like coffee.
- However, if you’re sensitive to coffee or absolutely hate the flavor, you may want to leave it out.
- The pro of using hot water is it’s free and always on hand, assuming you have a kettle and running water.
- The con of using hot water is it won’t enhance the chocolate flavor or add any flavor dimension to the cake batter.
Chocolate Buttercream Frosting
- Melt the Chocolate: Using a double boiler or microwave, melt the chocolate. Allow the chocolate to cool to room temperature before use.
- Make the Frosting: Use a stand mixer fitted with the paddle attachment – or a large bowl and a handheld electric mixer. Beat the butter until creamy then gradually add the confectioner’s sugar, beating well after each addition. Once you add all the sugar, beat for 2 minutes on medium-high. Finally, add the vanilla and melted chocolate and continue beating until well combined and creamy!
- Spread: Use a large frosting spatula (or a butterknife, whatever you have on hand!) and spread the frosting on the cake. I like to place one cake layer on a cake stand, add frosting, add another cake layer, then frost the sides and top of the cake.
Since the chocolate buttercream frosting has a lot of chocolate, I recommend making it no more than 1 hour ahead.
How to Store Chocolate Cake
- To store leftover chocolate cake, wrap tightly in plastic wrap. Ensure the plastic touches the cake and that no spots remain exposed to air.
- You can store this cake at room temperature or in the fridge. It’ll stay fresh for up to 2 days.
- If you’d like to bake the cakes in advance of frosting, you can. Bake them and cool completely, then wrap in plastic wrap and store at room temperature for up to 24 hours. Or freeze for up to 2 months.
Best Cake Pans for Chocolate Cake
- You’ll need (2) 9-inch cake pans for this chocolate cake recipe.
- For best results, use metal or steel pans.
- Glass pans or ceramic pans will take longer to bake, and may yield uneven cake layers.
- If you don’t have 2 cake pans, you can bake these cakes in batches, but it’s more time consuming.
- You’ll need to let the cake pan cool completely before using it to bake another cake, otherwise the cake batter won’t bake evenly.
- You can wrap the baked cakes in plastic wrap to keep them moist while you bake the other cakes.
- You can bake this cake in a 9×13-inch baking pan. The baking time will be different, most likely it’ll take closer to 35 minutes. If you decide to use this size pan, keep an eye on the cake and know it’s ready when a toothpick inserted in the center comes out clean.
Please not the last 3 tips above are in reference to baking the cakes in the same cake pan (if you don’t have 2 cake pans to use).
More Classic Chocolate Cake Recipes:
17 Chocolate Cake Recipes for Chocolate Lovers Only
Chocolate Cake with Mocha Buttercream Frosting
Legendary Chocolate Cake Recipe (with THE BEST Chocolate Buttercream Frosting)
Ingredients
For the Chocolate Cake:
- 1 cup (199g) granulated sugar
- 1 cup (213g) light brown sugar, packed
- 1 and 3/4 cups (210g) all-purpose flour
- 1 cup (84g) unsweetened cocoa powder
- 1 and 1/2 teaspoons baking soda
- 1 teaspoon baking powder
- 3/4 teaspoon salt
- 2 large eggs room temperature
- 1 large egg yolk room temperature
- 1 cup (227g) sour cream
- 1/4 cup (57ml) whole milk
- 1/2 cup (113ml) oil canola, vegetable, or refined coconut (melted)
- 1 Tablespoon vanilla extract
- 1 cup (227ml) freshly brewed coffee or freshly boiled water
For the Chocolate Fudge Frosting:
- 8 ounces semi-sweet or bittersweet chocolate, coarsely chopped
- 1 and 1/2 cups (340g) unsalted butter room temperature
- 2 and 3/4 cups (426g) confectioner's sugar sifted
- 2 teaspoons vanilla extract
- 1/4 teaspoon salt
Instructions
For the Chocolate Cake:
- Preheat oven to 350°(F). Generously spray two 9-inch round baking pans with non-stick baking spray and set them aside.
- In the bowl of a stand mixer fitted with the paddle attachment, or in a large bowl using an electric mixer, combine both sugars, flour, cocoa, baking soda, baking powder and salt on low until ingredients are thoroughly combined. Set aside.
- In a separate large mixing bowl, whisk together the eggs, yolk, sour cream, milk, oil and vanilla, beating until well combined. Add the wet ingredients into the dry ingredients and beat on low speed until just incorporated. Carefully add in hot coffee (or water) and continue beating until completely combined; about 1 minute. The batter will quite thin.
- Divide batter evenly into prepared pans.
- Bake in preheated oven for 30 to 32 minutes, or until a toothpick or cake tester inserted in the center of a cake comes out clean or with just a few moist crumbs attached.
- Cool cakes for 10 minutes in the pan (placed on top of a cooling rack) before removing from pans and transferring to a cooling rack to cool completely.
For the Chocolate Fudge Frosting:
- Place the chocolate in a medium heatproof bowl and place it over a pot of barely simmering water. Heat, stirring frequently, until the chocolate is completely melted. Remove the pan from heat, then carefully remove the bowl from the pot. Set chocolate aside to cool for a few minutes.
- In the bowl of a stand mixer fitted with the paddle attachment, or in a large bowl using a handheld electric mixer, beat the butter on medium speed until creamy. Reduce the speed to low and gradually add the confectioner's sugar, one cup at a time, beating well after each addition.
- Once all of the sugar has been added increase the speed to medium-high and beat for 2 minutes, scraping down the sides of the bowl as needed. Beat in the vanilla and melted chocolate and continue beating until well combined and creamy.
Assembly:
- Using a long serrated knife, level the top of each cake.
- Transfer one layer to a large plate or cake stand. Using a long offset spatula, spread a thick layer of frosting on top, then top with the second layer. Continue frosting the top and sides of the cake. Decorate with chocolate chips, sprinkles, chocolate shavings, or leave as is!
- Store in the refrigerator, loosely covered, for up to 2 days.
Notes
Hello,
My favorite cakes to make are chocolate ones. So I will try your cake recipe.
I do not drink coffee or own a coffee maker so I ask can I add instant coffee crystals to the hot water and if so how much coffee crystals would you suggest makes strong coffee?
Also one of my daughters friends is allergic to coconut you said we could use canola oil and add an extra egg or not. Is it truly okay to not use the extra egg with the canola oil?
I think that’s the questions I have.
Thank you in advance for a reply.
(*_*)
Chelle
Just made this cake for Valentine’s day for my family and all I can say is WOW! This is exactly what I was looking for and the best chocolate cake I’ve ever made. I’m a serious baker and have been having trouble finding a scratch chocolate cake recipe that can pass the WOW factor test and this is it. Thank you so much for sharing this recipe and I will be making this a lot for years to come.
I am SO happy to hear it, Crystal! Happy Valentine’s day 🙂
I loved the way this cake looked and sounded but the directions were unclear. The directions didn’t mention melting the coconut oil first. What butter to use where. Also how much vanilla in what parts. If these were more clear I have no doubt it would be nice.
I’m not sure what happened or where I went wrong but I make the frosting and it turned out like cake batter. Wasn’t fluffy and whipped, it was runny and really wet. I added at least one more cup of confectioners sugar and still didn’t thicken up. Where did I go wrong?
Hi! I wanted a completely decadent chocolate cake for my birthday so I tried this recipe. It turned out okay, but wasn’t as flavorful as I was expecting. Also, it seemed like a lot of flour. After mixing the dry ingredients, I could barely hand mix the first two wet ingredients in and even had trouble after adding the rest of the wet ingredients! I do not have a stand mixer, but was unable to use my hand mixer because the batter was so thick! I used the exact measurements – 4 cups of flour, 3 cups of sugar – I store my flour in the fridge – would that mattter? It was not until I added the cup and a half of coffee that after yet more manual mixing I was able to use my hand mixer. The icing was delcious, by the way. Also, faux pas on my part – I did not have 9 inch cake pans so I filled two 8 inch ones to the brim – high cakes!!! For the lower tier I sliced the top off to make it level, and I should have done same with the other one, but liked the height, so I left it as is on top so it was rounded. But afterwards I realized this made for too much cake and not enough icing in a bite. I should have followed one of the comments and saved some batter for cupcakes or something else. The cake came out okay, but I guess I was expecting more flavor.
Hi Anne Marie. Happy belated birthday! I’m sorry you weren’t thrilled with the results of this cake recipe. It’s strange, some readers rave over it while others don’t care for it as much. I plan to retest this recipe soon and make some updates if needed. Thank you for your feedback.
Hi. Would it be possible to post you’re decadent chocolate cake recipe in pounds and ounces. We don’t use cups and sticks in Ireland and would love to make this recipe accurately. Also I think there is a difference between American cups and Australian cups? Thanks Gwyneth
Hi Gwyneth. As this time I am only posting my recipe is US measurements (I plan on changing that in the future) but there are many online tools that could help you convert this recipe into the measurements you need.
Hi can you tell me how many servings come out of it ,thank you
Hi Carolina. This recipe yields one double layer cake. Each round is 9″.
I made this cake for a friend’s birthday. I’m not a baker, but the recipe was very easy to follow and the cake turned out perfectly…well it wasn’t as pretty as the picture, but it was rather delicious. I highly recommend this recipe!
Hi Susanne! Thank you so much for letting me know the cake was a hit 🙂
Can you use something other than coconut oil such as butter or canola oil?
Tip for sifting. I use a whisk and work it in the bag or container of flour. Heat and humidity can alter the density of flour. Storage conditions are not always ideal. Flour can also be put in the Freezer.
The cake looks delic. Coffee makes all the difference.
If using a ganache icing which is so good and easy to make. .In Canada our large choc bars are 100grms = 3.5274 oz.
I always uses those for ganache. Quality bars often sell for $1 at Food Basics or 4 for $5. Various types. I tend to use Dark. I also like use Hershey Special Dark 35%