Tessa’s Recipe Rundown
Taste: Loaded with chocolate flavor and just the perfect balance of sweetness.
Texture: Crazy moist, tender, and fudgy with the silkiest and creamiest chocolate frosting ever!
Ease: The cake batter is crazy quick & easy. The frosting is a little more involved, but totally doable, promise.
Why You’ll Love This Recipe: Best ever chocolate cake… need I say more?!
This post may contain affiliate links. Read our disclosure policy.
This Best Chocolate Cake recipe is your new go-to cake recipe! Birthdays, Christmas, dinner parties, you name it – this cake is the perfect crowd-pleasing dessert.

I have a confession to make. I’m not a big cake fan. As a professional baking blogger, I know this is basically heresy.
But I just find the majority of cakes out there to be either dry and bland, sickly sweet and artificial tasting, or so light in texture that I would rather have a brownie.

Free Baking Science Mini-Course!
From cookies that spread to undercooked brownies, this FREE 5-day Baking Science course helps you conquer common baking challenges and make bakery-worthy treats every time.
That is, until I met this cake! This is the BEST chocolate cake recipe I’ve EVER tried!

I could eat this cake and the chocolate frosting weekly… for eternity!
When this best chocolate cake comes out of the oven, the tops of the layers are actually shiny and slightly crackled, almost like a brownie. That’s how fudgy it is.
The cake batter itself is so crazy easy to whip up. You don’t even need a mixer for the batter. That allows you to focus your energy on the Chocolate Swiss Meringue Buttercream, which truly takes this cake to another level.
You could also have fun and get creative with flavors and fillings here. Maybe add some orange zest to the cake & frosting, some raspberries or jam to the filling, or some salted caramel for good measure?
But sometimes there’s nothing better than pure chocolate indulgence. You’ll want to go totally Matilda on this cake!
I hope you make this chocolate cake from scratch for someone special soon!


