Your free Layer Cake Starter Kit + weekly picks →

The Best Chocolate Cake Recipe: Moist, Fudgy Layers with Buttercream

Best chocolate cake recipe with two fudgy layers and swoops of chocolate buttercream on a white cake stand

This best chocolate cake recipe bakes fudgy, coffee-kissed layers under silky buttercream in 60 minutes. Your new go-to celebration cake starts here.

Priya Raman

Priya Raman

Author

9 min read
Jump to recipe

Dark, fudgy layers under silky chocolate buttercream make this the best chocolate cake recipe for a bakery-worthy showstopper in about 60 minutes. Hot coffee keeps it impossibly moist, and it's perfect for birthdays or any day worth celebrating.


Oil keeps every crumb tender for days, while tangy buttermilk wakes up the baking soda for a lofty, even rise. One bowl and a whisk do all the work.

Ingredients You'll Need

All-Purpose Flour: This is the quiet backbone of every layer. Spooned and leveled, it gives the cake just enough structure to stand tall under thick frosting. In a pinch, use cake flour with 2 extra tablespoons per cup for an even softer crumb.

Granulated Sugar: Those sparkly crystals do more than sweeten. Sugar holds onto moisture, so every slice stays tender and fudgy for days. Light brown sugar works too and adds a gentle caramel note.

Unsweetened Cocoa Powder: This is the deep, dark heart of both the cake and the buttercream. Always sift it, because cocoa clumps stubbornly and leaves bitter pockets behind. Dutch-process cocoa swaps in beautifully for a smoother, almost black chocolate cake.

Baking Soda: Baking soda reacts with tangy buttermilk and acidic cocoa to give the layers a lofty lift. It also deepens that rich brown color. There's no true substitute, so please check your pantry before you start.

Baking Powder: Think of it as backup lift for a high, even rise. It keeps the centers from sinking after all that fragrant coffee goes in. If you're out, add another ½ teaspoon baking soda plus 1 teaspoon cream of tartar.

Kosher Salt: A little salt goes into both the cake and the buttercream. It makes chocolate taste darker, deeper and less flat. Use half the amount of fine sea salt if that's what you have.

Eggs: Two large eggs bind everything into one glossy, velvety batter. Room temperature matters here, because cold eggs can seize the batter and make it lumpy. A flax egg works for each, though the crumb gets a touch denser.

Buttermilk: Buttermilk brings a gentle tang and a plush, tender crumb. Its acid wakes up the baking soda for that perfect rise. No buttermilk? Stir 1 tablespoon lemon juice into 1 cup milk and wait 5 minutes.

Vegetable Oil: Oil is my secret to a cake that stays soft straight from the fridge. Butter firms up when cold, but oil keeps every bite moist. Any neutral oil works, like canola or light olive oil.

Pure Vanilla Extract: Vanilla is the warm hug under all that chocolate. It rounds out the cocoa's bitterness in both the cake and the frosting. Vanilla bean paste is a lovely, speckled swap.

Hot Brewed Coffee: Freshly made coffee blooms the cocoa and turns the batter silky and pourable. You won't taste coffee, I promise, just bolder chocolate. Hot water works if you'd rather skip caffeine.

Unsalted Butter: Softened butter whips into a pale, fluffy base for the buttercream. Unsalted lets you control the seasoning exactly. Salted butter works if you skip the added salt in the frosting.

Powdered Sugar: Powdered sugar dissolves into butter for a frosting that feels like silk. Sift it, or tiny lumps will snag your smooth swoops. You can blitz granulated sugar with a little cornstarch in a blender instead.

Heavy Cream: A splash of cream loosens the buttercream until it's velvety and spreadable. It also makes the frosting taste rich and luscious. Whole milk works, just add it a spoonful at a time.

All-purpose flour, granulated sugar and sifted cocoa powder in three shallow saucers Baking soda, baking powder and kosher salt in three small shallow saucers Two eggs, buttermilk and vegetable oil in three separate bowls Vanilla extract, hot brewed coffee and softened unsalted butter in three bowls Sifted powdered sugar in a shallow saucer beside a bowl of heavy cream

How to Make It (Step by Step)

Whisk a glossy, coffee-kissed batter, bake two tender layers, then whip up velvety buttercream and frost.

Even if you've never stacked a layer cake before, you'll pull this one off beautifully.

