Chocolate Cake

title 1
Chocolate Cake
⏱️ cook time 1 hour 45 minutes
🍽️ servings 8
⚡ Difficulty medium

intro

Rich, moist double-layer chocolate cake with silky chocolate buttercream, a timeless, crowd-pleasing treat perfect for joyful celebrations.

Ingredients

All-purpose flour 240 grams (2 cups)
Granulated white sugar 300 grams (1.5 cups)
Unsweetened Dutch-process cocoa powder 115 grams (approx 1 cup, divided for cake and frosting)
Baking soda 1.5 teaspoons
Baking powder 1 teaspoon
Fine table salt 1 1/8 teaspoons (divided for cake and frosting)
Large eggs (room temperature) 2 units (approx 100 grams total)
Whole milk (room temperature) 240ml (1 cup)
Vegetable oil 120ml (1/2 cup)
Pure vanilla extract 3 teaspoons (1 tablespoon, divided for cake and frosting)
Boiling water 240ml (1 cup)
Unsalted butter (softened to room temperature) 170 grams (3/4 cup / 1.5 sticks)
Powdered sugar 360 grams (3 cups)
Heavy whipping cream 60ml (1/4 cup)

Steps

1

Prep oven and pans

Preheat your oven to 180°C (350°F) with the rack positioned in the middle. Grease the interior of two 9-inch round cake pans with butter, then line the bottom of each pan with a cut circle of parchment paper to prevent sticking. Do not flour the pan sides, as this creates a dry, tough crust.

Step 1
step1:Prep oven and pans
2

Combine dry ingredients

In a large mixing bowl, whisk together 240g all-purpose flour, 75g of the Dutch-process cocoa powder, 300g granulated sugar, 1.5 tsp baking soda, 1 tsp baking powder, and 1 tsp of the fine salt for 45 seconds until fully evenly combined, with no visible clumps of cocoa remaining.

Step 2
step2:Combine dry ingredients
3

Mix wet cake batter

Add the 2 room-temperature large eggs, 240ml room-temperature whole milk, 120ml vegetable oil, and 2 tsp of the vanilla extract to the dry ingredient bowl. Beat with an electric hand mixer on medium speed for 2 minutes, then slowly stir in 240ml boiling water (to avoid hot splashes) until the batter is smooth and thin. The batter will be very liquid, which is normal and creates a moist final crumb.

Step 3
step3:Mix wet cake batter
4

Bake the cake layers

Divide the batter evenly between the two prepared pans, tapping each pan firmly on the counter 3 times to release trapped air bubbles that can cause holes in the baked cake. Bake for 30 to 35 minutes, or until a wooden toothpick inserted into the center of each cake comes out with 2-3 moist crumbs attached (not coated in wet batter). Do not overbake, as this will result in a dry cake.

Step 4
step4:Bake the cake layers
5

Cool baked cake layers

Remove the pans from the oven and set them on a wire cooling rack for 10 minutes, then run a thin offset spatula around the inner edge of each pan and turn the cakes out onto the rack to cool completely to room temperature (about 30 minutes) before frosting. Warm cakes will melt buttercream and cause it to slide off.

Step 5
step5:Cool baked cake layers
6

Frost and assemble cake

To make the buttercream, beat 170g softened unsalted butter on medium speed for 3 minutes until pale and fluffy. Add 360g powdered sugar, the remaining 40g cocoa powder, 60ml heavy cream, the remaining 1 tsp vanilla, and the remaining 1/8 tsp fine salt, beating on low speed for 1 minute then medium speed for 2 minutes until smooth. Place one cooled cake layer on a serving plate, spread 1/3 of the frosting evenly over the top, set the second layer on top, then use the remaining frosting to cover the top and sides of the assembled cake.

Step 6
step6:Frost and assemble cake

Tips

1.Always use room-temperature eggs, milk, and butter for both the cake and frosting: cold ingredients fail to emulsify smoothly, leading to dense, lumpy cake or grainy, separated frosting.
2.Do not skip the boiling water in the cake batter: the hot water blooms the cocoa powder to develop a deeper, richer chocolate flavor and creates the signature moist, tender crumb.
3.If your buttercream is too thick to spread, add 1 teaspoon of heavy cream at a time until it reaches a smooth, spreadable consistency; if it is too thin and slides off the cake, chill it in the fridge for 10 minutes before using.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.7
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.5
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.6
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.5

