Pasta Plus and home cooking, since 2000

Desserts

Yellow Birthday Cake with Chocolate Buttercream

Bake a moist, classic yellow layer birthday cake and finish it with rich chocolate buttercream. Pan sizes, baking time range, frosting measurements, and make-ahead tips.

GnocchiPublished

This is the iconic birthday cake many home cooks picture first: tender yellow cake layers with a deep, swoopy chocolate buttercream that tastes like a celebration all by itself.

A two-layer yellow birthday cake frosted with rich chocolate buttercream on a cake stand, with a slice cut out to show the golden crumb

This guide keeps things steady and precise, from the bake-time range for two 9-inch layers to the simple cues that tell you when they're done. You will also get a few practical tricks for flatter layers and cleaner frosting, including cooling fully and using a quick crumb coat, plus a brief chill, so the buttercream stays in place.

It is a friendly, weekend-level layer cake. A stand mixer is handy, but a hand mixer works just fine. The frosting here is the classic American-style chocolate buttercream, the kind you can swoop, swirl, and pipe without fuss.

For more cozy, classic favorites, peek around Comfort Food Classics or stroll through the sweets in Desserts.

What to expect

  • Birthday-cake flavor: real butter, vanilla, and gentle richness from whole eggs plus extra yolks
  • Soft, even crumb: careful mixing and room temperature ingredients keep it plush
  • Frosting that behaves: an American-style chocolate buttercream that spreads smoothly and pipes neatly
Two golden yellow cake layers cooling on wire racks with parchment paper nearby on a kitchen counter

Why this cake works

  • Creaming builds structure: beating butter and sugar properly helps the cake rise evenly and stay light without turning dry.
  • Yolks add tenderness: extra yolks enrich the crumb and give that signature yellow-cake color.
  • Alternating dry and milk: keeps the batter smooth and prevents overdeveloping gluten, which can toughen cake.
  • Cocoa bloomed with warmth: a little hot water in the buttercream deepens chocolate flavor and helps the frosting turn silky.

Ingredient notes

For the yellow cake

  • All-purpose flour: measure by spooning into the cup and leveling, or use a kitchen scale for best consistency.
  • Baking powder and baking soda: using both helps lift the cake and keeps the crumb tender.
  • Unsalted butter: lets you control salt precisely. Bring it to cool room temperature so it creams well.
  • Neutral oil: a small amount helps the layers stay moist even after chilling.
  • Eggs plus extra yolks: the yolks bring richness and that birthday-cake yellow.
  • Whole milk: adds body and tenderness. Room temperature helps the batter stay smooth.
  • Vanilla extract: classic birthday flavor. Use pure vanilla if possible.

For the chocolate buttercream

  • Unsweetened cocoa powder: natural or Dutch-process both work. Sift if lumpy for a smoother finish.
  • Powdered sugar: sift if needed. Add gradually to prevent a sugar cloud.
  • Heavy cream or milk: cream makes a richer frosting; milk makes it a bit lighter.
  • Salt: a small pinch makes chocolate taste more chocolatey.
Baking ingredients for chocolate buttercream including cocoa powder, powdered sugar, butter, and cream arranged on a counter

Equipment

  • Two 9-inch round cake pans, 2 inches deep
  • Parchment paper rounds (or parchment to trace and cut)
  • Stand mixer or hand mixer
  • Mixing bowls
  • Rubber spatula
  • Wire cooling rack
  • Offset spatula for frosting
  • Instant-read thermometer (helpful, optional)
  • Kitchen scale (helpful, optional)

Pro tips for smooth layers

  • Room temperature matters: butter, eggs, and milk should be cool room temperature so the batter emulsifies instead of curdling.
  • Stop mixing as soon as it comes together: once flour is in, overmixing can make a cake firm instead of fluffy.
  • Even layers: weigh batter in each pan for matching height, then gently tap pans on the counter to pop big bubbles.
  • Doneness cues: look for a lightly golden top that springs back when touched, and a toothpick that comes out clean or with a few moist crumbs.
  • Chill before frosting: cold layers shed fewer crumbs and stack more neatly.
  • Crumb coat first: a thin, messy-looking layer is the secret to a clean final coat.
