Whole frosted two-layer homemade vanilla cake on a white cake stand with swirled buttercream, served with fresh strawberries for a birthday table

Vanilla Cake Recipe: Easy, Moist 2-Layer Cake

Most homemade vanilla cakes fail in one of two ways: they dry out by the second day, or they taste faintly of sugar and nothing else. This vanilla cake recipe avoids both with a long creaming stage, whole milk, and a full tablespoon of vanilla extract that you can actually taste.

The result is a from-scratch cake with two 8-inch layers, a tight and tender crumb, and enough structure to stack without leaning. Across every vanilla cake recipe I trust, the batter cares more about temperature than about technique. Butter and eggs that sit on the counter for an hour beforehand are the difference between a fluffy slice and a gummy one.

The vanilla buttercream is dense and silky, not gritty, with a pinch of salt to keep it from tasting flat. Make this vanilla cake recipe once and the method sticks, so you can dress it up for birthdays, baby showers, or an ordinary Tuesday.

Why You’ll Love This Vanilla Cake

Plenty of cakes look good in photos. This vanilla cake recipe is built to taste good too, on the first day and the third, for reasons that are easy to name:

  • A soft, damp crumb. Four minutes of creaming and a full cup of whole milk give each slice a tender bite that survives the fridge.
  • Vanilla that registers. A tablespoon in the batter and two teaspoons in the buttercream mean the flavor reads as vanilla, not just sweetness.
  • Ten ordinary pantry ingredients, with no cake flour or buttermilk to hunt down.
  • Layers can be baked a day or two ahead and frosted when guests are on the way.
  • One cake cuts into 12 generous slices, and the mild flavor suits kids and grown-ups alike.
  • Every vanilla cake recipe worth keeping takes sprinkles, spice, or fruit well, and this one is a blank canvas for all three.
Slice of soft vanilla layer cake lifted from the whole cake, showing the tender crumb and buttercream, an easy homemade vanilla cake for dessert

Recipe Snapshot

DetailInfo
Prep Time30 minutes
Cook Time35 minutes
Rest Time1 hour (cooling)
Total Time2 hours 5 minutes
Servings12 slices (one 2-layer, 8-inch cake)
DifficultyEasy
CuisineAmerican

Vanilla Cake Recipe Ingredients

Ten pantry ingredients cover the whole vanilla cake recipe, buttercream included. Unsalted butter lets you control the salt, room-temperature eggs blend smoothly into the creamed butter, and all-purpose flour is plenty for a soft crumb when you measure it correctly. Use pure vanilla extract, since it is the main flavor here.

For the cake layers

  • 2 1/2 cups (315 g) all-purpose flour, spooned into the cup and leveled
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon salt
  • 1 cup (227 g) unsalted butter, softened
  • 1 3/4 cups (350 g) granulated sugar
  • 4 large eggs, at room temperature
  • 1 tablespoon vanilla extract
  • 1 cup (240 ml) whole milk, at room temperature (buttermilk works for a slight tang)

For the vanilla buttercream

  • 1 cup (227 g) unsalted butter, softened
  • 3 cups (360 g) powdered sugar
  • 3 tablespoons heavy cream
  • 2 teaspoons vanilla extract
  • 1/4 teaspoon salt
Overhead flat-lay of flour, butter, eggs, sugar, milk, and vanilla extract laid out for a from-scratch vanilla cake recipe

Allergen & Dietary Disclosure

Milk, eggs, and wheat (gluten) are in this vanilla cake, with extra dairy coming from the butter and cream in the buttercream. A gluten-free flour blend or plant-based butter can stand in for those ingredients, as covered in the variations below. Packaged ingredients can carry additional allergens, so read each label before you bake, and treat this recipe as unconfirmed for anyone with an allergy.

Equipment Needed

  • Two 8-inch round cake pans, 2 inches deep. Light-colored metal browns evenly, while dark pans toast the edges faster, so check them 3 minutes early.
  • Parchment paper. A trimmed circle in each pan is what lets the layers slide out whole.
  • Electric mixer, stand or handheld. Creaming takes a steady 4 minutes, which is a long time to do by hand.
  • Wire cooling rack. Air moving underneath keeps the bases from turning damp.
  • Offset spatula. It smooths the sides in one pass, though a butter knife can fill in.
  • Kitchen scale. Weighing the flour and dividing the batter keeps both layers the same height.

