A two-layer classic vanilla layer cake with smooth white vanilla buttercream frosting on a white ceramic cake stand, with a slice removed to show the tender golden crumb inside

Classic Vanilla Layer Cake Recipe: Fluffy, From Scratch

Quick Answer

Most baking recipes succeed when ingredients are measured precisely by weight, brought to room temperature before mixing, and baked in a properly preheated oven. This classic vanilla layer cake uses a creaming method with pantry staples and bakes at 350°F for 28–32 minutes.

Someone on my floor at work signed up to bring the birthday cake in February and by the time they realized making a real layer cake is not the same as buying one, the party was two days away and the commitment had already been made in the group chat.

The first attempt came out dense in the middle, dry at the edges, and raw near the bottom where the pan didn't heat evenly. They texted me about it because I had mentioned once, in passing, that I bake sometimes. This is how you get recruited into other people's kitchen emergencies.

I walked through what had probably gone wrong: cold butter that couldn't cream properly, batter over-mixed after the flour went in, and the oven door opened three times during the bake so the temperature dropped and the structure collapsed before it could set.

Room-temperature butter is the one thing that matters most in this recipe. Cream it with the sugar until it actually looks pale and fluffy — not "combined," genuinely fluffy. That aeration is the structure the whole cake rides on. Add the eggs one at a time, alternate the flour and milk, then put it in the oven and leave it alone until it's done.

The party cake turned out fine. Nobody knew about the first one. The person who baked it accepted the compliments with a composure I found genuinely impressive.

Prep30 minutes
Cook30 minutes
Total1 hour 30 minutes (includes cooling time)
Serves12 servings
DifficultyMedium

Ingredients

  • 2 1/4 cups (270g) all-purpose flour, spooned and leveled
  • 2 1/4 tsp baking powder
  • 1/2 tsp fine salt
  • 3/4 cup (170g) unsalted butter, room temperature
  • 1 3/4 cups (350g) granulated sugar
  • 3 large eggs, room temperature
  • 2 tsp pure vanilla extract
  • 1 cup (240ml) whole milk, room temperature
  • For the Buttercream:
  • 1 cup (227g) unsalted butter, room temperature
  • 3 1/2 cups (420g) powdered sugar, sifted
  • 3 tbsp heavy cream or whole milk
  • 2 tsp pure vanilla extract
  • 1/4 tsp fine salt

Instructions

  1. 1Preheat your oven to 350°F (175°C). Grease two 9-inch round cake pans, line the bottoms with parchment circles, then grease the parchment. Flour the sides lightly and tap out the excess.
  2. 2In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
  3. 3In the bowl of a stand mixer or with a hand mixer, beat the room-temperature butter on medium speed for 2 minutes until smooth and slightly paler. Add the sugar and beat on medium-high for 4 full minutes, scraping the bowl once, until the mixture is very light and fluffy. Do not rush this step.
  4. 4Add the eggs one at a time, beating for 30 seconds after each addition. Add the vanilla extract and mix to combine.
  5. 5With the mixer on low, add the flour mixture in three additions, alternating with the milk in two additions (flour, milk, flour, milk, flour). Begin and end with flour. Mix only until just combined after each addition —? do not overmix.
  6. 6Divide the batter evenly between the two prepared pans. Smooth the tops with an offset spatula. Bake for 28–32 minutes, until a wooden toothpick inserted into the center comes out clean and the tops spring back when lightly pressed.
  7. 7Cool cakes in pans on wire racks for 15 minutes. Run a thin knife around the edges, then invert onto the racks. Peel off the parchment and cool completely, at least 1 hour, before frosting.
  8. 8Make the buttercream: Beat the room-temperature butter on medium-high for 3 minutes until very pale and fluffy. Reduce speed to low and add the sifted powdered sugar one cup at a time, mixing until incorporated. Add the cream, vanilla, and salt. Increase speed to medium-high and beat for 3 more minutes until light and spreadable. If too stiff, add cream one teaspoon at a time.
  9. 9Place one cake layer on a serving plate or cake board. Spread about 3/4 cup of buttercream evenly across the top. Place the second layer on top, pressing gently. Apply a thin crumb coat of frosting over the entire cake, refrigerate for 20 minutes, then apply the final layer of frosting and smooth as desired.