Sprinkle of Science
How to Make the Best Chocolate Cake Recipe
The Chocolate
We can’t make the best Chocolate Cake without paying attention to the chocolate ingredients! The cake contains:
- Both bittersweet chocolate AND Dutch-process cocoa powder, for as much chocolate flavor as possible.
- The chocolate frosting uses melted chocolate for the most intense and pure chocolate flavor.
- I like to use semisweet chocolate in the frosting but feel free to use milk or bittersweet chocolate, noting that this will also alter the sweetness levels.
- Just make sure you’re using the highest quality chocolate you can.
- Learn more about Chocolate in Baking here.
Do I Have to Use Dutch-Process Cocoa Powder?
I recommend sticking with Dutch-process cocoa as it works differently on a chemical level compared to regular natural cocoa. So why am I using Dutch-process cocoa with baking soda for this recipe? Shouldn’t it be baking powder? Here’s why:
- Dutch-process cocoa has more fat than most grocery store natural cocoa powder products, so it’s actually used for flavor and moisture in this specific recipe.
- The vinegar in this recipe activates the baking soda. Do not substitute or skip this.
- You can find Dutch-process cocoa at many gourmet food stores, like Target, Whole Foods, Sur la Table, and Williams-Sonoma.
- You can also buy it easily online from Amazon.
- If you can’t find it, you can use regular unsweetened cocoa powder – just remove the vinegar in the recipe completely.
- You can learn more about the differences between cocoa powders here.
Why is There Espresso Powder in Chocolate Cake? Can I Omit it?
- You may have noticed that some chocolate cake recipes utilize hot water or hot coffee.
- When hot liquid is combined with the cocoa powder, it helps to dissolve and ‘bloom’ the cocoa to bring out as much flavor with as few cocoa lumps as possible.
- In this recipe, I use a combination of hot water and instant espresso powder.
- The espresso simply enhances the chocolate flavor without actually tasting like coffee.
- Alternatively, you could use strong hot coffee for the same effect.
- I never have coffee on hand so for me, espresso powder + hot water is easier.
- If you don’t like the taste of coffee or espresso, just use hot water and omit the espresso powder completely.
What’s the Best Pan for Baking Chocolate Cake?
This recipe uses two 8-inch round cake pans. I love these Fat Daddios pans because they bake evenly and come out cleanly.
How to Make Moist Chocolate Cake
The ingredients below all help to create a moist, tender, and fudgy cake, for the BEST chocolate cake ever.
Oil vs. Butter in Chocolate Cake
- This chocolate cake recipe calls for vegetable oil instead of melted butter.
- Oil creates an ultra-moist texture and open, slightly spongy crumb.
- Cakes made with oil feel more “moist” because the fat is a liquid at room temperature, so it coats the tongue and gives the sensation of moisture.
- Be sure to use fresh vegetable oil. Give it a sniff before using to make sure it doesn’t have any off flavors.
- Feel free to use melted coconut oil instead of vegetable oil!
The Sugar
This recipe uses a combination of granulated and brown sugars. Here’s why:
- This sugar combination creates a flavorful, moist, and fudgy cake.
- Brown sugar is more hygroscopic, which basically means it draws and attracts moisture more than granulated white sugar.
- I also like the slightly complex butterscotch flavor it adds.
- Don’t reduce the amount of sugar in this chocolate cake recipe! Sugar does so much more than simply sweetening your baked goods. Learn all about sugar’s role in baking here.
The Eggs
The more whole eggs in a cake recipe, the richer it’ll be. Since the yolk contains most of the fat in an egg, it also lends richness to cakes. Adding an egg yolk to this recipe also helps increase the fudge factor. Be sure your eggs are at room temperature so they blend into the batter smoothly.
Can I Bake a Chocolate Cake Without Eggs?
Eggs are a critical part of this particular recipe. If you replace them with a substitute, you’ll likely end up with a texture that’s much less rich and fudgy. However, if you can’t have eggs, check out my friend Gemma’s tutorial on replacing eggs in baking recipes.
Sour Cream
Sour cream also adds richness and a nice balance of flavor to this Best Chocolate Cake. It helps make the cake more tender and fudgy. Be sure to use full-fat sour cream that’s at room temperature. Full-fat Greek yogurt should work just fine if that’s all you can find. I haven’t tried any dairy substitutes.
Chocolate Swiss Meringue Buttercream Frosting
- This recipe uses my all-time favorite frosting: Chocolate Swiss Meringue Buttercream.
- It is a little more advanced, but the result is a frosting so silky, smooth, creamy, and not too sweet. It’s 100000% worth the effort.
- The ingredients & directions are included in the cake recipe below, but I also have an entire step-by-step tutorial on how to make chocolate Swiss meringue buttercream here.
- I think the best part about this buttercream frosting is how easy it is to work with. It just glides right onto the cake effortlessly.
- Since it is so silky, it’s not the best frosting to use for any super intricate cake decorating.
- If you don’t want to make Swiss Meringue Buttercream, you could make a double batch of this Dark Chocolate Buttercream instead, or even use my decadent chocolate ganache recipe!
Do I Have to Keep This Cake Refrigerated?
Since frosting acts as a protective seal that keeps the cake moist and fresh, frosted cakes can be stored at a cool and dry room temperature for up to 2 days. Here are my best tips:
- Cover Best Chocolate Cake with a cake keeper to keep the chocolate buttercream frosting intact.
- Don’t use plastic wrap, which will not only ruin your frosting but also create condensation that can cause the frosting to separate.
- I personally don’t worry about keeping frosting at room temperature since the sugar acts as a preservative, but if this concerns you, store the cake in the fridge.
How Can I Turn This Into Chocolate Cupcakes?
Lucky for you, I already have a Best Ever Chocolate Cupcakes Recipe here! It’s the same base as this recipe.

More Cake Recipes You’ll Love:
- Best Ever Chocolate Cupcakes (the cupcake version of this recipe!)
- Chocolate Bundt Cake
- Easy Chocolate Sheet Cake
- Chocolate Zucchini Cake
- Chocolate Lava Cakes
- Flourless Chocolate Cake
My Favorite Cake Tools:

Best Chocolate Cake
Email This Recipe
Enter your email, and we’ll send it to your inbox.
Ingredients
For the cake:
- 8 ounces (227 grams) bittersweet chocolate, finely chopped
- 2/3 cup (57 grams) Dutch-process cocoa, sifted
- 2 teaspoons instant espresso powder*
- 1 cup boiling water
- 1 3/4 (222 grams) cups all-purpose flour
- 1 cup (200 grams) granulated sugar
- 1/2 cup (100 grams) packed light brown sugar
- 1 teaspoon fine sea salt
- 1 teaspoon baking soda
- 1 cup (227 grams) sour cream, at room temperature
- 1/2 cup vegetable oil**
- 4 large eggs plus one egg yolk, at room temperature
- 1 tablespoon white vinegar
- 2 teaspoons vanilla extract
For the frosting:
- 2/3 cup (133 grams) granulated sugar
- 4 large egg whites
- 1/4 teaspoon fine sea salt
- 3 sticks (340 grams) unsalted butter, cut into 12 pieces and at room temperature
- 12 ounces (340 grams) semisweet chocolate, melted and cooled slightly
- 1 teaspoon vanilla extract
Instructions
Make the cake:
- In a medium heatproof bowl, add the chocolate, cocoa powder, and espresso powder. Pour hot water over mixture. Cover and let stand for 5 minutes. Whisk mixture gently until smooth then set aside to cool.
- Meanwhile, preheat the oven to 350°F. Butter and flour two 8-inch round cake pans.
- In a small bowl, whisk together the flour, sugars, salt, and baking soda.
- Whisk sour cream, oil, eggs, egg yolk, vinegar, and vanilla into the cooled chocolate mixture until smooth. Stir in the flour mixture until smooth, being careful not to overmix. Batter will be thin.
- Pour the batter into the prepared pans and bake for 35 to 40 minutes, or until a cake tester or toothpick comes out clean. Cool in the pans for 30 minutes, then carefully turn them out onto a cooling rack to cool completely.
Make the frosting:
- Combine the sugar, egg whites, and salt in the bowl of a stand mixer. Set bowl over a saucepan filled with 1-inch of gently simmering water. Whisking gently and constantly, heat mixture until sugar is dissolved and mixture is slightly thickened and foamy and registers 150°F on a candy thermometer or a digital thermometer, about 3 minutes. Remove from heat and carefully wipe the bottom of the bowl dry.
- Fit stand mixer with whisk attachment (not the paddle attachment) and beat the egg white mixture on medium speed until cooled and thickened, about 5 minutes. Add the butter, 1 piece at a time, until smooth and creamy. If the mixture looks curdled, that’s okay. Just keep beating until it becomes smooth. If the butter becomes too warm and greasy, refrigerate the bowl for 10 to 15 minutes then continue to beat until smooth.
- Add chocolate and vanilla and mix until combined. Increase speed to medium-high and beat until light, fluffy, and well combined, about 30 seconds, scraping down the sides of the bowl as necessary.
Assemble:
- Place one cake layer on a cake turntable or cake stand. Spread an even layer of frosting all over the cake layer, pushing it out over the edge slightly. Place the other cake layer upside-down on top of the frosting so that the top of the cake is nice and flat. With an offset spatula, spread the remaining frosting evenly all over the cake, smoothing the edges. Serve or cover and store in the fridge for up to 2 days. Let come to room temperature for an hour before serving.
Recipe Notes
Cake Layers: Wrap unfrosted, un-cut, cooled cake layers in several layers of plastic wrap and place inside a freezer bag. Store at room temperature for up to 5 days, or in the freezer for up to 2 months. Thaw overnight in the fridge.
Frosting: Frosting can be made 1 day ahead of time and stored in an airtight container in the fridge. Let come to room temperature and beat on low with a paddle attachment until creamy. If frosting appears runny or curdled, microwave about 1/4 cup for 5-10 seconds, then mix back into bowl and beat on medium-high until smooth.
Alternatively, freeze the frosting in a ziptop bag or airtight container for up to 1 month. Defrost in the fridge overnight, then let come to room temperature before whipping in the stand mixer on low until light and smooth.