Chocolate Cake:Frequently Asked Questions

1.Why does my homemade chocolate layer cake turn out dry even when I follow the recipe steps? ▾
The top three culprits are overmeasuring flour (spoon flour into your measuring cup and level it off—don’t scoop straight from the flour bag!), overmixing the batter which creates a tough, dry crumb, or overbaking. Start checking doneness 5 minutes before the recommended bake time; pull the cake when a toothpick inserted in the center has a few moist crumbs attached, not fully clean.
2.Can I make this chocolate layer cake ahead of time for a party or celebration? ▾
Definitely! Bake the cake layers, let them cool fully to room temperature, wrap them tightly in plastic wrap, and refrigerate for up to 2 days (or freeze for up to a month)—they’ll stay perfectly moist. Make the buttercream ahead too, store it covered in the fridge, and let it soften 15 minutes at room temp before frosting for that perfect silky, spreadable texture.

Comments (7)

3 days ago

OMG I made this for my son’s 10th birthday party last weekend and every single kid asked for seconds! I was worried the medium difficulty would trip me up since I’m pretty new to layer cakes, but the instructions were so straightforward. It was SO moist, not that dry crumbly garbage you get from box mix. Total game changer, I’m never buying a store-bought chocolate cake again!

2 days ago

Wait did you do the simple syrup soak step? I almost skipped it and wondered if that’s the secret to the moisture?!

yesterday

So happy it was a hit at the birthday party! @PotluckQueen44 that simple syrup step is non-negotiable for that next-level moist texture, even if you’re short on time don’t skip it!

5 days ago

Took me almost the full 1 hour 45 minutes start to finish, but man was it worth it. Brought a slice to my dorm RA and he gave me a free parking pass lmao. Only note is I accidentally used semi-sweet instead of dark chocolate for the ganache and it was still perfect, not too sweet at all.

3 days ago

Love that hack! Semi-sweet chocolate is a great swap if you don’t love super rich dark chocolate, so glad it worked out for you. That free parking pass is the best review we could ask for 😂

1 week ago

Made this for our Sunday family dinner and even my super picky father-in-law who swears he “doesn’t like cake” ate two slices. I prepped the cake layers the night before to save time and they held up perfectly in the fridge wrapped in plastic. Will absolutely be making this for our next church potluck!

30 minutes ago

Wait, has anyone tried making this gluten free? I want to make it for my best friend who has celiac for her graduation party next week, but I don’t want to mess up the texture! Normally GF cakes turn out super dense for me.

5 minutes ago

I made it last month with a 1:1 GF all purpose flour blend (the one with xanthan gum already in it) and nobody could tell the difference! Just add an extra tablespoon of oil to keep it moist.

just now

Great tip @GFBakePro! We’ve tested this with a couple 1:1 GF flour blends and it works beautifully, just don’t overmix the batter once you add the flour or you’ll get that dense texture you’re worried about.

yesterday

This cake is insane! I made it for my kid’s soccer team end of season potluck and not a single crumb was left. I was shocked how moist it stayed even after being stored in an airtight container for 3 days, most homemade cakes get dry after day 2 for me.

2 hours ago

Wait I was at that potluck!!! That was your cake?? I’ve been asking everyone who brought that chocolate cake all week, I need to make this for my wife’s anniversary dinner next week! 😂

2 weeks ago

Okay full transparency, I messed up the first batch because I forgot to let the butter come to room temp, oops. The second batch turned out incredible though! The frosting is so silky, not grainy at all like other chocolate buttercreams I’ve tried. Only thing is I wish the recipe noted how long to let the layers cool before frosting, I almost put the frosting on too early and it would’ve melted right off.

1 week ago

So glad you gave it a second shot and it turned out! Great note on the cool time – we recommend letting the layers cool on a wire rack for at least 1 hour before frosting, we’ll add that note to the recipe card to make it clearer for future bakers!

2 hours ago

Made this for our office potluck today and three people asked for the recipe before I even left the break room. I added a tiny bit of espresso powder to the batter like I do with all chocolate baked goods and it made the chocolate flavor so much deeper, highly recommend that little hack for any fellow coffee lovers out there. 10/10, will be in my regular dessert rotation from now on.