Yellow Cake Recipe (Moist & Buttery)

Last updated: November 13, 2026.

Yellow cake gets its golden color and rich flavor from egg yolks and butter. This version bakes up moist with a fine, tender crumb — the classic layer cake that pairs with chocolate, vanilla, or fruit frosting.

If you have never baked a layer cake from scratch, this is the version to start with. The method is simple — cream the butter and sugar, add the eggs, alternate the flour and milk — and the extra yolks do the work of keeping the crumb rich and golden. Room-temperature ingredients are the one thing that matters: cold eggs and milk make the batter curdle instead of blending smooth.

Yellow cake belongs in our baking dessert recipes collection, and it is the layer cake to learn first — the birthday cake, the bake-sale cake, the one every frosting was invented for. If you are still choosing what to bake, our dessert recipes hub has the full list of ideas.

Why You’ll Love This Yellow Cake

  • Moist, tender crumb. Extra yolks and the alternating flour-and-milk method give a fine, soft crumb that stays moist for days.
  • Golden and buttery. The yolks bring the color and the butter brings the flavor — this is why yellow cake tastes richer than white cake.
  • One-bowl method, more or less. Cream, add, alternate, bake. No fussy steps and nothing to fold.
  • Frosts with anything. Chocolate, vanilla buttercream, cream cheese frosting or fresh fruit — the cake takes them all.
  • Freezes beautifully. Bake the layers ahead, freeze them wrapped, and frost on the day — the birthday-cake cheat that works.

Ingredients

Cake

  • 315 g (2 1/2 cups) cake flour (or all-purpose flour minus 2 tablespoons cornstarch per cup)
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon fine salt
  • 170 g (3/4 cup) unsalted butter, softened
  • 350 g (1 3/4 cups) granulated sugar
  • 3 large egg yolks, plus 1 whole egg, room temperature
  • 2 teaspoons vanilla extract — where to buy
  • 240 ml (1 cup) whole milk, room temperature

Equipment

  • Two 8-inch (20 cm) round cake pans — where to buy
  • Parchment paper — where to buy
  • Large mixing bowl
  • Hand mixer or stand mixer — where to buy
  • Whisk
  • Spatula
  • Wire racks
  • Measuring cups and spoons

How to Make Yellow Cake

Step 1 — Preheat and Prepare the Pans

Heat the oven to 350°F (175°C). Grease and flour two 8-inch (20 cm) round pans and line the bottoms with parchment paper.

Step 2 — Whisk the Dry Ingredients

Whisk the flour, baking powder and salt together in a medium bowl until evenly mixed.

Step 3 — Cream the Butter and Sugar

Beat the butter and sugar with a hand mixer or stand mixer until pale and fluffy, about 3 minutes. Beat in the egg yolks, the whole egg and the vanilla until smooth.

Electric mixer beating pale yellow cake batter in a steel bowl — Desert Dishes
Figure 2. Beating the batter with an electric mixer

Step 4 — Alternate Flour and Milk

Add the dry ingredients in three additions, alternating with the milk, beginning and ending with flour. Mix just until smooth — do not overbeat.

Step 5 — Divide Between the Pans

Divide the batter evenly between the prepared pans and smooth the tops.

Pale yellow cake batter spread in a round cake tin, ready to bake — Desert Dishes
Figure 3. Cake batter spread in a round cake tin, ready to bake

Step 6 — Bake

Bake for 25–30 minutes, until a toothpick in the center comes out clean and the tops spring back lightly when pressed.

Step 7 — Cool Completely

Cool the cakes for 10 minutes in the pans, then turn them out onto wire racks to cool completely before frosting.

Slice of golden sponge cake with strawberries and whipped cream — Desert Dishes
Figure 4. Slice of golden sponge cake with strawberries and whipped cream

Step 8 — Frost and Serve

Frost with chocolate, vanilla or fruit frosting once the layers are completely cool, then slice and serve.

Yellow cake with chocolate icing and vanilla pudding filling, with a slice served on a plate — Desert Dishes
Figure 5. Yellow cake with chocolate icing, a slice served on a plate

Tips for Perfect Yellow Cake

  • Extra yolks, richer crumb. The yolks are what make this cake golden and tender — whites alone give a paler, drier cake.
  • Room temperature matters. Cold milk and eggs curdle the batter. Set them out 30 minutes before you start.
  • Weigh the flour. Spooning and leveling — or better, weighing — keeps the crumb light instead of dense.
  • Do not overbeat. Once the flour goes in, mix just until smooth. Overbeaten batter bakes up tough and dense.
  • Begin and end with flour. Alternating dry and wet, starting and finishing with flour, keeps the batter emulsified and the crumb even.
  • Cool before frosting. Frosting a warm layer melts straight off. Wait until the layers are completely cool to the touch.

Storage, Make-Ahead and Freezing

  • Room temperature: the frosted cake keeps covered for up to 3 days. Press plastic wrap on any cut surface to slow drying.
  • Make ahead: bake the layers a day early, wrap them well once cool, and frost on the day.
  • Freezing: freeze unfrosted layers, wrapped tightly in plastic and foil, for up to 2 months. Thaw overnight in the fridge, still wrapped, before frosting.
  • Serving: slice with a long, sharp knife wiped clean between cuts for neat layers.

