4.93 from 238 votes

The Best Chocolate Cake Recipe

This post may contain affiliate sales links. Please read my disclosure policy.

There’s a reason I call this the best chocolate cake recipe: It’s so good, restaurants have asked me to make it! This moist, fluffy, one-bowl chocolate layer cake is going to be your go-to recipe once you try it. Finish this cake with from-scratch chocolate buttercream and homemade chocolate ganache.

A homemade chocolate cake with chocolate buttercream and chocolate ganache on a cake stand

 

After testing many chocolate cake recipes, this one is hands down the best I’ve ever tasted. This is the kind of chocolate cake everyone should have in their recipe collection. An easy, one-bowl cake with the perfect crumb that’s covered with homemade chocolate buttercream frosting. This moist cake is made completely from scratch and has incredible chocolate flavor.

If you’re familiar with my recipes, then you’ve probably seen several variations on chocolate cake, whether that’s hot chocolate cake, my chocolate Oreo cake, chocolate mousse cake, or otherwise. This is my original chocolate cake recipe, and it is still my favorite to this day! The main difference between this recipe and my others is that this one is the MOST tender and moist, it uses oil instead of butter, and it is baked at a lower temperature (which means it also takes a little longer to bake).

I literally cannot stop eating this cake whenever I make it.

I made this chocolate layer cake for my niece’s birthday last year. One of the moms asked my sister-in-law where she’d gotten the cake. After asking me about it, it turns out this mom has two restaurants in Atlanta, and was curious if I’d be interested in making cakes for her restaurant. Whaaaaaat?!?

Pretty neat, but I actually said no. However, this chocolate cake is THAT good! And who doesn’t want to be the one with a cake that’s so good you could bake for a restaurant? You know you do. 😉

Lindsay, author of Life Love and Sugar, holding a plate of cupcakes and smiling.

So, What Makes This the BEST Homemade Chocolate Cake?

  • It’s easy to make. First and foremost: There’s only one bowl!
  • Baked at a lower temperature. While my easy chocolate cake recipe bakes at 350ºF, I bake this chocolate cake at 300ºF. This slower bake results in a more moist cake throughout, and a flatter top (less domes!).
  • Oil-based. I make this chocolate cake recipe with oil for a more tender crumb. Other recipes, like my chocolate piñata cake, use butter instead of oil simply because some readers prefer the taste of butter! Butter-based cakes are also generally sturdier, so that cake holds up much better to being carved and filled like a piñata. 🙂 As far as great moisture in chocolate cakes goes, though, oil is the way to go.
  • Triple the chocolate. This cake has a rich chocolate flavor and fluffy crumb, covered with chocolate buttercream frosting, and decorated with a chocolate ganache drip. It’s a chocolate overload!
  • Simple ingredients. The best chocolate cake doesn’t need fancy or even “secret” ingredients, just a few key ones in the right ratios that make it ultra-moist, full of flavor, and still ideal for stacking.
A slice of layered chocolate cake on a plate

Ingredient Notes & Substitutions

Here’s a quick overview of the key ingredients needed to make the chocolate cake and frosting. The exact measurements for the ingredients can be found in the recipe card below.

