Best Chocolate Cake

3892 hours 27 minutes
Tessa Arias

Author:

Tessa Arias

Modified: March 20, 2026

This is the BEST Chocolate Cake recipe—deeply chocolatey, ultra-moist, and easy to decorate, slice, and serve.

Watch Video

Tessa's Recipe Rundown

Taste: So rich with chocolate flavor but not overpowering.
Texture: Unbelievably moist and fudgy with an insanely velvety frosting.
Ease: The cake layers come together in minutes, and the frosting is simple and straightforward (but tastes so gourmet).
Why You’ll Love This Recipe: My improved cake is quicker, easier, and cheaper to make with deeper chocolate flavor and a more moist texture!

This post may contain affiliate links. Read our disclosure policy.

This is the best chocolate cake I’ve ever made, no joke. It’s deeply chocolatey, ultra-moist, and surprisingly easy. (Apologies in advance for the excessive use of the word “moist.”)

frosted chocolate cake on a marble cake plate

After 7 years of reader feedback and over a year of testing, I simplified the ingredients, improved the texture, and made it more moist than ever. The result is a homemade chocolate cake that stays soft for days and tastes rich without being too heavy or overpowering.

slice of fudgy chocolate cake on a small plate with a fork and a bite eaten

Why I Updated This Recipe

This chocolate cake has been one of the most popular recipes on Handle the Heat for years… but something always bothered me.

I kept getting the same question: “How can I make it more moist?” So I went back to my kitchen and tested it again. And again. And again.

After nearly 10 test batches, multiple recipe testers, and a lot of side-by-side comparisons, I realized the answer was counterintuitive: less chocolate actually made a better chocolate cake. Removing the melted chocolate from the batter improved moisture, texture, and flavor, making the recipe quicker, easier, and cheaper to bake!

Ingredient Notes

I choose every ingredient with care and intention. Many ingredients are tested against other options multiple times before I land on the best result. Listed below are the ingredients that matter most.

chocolate cake ingredients on a tray, portioned out and ready for baking

Dutch-Process Cocoa Powder
This recipe relies on cocoa powder for the primary chocolate flavor. Cocoa powder actually transmits more chocolate flavor than solid chocolate. Dutch-process cocoa creates a smoother, darker, more balanced chocolate taste without bitterness.

Espresso Powder + Hot Water (Or Coffee)
Espresso powder intensifies chocolate flavor without making the cake taste like coffee. Blooming cocoa powder in hot liquid releases fat-soluble flavor compounds, giving the cake a deeper chocolate taste. Hot coffee works too, as well as just hot water if you don’t drink coffee.

Light Brown Sugar
Brown sugar adds moisture and softness thanks to its molasses content. In testing, replacing granulated sugar with all brown sugar yielded a more moist and flavorful cake that stayed moist for longer.

Sour Cream
This is a key moisture and flavor ingredient! The acidity activates the baking soda and, coupled with the fat content, tenderizes the texture and balances the sweetness with its distinct tang. Use full-fat for best results. You can also use full-fat plain yogurt.

Eggs
Eggs are key to both structure and richness. Room-temperature eggs emulsify better, creating a smoother batter and more even crumb. I have yet to find a suitable substitute for eggs.

Oil (Not Butter)
Oil stays liquid at room temperature, which keeps this chocolate cake moist for longer than butter-based cakes. Use any neutral oil that doesn’t solidify: vegetable, canola, avocado, etc., but not coconut oil.

How to Make Chocolate Cake (Step by Step)

Prep the pans and oven
Preheat your oven to 350°F. Line two 8-inch round cake pans with parchment rounds (I like these ones with pull tabs!) and spray with nonstick spray (I like Baker’s Joy). This ensures a clean release.

Bloom the cocoa
Pour boiling water over the cocoa and espresso powder (or use coffee). Whisk until smooth and glossy. Set aside to cool completely. This “blooms” the chocolate flavor compounds in the cocoa.

pouring hot water over the cocoa and espresso mixture to bloom the cocoa

Mix the dry ingredients
In a large bowl, whisk together the flour, salt, and baking soda. Add the brown sugar and whisk or use your fingers to break up any clumps until it looks like sand.

Combine the wet ingredients
In a separate bowl, whisk the sour cream, oil, eggs, and vanilla until smooth.

Make the batter
Create a well in the dry ingredients and pour in the wet mixture. Mix gently from the center outward until mostly combined. Avoid overmixing, which can cause “tunnels” in your baked cake or make the final texture rubbery.

Add the cocoa mixture
Pour in the cooled (!) cocoa mixture and whisk until the batter is smooth and evenly combined. If this mixture is too hot, it’ll overly activate the baking soda and cause doming.