flour, granulated sugar and cocoa powder in separate bowls for the best chocolate cake recipe
  1. Heat your oven to 350°F / 175°C and grease two 9-inch round cake pans. Line each with a parchment circle until the paper sits flat and snug, 10-15 minutes while the oven preheats. This little ritual still calms my nerves.
two greased round cake pans lined with parchment circles
  1. Whisk the flour, sugar, sifted cocoa, baking soda, baking powder and salt in a large bowl. Keep going until it's one even, dusty brown powder with no streaks, 1-2 minutes at room temperature (70°F / 21°C).
whisked dry cake ingredients as an even cocoa-brown powder in a large bowl
  1. Add the eggs, buttermilk, oil and vanilla. Whisk until you have a thick, smooth, glossy batter with no dry pockets, 1-2 minutes at room temperature (70°F / 21°C).
thick glossy chocolate cake batter in a mixing bowl with a whisk
  1. Slowly pour in the hot brewed coffee (about 195°F / 90°C), whisking gently. Stop once the batter turns thin, silky and pourable, about 1 minute. Smell that? That's the cocoa blooming.
thin glossy chocolate cake batter after adding hot coffee
  1. Divide the batter evenly between the pans. Bake 30-35 minutes at 350°F / 175°C until the tops spring back and a toothpick comes out with a few moist crumbs.
two baked chocolate cake layers in round pans on a cooling rack
  1. Cool the layers in their pans for 15 minutes, then turn them onto a wire rack. Let them rest until completely cool to the touch, about 1 hour at room temperature (70°F / 21°C).
two chocolate cake layers cooling on a wire rack
  1. Beat the softened butter in a large bowl with a hand mixer. Keep going until it's pale, creamy and fluffy, 2-3 minutes at cool room temperature (65°F / 18°C).
pale fluffy whipped butter in a bowl beside a hand mixer
  1. Beat in the sifted powdered sugar, sifted cocoa and salt, then the vanilla and cream. Mix until the buttercream turns silky, velvety and spreadable, 3-4 minutes at room temperature (68°F / 20°C).
silky chocolate buttercream in a mixing bowl beside a hand mixer
  1. Set one layer on a cake stand and spread a thick layer of buttercream on top. Stack the second layer and frost the top and sides until smooth with soft swoops, 10-15 minutes at room temperature (68°F / 20°C). Then breathe. You made that.
frosted two-layer chocolate cake on a cake stand with an offset spatula
Chilled, this cake keeps five days and freezes three months; serve slices at room temperature for velvety buttercream. Swap buttermilk with lemony milk, bake layers two days ahead, and spoon flour, never scoop.

Serving size: 1 portion · Calories: 520 · Total Fat: 24g · Saturated Fat: 11g · Carbs: 76g · Fiber: 3g · Sugar: 58g · Protein: 5g · Sodium: 400mg

Tips and Tricks

  • Equipment: Use light aluminum 9-inch round pans: Light metal bakes gently and evenly, so your edges stay tender instead of dark and crusty. Grease them, then press in a parchment circle until it sits flat and snug. Your layers will slide out clean, every single time.
two round cake pans greased and lined with flat parchment circles
  • Temperature precision: Pour the coffee hot, around 195°F / 90°C: Freshly brewed heat is what blooms the cocoa. That's where the deep, almost fudgy chocolate flavour comes from. Lukewarm coffee leaves the taste flat and dusty. Brew it right before you need it.
  • Common mistake: Baking until the toothpick is bone-dry: A spotless toothpick means you've gone too far. Pull the pans when the tops spring back and a few moist crumbs cling. The layers keep setting as they cool in the pans. Trust me, that's the secret to a tender crumb.
  • Flavour upgrade: Add a teaspoon of espresso powder: Whisk it into the dry ingredients with the cocoa. It won't taste like coffee, I promise. It just makes the chocolate taste darker, richer and more grown-up. My birthday clients always ask what's different.
  • Texture tip: Whip the butter first, then be patient: Beat the softened butter alone for 2-3 minutes until it's pale and fluffy. Keep your kitchen cool, around 65°F / 18°C, so it never turns greasy. Then mix in everything else a full 3-4 minutes. You'll get buttercream that's silky, velvety and dreamy to spread.
silky chocolate buttercream in a mixing bowl with a hand mixer beside it

Frequently Asked Questions

Can I make this chocolate cake gluten-free without losing its moist, fudgy crumb?

Yes, swap the flour for 1¾ cups (220 g) of a cup-for-cup gluten-free blend containing xanthan gum, and let the batter rest 10 minutes before baking so the starches hydrate. Check that your cocoa powder and baking powder are certified gluten-free too.