Ingredients for The Best Chocolate Cake Recipe.
  • All-purpose flour – I say this for every cake recipe, but it’s very important to measure the flour correctly. Use a kitchen scale or the spoon-and-level method to avoid overmeasuring, which can lead to a dry cake.
  • Natural unsweetened cocoa powder – I often make this cake with dark chocolate cocoa. It gives the cake an even richer chocolate flavor. That said, regular cocoa works too and is also wonderful, just make sure it’s natural cocoa powder (not Dutch-processed) so it’ll react with the baking soda in the recipe. You can use the same cocoa powder that you use in the cake to flavor the chocolate frosting.
  • Baking soda and salt – Make sure that you’re using baking soda, not baking powder, and check the expiration date. If your leavening is old or expired, your chocolate cake won’t rise properly.
  • Eggs – If you can, bring these to room temperature.
  • Buttermilk – Buttermilk is key to a very tender chocolate cake. If you don’t have buttermilk in the fridge, make a substitute by combining 1 scant cup of milk with 1 tablespoon of white vinegar (or lemon juice). Let the mixture rest and curdle for 5 minutes. Stir, and then use it as directed.
  • Vegetable oil – This cake is made with oil instead of butter. It makes SUCH a moist cake!
  • Hot water – Hot water helps bloom the cocoa powder for a more intense chocolate flavor in the cake. If you use room temperature water, your cake will still turn out fine. Just not quite as rich.
  • Powdered sugar – You’ll need it for a smooth, silky chocolate buttercream frosting.
  • Chocolate chips – Use high-quality chocolate chips or chop up a chocolate baking bar to make the chocolate ganache. It can be dark or semi-sweet chocolate.
  • Heavy cream – You’ll combine the chocolate with heated heavy cream. When it melts, you’ll have ganache! Please don’t use milk or another low-fat alternative to heavy cream, or your ganache won’t have the same rich, creamy texture.
Close up of a decorated chocolate cake with ganache

How to Make Chocolate Cake From Scratch

One thing to note is that this cake has a very thin batter. And no, the baking temperature is NOT a typo! This best-ever moist chocolate cake uses a low-and-slow technique that bakes the cake at 300ºF for a bit longer than your typical chocolate cake recipes. This allows the chocolate cake to bake through slowly and evenly, avoiding high domes and overbaked edges. So, here’s how you make it:

Make the Cake

Prepare three 8-inch cake pans with parchment paper circles in the bottom, and grease the sides. Meanwhile, preheat the oven to 300°F (148°C).

Dry ingredients for a chocolate cake in a glass bowl

Add all dry ingredients to a large bowl and whisk together.

A whisk mixing chocolate cake batter in a glass bowl

Add eggs, buttermilk, and vegetable oil to the dry ingredients and mix well.

Mixing chocolate cake batter with a whisk in a glass bowl

Add vanilla to boiling water, and then add it to the batter. Mix well.

Unbaked chocolate cakes in pans ready to go into the oven

Divide the batter evenly between your cake pans. Bake at 300ºF for 30-33 minutes, or until a toothpick comes out with a few crumbs.

Make the Chocolate Buttercream Frosting

Once baked, remove the chocolate cakes from the oven and allow them to cool for about 10 minutes. Then, remove them to cooling racks to cool completely. I usually make the chocolate frosting while the cakes cool. Here’s how:

  • Beat the butter and sugar. Beat the butter in a stand mixer until smooth, then slowly add 4 cups (460g) of powdered sugar. Mix until creamy.
  • Alternate adding the wet and dry ingredients. Next, mix in the vanilla and half of the water and milk. Add another 5 cups (575g) of powdered sugar, then the cocoa powder, mixing well after each addition. Lastly, add remaining water or milk until the frosting is the right consistency.

Frost the Cake

Once cakes are cool, remove cake domes from top with a large serrated knife. See my tips on how to level a cake and how to stack a cake.

3 layers of chocolate cake on a cake stand with frosting in between each layer

Place the first cake layer on a cake plate. Spread ~1 cup of frosting on top. Add the second cake layer, then another cup of frosting on top in an even layer.

A frosted chocolate cake on a cake stand

Frost the outside of the entire cake to finish things up. Feel free to use my tutorial for frosting a smooth cake if you need tips!

Decorate the Cake

Technically, you could just stop right here. By this point, you’ll have an amazing layer cake with chocolate buttercream frosting! But if you want to go a bit fancy, this chocolate ganache is an easy way to do it. To make chocolate ganache:

Heavy cream and chocolate chips in a glass bowl

Heat the heavy whipping cream until it begins to simmer, then pour it over the chocolate chips.

Chocolate ganache in a glass bowl

Allow it to sit for 2-3 minutes, then whisk until smooth.

