Golden homemade yellow cake baked in a 9x13 pan and resting on a wooden board with a linen napkin

Yellow Cake: Easy Homemade Recipe with 9 Ingredients

A proper yellow cake tastes of butter and vanilla before it tastes of sugar, and it stays soft enough to give slightly when you press a slice. That is the cake this recipe delivers: a tender golden crumb baked in a 9×13 pan, built from nine pantry staples and ready for any frosting you like.

The texture of a yellow cake gets decided before the oven even warms up. Butter that is cool but pliable, eggs that have lost their fridge chill, and a batter stirred only until the streaks vanish do more for the crumb than any fancy ingredient. A small scoop of sour cream keeps the center moist for days without weighing the cake down.

Birthday parties and bake sales both call for this yellow cake, and so does a plain Tuesday. You need a bowl, a mixer, and about 20 minutes of hands-on time. The oven handles the rest.

Why You’ll Love This Yellow Cake

Nine ingredients, one mixer, and no specialty flour: that short list is why this yellow cake keeps getting baked again.

  • The crumb is fine, tender, and buttery enough that a plain slice tastes complete without frosting.
  • Hands-on work stays near 20 minutes, with the oven doing the heavy lifting.
  • One 9×13 pan feeds 12 people, which covers a birthday table or a classroom party without any layer stacking.
  • Cut squares hold their edges, so they travel well to potlucks and lunch boxes.
  • Everything on the ingredient list lives in a regular pantry and fridge, so a cake craving rarely needs a store run.
  • Leftovers freeze well, which means you can bake early and frost the morning of the event.
Cut square of soft yellow cake on a spatula showing its tender buttery crumb inside

Recipe Snapshot

DetailInfo
Prep Time20 minutes
Cook Time32 minutes
Rest Time45 minutes
Total Time1 hour 37 minutes
Servings12 slices
DifficultyEasy
CuisineAmerican

Yellow Cake Ingredients

Each ingredient in this yellow cake has a specific job, so measure with a little care.

Unsalted butter carries the flavor and lets you control the salt. Whole eggs, yolks included, give the crumb its golden color. Baking powder does the lifting, and a flat cake often traces back to a tin that has been open too long. Sour cream adds acid and fat that soften the crumb. Plain yogurt works in the same amount, or you can skip it and use 1 1/4 cups of milk.

Weigh the flour whenever you can. A scooped cup of flour can weigh noticeably more than a spooned and leveled one, and that extra flour is the most common reason a cake bakes up dry.

Dry ingredients

  • 2 3/4 cups (330 g) all-purpose flour
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon fine sea salt

Wet ingredients

  • 3/4 cup (170 g) unsalted butter, softened
  • 1 1/2 cups (300 g) granulated sugar
  • 3 large eggs, room temperature
  • 1 tablespoon pure vanilla extract
  • 1 cup (240 ml) whole milk, room temperature
  • 1/4 cup (60 g) sour cream, room temperature
Flat-lay of yellow cake ingredients including butter, eggs, flour, sugar, milk, and sour cream on marble

Allergen & Dietary Disclosure

Milk, eggs, and wheat all go into this yellow cake: the butter, milk, and sour cream supply the dairy, and the flour brings the gluten. Plant-based butter and milk can stand in for the dairy, and a gluten-free flour blend can replace the wheat flour, with some change in texture. Packaged ingredients can carry extra allergens, so read each label before you bake.

Equipment Needed

  • 9×13-inch light metal pan: Pale metal heats gently and evenly, while glass or dark pans often brown the edges before the center sets.
  • Parchment paper: A strip across the base with overhang on both long sides works as a sling for lifting the cake out.
  • Hand or stand mixer: Four minutes of creaming by hand is tiring and rarely gets the butter as airy.
  • Kitchen scale: Grams remove the cup-packing guesswork that dries out cakes.
  • Wire rack: Air moving under the cake keeps steam from turning the bottom damp.

Preparation

