Classic Yellow Cake with Rich Chocolate Frosting Recipe

This is the farmhouse birthday cake we always make — familiar, simple, and reliably delicious. The combination of cake flour and buttermilk yields a tender, moist crumb that stays fresh for days. Dress it with sprinkles and a candle for an easy-from-scratch celebration.

Sliced yellow cake showing moist layers and thick chocolate frosting filling.

The cake itself is tender and perfectly moist, but the frosting is the recipe’s standout. It begins as a warm ganache and is then chilled and whipped into a light, airy chocolate frosting. It’s smoother and less sweet than ordinary buttercream, with a fudgy finish that pipes and spreads beautifully — a bakery-quality result you can make at home.

What You’ll Need

Equipment

  • 2 (8-inch) round cake pans: Using the correct pan size helps ensure the bake time and layer thickness are consistent.
  • Stand mixer or hand mixer
  • Parchment paper: Essential for reliable release and clean edges.
  • Offset spatula: For a smooth, professional finish on the frosting.
ingredients for cake laid out on marble counter.

Ingredients

Scaling it up: For a 4-layer cake or two sheet cakes, make two separate batches unless you have a large commercial mixer. A double batch can overfill a standard home mixer.

For the Yellow Cake

  • 2 ½ cups cake flour (300 grams)Cake flour gives a light, tender crumb. If you must substitute, use all-purpose flour but replace 2 tablespoons per cup with cornstarch.
  • 2 teaspoons baking powder
  • ¾ teaspoon saltReduce to ½ teaspoon if using salted butter.
  • ½ teaspoon baking soda
  • 1 ½ cups granulated sugar
  • 12 tablespoons unsalted butter, softened(1 ½ sticks)
  • 4 eggsRoom temperature is best.
  • 1 cup buttermilkRoom temperature. If you don’t have buttermilk, stir 2 tablespoons white vinegar into 1 cup whole milk and let sit 5 minutes.
  • 2 teaspoons vanilla extract

For the Whipped Chocolate Frosting

  • 8 ounces semi-sweet chocolate, chopped
  • 8 ounces milk chocolate, chopped — or use all of one type if you prefer
  • 8 tablespoons unsalted butter, softened (1 stick)
  • ½ cup granulated sugar
  • 1 teaspoon vanilla extract
  • Pinch of salt
  • 1 ½ cups heavy cream

Instructions

Don’t Want a Layer Cake?

9×13 sheet cake: Batter fits a standard 9×13 pan; bake 30–35 minutes. You’ll have plenty of frosting, so feel free to heap it on.

Cupcakes: Makes about 24 standard cupcakes; bake 18–20 minutes and check early to keep them moist.

Prep Your Pans

Grease two 8-inch pans, line the bottoms with parchment circles, and grease the parchment. This guarantees the layers release cleanly and keeps the edges intact.

Cream the Butter and Sugar

In a stand mixer, beat the softened butter and sugar on medium-high speed for 3–4 minutes until the mixture is pale and very fluffy. This aeration gives the cake lift — don’t rush it.

fluffy butter and sugar

Add the Eggs

Reduce the mixer speed and add the eggs one at a time, mixing 20–30 seconds after each addition. The batter may look slightly curdled after the eggs — this is normal and will smooth once the flour is incorporated.

eggs partially added to mixing bowl.

Alternate Wet and Dry Ingredients

With the mixer on low, add the dry ingredients and buttermilk in alternating additions: flour (1/3), half the buttermilk, repeat, ending with flour. Mix only until the flour streaks disappear to avoid developing gluten and toughening the cake.

3 process images showing finished batter at end.
  1. Add 1/3 of the flour mixture and mix on low until just combined.
  2. Add 1/2 of the buttermilk mixture and mix on low.
  3. Repeat, ending with the flour. Mix as little as possible once flour is added.

Bake and Cool

Divide batter evenly between the two pans and smooth the tops. Bake at 350°F for about 25 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs. Cool in the pans for 10 minutes, then invert onto a wire rack to cool completely — frosting a warm cake will cause slippage.

cake pans before and after baking.

Make the Chocolate Base

For the frosting, heat the heavy cream and sugar until the sugar dissolves and the cream is steamy (do not boil). Place the chopped chocolate in a bowl or the mixer bowl and pour the hot cream over it. Let sit for about a minute to soften, then stir until smooth and glossy to create a ganache base.

cream and sugar in saucepan then poured over chocolate.

Chill and Whip

Cool the ganache to around 70°F (cool to the touch). Using the whisk attachment, whip on medium speed and add the softened butter in tablespoon-sized pieces. Increase to high and whip 2–3 minutes until the mixture transforms into a lighter, fluffy frosting. Finish with vanilla and a pinch of salt. The frosting should feel neutral to the touch; if it’s too warm it will be loose, too cold and the butter won’t blend.