Bake
Divide evenly between pans (about 740 grams per pan if you’re using a scale). Tap pans on the counter to remove air bubbles. Bake 32–35 minutes, until a toothpick comes out with moist crumbs.

Cool completely
Cool in pans for 30 minutes, then turn out onto a rack and cool fully before frosting. For even easier frosting, chill the cake layers in the fridge for 30 minutes beforehand.

spreading smooth chocolate buttercream over two stacked and filled cake layers

Cake Decorating Tips

There are a few products + tricks that make cake decorating a breeze. Luckily, this recipe is particularly easy to assemble and decorate. The cake layers are sturdy and the frosting is so velvety smooth that it’s perfect for beginners. 

  • Parchment Strips: Cut and tuck rectangular strips of parchment underneath the border of your base cake layer to catch stray frosting for quick and easy cleanup and presentation.
  • Cake Leveler (optional): If your cake has domed at all, this makes easy work of leveling it flat for easier assembly and frosting. You can also use a serrated knife.
  • Cake Turntable (optional): This is basically a lazy susan for cake, and it makes decorating so quick, easy, and enjoyable. I like to place my cake plate on top of this so I don’t need to worry about moving a frosted cake later.
  • Offset Spatula: Practically an essential tool for cake decorating with any semblance of smooth and even frosting.
removing a slice of cake from the whole cake

Sprinkle of Science

Storage & Make ahead

Frosting: Cover and refrigerate for up to 2 days. Bring to room temperature and re-whip before using. It will oxidize (darken in color), but this won’t affect flavor or texture.

Unfrosted cake layers: Wrap and freeze for up to 2 months.

Frosted cake: Refrigerate for up to 2 days. Serve chilled for an extra fudgy cake, if desired!

Freezing leftovers: Freeze slices for up to 2 months. Freeze on a parchment-lined baking sheet until solid, then wrap in plastic and place in an airtight container. Thaw overnight in the fridge.

Test Kitchen Behind-the-Scenes

This recipe underwent about 20 iterations between myself and four recipe testers in four different states.

collage of 9 versions of this chocolate cake over the recipe development process

We experienced just about every issue you could imagine: sinking, doming, tunneling, dry edges, sticky cake layers, etc. I gave away multiple cakes and involved many friends in taste testing! It was a journey.

slice of cake on a plate with moist crumbs and a fork

FAQs

What makes chocolate cake moist?

Oil, brown sugar, and sour cream keep this chocolate cake moist. Oil stays liquid at room temperature, while brown sugar and full-fat sour cream prevent drying.

Can I make this chocolate cake without coffee?

Yes. Replace the espresso powder and water with hot water only. The cake won’t taste like coffee either way.

What are the best cake pans?

I adore my Fat Daddio’s 8-inch cake pans. I prefer the 2-inch deep size. If you use 3-inch-deep cake pans, note that you may experience more cake doming.

Can I make this into a sheet cake?

I haven’t tested that, but I do have a Chocolate Sheet Cake recipe already!

What frosting works best with chocolate cake?

I wrote this recipe with my favorite Chocolate American Buttercream because it’s easy, smooth, and balances the cake without overpowering it. However, you can also use my Chocolate Swiss Meringue Buttercream if you prefer.

Why do my cake layers have big holes in them?

Big holes, or tunnels, happen when the batter is overmixed or ingredients aren’t at room temperature. Overmixing forms strong gluten strands that trap air bubbles, creating holes. To prevent this, mix just until combined, use room-temperature ingredients, and tap your pans before baking to release large air pockets. Also, try sifting your dry ingredients!

Why did my chocolate cake sink?

This is often due to underbaking your cake. Make sure your cake tester or toothpick comes out with moist crumbs, not wet crumbs. Check out my article on how to prevent sinking cakes here.

slice of tall chocolate cake on a plate with a fork and a small bowl of rainbow sprinkles in the background
Yields: 12 servings

How To Make

Best Chocolate Cake

Yields: 12 servings
Prep Time 25 minutes
Cook Time 32 minutes
Cool Time 1 hour 30 minutes
Total Time 2 hours 27 minutes
Review Recipe Print Recipe
Prep Time 25 minutes
Cook Time 32 minutes
Cool Time 1 hour 30 minutes
Total Time 2 hours 27 minutes
Review Recipe Print Recipe
This is the BEST Chocolate Cake recipe—deeply chocolatey, ultra-moist, and easy to decorate, slice, and serve.

Email This Recipe

Enter your email, and we’ll send it to your inbox.

GDPR Consent

Ingredients