Pull the butter, eggs, milk, and sour cream from the fridge about an hour ahead. The butter is ready when a fingertip leaves a clean dent without sinking through. Heat the oven to 350°F (175°C) with the rack in the center. Rub a thin film of butter over the bottom and sides of a 9×13-inch pan, press a strip of parchment across the base with the ends hanging over the long sides, and butter the paper lightly too. Line up every measurement before the mixer starts, since the batter moves fast once the eggs go in.

Cold eggs or milk stiffen the creamed butter, which leaves the batter lumpy and the crumb coarse. Give them the full hour, or use the warm-water shortcut in the tips below.

How to Make Yellow Cake

Step 1: Whisk the Dry Mix

Tip the flour, baking powder, and salt into a medium bowl and whisk for about 30 seconds, until the mixture looks uniform and a shade lighter. This spreads the baking powder evenly so no corner of the cake rises faster than another.

Step 2: Cream Butter and Sugar

Beat the butter and sugar in a large bowl on medium-high speed for 4 minutes, scraping the bowl halfway through, until the mixture turns the color of pale cream and looks fluffy, like soft frosting. 

Chef’s Note: this stage traps tiny air pockets that the baking powder expands later, so cutting it short gives a tighter, heavier crumb.

Step 3: Beat In Eggs and Vanilla

Crack in the eggs one at a time, beating about 30 seconds after each so the batter stays glossy instead of splitting, then mix in the vanilla extract. Wash your hands after handling the raw eggs, and keep tasting spoons out of the bowl. If the mixture looks slightly curdled, a spoonful of the flour mixture pulls it back together.

Step 4: Mix in Flour and Milk

Stir the milk and sour cream together in a jug first, so they reach the batter as one smooth liquid. Run the mixer on low and work in the flour mixture in three rounds, pouring in a share of the milk blend between rounds, so flour is both the first and the last addition. Stop the moment the streaks disappear, then fold a few strokes by hand until the yellow cake batter looks thick, pale gold, and glossy.

Step 5: Bake Until Golden

Scrape the batter into the pan, spread it into the corners with a spatula, and rap the pan twice on the counter to knock out large air bubbles. Slide it onto the center rack and bake at 350°F (175°C) for 32 minutes, until the top is evenly gold, the edges just start to release from the pan, and a toothpick poked into the middle comes out with a few dry crumbs. A thermometer at the center should read near 205°F (96°C). 

Chef’s Note: a glass or dark metal pan bakes faster, so begin testing at 27 minutes if that is what you are using.

Step 6: Cool the Cake

Leave the pan on a wire rack for 15 minutes, then lift the cake out by the parchment ends and let it rest on the rack for another 30 minutes. Frost the yellow cake only once the base feels cool to your palm, because a warm sponge melts frosting into a greasy slick.

Four-step collage showing how to make yellow cake from creamed butter and sugar to a baked golden cake on a rack

Pro Tips for Perfect Yellow Cake

  • A common slip: Softening butter in the microwave is a mistake most bakers make once. The edges melt while the center stays hard, and the batter turns greasy and bakes up flat. Cube cold butter and leave it out for 30 minutes instead, and if it has gone shiny, chill it for 10 minutes before creaming.
  • Make ahead: Bake the cake the day before the party. Once wrapped and cooled, the crumb settles and cuts into tidier squares.
  • Storage in one line: Slice only what you plan to serve, since an uncut slab stays tender about a full day longer than pre-cut squares.
  • Technique: Scrape the bottom of the bowl after creaming and again after the eggs, so the finished yellow cake has no greasy streaks from pockets of unmixed butter.
  • Texture: Spoon flour into the measuring cup and level it with a knife, or better, weigh it. Packed scoops add flour and dry out the crumb.
  • Time saver: Set the eggs in a bowl of warm tap water for 5 minutes and stand the milk jug in warm water while the oven heats. Both reach room temperature without the hour-long wait.

Yellow Cake Troubleshooting