Can I make the chocolate buttercream ahead and store it separately from the cake?

Yes, the buttercream keeps up to 1 week in an airtight container in the fridge or 2 months frozen. Thaw frozen buttercream overnight in the fridge, let it soften at room temperature for about 1 hour, then re-beat with a hand mixer for 2 minutes until silky again.

Why did my chocolate cake layers sink in the middle after baking?

Sinking usually means underbaked layers or an oven door opened too early, so keep it shut for the first 25 minutes and bake until the centers spring back with moist crumbs on the toothpick. Also test your baking soda by fizzing a pinch in vinegar.

What to Serve With This

  • Macerated Strawberries: Sliced berries sit in a little sugar until glossy and jammy, and their bright tartness cuts right through each fudgy bite.
  • Tangy Crème Fraîche: A cool, softly tangy spoonful balances the sweet buttercream and adds a lovely silky contrast to the tender crumb.
  • Blood Orange Segments: Juicy, ruby-red citrus brings a fresh, zesty pop that makes the dark cocoa taste even deeper.
  • Hot Espresso: A small, bitter, fragrant cup tames the sweetness and echoes the coffee already blooming inside the cake.
Chocolate cake slice plated with macerated strawberries, crème fraîche, blood orange segments and espresso

The Best Chocolate Cake Recipe: Moist, Fudgy Layers with Buttercream

Dessert / American

Prep
25 min
Cook
35 min
Total
1 h
Servings
12
Calories
520 kcal

Ingredients

  • 1¾ cups (220 g) all-purpose flour, spooned and leveled
  • 2 cups (400 g) granulated sugar
  • ¾ cup (65 g) unsweetened cocoa powder, sifted
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • 1 teaspoon kosher salt
  • 2 large eggs, at room temperature
  • 1 cup (240 ml) buttermilk, at room temperature
  • ½ cup (120 ml) vegetable oil
  • 2 teaspoons pure vanilla extract
  • 1 cup (240 ml) hot brewed coffee, freshly made
  • 1 cup (226 g) unsalted butter, softened
  • 3½ cups (420 g) powdered sugar, sifted
  • ¾ cup (65 g) unsweetened cocoa powder, sifted
  • ¼ teaspoon kosher salt
  • 2 teaspoons pure vanilla extract
  • ⅓ cup (80 ml) heavy cream, at room temperature

Instructions

  1. Heat your oven to 350°F / 175°C and grease two 9-inch round cake pans. Line each with a parchment circle until the paper sits flat and snug, 10-15 minutes while the oven preheats. This little ritual still calms my nerves.
  2. Whisk the flour, sugar, sifted cocoa, baking soda, baking powder and salt in a large bowl. Keep going until it's one even, dusty brown powder with no streaks, 1-2 minutes at room temperature (70°F / 21°C).
  3. Add the eggs, buttermilk, oil and vanilla. Whisk until you have a thick, smooth, glossy batter with no dry pockets, 1-2 minutes at room temperature (70°F / 21°C).
  4. Slowly pour in the hot brewed coffee (about 195°F / 90°C), whisking gently. Stop once the batter turns thin, silky and pourable, about 1 minute. Smell that? That's the cocoa blooming.
  5. Divide the batter evenly between the pans. Bake 30-35 minutes at 350°F / 175°C until the tops spring back and a toothpick comes out with a few moist crumbs.
  6. Cool the layers in their pans for 15 minutes, then turn them onto a wire rack. Let them rest until completely cool to the touch, about 1 hour at room temperature (70°F / 21°C).
  7. Beat the softened butter in a large bowl with a hand mixer. Keep going until it's pale, creamy and fluffy, 2-3 minutes at cool room temperature (65°F / 18°C).
  8. Beat in the sifted powdered sugar, sifted cocoa and salt, then the vanilla and cream. Mix until the buttercream turns silky, velvety and spreadable, 3-4 minutes at room temperature (68°F / 20°C).
  9. Set one layer on a cake stand and spread a thick layer of buttercream on top. Stack the second layer and frost the top and sides until smooth with soft swoops, 10-15 minutes at room temperature (68°F / 20°C). Then breathe. You made that.

Share this article

About the author

Priya Raman

Priya Raman

Priya was told her whole life that a cake business was a silly dream, so she built one in the garage and outlasted every doubter. She still gets a lump in her throat when someone opens a box she made. Layer cakes are how she says the things she was never allowed to say out loud.