Pro Tips

  • Bring your butter, eggs, and milk to room temperature at least an hour before baking. Cold butter will not cream properly —? it will just huddle in the bowl being stubborn, and your cake will pay for it.
  • Measure flour by spooning it into the measuring cup and leveling with a straight edge, or use a kitchen scale. Scooping directly from the bag packs the flour and can add up to 20% more than the recipe intends, which is how you get a cake that resembles compressed chalk.
  • If your cake layers dome in the center, let them cool completely and then level them with a long serrated knife before frosting. A flat layer stacks like architecture. An unleveled layer stacks like regret.

Substitutions

whole milk → full-fat oat milk or soy milk Use in equal amounts for a dairy-light version —? the fat content matters, so low-fat alternatives may produce a slightly less tender crumb
all-purpose flour → 1-to-1 gluten-free baking flour blend Use a blend with xanthan gum already included; results are slightly denser but the cake holds well
unsalted butter (buttercream) → high-fat vegan butter such as Miyoko's Works well in the frosting; beat extra long to achieve the right fluffy texture
heavy cream (buttercream) → canned full-fat coconut cream Add one tablespoon at a time to control consistency; adds a very faint coconut undertone

Storage Instructions

Store frosted cake covered at room temperature for up to 2 days, or refrigerated for up to 5 days. Bring refrigerated cake to room temperature for 45 minutes before serving. Unfrosted cake layers can be wrapped tightly in plastic wrap and stored at room temperature for 2 days or frozen for up to 2 months.

Make Ahead

Bake and cool cake layers up to 2 days ahead. Wrap each layer tightly in plastic wrap and store at room temperature. Buttercream can be made up to 1 week ahead and refrigerated in an airtight container. Re-beat refrigerated buttercream for 3–4 minutes before using to restore its texture.

Frequently Asked Questions

Why do so many baking recipes say to use room temperature ingredients?

Room temperature butter emulsifies properly with sugar during creaming, trapping air that makes your cake light. Cold butter won't incorporate evenly, and cold eggs can cause the batter to curdle and look broken. Plan ahead —? pull butter and eggs out one hour before you begin. It genuinely changes the result, not just the texture of your stress.

Can I make this recipe as cupcakes instead of a layer cake?

Yes. Line a standard 12-cup muffin tin with paper liners and fill each cup about two-thirds full. Bake at 350°F for 18–22 minutes, until a toothpick comes out clean. This batter yields approximately 24 cupcakes. Do not open the oven before the 18-minute mark or they may sink.

Why did my cake come out dense and heavy instead of fluffy?

The most common culprits are cold butter that didn't cream properly, overmixed batter that developed too much gluten, or too much flour from packing the measuring cup. Check all three next time. Also confirm your baking powder is not expired —? it loses potency after 6 months to a year. Drop a teaspoon in hot water; if it doesn't bubble actively, replace it.

Can I make the batter ahead of time and bake it later?

No —? this batter should go straight into the oven. Baking powder activates when it contacts liquid, and if the batter sits, you lose the leavening before it can do its job in the oven. Make-ahead works much better at the layer stage: bake, cool, wrap, and refrigerate, then frost the day you need it.

How do I store leftover cake so it doesn't dry out?

Press a piece of plastic wrap directly against any cut surface of the cake before covering the whole thing. This keeps air from drying out the exposed crumb. Stored this way at room temperature it stays moist for 2 days. Refrigerated and covered well, it holds for up to 5 days —? just bring it back to room temperature before serving or it will taste muted and dense.

Can I reduce the sugar in this recipe?

You can reduce the granulated sugar by up to 1/4 cup (50g) without significantly affecting texture, but do not go further. In baking, sugar doesn't just sweeten —? it retains moisture and affects how the cake browns and structures. Cutting too much will produce a drier, paler cake that stales faster. The buttercream sugar can be reduced slightly more freely to taste.

What's the best way to get smooth, professional-looking frosting?

After your crumb coat has chilled for 20 minutes, apply your final frosting with an offset spatula. To smooth the sides, hold a bench scraper against the side of the cake and rotate the cake on a turntable in one continuous motion. Warm the scraper under hot water, dry it, and do one final pass. A warmed scraper melts and smooths the outer layer without pulling.

How do I know when the cake is actually done baking?

Use two signals together: a wooden toothpick inserted into the center should come out clean or with one or two moist crumbs —? not wet batter. And the top of the cake should spring back when you press it lightly in the center. If it leaves a dent, give it 3 more minutes. Start checking at the 28-minute mark. Every oven is different, and some run 10 to 25 degrees hotter or cooler than the dial says.