For the cake:

  • 1 cup (85 grams) Dutch-process cocoa
  • 2 teaspoons instant espresso powder*
  • 1 cup (237 grams) boiling water
  • 1 3/4 cups (222 grams) all-purpose flour
  • 1 teaspoon fine sea salt
  • 1 teaspoon baking soda
  • 2 cups (400 grams) lightly packed light brown sugar
  • 1 cup (227 grams) sour cream or full-fat plain yogurt, at room temperature
  • 4 large eggs, at room temperature
  • 1/2 cup (112 grams) neutral oil, such as canola or avocado oil
  • 2 teaspoons vanilla extract
  • 1 batch Chocolate Buttercream Frosting

Instructions

Make the cake:

  • Preheat the oven to 350°F. Line two 8 by 2-inch cake pans** with parchment rounds and spray evenly with nonstick cooking spray.
  • In a small heatproof bowl, whisk together the cocoa powder and espresso powder. Pour the boiling water over mixture and whisk gently until smooth. Set aside to cool completely.
  • In a large bowl, either sift*** or whisk together the flour, salt, and baking soda. Add brown sugar and use your hands to break up any clumps until the mixture resembles sand.
  • In a separate small bowl, whisk together the sour cream, oil, eggs, and vanilla until smooth. Make a well in the center of the dry ingredients and pour in the wet ingredients. Starting in the center, use a whisk to slowly pull the dry ingredients into the wet until mostly combined. The batter may be slightly lumpy.
  • Add the cooled cocoa mixture and whisk until the batter is smooth and evenly combined.
  • Divide the batter evenly between the prepared pans (about 740 grams per pan). Tap each pan firmly on the counter a few times to pop any air bubbles. Bake for about 32 to 35 minutes, or until a toothpick or cake tester comes out with moist crumbs attached.
  • Cool in the pans for 30 minutes, then (if needed) run a thin knife around the edges and remove to a wire rack to cool completely.

Assemble the cake:

  • If your cake has domed at all, level with a serrated knife or cake leveler until it is flat.
  • Place one cake layer on a cake turntable or cake stand. Place strips of parchment paper under the cake to prevent a frosting mess.
  • Spread a generous, even layer of frosting over the top, pushing it out over the edges slightly. Place the second layer upside down onto the frosting so the top of the cake is nice and flat.
  • Using an offset spatula, spread the remaining frosting evenly all over the cake, smoothing the edges. Serve immediately, or cover and refrigerate for up to 2 days. Let sit at room temperature for an hour before serving.

Notes

*If you don’t have espresso powder, you can replace both the espresso powder and boiling water with 1 cup hot strong coffee. If you don’t like the taste of coffee or espresso, just use hot water and omit the espresso powder completely.
**Using 8 by 3-inch pans instead will give you slightly domed tops. You may want to level them before assembly.
***If you commonly experience cake tunneling (lots of holes in your cake layers) then I recommend taking the time to sift these dry ingredients together. 

This recipe was originally published in 2018, and updated in 2026 with a recipe overhaul, new photos, and more baking tips. Photos by Joanie Simon.

Tessa holding a chocolate cake with "Happy birthday" candles on top

I made this chocolate cake for my dad’s birthday and it was a big hit! PS: Can you see my husband’s smiling proud face in the reflection of the microwave? Ha!

0 0 votes
Recipe Rating
guest
Recipe Rating




389 Comments
Inline Feedbacks
View all comments
Sharayu Varur
Sharayu Varur
1 year ago

Thank you for sharing an amazing mouth-watering recipe.
It is greatly appreciated and I find it very helpful.
The way you explained it in simple language made it easy to understand & cook.
Please feel free to explore our service to grow up your brand:-
Adtech Digital

Joan
Joan
1 year ago

Looks amazing

Miriam
Miriam
1 year ago

This tastes amazing!!
Even though it was too much batter for my taste😅 half of it would’ve been fine by me. Next time I’ll bake only one layer and cut it in two😁

Kitana
Kitana
1 year ago

Hi! Just wondering about what the vegetable oil does in this recipe, as we will be needing to substitute it.
Is it for the moisture?
Am tossing up between canola or coconut oil, and butter.
Thnx in advance!

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  Kitana
1 year ago

Hi Kitana! The purpose of vegetable oil in this cake is to create an ultra-moist texture and an open, slightly spongy crumb. Cakes made with oil feel more “moist” because the fat is liquid at room temperature, so it coats the tongue. However, as Tessa mentions in the tip box (above the recipe), feel free to substitute coconut oil if preferred! For more information on this, check out Tessa’s Oil vs Butter article here. Hope this helps and happy baking!

Catia
Catia
1 year ago

I want to use this recipe to make a football birthday cake. Will it work on a 6 inch football shaped tin ?

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  Catia
1 year ago