The Ultimate Cookie Handbook
Learn the sweet SCIENCE of cookie baking in a fun, visual way to customize your own recipes frustration-free. Plus, my best 50+ homemade cookies!
This post was originally published in 2018 and has been updated with additional baking tips and recipe improvements. Photos by Ashley McLaughlin.
Marvelous delicious cake. I have made this with the chocolate frosting and also made it with my regular vanilla butter cream frosting. A huge hit both times!
Delicious! I’m so happy to hear this 🙂
Hi Tessa! The frosting looks and sounds AMAZING! Since it contains eggs (albeit somewhat cooked) how long will the frosting keep at room temp vs refrigerated after frosting the cake. Will it be okay 3-4 days at room temp?
I’ve got this question included in the pink tip box above the recipe 🙂 Enjoy your cake!
What if I made a 6” -2 layer cake?
We have family members who prefer chocolate cake with white buttercream frosting. Have you ever tried this and does it still taste as good?
I’m more of a chocolate person myself, so I haven’t tried this recipe with vanilla buttercream; however, I’m sure it’d be delicious! You’re welcome to get creative with the flavors and fillings as well!
I’m a bit confused as to why you used baking soda with Dutch processed cocoa powder. Can I use baking powder instead ?
Dutch-process cocoa powder has more fat than most grocery store natural cocoa powder products, so it’s used for flavor and moisture. The vinegar in the recipe activates the baking soda, which is why I say to omit the vinegar if using natural cocoa 🙂 I would not recommend using baking powder in place of the baking soda.
Wow just made this cake and had it whilst it was still warm with double cream on top.
I have only done the 2 cakes with no buttercream and it was still delicious, soo light, soft, chocolatey and not sickly at all.
I have used regular cocoa powder so I omitted the white vinegar, used Greek yogurt instead of sour cream.
And used a dark tin as that is all I have at the moment but will look into getting the lighter ones.
Thank you very much for this recipe!
Wonderful! I’m so pleased you loved this recipe and that your substitutions worked perfectly 🙂
Hi Tessa,
I’ve made this cake a couple of times already, huge hit! I followed it to a tee and each time it turned out delicious, I was just wondering though how I would amend the recipe if I want it to fit a number 4 cake tin? The measurements being 13.4″ (34cm) high x 10.6″ (27cm) wide (measured from furthermost edges), also if I make the whole cake one day in advanced will the icing be fine to be on the counter top or do you recommend putting it in the fridge? It will be decorated as well with kit kats and smarties (Ill put the smarties on the morning of the party so the colour does not bleed)
Warm regards
Rachel x
I haven’t tried that, but I always recommend using Wilton’s cake serving guide! If you plan on using this specific buttercream recipe with the egg yolk, I highly recommend refrigerating it. Just make sure you give it some time to come to room temperature the day of your party!
Thank you Tessa,
Should I use your other buttercream recipe just to be on the safe side? It’s for young children or will the SMBC be fine, so long as it’s in the fridge? x
Would this be just as good without the coffee?
I talk about the espresso powder in the pink box above the recipe 🙂
What is the mixture that is added to cakes layers before you add the frosting and then next layer?
Hi Ruth, I’m not sure what you mean, can you elaborate? First there is a cake layer, then a layer of frosting, then the second cake layer, and then the cake is completely covered in frosting. There isn’t an additional mixture added.
I made this amazing cake, it the best chocolate cake I’ve ever tasted!! The frosting is out of this world. So delicious. Gonna make it again. ⭐⭐⭐⭐⭐
Amazing! Best frosting ever. A little fussy for the novice but worth every ounce of effort. From a fellow blogger, you are so good with your instructions. Thank you! Canigetthatrecipe.online
Can I make the batter ahead and then bake it the Next day? Thanks for your answer 🙂
Hi Jelena, I don’t suggest making the batter ahead of time due to the leavening agents in the batter. What I’d recommend instead is to make the actual cake ahead of time–I talk about how to do that and keep it fresh in the pink box above the recipe 🙂