You need two 9-inch pans, one bowl for the cake and one for the frosting. That's the whole setup. This is the yellow cake people mean when they say yellow cake: buttery, vanilla-scented, pale gold inside, and covered in chocolate.
The buttermilk is what keeps it tender. Don't skip it and don't swap in regular milk without thinking, because the batter relies on it for both texture and lift alongside the baking powder and baking soda.
One thing worth knowing before you start: the frosting gets thick fast. Cream the cocoa and butter well first, then add the sugar slowly, or you'll be scraping a brick off the beaters.
Step-by-Step Instructions
1. Heat the oven and prep the pans
Set the oven to 350°F (180°C). Butter two 9-inch round pans and put a parchment circle in the bottom of each.
2. Cream the butter and sugar
Beat the butter with the sugar on medium for 3 to 5 minutes, until the mixture looks pale and has grown in volume. Stop two or three times to scrape the bowl.
3. Beat in the eggs
Add the eggs one at a time, plus the yolk, beating about 30 seconds after each one. Pour in the vanilla and beat just until it disappears into the batter.
4. Whisk the dry ingredients
In a separate bowl, whisk the flour, baking powder, baking soda and salt together so the leaveners are spread evenly.
5. Alternate dry and buttermilk
Add a quarter of the flour mix and beat about 30 seconds. Add a quarter of the buttermilk and beat another 30 seconds. Keep going back and forth until both are used up, then beat 3 minutes more. The batter should look smooth and glossy.
6. Bake the layers
Divide the batter between the two pans and smooth the tops. Bake 25 to 30 minutes, until a toothpick in the center comes out clean and the tops spring back when you press gently. Cool a few minutes in the pans, then turn them out onto a rack to cool fully.
7. Start the frosting
Beat the frosting butter, cocoa powder and salt on medium for about 3 minutes. It should look thick and dark, with no dry cocoa left. Scrape the bowl.
8. Add sugar and milk
Drop the mixer to low. Alternate the powdered sugar and milk in small additions, speeding up as the sugar works in. Add the vanilla and beat about 1 minute, until smooth and fluffy.
9. Stack and frost
Put a dab of frosting on the cake stand and lay four strips of parchment around the edge. Set one layer down, spread a generous amount of frosting on top, then add the second layer and frost the top and sides.
10. Decorate and serve
Scatter sprinkles over the top if you like. Slide the parchment strips out, slice, and serve.
Variations
Cupcakes
fill paper liners about two-thirds full and bake at 350°F, checking at 18 minutes.
Cocoa swap
use Dutch process cocoa for a darker, milder frosting.
Sprinkle-free
leave the top plain or add a few chocolate curls instead.
Thinner glaze
beat 2 extra tablespoons of milk into the frosting for a pourable finish.
Pro Tips
How to Store Classic Yellow Cake
Refrigerator
Frosted cake keeps in the fridge for up to 3 days in a covered container. Let it sit out 20 minutes before serving so the frosting softens.
Freezer
Wrap unfrosted layers tightly and freeze up to 2 months. Thaw at room temperature before frosting. Frosting alone freezes up to 1 month.
Reheating
No reheating needed. Bring chilled slices to room temperature for the best texture.
Frequently Asked Questions
Q: Can I make this yellow cake ahead of time?
Yes. Bake the layers a day ahead, wrap them well once cool, and keep them at room temperature. Frost the day you plan to serve.
Q: What if I don't have buttermilk?
Stir 1 tablespoon lemon juice or white vinegar into 1 1/4 cups whole milk and let it stand 10 minutes until it looks slightly thickened. Use it the same way.
Q: How do I know the cake is done without a timer?
Press the center gently. It should spring back, and a toothpick inserted in the middle should come out with no wet batter on it. Start checking at 25 minutes.
Q: Can I use a 9×13 pan instead?
Yes, but the bake time changes. Pour the batter into one greased 9×13 pan and start checking around 30 minutes, since a single deeper layer takes longer than two thin ones.
Q: Why is my chocolate frosting grainy?
Usually it's unsifted powdered sugar or cocoa. Sift both, and beat a little longer after the last addition.

Classic Yellow Cake With Chocolate Frosting
A soft buttery yellow cake with a cocoa frosting that comes together in one bowl each. Two 9-inch layers, ready to frost in about 45 minutes.
Ingredients
Instructions
- 1Heat the oven and prep the pans — Set the oven to 350°F (180°C). Butter two 9-inch round pans and put a parchment circle in the bottom of each.
- 2Cream the butter and sugar — Beat the butter with the sugar on medium for 3 to 5 minutes, until the mixture looks pale and has grown in volume. Stop two or three times to scrape the bowl.
- 3Beat in the eggs — Add the eggs one at a time, plus the yolk, beating about 30 seconds after each one. Pour in the vanilla and beat just until it disappears into the batter.
- 4Whisk the dry ingredients — In a separate bowl, whisk the flour, baking powder, baking soda and salt together so the leaveners are spread evenly.
- 5Alternate dry and buttermilk — Add a quarter of the flour mix and beat about 30 seconds. Add a quarter of the buttermilk and beat another 30 seconds. Keep going back and forth until both are used up, then beat 3 minutes more. The batter should look smooth and glossy.
- 6Bake the layers — Divide the batter between the two pans and smooth the tops. Bake 25 to 30 minutes, until a toothpick in the center comes out clean and the tops spring back when you press gently. Cool a few minutes in the pans, then turn them out onto a rack to cool fully.
- 7Start the frosting — Beat the frosting butter, cocoa powder and salt on medium for about 3 minutes. It should look thick and dark, with no dry cocoa left. Scrape the bowl.
- 8Add sugar and milk — Drop the mixer to low. Alternate the powdered sugar and milk in small additions, speeding up as the sugar works in. Add the vanilla and beat about 1 minute, until smooth and fluffy.
- 9Stack and frost — Put a dab of frosting on the cake stand and lay four strips of parchment around the edge. Set one layer down, spread a generous amount of frosting on top, then add the second layer and frost the top and sides.
- 10Decorate and serve — Scatter sprinkles over the top if you like. Slide the parchment strips out, slice, and serve.




Questions or cooking notes?
Ask about an ingredient or share a tip that could help someone else.