That’s it. Just two steps! Then you add the ganache to your cake. I like to use a squeeze bottle for drizzling around the edges. See my tips on making a chocolate drip cake.

A frosted chocolate cake with ganache on top

Drizzle the chocolate ganache around the edge of the cake, then pour the remainder of the ganache on top of the cake and spread evenly.

Homemade chocolate layer cake with ganach

Allow the ganache to firm up a bit. Pipe the remaining chocolate frosting around the top edge of the cake and pipe a border around the bottom. I used Ateco tip 844.

Add Sprinkles and Serve!

Add a few sprinkles to the cake, if desired, then serve. Sprinkles are totally optional, of course, but why not?

A slice of layered chocolate cake on a plate

Different Pan Sizes

Made as-is, this chocolate cake recipe uses three 8-inch round pans for a three-layer cake. If you’d like to bake this cake in another pan size, it’s doable! The recipe and oven temperature stay the same (300ºF), but the baking times will vary depending on which pan size you’re using. Here are some quick conversions for you:

  • Two 9-inch pans – Bake for 40-45 minutes
  • 9×13-inch pan – 40-45 minutes

Can I Make This Cake Recipe Into Chocolate Cupcakes?

Definitely! Fill the cupcake liners about halfway and bake for 18-23 minutes, or until a toothpick comes out with a few moist crumbs. You’d get about 24 or so cupcakes if you use the full recipe. You can also check out my homemade moist chocolate cupcakes. It’s the same recipe, but cut in half to make about 12 cupcakes.

How to Store a Frosted Cake

This cake can be stored for 3-4 days on the counter. It should be well covered under a cake dome if possible.

You can also store it in the fridge to extend its shelf life to 4-5 days, but the frosting will harden. When I store a frosted cake in the fridge, I usually place the cake in the fridge uncovered until the frosting hardens (about 2 hours). Then I cover it with Saran Wrap.

When you are ready to have some cake, simply cut a slice and warm it in the microwave (if desired) for about 15-30 seconds. The frosting will soften right up, and you’ll have warm chocolate cake to enjoy.

Watch How To Make It

Read Transcript

More Chocolate Cake Recipes

This recipe is so simple and easy to make. In addition to being delicious, it has actually become the base for many other flavor combinations I’ve made into cakes, and it’s always a hit!

A homemade chocolate cake with chocolate buttercream and chocolate ganache on a cake stand
4.93 from 238 votes

The Best Chocolate Cake Recipe

Author Lindsay
Servings 12 -14 slices
Prep Time 40 minutes
Cook Time 30 minutes
Total Time 1 hour 10 minutes
With layers of moist homemade chocolate cake, fudgy chocolate buttercream, and chocolate ganache, this is the best chocolate cake recipe! Made completely from scratch, this is the kind of chocolate cake everyone should have in their recipe collection.

save this recipe

Enter your email & we’ll send it to your inbox. Plus get new recipes from us every week!

Ingredients
 

Chocolate Cake

  • 2 cups (260g) all-purpose flour (measured correctly)
  • 2 cups (414g) granulated sugar
  • ¾ cup (85g) natural unsweetened cocoa powder
  • 2 teaspoons baking soda
  • 1 teaspoon salt
  • 2 large eggs
  • 1 cup (240ml) buttermilk
  • 1 cup (240ml) vegetable oil
  • 1 ½ teaspoons vanilla extract
  • 1 cup (240ml) hot water

Chocolate Buttercream

  • 2 ½ cups (560g) unsalted butter (room temperature)
  • 9 cups (1035g) powdered sugar
  • 2 teaspoons vanilla extract
  • 1 cup (114g) natural unsweetened cocoa powder
  • 4-5 tablespoons (60-75ml) water (or milk)
  • 1 pinch salt

Chocolate Ganache

  • 6 oz (1 cup | 169g) semi-sweet chocolate chips
  • ½ cup heavy whipping cream
  • Sprinkles