Preparation

Set up the pans and oven before you mix anything, because this vanilla cake recipe moves quickly once the batter is made. Slide a rack into the lower-middle position and heat the oven to 350°F (175°C). Brush the inside of both pans with soft butter, press a parchment circle into each base, and dust the sides with flour, tapping out the extra.

Take the butter, eggs, and milk out of the fridge 60 minutes ahead, so they feel cool but not cold, around 67°F to 70°F (19°C to 21°C). Measure the flour last: spoon it into the cup and level it with a knife, or weigh out 315 g.

Cold eggs make creamed butter split into a curdled-looking mess. If you forgot to set them out, leave the whole eggs in a bowl of warm tap water for 10 minutes.

How to Make This Vanilla Cake Recipe

Step 1: Sift the Dry Ingredients

Run the flour, baking powder, and salt through a fine sieve into a medium bowl. Sifting scatters the baking powder evenly, which is why the finished layers rise without a lopsided hump. Give the mix one stir with a fork and keep the bowl within reach.

Step 2: Cream Butter and Sugar

Beat the softened butter and granulated sugar on medium speed for a full 4 minutes, scraping the bowl once halfway. The mixture should turn nearly white and look like thick whipped frosting, since those trapped air bubbles carry the cake upward in the oven. Rushing this stage is the fastest route to a heavy crumb in any vanilla cake recipe, so watch the clock.

Step 3: Add Eggs and Vanilla

Crack the eggs in one at a time, beating for 30 seconds after each until the batter looks smooth and glossy, then stir in the vanilla extract. Raw egg stays in the bowl: skip tasting the batter, and wash your hands and the counter once the shells are gone. If the mixture looks slightly broken, a spoonful of the sifted flour pulls it back together.

Step 4: Mix in Flour and Milk

Drop the mixer to low and start with a third of the flour, then half the milk, then another third of the flour, the rest of the milk, and the last of the flour, stopping the moment the dry streaks vanish. The batter should look thick and creamy, and drip off the beater in a slow ribbon. 

Chef’s Note: Finish the last few turns by hand with a spatula, because a mixer can overwork the gluten in seconds.

Step 5: Bake the Layers

Divide the batter equally between the two prepared pans, weighing them if you can, and tap each pan once on the counter to pop large air pockets. Slide this vanilla cake recipe into the oven at 350°F (175°C) on the middle rack and bake for 32 to 35 minutes. The layers are done when the tops spring back under a light fingertip press and a toothpick from the center comes out with only a few dry crumbs.

Step 6: Cool the Layers

Leave the pans on a wire rack for 10 minutes, then run a thin knife around each edge and turn the layers out onto the rack. Peel off the parchment and let the layers cool right side up for a full hour, until the base feels cool when you press your palm to it.

After the hour, slide the cooled layers into the fridge for 20 minutes. Chilled crumb is firmer, so it sheds far fewer crumbs into the buttercream.

Step 7: Whip the Buttercream

Beat the softened butter alone for 2 minutes until pale and creamy, then add the powdered sugar a cup at a time on low speed so no sweet cloud settles over your kitchen. Pour in the heavy cream, vanilla extract, and salt, then whip on medium-high for 3 minutes, until the frosting holds a soft peak and looks silky instead of grainy.

Step 8: Stack and Frost

Set one layer on a plate or cake board, spread about a cup of buttercream across the top with an offset spatula, and place the second layer upside down so its flat base becomes the surface. Cover the whole cake with a thin coat, chill for 15 minutes, then finish with a thicker coat and smooth the sides in long, steady passes. 

Chef’s Note: Dip the spatula in hot water and wipe it dry before the final pass for glass-smooth sides.

Four-step collage of creaming butter, mixing batter, cooling golden layers, and frosting a homemade vanilla layer cake with buttercream

Pro Tips for the Perfect Vanilla Cake Recipe

Six small habits make this vanilla cake recipe turn out the same way every time.

Frosting a layer that only feels cool on top is the classic slip. The middle is still warm and turns the buttercream into a slick that slides off the sides. Press your palm to the center of the base, and only frost once it feels neutral.

You can bake the layers a day ahead. Wrap each one tightly in plastic wrap while it is fully cool, and leave it on the counter overnight.