Even a simple yellow cake can go sideways in a few predictable ways, and each one has a clear cause.

  • The center sinks. The oven door was probably opened before the structure set, or the cake came out underbaked. Keep the door shut for the first 25 minutes and confirm doneness with a toothpick. If a dip has already formed, fill it with extra frosting, and if the middle is still wet, tent the pan with foil and bake 5 minutes more.
  • The crumb tastes dry. Too much flour or too long in the oven is the usual culprit. Weigh the flour and pull the cake as soon as the toothpick shows a few dry crumbs. To rescue a dry one, brush the top with a thin syrup of equal parts sugar and hot water.
  • Dense streaks or tunnels. Mixing hard after the flour goes in builds gluten, which pulls the batter into tight pockets. Stop at the first moment the batter looks smooth. A cake that has already baked this way still makes a good trifle, cubed and layered with fruit.
  • A cracked, peaked top. An oven running hotter than its dial sets the outside before the middle finishes rising. A cheap oven thermometer catches the problem. A serrated knife levels the peak, and frosting hides the rest.
  • The cake clings to the pan. Skipping the parchment is the usual cause, so always line the pan. If it has stuck, rest the pan on a warm damp towel for 2 minutes, then run a thin knife around the edges.

Variations & Substitutions

A yellow cake takes to small changes well, as long as the flour, fat, and liquid stay in balance.

  • Spicy: Whisk 1 teaspoon cinnamon, 1/2 teaspoon ground ginger, and a small pinch of cayenne into the flour for a warm cake with a faint tingle at the finish.
  • Mild and kid-friendly: Fold 1/2 cup mini chocolate chips into the finished batter, tossing them in a teaspoon of flour first so they stay suspended instead of sinking.
  • Vegetarian: The cake is vegetarian as written, since it uses only eggs, dairy, flour, and sugar.
  • Gluten-free: Use a cup-for-cup gluten-free flour blend that contains xanthan gum, and let the batter sit 10 minutes before baking so the flour hydrates.
  • Dairy-free: Swap in stick-style plant-based butter, unsweetened oat milk, and a thick dairy-free yogurt in place of the sour cream.
  • Lemon: Rub the zest of 2 lemons into the sugar before creaming for a brighter flavor.
    Coconut: Replace 1/4 cup of the milk with coconut milk and top with shredded coconut, consider trying coconut cake as well.
  • Cupcakes: Fill paper-lined muffin cups two-thirds full and bake at 350°F (175°C) for 18 to 20 minutes.

Serving Suggestions

Plain or frosted, yellow cake is easy to dress up or down.

  • Frosting: Chocolate buttercream is the classic partner, cream cheese frosting works just as well. For something lighter, spread sweetened whipped cream and top with sliced strawberries.
  • On the side: Fresh berries add a tart note, and a scoop of vanilla ice cream softens beside the slice.
  • Drinks: Cold milk suits kids and nostalgic adults alike, while hot tea or strong black coffee cuts through the sweetness.
  • Garnishes: Rainbow sprinkles make a birthday cake out of a plain square, and a light dusting of powdered sugar suits a casual dessert plate.
  • Occasions: Cut the yellow cake slab into 12 squares for a potluck, or into smaller bites for a dessert table with several sweets.
Frosted slice of yellow cake served with fresh strawberries and a glass of cold milk

Storage Instructions

Good storage keeps yellow cake tender long after baking day.

Room Temperature: Under a lid or foil and away from heat, the unfrosted cake stays tender for about 2 days. Anything topped with a cream-based frosting belongs in the fridge instead.

Refrigerator: Wrap the whole slab or individual squares snugly in plastic wrap, or seal them in a lidded container, and the cake holds its texture for around 5 days. Let slices sit out for 20 minutes before serving, since cold butter crumb tastes muted.

Freezer: Wrap cooled, unfrosted squares in plastic wrap first and then in foil, and freeze for up to 3 months. The tight double layer leaves no gaps where dry freezer air can reach the crumb.

Reheating: To bring a chilled slice back to softness, microwave it for 10 seconds or warm it in a 300°F (150°C) oven for 8 to 10 minutes. A light brush of milk across the top restores moisture.