Instructions
 

Make the Cakes

  • Prepare three 8-inch cake pans with parchment paper circles in the bottom, and grease the sides.
  • Preheat oven to 300°F (148°C).
  • Add all dry ingredients to a large bowl and whisk together.
  • Add eggs, buttermilk and vegetable oil to the dry ingredients and mix well.
  • Add vanilla to hot water and add to mixture. Mix well.
  • Divide batter evenly between cakes pans and bake for 30-33 minutes, or until a toothpick comes out with a few crumbs.
  • Remove cakes from oven and allow to cool for about 10 minutes, then remove to cooling racks to cool completely.

Make the Frosting

  • Make frosting while cakes cool. Beat the butter in a large mixing bowl until smooth.
  • Slowly add 4 cups (460g) of powdered sugar and mix until smooth.
  • Add vanilla and half of the water or milk and mix until smooth.
  • Add another 5 cups (575g) of powdered sugar and mix until smooth.
  • Add cocoa and mix until smooth.
  • Add remaining water or milk until the frosting is the right consistency.

Assemble the Cake

  • Once cakes are cool, remove cake domes from top with a large serrated knife. See my tips on how to level a cake and how to stack a cake.
  • Place first layer of cake on cake plate. Spread about 1 cup of frosting on top in an even layer.
  • Add second layer of cake and add another cup of frosting on top in an even layer.
  • Add final layer of cake on top and frost the outside of the cake. Feel free to use my tutorial for frosting a smooth cake.

Make the Chocolate Ganache

  • To make the chocolate ganache, add the chocolate chips to a medium sized bowl (see my tips on making chocolate ganache).
  • Heat the heavy whipping cream just until it begins to boil, then pour it over the chocolate chips. Allow it to sit for 2-3 minutes, then whisk until smooth.

Finish Cake

  • Drizzle the chocolate ganache around the edge of the cake, then pour the remainder of the ganache on top of the cake and spread evenly. I like to use a squeeze bottle for drizzling around the edges. See my tips on making a chocolate drip cake.
  • Allow the ganache to firm up a bit, then pipe the remainder of the frosting around the top edge of the cake and pipe a border around the bottom. I used Ateco tip 844.
  • Add a few sprinkles to the cake, if desired, then serve. Cake is best when well covered for 3-4 days.

Video

Notes

This recipe calls for hot water. You don’t have to use hot water – the cake will still bake fine – but the hot water allows the cocoa to “bloom”, which brings out a richer chocolate flavor in the cake.

Nutrition

Calories: 1380kcalCarbohydrates: 275gProtein: 14gFat: 35gSaturated Fat: 12gPolyunsaturated Fat: 12gMonounsaturated Fat: 9gTrans Fat: 0.1gCholesterol: 42mgSodium: 424mgPotassium: 699mgFiber: 15gSugar: 220gVitamin A: 226IUVitamin C: 0.1mgCalcium: 95mgIron: 8mg

The nutrition facts provided are calculated using a third-party tool and are estimates only. Actual nutritional content may vary based on the ingredients and brands you use, as well as portion sizes. For accurate results, please consult a registered dietitian or nutritionist.

This post contains affiliate links.

Categories: 

Cakes and Cupcakes, Recipes, Recipes with video, Sweets and Treats,
4.93 from 238 votes (1 rating without comment)

Leave a Reply

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

Recipe Rating