A two-layer yellow cake with a thin crumb coat of chocolate buttercream applied, sitting on a rotating cake stand

Substitutes

  • Milk: whole milk is best, but 2 percent works. For a richer crumb, swap 1/4 cup of the milk for sour cream.
  • Buttercream dairy: heavy cream, half-and-half, or whole milk can be used to adjust texture.
  • Vanilla: vanilla bean paste can replace extract in equal amounts.
  • Espresso powder (optional): add a small pinch to the buttercream to intensify chocolate without making it taste like coffee.

Variations

  • Confetti birthday style: fold 1/2 cup rainbow jimmies into the finished batter right before dividing into pans.
  • Chocolate ganache drip: pour a slightly cooled ganache over chilled frosting for a dramatic finish.
  • Sheet cake: bake in a 9x13-inch pan and frost generously. Baking time will be longer; use doneness cues plus an extra 5 to 10 minutes as needed.
  • Cupcakes: fill liners 2/3 full and bake until the tops spring back, usually 18 to 22 minutes depending on the oven.

Serving ideas

  • Birthday classic: candles, a tall swirl of frosting, and a shower of sprinkles.
  • Extra-chocolate: add chocolate curls or shaved chocolate on top.
  • Neat slices: dip a long knife in hot water, wipe dry, then slice. Repeat between cuts.
  • With ice cream: vanilla, strawberry, or coffee ice cream pair beautifully with chocolate buttercream.
A single slice of yellow layer cake with thick chocolate buttercream on a dessert plate with a fork beside it

Storage and make-ahead

  • Room temperature: if the room is cool, the frosted cake can sit covered for up to 1 day for the softest texture.
  • Refrigerator: cover and refrigerate up to 4 days. Let slices sit at room temperature 30 to 60 minutes before serving for best flavor and texture.
  • Freeze layers: wrap unfrosted, fully cooled layers tightly in plastic wrap, then foil. Freeze up to 2 months. Thaw wrapped at room temperature.
  • Freeze frosted cake: freeze uncovered until firm, then wrap. Thaw overnight in the refrigerator, then bring to room temperature before serving.

Common mistakes (and easy fixes)

  • Dry cake: most often from overbaking. Pull the layers when a toothpick has a few moist crumbs, not when it is bone-dry.
  • Dense texture: overmixing after adding flour can do it. Mix on low just until combined.
  • Sunken center: underbaking, too much leavening, or opening the oven early. Keep the door closed until at least the 25-minute mark.
  • Frosting too stiff: add cream or milk 1 tablespoon at a time, then beat again.
  • Frosting too soft: chill 10 to 15 minutes, or beat in a bit more powdered sugar.
  • Crumbs in frosting: do a crumb coat and chill it before the final coat.

FAQ

Can this be made as a three-layer 8-inch cake?

Yes. Divide the batter among three 8-inch pans and start checking a little earlier. The layers will bake faster than two thicker 9-inch layers. Use the same doneness cues.

How do you get flat cake layers?

Be careful not to overbeat once flour is added, bake on the center rack, and avoid overfilling pans. If a dome forms, it can be trimmed level once fully cooled.

Can I make the buttercream ahead?

Yes. Store it covered in the refrigerator for up to 1 week. Bring to room temperature and rewhip, adding a splash of cream if needed.

Is Dutch-process cocoa okay?

Yes for the frosting. For the cake itself, this recipe uses no cocoa, so there is nothing to adjust.

Recipe card

Yellow Birthday Cake with Chocolate Buttercream

A moist, classic yellow layer cake built for birthdays, finished with rich chocolate buttercream that spreads smoothly and slices cleanly.

Prep
30 minutes
Cook
28 to 33 minutes
Total
2 hours 15 minutes
Serves
12 slices