Variations

  • Buttermilk yellow cake. Swap the milk for buttermilk for a slight tang — reduce the baking powder by 1/2 teaspoon.
  • Chocolate-frosted classic. The traditional pairing: yellow layers with rich chocolate frosting.
  • Lemon yellow cake. Add 1 tablespoon of lemon zest to the batter and frost with lemon buttercream.
  • Yellow cupcakes. Divide the batter among 24 lined muffin cups and bake 18–20 minutes.
  • Oil version. Replace the butter with 2/3 cup (160 ml) neutral oil for a very moist crumb — a little less buttery, so keep the full vanilla.

Nutrition

One slice (1 of 12, unfrosted) has about 330 calories, 49 g carbohydrates, 5 g protein, 13 g fat, 8 g saturated fat, 29 g sugar, 1 g fiber and 220 mg sodium. Nutrition information is an estimate only. Frosting adds calories not counted here.

Dietary notes: Contains wheat (gluten), egg, and milk. Vegetarian.

Nutrition per serving (1 of 12 slices) – values are an estimate only
Calories 330
Carbohydrates 49 g
Protein 5 g
Fat 13 g
Saturated fat 8 g
Sugar 29 g
Fiber 1 g
Sodium 220 mg

How we write our recipes: Every Desert Dishes recipe is written with US home cooks in mind — ingredients are given in cups and grams, temperatures in Fahrenheit and Celsius, and times are stated as ranges where ovens vary. Our Recipe Testing Policy explains how recipes are checked and corrected. Found an error? Contact us and we will fix it — see our Corrections Policy.

Shop This Recipe

As an Amazon Associate, Desert Dishes earns from qualifying purchases.

Ingredients

Baking Equipment

FAQ

Why is it called yellow cake?

The name comes from the egg yolks in the batter, which give the cake its golden-yellow color and rich flavor — the same reason it tastes more buttery than a white cake.

Can I make yellow cake with oil instead of butter?

Yes — replace the butter with 2/3 cup (160 ml) neutral oil for a very moist crumb. The flavor will be a little less buttery, so keep the full vanilla and consider adding 1/4 teaspoon butter extract if you have it.

How do I keep yellow cake moist?

Do not overbake, use room-temperature ingredients, and store the frosted cake covered at room temperature for up to 3 days. A thin layer of frosting or plastic wrap pressed on a cut surface slows drying.

Can I freeze yellow cake layers?

Yes. Cool the layers completely, wrap each tightly in plastic and foil, and freeze up to 2 months. Thaw overnight in the refrigerator, still wrapped, before frosting.

Times, servings and nutrition values are standard guidance and may vary.

Two-layer yellow cake with chocolate frosting, a slice cut to show the golden crumb — Desert Dishes
Desert Dishes Team

Yellow Cake Recipe

Moist, buttery, golden layer cake with a tender crumb — the classic homemade cake that pairs with chocolate, vanilla, or fruit frosting.
Prep Time 20 minutes
Cook Time 30 minutes
Total Time 50 minutes
Servings: 12 slices
Course: Dessert
Cuisine: American
Calories: 330

Ingredients
  

Cake
  • 315 g cake flour 2 1/2 cups (or all-purpose flour minus 2 tablespoons cornstarch per cup)
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon fine salt
  • 170 g unsalted butter softened; 3/4 cup
  • 350 g granulated sugar 1 3/4 cups
  • 3 large egg yolks, plus 1 whole egg room temperature
  • 2 teaspoons vanilla extract
  • 240 ml whole milk room temperature; 1 cup

Equipment

  • Two 8-inch (20 cm) round cake pans
  • Parchment paper
  • Large mixing bowl
  • Hand mixer or stand mixer
  • Whisk
  • Spatula
  • Wire racks
  • Measuring cups and spoons

Method
 

  1. Heat the oven to 350°F (175°C). Grease and flour two 8-inch (20 cm) round pans and line the bottoms with parchment paper.
  2. Whisk the flour, baking powder and salt together in a medium bowl until evenly mixed.
  3. Beat the butter and sugar with a hand mixer or stand mixer until pale and fluffy, about 3 minutes. Beat in the egg yolks, the whole egg and the vanilla until smooth.
    Electric mixer beating pale yellow cake batter in a steel bowl — Desert Dishes
  4. Add the dry ingredients in three additions, alternating with the milk, beginning and ending with flour. Mix just until smooth — do not overbeat.
  5. Divide the batter evenly between the prepared pans and smooth the tops.
    Pale yellow cake batter spread in a round cake tin, ready to bake — Desert Dishes
  6. Bake for 25–30 minutes, until a toothpick in the center comes out clean and the tops spring back lightly when pressed.
  7. Cool the cakes for 10 minutes in the pans, then turn them out onto wire racks to cool completely before frosting.
    Slice of golden sponge cake with strawberries and whipped cream — Desert Dishes
  8. Frost with chocolate, vanilla or fruit frosting once the layers are completely cool, then slice and serve.
    Yellow cake with chocolate icing and vanilla pudding filling, with a slice served on a plate — Desert Dishes

Notes

Use room-temperature eggs and milk so the batter blends smoothly, and do not overbeat once the flour goes in — overmixed batter bakes up dense instead of tender.

More Recipes to Try

More from Desert Dishes — try these next:

Yellow Cake Recipe — Moist & Buttery! — Desert Dishes
Figure 6. Save this yellow cake for later — Yellow Cake Recipe, Moist & Buttery!

Get New Dessert Recipes by Email

New dessert recipes, straight to your inbox. No spam, unsubscribe anytime.

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe Rating




Scroll to Top