1,870 Comments

  1. Sheneka Spencer says:

    I have been looking for a moist chocolate cake for a birthday cake would this recipe be suitable for a heart cake ?

    1. I assume it’d be fine. It’s very tender and some people find it hard to work with, but this is the recipes I’d use.

  2. 5 stars
    This is a fantastic cake although I did use less oil (2/3 cup instead of 1) and less sugar (375 grams instead of 414). Also, used seedless raspberry jam and fresh raspberries in between the layers instead of chocolate buttercream frosting. This meant that there was a ton of delicious frosting left over which will be put to good use. That chocolate ganache drizzle is a great touch.

  3. Would this do okay in a 9×13 pan? How should I adjust the cooking time and oven temp? Thank you in advance!

  4. Hi,
    Thank you for sharing this recipe.
    How to calculate if we use a 7inch pans? Can I replace the cocoa powder in the butter cream or mix with melted chocolate? If yes how much?
    Thank you in advance for your reply!
    Kind regards,

    Sara

    1. It depends on how tall you want your cake. You could leave it as is and make 7 inch layers and just have it be taller, or you could try cutting it in half, it’ll just be a shorter cake. As for a buttercream with melted chocolate, check out the buttercream on my Raspberry Chocolate Cake.

  5. 5 stars
    This has become my go-to recipe for chocolate cake!! My family always requests it for birthdays. Deeeeelish!! Thank you for sharing!

  6. Sierra Solitro says:

    5 stars
    This is the absolute best chocolate cake recipe. It stays super moist, isn’t too sweet, and has an intense chocolate flavor. 😃

  7. Can I bake this in a square 8 x 8 inch pan? If so, how would that change the measurements and cooking time?

    1. I imagine that would be fine. It’s not something I’ve done and I don’t make a lot of square cakes, so it’s hard for me to say if you would need to adjust anything.

  8. Benamin Humphry says:

    I have a 10 inch spring form pan, if i followed this recipe would i need to do two cakes for the desired effect?

    1. So first, this is a super thin cake batter. If your springform pan leaks at all, this batter will leak out. For a similar height cake in a 10 inch pan, I’d double the recipe.

      1. Benamin Humphry says:

        Thank you for that information. Cooking time , Do you think 1 hr at 150 degrees would be sufficient for the 10 inch?

      2. I honestly don’t know. That sounds like a lot, depending on how much batter you are adding to each cake pan.

      3. Benamin Humphry says:

        I am using 1 10 inch pan, I tested this recipe using an 8 inch spring form pan and the cooking was was around 50 minutes. if I double the recipe for a 10 inch pan, I would think iwould have enough batter to do other things such as cup cakes,or a base for a swiss roll.

  9. Can I make the cake layers ahead of time and then assemble the next day? If so, do I have to put them in the fridge?

    1. Definitely. I usually store them in an airtight container on the counter. You could also wrap them in a couple layers of clear wrap.

      1. Will they stay moist if I make them the day before? Do I need to brush them with simple syrup?

      2. Definitely. No need for simple syrup.

  10. Brittany heaton says:

    How long to bake if I do this as a 9×13 cake instead? Would I need to double the recipe or no?

    1. You don’t need to double it. Bake time should be 40-45 minutes.

  11. Allissandra says:

    Milk
    Hey Lindsey, I was wondering what you meant by ‘remaining water/milk’, remaining from what?? Thx- I love ur recipes!!!

    1. There’s water/milk/cream in the buttercream ingredients. You add about half of it, then at the end you can add more, if needed.

  12. Thanks for this great recipe! If I want a taller 8″ cake, would it work if I increase the ingredients to 1.5 and use 4 x 8″ cake pans?
    Or will four layers be too heavy/unstable as it’s a moist cake?
    Thanks 🙂

    1. I haven’t made it that tall before, so I’m not sure if it would be an issue. If your frosting is thick enough, I’d think it’d be fine.

  13. Can I use 2- 8” pans instead of 3? If so how low do I bake them?

    1. Sure. Your cake layers will just be a little thicker so you’ll need to bake them a little longer. I’m not sure of the exact time. You may need another 5 or so minutes of baking time.

  14. 5 stars
    This is such an amazing recipe. It’s the favorite of my family and friends. I’m even using it for a friend’s wedding cake.

  15. How can i do half the recipe…

  16. 5 stars
    Best chocolate cake EVER! I make this for everyone’s birthday in the house!

    1. Hi can I substitute baking soda with baking powder
      Thanks