Make-Ahead Notes: Bake up to 2 days before the event and keep the cake covered, or freeze it unfrosted up to 3 months ahead. The dry ingredients can be whisked together a day early and stored in a covered bowl.

Before wrapping, let the yellow cake cool all the way. Steam trapped under plastic turns the top sticky and makes the crumb gummy.

Nutrition Information

NutrientPer Serving
Serving Size1 slice (1/12 of the cake)
Calories340
Protein5 g
Carbohydrates47 g
Fat15 g
Fiber1 g
Sugar26 g
Sodium230 mg

One slice of yellow cake lands near 340 calories, most of it from the flour, butter, and sugar. Flour, eggs, and milk together supply about 5 grams of protein per slice, and the butter accounts for most of the 15 grams of fat. These figures are estimates based on standard ingredient amounts, so your numbers will shift with different products, a heavier hand on the sugar, or larger squares.

Frequently Asked Questions

Yellow cake gets its gold color and richer flavor from whole eggs, while white cake uses only egg whites for a paler, springier crumb.

Yes, use the same weight, 330 grams, for a finer and slightly softer crumb because cake flour carries less protein. Weighing matters here, since a cup of cake flour packs differently.

Yes. Divide the batter between two parchment-lined 9-inch round pans and bake at 350°F for 25 to 28 minutes, then cool the layers fully before stacking.

Not really. Baking powder starts working once it meets the liquid, so the batter should go into the oven within 30 minutes of mixing for the best rise.

Conclusion

The best thing about a plain yellow cake is how much room it leaves for you. Frost it with chocolate, pile on berries, or slice it bare beside a cup of tea, and it holds its own every time. Keep the butter soft but not shiny, stop mixing the second the flour disappears, and trust the toothpick over the timer. Those three habits matter more than any ingredient swap.

Bake it once for the buttery smell that fills the kitchen, then keep this page handy for the next birthday that sneaks up on you. Pin it to a board like Easy Cake Recipes or Birthday Dessert Ideas so the next celebration already has its cake sorted.

Yellow Cake

A soft, butter-rich sheet cake with a fine golden crumb, baked in a 9×13 pan and ready for any frosting. Sour cream keeps the center moist for days, and a handful of pantry staples is all it takes. Cut it into 12 squares for a birthday table or a weeknight treat.
Prep Time 20 minutes
Cook Time 32 minutes
Rest Time 45 minutes
Total Time 1 hour 37 minutes
Servings: 12 Slices
Course: Dessert
Cuisine: American
Calories: 340

Ingredients
  

  • 2 3/4 cups 330 g all-purpose flour
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon fine sea salt
  • 3/4 cup 170 g unsalted butter, softened
  • 1 1/2 cups 300 g granulated sugar
  • 3 large eggs room temperature
  • 1 tablespoon pure vanilla extract
  • 1 cup 240 ml whole milk, room temperature
  • 1/4 cup 60 g sour cream, room temperature

Method
 

  1. Whisk the flour, baking powder, and salt for 30 seconds until uniform.
  2. Beat the butter and sugar on medium-high for 4 minutes until pale and fluffy.
  3. Beat in the eggs one at a time, then the vanilla.
  4. Mix the flour in three rounds with the milk and sour cream blend, stopping when the streaks disappear.
  5. Spread the batter in a lined 9×13 pan and bake at 350°F (175°C) for 32 minutes, until golden and a toothpick shows a few dry crumbs.
  6. Cool in the pan for 15 minutes, lift out, and rest on a rack for 30 minutes before frosting.

Notes

  • Weigh the flour for a tender crumb, since scooped cups pack in extra.
  • Stop mixing as soon as the batter looks smooth to avoid dense streaks.
  • Start checking at 27 minutes if you bake in a glass or dark metal pan.
STORAGE:
  • Fridge: wrapped snugly, about 5 days.
  • Freezer: wrapped in plastic and foil, up to 3 months.
  • Reheat: 10 seconds in the microwave or 8 to 10 minutes in a 300°F (150°C) oven.
ALLERGENS: Contains milk, eggs, and wheat (gluten).

Similar Posts