A frosted cake stays soft for about 4 days in the fridge, with the details in the storage section below.

Scrape the bowl twice: once after the butter and sugar are creamed, and again after the last egg. Unmixed butter hiding at the bottom bakes into greasy streaks.

If the cake will sit overnight, brush each cooled layer with 1 to 2 tablespoons of simple syrup, made from equal parts sugar and hot water, cooled. It adds moisture without changing the flavor.

Use the hour of cooling to whip the buttercream and wash the dishes, so frosting begins the minute the layers are ready.

Vanilla Cake Recipe Troubleshooting

When a vanilla cake recipe goes sideways, it is almost always one of five things, and each has a clear fix.

Scooping flour straight from the bag. Dunking the cup packs in extra flour, which gives a dry, dense crumb. Spoon and level the flour, or weigh 315 g. If a cake is already dry, serve slices with whipped cream or fruit compote.

Mixing too long after the flour goes in. Overworked batter builds gluten, so the layers bake up tough with tunnels inside. Stop the instant no dry streaks remain. A tough cake can’t be undone, but a thick coat of frosting softens the bite.

Opening the oven early. A blast of cool air before the structure sets makes the center sink. Wait until at least the 25-minute mark. If a dip has formed, fill it with buttercream and no one will notice.

Overbaking. Many ovens run hotter than the dial says, and a few extra minutes dries the edges. Check at 30 minutes and consider an oven thermometer. Trim any crisp edges with a serrated knife.

Lopsided layers. One pan filled more than the other bakes thicker and takes longer. Weigh the batter into each pan. If one layer ends up tall, level it with a serrated knife and snack on the scraps.

Variations & Substitutions

This vanilla cake recipe adapts easily, and each swap below stays within a few minutes of the original bake time.

  • Spiced: Sift 1 teaspoon ground cinnamon, 1/2 teaspoon ground cardamom, and 1/4 teaspoon ground ginger in with the flour for a chai-style warmth.
  • Kid-friendly: Fold 1/2 cup rainbow jimmies into the finished batter. They hold their color, while tiny nonpareils bleed.
  • Vegetarian: The cake is already vegetarian as written. For dairy-free, use plant-based butter sticks and unsweetened oat milk, and use oat milk in the buttercream in place of the cream.
  • Gluten-free: Swap in a cup-for-cup gluten-free flour blend that contains xanthan gum, rest the batter for 10 minutes, and start checking for doneness at 30 minutes.
  • Cupcakes: Fill liners about two-thirds full and bake for 18 to 20 minutes at 350°F (175°C). The batter makes about 24.
  • Coconut: For a full coconut version, try our coconut cake.

Serving Suggestions

Slice this vanilla cake recipe with a long knife dipped in hot water and wiped dry between cuts, so each piece comes out clean. Fresh strawberries or raspberries tossed with a spoonful of sugar sit nicely beside a slice, as do softly whipped cream, strawberry compote, or a drizzle of lemon curd.

For garnish, try shaved white chocolate, sprinkles, or a mint leaf. Hot black tea, chai, iced coffee, and cold milk all pair well, and the cake fits easily into a birthday spread with ice cream or an afternoon tea table next to cucumber sandwiches. For a birthday table with more than one cake, pair it with our German chocolate cake.

Storage Instructions

A frosted vanilla cake recipe like this one keeps in several ways, depending on how soon you plan to eat it.

Room Temperature: Under a cake dome in a cool kitchen, a frosted cake is fine for about 24 hours. After that, move it to the fridge.

Refrigerator: Chill the cake uncovered for 20 minutes so the frosting firms, then cover it. Sealed this way, the crumb stays soft for about 4 days.

Freezer: Wrap unfrosted layers in two tight rounds of plastic wrap, then foil, so no air pockets remain to dry the surface. They hold for up to 2 months. Frosted slices, frozen solid for an hour and then wrapped, last about 1 month.

Reheating: A cake needs no oven. Let chilled cake stand for 30 to 40 minutes before serving, and thaw frozen layers overnight in the fridge, still wrapped. For a warm slice, microwave it for 8 to 10 seconds.

Make-Ahead Notes: Bake and wrap the layers up to 2 days ahead. The buttercream keeps for 5 days in the fridge; rewhip it for 2 minutes before using.