whipped ganache on whisk attachment.

Assembly

Set one cake round on a serving plate and spread about 1 ½ cups of frosting evenly over the top. Place the second layer on top and coat the top and sides with the remaining frosting. Chill the cake briefly to set, then bring it to room temperature for 30–45 minutes before serving to restore the silky whipped texture.

img 113221 9

Storage Instructions

frosting and sprinkled cake
  • Refrigerate: Store the cake in an airtight container in the fridge for up to 4 days.
  • Before serving: Let the cake or slices sit at room temperature for about 30 minutes to return the frosting to its best texture.
  • Make ahead: Bake layers 1–2 days in advance; cool completely, wrap tightly, and store at room temperature (for next-day use) or refrigerate.
  • Freezing: Wrap unfrosted layers in plastic wrap and foil; freeze up to 2 months. Thaw in the fridge overnight before frosting.

In Case You’re Wondering

Why is my frosting not whipping up?

Most likely the ganache was too warm when you started adding butter. Chill the bowl for 10–15 minutes to firm it slightly, then try whipping again.

Can I use chocolate chips instead of baking bars for the frosting?

Avoid chocolate chips — they often contain stabilizers that can make the frosting grainy or waxy. Use chopped baking bars for the best texture.

Why did my cake sink in the middle?

Sinking usually happens if the oven door was opened too early or the center wasn’t set before cooling. Resist peeking until the timer is close or until the cake is visibly pulling away from the pan edges.

Printable Recipe

round cake cut to reveal layers.

Yellow Cake with Chocolate Frosting

img 113221 12Katie Shaw

A classic birthday cake with a tender crumb from cake flour and buttermilk, finished with a silky whipped ganache-style chocolate frosting that’s rich without being overly sweet.
Print Recipe
Download PDF
Pin Recipe
Prep Time 20 mins
Cook Time 25 mins
Total Time 45 mins
Servings 12 slices

Equipment

  • Stand mixer
  • 2 8-inch round cake pans
  • Parchment paper

Ingredients

Cake

  • 2 ½ cups cake flour (300 grams)
  • 2 teaspoons baking powder
  • ¾ teaspoon salt
  • ½ teaspoon baking soda
  • 1 ½ cups granulated sugar
  • 12 tablespoons unsalted butter, softened
  • 4 large eggs (room temperature)
  • 1 cup buttermilk (room temperature)
  • 2 teaspoons vanilla extract

Frosting

  • 8 ounces semi-sweet chocolate, chopped
  • 8 ounces milk chocolate, chopped
  • 8 tablespoons unsalted butter, softened
  • ½ cup granulated sugar
  • 1 ½ cups heavy cream
  • 1 teaspoon vanilla
  • Pinch of salt

Instructions

Make Cake

  • Prep. Preheat oven to 350°F. Grease two 8-inch round pans, line with parchment, and grease the parchment.
  • Dry ingredients. Sift cake flour, baking powder, salt, and baking soda together.
  • Cream butter and sugar. Beat 12 tablespoons softened butter and 1 ½ cups sugar on medium-high for 3–4 minutes until pale and fluffy.
  • Add eggs. Add eggs one at a time, mixing well after each.
  • Combine. On low, add 1/3 of the flour, then half the buttermilk with vanilla. Repeat, ending with flour. Mix until just combined.
  • Bake. Divide batter between pans and bake 25 minutes or until a toothpick comes out clean. Cool 10 minutes in pans, then invert onto a rack to cool completely.

Make Frosting

  • Heat mixture. Warm heavy cream and ½ cup sugar until steamy and sugar dissolves. Pour over chopped chocolate and let sit 1–2 minutes, then stir until smooth.
  • Chill and whip. Cool ganache to about 70°F. Using the whisk attachment, whip on medium while adding 8 tablespoons softened butter in chunks. Increase to high and whip 2–3 minutes until light and fluffy. Stir in vanilla and a pinch of salt.
  • Assemble. Frost cooled layers, refrigerate to set, and let sit at room temperature 30 minutes before serving.

Notes

Store in the refrigerator up to 4 days. Bring to room temperature before serving for best texture.

If you don’t have cake flour: measure 2 1/2 cups all-purpose flour, remove 5 tablespoons, and replace with 5 tablespoons cornstarch.

Nutrition info is per serving (1/12 of cake with frosting).

Nutrition

Calories: 736kcal
Carbohydrates: 76 g
Protein: 9 g
Fat: 46 g
Did you make this?Let me know how it went!