Nomora Food

Homemade Vanilla Cake

A tender, buttery homemade vanilla cake with big vanilla flavor and a fluffy frosting. Simple techniques, reliable results, and make-ahead tips for birthdays or any weeknight celebration.

Maya Lin

Recipe by Maya Lin

A frosted homemade vanilla layer cake on a cake stand, creamy vanilla buttercream swirled on top, soft crumbs visible at the sliced edge, natural window light

This is the vanilla cake I make when I want something classic and reliably delicious without turning my kitchen into a construction zone. It has a soft, tight crumb like a bakery birthday cake, but it tastes like real butter and real vanilla because it is.

We are using a streamlined creaming method for lift, plus a little oil for tenderness and insurance against dryness. You get a cake that stays soft for days, slices cleanly, and plays nicely with any frosting you love.

Why this recipe works

  • Butter plus a touch of neutral oil: butter brings flavor, oil keeps the crumb plush even after refrigeration.
  • Room temperature ingredients: helps the batter emulsify so it bakes up more evenly and with a smoother crumb. It can help reduce dramatic doming, but your oven and pan also matter.
  • Cake flour option: gives that fine, velvety texture. All-purpose works too with one quick tweak.
  • Vanilla done two ways: extract for aroma and optional vanilla bean paste for that rounded, almost custardy depth.

Ingredient notes

A kitchen counter with measured vanilla cake ingredients in small bowls, including flour, sugar, butter, eggs, milk, baking powder, and vanilla

Flour: Cake flour gives a fine, velvety texture. All-purpose flour also works with this shortcut: replace 5 Tbsp of the flour with 5 Tbsp cornstarch, then sift together.

Neutral oil: Use canola, grapeseed, or avocado oil.

Vanilla: Vanilla extract brings aroma. Vanilla bean paste is optional but adds deeper flavor and those little vanilla specks.

Milk and sour cream: Whole milk gives the best texture; the milk and sour cream are combined to help the batter pour smoothly and bake tender.

Powdered sugar: Sift if lumpy so the buttercream whips up smoothly.

Equipment you will need

  • Two 8-inch round cake pans (or three 6-inch pans, see variations)
  • Parchment paper
  • Stand mixer or hand mixer
  • Digital scale (highly recommended for consistent crumb)
  • Wire rack

Two round cake pans lined with parchment paper circles and lightly greased sides on a kitchen counter

Pro tips

  • For flatter layers: Wrap your pans with cake strips (or damp, folded towel strips secured with foil) to encourage a more level bake.
  • Cream properly: Beat butter, oil, and sugar until pale and fluffy (3 to 4 minutes), scraping the bowl once halfway through.
  • Don’t fear curdling: If the batter looks a little curdled after the eggs, it will smooth out when the flour goes in.
  • Mix gently after flour: Stop as soon as you no longer see dry streaks; overmixing makes vanilla cake tough.
  • Use doneness cues: Look for a springy top and a toothpick with a few moist crumbs. If you want a number, the center is typically around 200 to 205°F (93 to 96°C).
  • Sticky pans prevention: Grease the pan, add parchment, grease again. A light dusting of flour helps if your pans tend to stick.
  • Warm kitchen frosting fix: If frosting feels soft, chill it for 10 minutes, then re-whip for 10 seconds.

Substitutes that work

  • Flour: If using all-purpose flour instead of cake flour, replace 5 Tbsp flour with 5 Tbsp cornstarch and sift together.
  • Milk: Low-fat milk works, but whole milk gives the best texture. For non-dairy, unsweetened soy milk is the closest swap.
  • Sour cream: If using plant milk, keep the sour cream in for richness or swap sour cream for a thick, unsweetened non-dairy yogurt.
  • Oil: Use canola, grapeseed, or avocado oil.

Variations

  • Funfetti: Fold in 1/2 cup rainbow jimmies at the very end. Avoid nonpareils, they bleed.
  • Lemon vanilla: Rub 2 Tbsp lemon zest into the sugar before creaming. Swap 1 Tbsp of the milk for lemon juice for extra pop.
  • Almond birthday cake: Replace 1 tsp vanilla extract with 1/2 tsp almond extract. Almond is powerful.
  • Strawberries and cream: Fill with sliced berries and a thin layer of frosting. Add a pinch more salt to the buttercream so it stays balanced.

Three 6-inch pans: Divide batter evenly and bake at 350°F (175°C) for about 18 to 24 minutes. Same doneness cues apply: springy center, moist crumbs on a toothpick, or 200 to 205°F (93 to 96°C) in the middle.

Serving ideas

A single slice of vanilla layer cake on a dessert plate, showing a tender crumb and thick vanilla buttercream

  • For best texture after chilling: Let slices sit 20 to 30 minutes before serving for the softest crumb.
  • Simple presentation: Swirl the buttercream on top and serve as a classic birthday-style layer cake.
  • Fruit-forward slice: Use the strawberries-and-cream variation and serve with sliced berries between layers.

A finished vanilla layer cake on a simple dining table setting with plates and forks nearby, ready to serve

Storage and reheating

  • Make ahead (layers): Bake, cool completely, wrap each layer tightly in plastic wrap, and refrigerate up to 2 days or freeze up to 2 months. Thaw wrapped at room temperature so condensation forms on the wrap, not the cake.
  • Make ahead (frosting): Refrigerate buttercream up to 1 week. Let it come to room temp, then re-whip briefly to restore fluff.
  • Storage (frosted cake): Covered at cool room temperature for 1 day, or refrigerated up to 4 days.

Common mistakes