Ingredients

  • For the yellow cake:
  • 2 1/2 cups (300 g) all-purpose flour
  • 2 1/2 tsp baking powder
  • 1/2 tsp baking soda
  • 1 tsp fine salt
  • 3/4 cup (170 g) unsalted butter, room temperature
  • 2 tbsp neutral oil (such as canola or grapeseed)
  • 1 3/4 cups (350 g) granulated sugar
  • 3 large eggs, room temperature
  • 2 large egg yolks, room temperature
  • 1 tbsp vanilla extract
  • 1 1/4 cups (300 g) whole milk, room temperature
  • For the chocolate buttercream:
  • 1 1/2 cups (340 g) unsalted butter, room temperature
  • 1 cup (85 g) unsweetened cocoa powder, sifted if lumpy
  • 5 cups (600 g) powdered sugar, sifted if lumpy
  • 1/2 tsp fine salt
  • 1 tsp vanilla extract
  • 1/4 cup (60 ml) hot water
  • 1/4 to 1/2 cup (60 to 120 ml) heavy cream or whole milk, as needed for texture
  • Optional decorations: sprinkles, chocolate shavings, fresh berries

Method

  1. Prep the pans and oven: Heat oven to 350 F (175 C). Grease two 9-inch round cake pans, line bottoms with parchment, then grease the parchment. Lightly flour the sides, tapping out excess.
  2. Mix dry ingredients: In a medium bowl, whisk together flour, baking powder, baking soda, and salt. Set aside.
  3. Cream butter, oil, and sugar: In a large bowl (or stand mixer bowl), beat butter, oil, and granulated sugar on medium-high until very light and fluffy, about 3 to 5 minutes. Scrape the bowl well.
  4. Add eggs and yolks: Beat in the 3 eggs one at a time, mixing about 15 to 20 seconds each and scraping as needed. Beat in the 2 yolks until smooth.
  5. Add vanilla: Beat in vanilla extract.
  6. Alternate dry and milk: With mixer on low, add the flour mixture in 3 additions, alternating with the milk in 2 additions (flour, milk, flour, milk, flour). Mix just until the last streaks of flour disappear. Finish folding gently with a spatula if needed.
  7. Divide and bake: Divide batter evenly between prepared pans and smooth the tops. Bake on the center rack for 28 to 33 minutes, rotating pans once at about the 20-minute mark. Cakes are done when the tops spring back lightly and a toothpick comes out clean or with a few moist crumbs.
  8. Cool: Cool in pans 10 minutes. Run a thin knife around the edge, turn out onto a rack, peel off parchment, and cool completely, at least 1 hour.
  9. Make the chocolate buttercream: In a large bowl, beat butter on medium until creamy, about 2 minutes. Add cocoa powder and beat on low until combined, then medium until smooth.
  10. Add sugar and seasonings: Add powdered sugar, salt, and vanilla. Mix on low until mostly combined, then beat on medium-high until fluffy, about 2 minutes. Scrape the bowl.
  11. Adjust with hot water and cream: With mixer on low, drizzle in hot water. Beat on medium until silky. Add heavy cream or milk 1 tablespoon at a time until the buttercream is spreadable and holds soft peaks.
  12. Level and fill (optional but helpful): If the layers domed, trim the tops level with a serrated knife once fully cool. Place 1 layer on a serving plate or cake stand.
  13. Frost the middle: Spread about 1 cup of buttercream over the first layer, pushing it to the edge.
  14. Stack and crumb coat: Add the second layer, cut-side down for a flatter top. Spread a thin layer of buttercream over the top and sides to trap crumbs. Chill 15 to 20 minutes.
  15. Finish frosting: Apply the remaining buttercream in a smooth or swirled finish. Add sprinkles or other decorations if using.
  16. Slice neatly: For clean slices, let the cake sit at room temperature 30 minutes if chilled. Use a long knife dipped in hot water and wiped dry between cuts.

Notes

  • Pan size note: Two 9-inch round pans are the intended size. If using 8-inch pans, expect slightly taller layers and a few extra minutes of baking time.
  • Make-ahead note: Bake the layers up to 2 days ahead, wrap well, and refrigerate. Bring to room temperature before frosting, or frost while slightly chilled for fewer crumbs.
  • Texture control: Buttercream firms up when cold and softens at room temperature. Use that to your advantage during decorating.

Nutrition

Gnocchi is the cartoon guinea pig on e-rcps.com's newer recipes. A drawing can't taste anything, so the recipes give weights, times and temperatures you can check against your own stove. More about Gnocchi