A small trick for cut cake: press a square of parchment against the exposed crumb before covering. The cut face stays soft, and the cake picks up no fridge smells.

Frosted vanilla cake slices in an airtight container with parchment squares, ready to store, a make-ahead vanilla layer cake for the fridge

Nutrition Information

NutrientPer Serving
Serving Size1 slice (1/12 of the cake)
Calories650
Protein5 g
Carbohydrates80 g
Fat35 g
Fiber1 g
Sugar60 g
Sodium270 mg

Each slice of this vanilla cake recipe gives you about 5 g of protein, mostly from the eggs and milk. Most of the calories come from the butter and sugar, so a thinner slice with fresh berries makes a lighter finish. These numbers are rough estimates built from standard ingredient amounts, and the exact products you use, the size of your slice, and how thickly you frost will move them up or down.

Frequently Asked Questions

No, all-purpose flour works well here. Spooning it into the cup and mixing only until the streaks disappear keeps the crumb soft without any special flour.

Yes, this vanilla cake recipe fits one greased, parchment-lined 9×13-inch pan, baked at 350°F for 30 to 35 minutes until a toothpick shows a few dry crumbs.

Yes, use salted butter in both the cake and buttercream and cut the added salt. Leave out the 1/2 teaspoon in the cake and the 1/4 teaspoon in the frosting.

Swap the extract in the cake for vanilla bean paste, or stir in 1 more teaspoon of extract. This vanilla cake recipe also tastes rounder because of its 1/2 teaspoon of salt.

Conclusion

The best thing about a plain vanilla cake is how little there is to hide behind. When the butter is creamed properly, the oven stays shut for the first 25 minutes, and the layers cool all the way through, nothing else needs fixing. This vanilla cake recipe rewards patience more than skill, and the flavor settles in nicely by the second day.

Bake it for the next birthday, or keep a pair of wrapped layers in the freezer for the night someone announces dessert plans at 4 p.m. Pin it to a board you actually open, like your birthday cakes or easy homemade desserts folder, so the measurements are one tap away on baking day.

Whole frosted two-layer homemade vanilla cake on a white cake stand with swirled buttercream, served with fresh strawberries for a birthday table

Vanilla Cake Recipe

Two buttery 8-inch layers with a tender, damp crumb and a pronounced vanilla flavor, stacked with a silky buttercream. The batter comes together in one mixer bowl with ten pantry ingredients and slices cleanly for 12.
Prep Time 30 minutes
Cook Time 35 minutes
Rest Time 1 hour
Total Time 2 hours 5 minutes
Servings: 12 Slices
Course: Dessert
Cuisine: American
Calories: 650

Ingredients
  

For the cake layers:
  • 2 1/2 cups 315 g all-purpose flour
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon salt
  • 1 cup 227 g unsalted butter, softened
  • 1 3/4 cups 350 g granulated sugar
  • 4 large eggs at room temperature
  • 1 tablespoon vanilla extract
  • 1 cup 240 ml whole milk, at room temperature
For the vanilla buttercream:
  • 1 cup 227 g unsalted butter, softened
  • 3 cups 360 g powdered sugar
  • 3 tablespoons heavy cream
  • 2 teaspoons vanilla extract
  • 1/4 teaspoon salt

Method
 

  1. Sift the flour, baking powder, and salt into a bowl.
  2. Beat the butter and sugar on medium for 4 minutes until nearly white.
  3. Beat in the eggs one at a time, then the vanilla.
  4. On low speed, mix in the flour and milk in alternating additions until no dry streaks remain.
  5. Divide the batter between two prepared 8-inch pans and bake at 350°F (175°C) for 32 to 35 minutes.
  6. Cool in the pans for 10 minutes, then on a rack for 1 hour.
  7. Whip the butter, powdered sugar, cream, vanilla, and salt until silky.
  8. Stack and frost the layers, chilling after the thin coat.

Notes

  • Set butter, eggs, and milk out 60 minutes ahead for a smooth batter.
  • Stop mixing the moment the flour disappears.
  • Fully cool layers before frosting.
STORAGE:
  • Fridge: 4 days, covered.
  • Freezer: unfrosted layers up to 2 months, wrapped twice.
  • Reheat: let stand 30 to 40 minutes at room temperature before serving.
ALLERGENS:
  • Contains milk, eggs, and wheat (gluten).

Similar Posts