My cake is dry

Most often: overbaking or too much flour. Pull the cake when a toothpick has a few moist crumbs, not totally clean. If you scoop flour with a measuring cup, you can accidentally pack it. Spoon and level, or use a scale.

My cake sank in the middle

Usually underbaked or your oven runs cool. Also make sure baking powder is fresh. If it has been open a while (roughly 6 to 12 months) or you are unsure, replace it or test it: stir 1/2 tsp baking powder into a splash of hot water. It should fizz quickly.

My cake is dense

Common culprits: butter too cold (won’t cream properly), ingredients not room temp (batter can break), or overmixing after flour is added.

My frosting is too sweet

Add a pinch more salt and 1 to 2 tsp lemon juice or a tablespoon of sour cream. That little hit of acid makes sweetness taste intentional instead of loud.

FAQ

Can I bake this in a 9x13 pan?

Yes. Bake at 350°F (175°C) for about 30 to 40 minutes, depending on your pan. Start checking at 30. The cake is done when the center springs back and a toothpick comes out with moist crumbs. If you want to be extra sure, aim for about 200 to 205°F (93 to 96°C) in the center.

Can I use low-fat milk or non-dairy milk?

Low-fat milk works, but whole milk gives the best texture. Unsweetened soy milk is the closest non-dairy swap. If using plant milk, keep the sour cream in for richness or swap sour cream for a thick, unsweetened non-dairy yogurt.

What’s the best vanilla?

Use a vanilla extract you actually like the smell of straight from the bottle. Vanilla bean paste is optional but lovely for deeper flavor and those little vanilla specks.

How do I keep the cake from sticking?

Parchment on the bottom is the real insurance. Grease the pan, add parchment, grease again. If you only do one thing, do parchment.

The recipe

Homemade Vanilla Cake

A classic, no-stress homemade vanilla layer cake with a soft, tight crumb and fluffy vanilla buttercream. Uses a streamlined creaming method plus a touch of oil for tenderness, and bakes into two 8-inch layers.

Prep
30 minutes
Cook
30 minutes
Total
1 hour 20 minutes (plus cooling)
Yield
About 12 servings (one two-layer 8-inch cake)

Ingredients

  • 2 1/2 cups (300 g) cake flour (or all-purpose, see note)
  • 2 1/2 tsp baking powder
  • 1/2 tsp fine salt
  • 3/4 cup (170 g) unsalted butter, softened
  • 1/4 cup (55 g) neutral oil
  • 1 3/4 cups (350 g) granulated sugar
  • 4 large eggs, room temperature
  • 1 Tbsp vanilla extract
  • 1 tsp vanilla bean paste (optional)
  • 1 cup (240 g) whole milk, room temperature
  • 1/4 cup (60 g) sour cream, room temperature
  • 1 cup (226 g) unsalted butter, softened (for frosting)
  • 3 1/2 to 4 cups (420 to 480 g) powdered sugar
  • 1 Tbsp vanilla extract (for frosting)
  • 2 to 4 Tbsp milk or cream
  • Pinch of fine salt

Instructions

  1. Preheat oven to 350°F (175°C). Grease two 8-inch round pans, line with parchment, then grease parchment.

  2. Whisk flour, baking powder, and salt.

  3. Cream butter, oil, and sugar until pale and fluffy, 3 to 4 minutes.

  4. Add eggs one at a time, mixing just until incorporated after each. Scrape the bowl, then beat in vanilla extract and vanilla bean paste (if using).

  5. Stir milk and sour cream together.

  6. On low speed, add flour mixture in 3 additions, alternating with milk mixture in 2 additions. Mix just until combined.

  7. Divide batter between pans and bake 24 to 30 minutes, until springy and a toothpick comes out with moist crumbs (or 200 to 205°F / 93 to 96°C in the center).

  8. Cool 10 minutes in pans, then turn out onto racks and cool completely.

  9. For frosting, beat 1 cup butter until creamy. Add powdered sugar gradually on low. Add vanilla, salt, and enough milk to reach a spreadable consistency. Whip briefly until fluffy.

  10. Frost cake: add filling between layers, optionally crumb coat and chill 15 minutes, then finish frosting.

Notes

All-purpose flour note: Replace 5 Tbsp flour with 5 Tbsp cornstarch, then sift together. This helps approximate a softer, cake-flour-style texture.

Note: If your kitchen is warm and frosting feels soft, chill it for 10 minutes, then re-whip for 10 seconds. Little resets like this make decorating feel easy.

High altitude: Baking at altitude can be a little fussy. If you are above 3,500 feet, you may need small adjustments to oven temp, bake time, sugar, and leavening.

Vanilla cake batter evenly divided into two parchment-lined round cake pans, ready to bake

Two golden vanilla cake layers cooling upside down on a wire rack with parchment removed

A stand mixer bowl with pale, fluffy vanilla buttercream being whipped, soft peaks forming along the whisk

Hands spreading vanilla buttercream over a cooled vanilla cake layer on a rotating cake stand

Nutrition

  • Calories: 620
  • Fat: 30 g
  • Carbs: 85 g
  • Protein: 6 g
  • Fiber: 1 g
  • Sugar: 62 g
  • Sodium: 220 mg

Nutrition values are approximate and will vary based on the exact amount of powdered sugar and frosting used per slice.

Maya Lin

About Maya Lin

Maya Lin is a recipe developer, food photographer, and former culinary instructor based in Portland, Oregon. With over a decade of experience in the food industry, she specializes in translating complex restaurant techniques into approachable, weeknight-friendly meals for everyday home cooks.