Hi Catia! We have only tried this cake in two 8-inch round pans, and I assume your 6-inch football-shaped pan would be a much smaller volume. You could experiment if you like, baking the cake longer to account for the thicker cake, but then you risk the edges drying out before the middle is baked through. You could alternatively reserve some of the batter and make the leftover batter into cupcakes. I hope that helps! Let us know how it goes 🙂

Martha
Martha
1 year ago

I made this for my mom’s 78th birthday. (I don’t particularly like cake either so I NEVER bake them – I bake pies for birthdays in my house.) However, this recipe was easy to follow, super moist, fudgy with a rich chocolate flavor! It was so good that we will be throwing out the cake recipe we used this year in favor of yours next year in our Science in Cooking class that I co-teach! Great recipe!

Kyla
Kyla
2 years ago

Hello, my oven is quite small and can’t fit two pans at once. Will it be better if i bake the cake in two batches, or can i pour all the batter in one pan and slice the cake in the middle after?

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  Kyla
2 years ago

Hi Kyla! Unfortunately, both of those options are a little bit of a gamble. Baking all the batter in one pan will take much longer than stated in the recipe, and may cause the edges of the cake to be dry and overbaked before the middle has baked through. Waiting to bake the second layer is probably your best bet, but you may lose some of the rise, as the baking soda will have been activated for some time before it hits the oven, which can cause it to lose its leavening ability (more on that, and the differences between baking soda and baking powder here). Good luck and let us know how it goes!

Kyla
Kyla
Reply to  Kiersten @ Handle the Heat
2 years ago

Hello, i ended up baking it in two batches. Fortunately it didn’t lose any rise. My cake turned out thick. It was delicious but i don’t know why the texture was a bit dry? I baked it for 38 minutes..should i lessen the baking time next time? Thankfully the swiss meringue buttercream was perfect and it added some moisture to the cake. Thanks!

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  Kyla
2 years ago

Hi Kyla! So glad to hear that this worked well for you! Yes, if your cake is a little dry, it could be that it was slightly overbaked, so shaving a few minutes off the bake time next time may help. Also, be sure you’re not accidentally adding too much flour – learn more about that here. I hope that helps! Happy baking 🙂

Shell
Shell
2 years ago

Best chocolate cake I’ve ever made. It was a hit with everyone. Chocolatey, moist & delicious. Icing was silky & smooth almost like a chocolate mousse.
I’m planning to make it again but need to use 6inch cake tins, will this recipe be enough for 3 layers? Also making cupcakes, how many will the recipe make?

IMG_9656
Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  Shell
2 years ago

Hi Shell! We are so excited to hear that this recipe was a hit for you! Your cake looks amazing!! We have only tried this cake in two 8-ich pans, so you may need to experiment a little with bake times to perfectly convert this cake to use three 6-inch layers. As for the cupcakes, Tessa already has her Best Ever Chocolate Cupcakes Recipe here! It’s the same base as this recipe. I hope that helps! Happy baking 🙂

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
2 years ago

Hi Maya! We typically use baking bars of chocolate for this recipe, but high-quality chocolate wafers will work perfectly – we just don’t recommend using chocolate chips because they contain ingredients to help them retain their chip shape when baked (think chocolate chip cookies!) so they typically won’t melt as smoothly. As for the jam, we don’t have any particular brand recommendations, but I’m sure that will be absolutely delicious – just be sure to pipe a ‘dam’ of frosting around the edges of layers (by piping a line of frosting just inside the outer edge of the layer, before adding your jam across the top of the cake), to prevent the jam from leaking out. I hope that makes sense, and I hope that helps! Happy baking 🙂

nikki
nikki
2 years ago

I made the cake yesterday with my own frosting and must say, it tasted great. I made my frosting with 1/3 butter, 1/3 chocolate and 1/3 vanilla custard.

00cd1879-f159-4a80-8d7d-51efc9dd1b2e
Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  nikki
2 years ago

It looks so beautiful, Nikki! Glad to hear that you enjoyed this cake 🙂

Susan
Susan
2 years ago

Can you use gluten-free all purpose flour for this recipe?

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  Susan
2 years ago

Hi Susan! We don’t use gluten-free ingredients in our recipes, so we haven’t tried that. Feel free to experiment and let us know how it goes 🙂

Kami
Kami
Reply to  Susan
2 years ago

Hi! I have made this recipe with Gluten Free Jules all purpose flour and it came out AMAZING! I have it non gluten free AND gluten free and couldn’t tell a difference! I hope this helps 🥰

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
2 years ago

We wouldn’t recommend reducing the sugars in this recipe as it will drastically alter the outcome. Sugar does more than just sweeten! I’d encourage you to look for a cake recipe that was tested and created with less sugar. Good luck!