If you have ever wanted one go-to vanilla cake that feels bakery-level but is totally doable on a weeknight, this is it. It bakes up tender and plush, with that warm vanilla aroma that makes the whole kitchen smell like a celebration. No fancy ingredients, no complicated mixing method, and yes, you can absolutely make it even if you are not “a baker.”

A frosted two-layer vanilla cake on a simple cake stand, sliced to show a soft pale crumb, with a few vanilla bean specks visible in the frosting

I am going to walk you through exactly what to do and why it works, plus the little details that prevent dry cake, sunken centers, and gummy layers. Grab your butter and vanilla, and let’s do this.

The idea

Why This Recipe Works

  • Buttery flavor with a soft crumb: We cream butter and sugar for lift, then use milk for moisture and a gentle, classic cake texture.
  • Reliable rise: A balanced blend of baking powder plus just enough structure from eggs keeps it fluffy without being fragile.
  • Real vanilla impact: Vanilla extract does the heavy lifting, and vanilla bean paste is an easy upgrade if you have it.
  • Flexible: Make it as layers, a sheet cake, or cupcakes with simple timing tweaks.

Shopping

Ingredient Notes

A kitchen counter with bowls of flour, sugar, butter, eggs, milk, baking powder, salt, and vanilla extract arranged neatly for baking

Whole milk gives the best texture.

Sour cream adds a subtle tang and helps keep the crumb moist for days.

If you only have 2 percent milk, it will still work.

Vanilla bean paste is usually a 1:1 swap with extract, but you can adjust to taste if your paste is especially strong.

Powdered sugar: Sift if lumpy to help prevent grainy frosting.

Get set up

Equipment You Will Need

  • Two 8-inch or 9-inch round cake pans
  • Mixing bowls
  • Hand mixer or stand mixer
  • Whisk and rubber spatula
  • Parchment paper
  • Cooling rack

Technique

Tips for Getting It Right

  • Use good vanilla: Pure extract or vanilla bean paste makes a noticeable difference.
  • Do not skip the salt: It sharpens vanilla and keeps the cake from tasting flat (and it keeps the buttercream tasting balanced instead of cloying).
  • Room temperature ingredients: They combine smoothly, which helps the cake bake evenly.
  • Measure flour gently: Spoon into the measuring cup and level off. Packing flour leads to a dry, heavy cake.
  • Cream well: Beat butter and sugar until very light and fluffy (3 to 5 minutes) for lift and even rise.
  • Mix gently once flour is added: Mix just until you no longer see dry flour, then scrape the bowl once and give it a final brief mix.
  • Optional thermometer check: The center is typically done around 200 to 205°F (93 to 96°C).

Flexibility

Substitutes That Work

  • Vanilla extract vs. vanilla bean paste: Use either; it is a 1:1 swap, and you can adjust to taste if your paste is especially strong.
  • 2 percent milk: Works if you do not have whole milk.
  • Sour cream or full-fat plain yogurt: Either one works in the batter.
  • No sour cream or yogurt: Replace with an equal amount of milk (the cake will be slightly less rich).
  • Heavy cream or milk (buttercream): Either works to adjust frosting consistency.
  • Cake flour instead of all-purpose: Yes; use 285 to 300 g cake flour in place of the all-purpose flour and use batter texture as your guide (weights vary by brand).

Make it yours

Variations to Try

  • Funfetti: Fold 1/2 cup rainbow sprinkles into the finished batter.
  • Lemon vanilla: Add 1 tbsp lemon zest to the sugar before creaming. Rub it in with your fingers to release the oils.
  • Almond: Replace 1/2 tsp of the vanilla with almond extract (a little goes a long way).
  • Strawberries and cream: Fill the middle with sliced strawberries and a thin layer of frosting.
  • Make it different shapes: Use the same batter for two 8-inch or 9-inch rounds, a 9×13 sheet cake, or cupcakes with timing adjustments.

On the table

What to Serve It With

A single slice of vanilla cake with vanilla buttercream on a small plate next to a fork on a warmly lit table
  • Fresh berries and a dusting of powdered sugar
  • Chocolate ganache drizzle
  • Sprinkles for instant birthday vibes
  • A scoop of vanilla or strawberry ice cream

Later

Storage, Freezing and Reheating

Make ahead

  • Cake layers: Bake up to 2 days ahead. Wrap tightly and store at room temperature for 1 day or refrigerate for 2 days.
  • Buttercream: Make up to 1 week ahead, refrigerated. Bring to room temp and re-whip before using.

Storage

Store frosted cake covered at room temperature for up to 2 days if your kitchen is cool. If your kitchen runs warm, refrigerate instead (up to 5 days). Let slices come to room temperature for the best texture.

Freezing

Two cooled cake layers wrapped tightly in plastic wrap and placed on a baking sheet ready for the freezer

Wrap unfrosted layers tightly in plastic wrap, then foil. Freeze up to 2 months. Thaw wrapped at room temperature, then frost.

Watch out

Common Mistakes to Avoid

My cake is dry

  • It likely baked a little too long. Pull it when the center is set and the toothpick has a few moist crumbs.
  • Too much flour can also do it. Spoon and level, or use a kitchen scale.

My cake sank in the middle

  • Oven door opened too early, or the cake needed a few more minutes.
  • Expired baking powder can cause poor structure and sinking.

My cake is dense

  • Butter and sugar were not creamed long enough, or the batter was overmixed after adding flour.
  • Ingredients were too cold, which can prevent proper aeration.

My frosting is grainy

  • Powdered sugar was lumpy. Sift it next time or beat a little longer.
  • Butter was too cold. Let it soften fully before whipping.

Questions

Frequently Asked Questions

Can I use cake flour instead of all-purpose?

Yes. Cake flour makes the crumb a bit finer and softer. If you have a scale, start with 285 to 300 g cake flour in place of the all-purpose flour, and use the batter texture as your guide. (Cake flour weights vary by brand.) The batter may look a touch looser, which is normal.

Can I make this into a three-layer cake?

Yes, but you will want to increase the frosting by about 50 percent so you have enough for the extra layer and coverage.

Do I have to use sour cream or yogurt?

I really recommend it for moisture and tenderness, but if you are in a pinch, you can replace it with an equal amount of milk. The cake will be slightly less rich.

How do I get flat cake layers?

Use baking strips on the pans or wrap the pans with damp towel strips designed for baking. Also make sure your oven is fully preheated before the cake goes in.

The recipe

Homemade Vanilla Cake

Tender, plush homemade vanilla cake made with butter, milk, and sour cream (or yogurt), finished with a balanced, fluffy vanilla buttercream. Designed for two 8-inch or 9-inch layers, with timing notes for sheet cake and cupcakes.

Prep
25 minutes
Cook
25 to 32 minutes
Total
1 hour 30 minutes
Yield
Serves 10 to 12

Ingredients

  • 2 1/2 cups (300 g) all-purpose flour, spooned and leveled
  • 2 1/2 tsp baking powder
  • 1/2 tsp fine salt
  • 3/4 cup (170 g) unsalted butter, softened
  • 1 3/4 cups (350 g) granulated sugar
  • 4 large eggs, room temperature
  • 1 tbsp vanilla extract (or 1 tbsp vanilla bean paste)
  • 1 cup (240 ml) whole milk, room temperature
  • 1/4 cup (60 ml) sour cream or full-fat plain yogurt, room temperature
  • Vanilla buttercream: 1 cup (226 g) unsalted butter, softened
  • Vanilla buttercream: 3 1/2 to 4 cups (420 to 480 g) powdered sugar, sifted if lumpy
  • Vanilla buttercream: 1 tbsp vanilla extract (or 1 tbsp vanilla bean paste)
  • Vanilla buttercream: 2 to 4 tbsp heavy cream or milk
  • Vanilla buttercream: Pinch of salt

Instructions

  1. Heat oven to 350°F (175°C). Grease two round cake pans, line the bottoms with parchment, then lightly flour the sides.
  2. In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
  3. In a large bowl, beat butter and sugar on medium-high until very light and fluffy, 3 to 5 minutes.
  4. Add eggs one at a time, beating well after each addition and scraping down the bowl. Mix in vanilla.
  5. On low speed, add the flour mixture in three additions, alternating with the milk in two additions (flour, milk, flour, milk, flour). Mix just until you no longer see dry flour, then scrape the bowl once and give it a final brief mix.
  6. Gently fold in the sour cream or yogurt until smooth. Do not overmix.
  7. Divide batter evenly between pans and smooth the tops (fill pans about halfway to a little over halfway). Bake 25 to 32 minutes, until a toothpick inserted in the center comes out clean or with a few moist crumbs. Optional: the center is typically done around 200 to 205°F (93 to 96°C).
  8. Cool in pans for 10 minutes, then turn out onto a rack to cool completely before frosting.
  9. Make the buttercream: Beat butter on medium-high for 2 minutes until creamy and lighter in color.
  10. Add powdered sugar 1 cup at a time on low speed, then increase to medium and beat until smooth.
  11. Beat in vanilla and a pinch of salt.
  12. Add cream or milk 1 tablespoon at a time until it is silky and spreadable, then whip on medium-high for 30 to 60 seconds for extra fluff.
  13. Assemble: If the layers domed, trim the tops with a serrated knife once fully cooled.
  14. Place one cake layer on a plate or stand and spread about 3/4 cup frosting on top.
  15. Add the second layer, flat side up.
  16. Apply a thin crumb coat all over, then chill 15 minutes.
  17. Frost generously, swirl it rustic, or smooth it clean.

Recipe notes

  • Pan options: For 9×13, grease and line with parchment if you want easy lifting. For cupcakes, line the pan with paper liners.
  • Pan sizes and baking times:
    • Two 9-inch rounds: 23 to 28 minutes (slightly thinner layers)
    • Two 8-inch rounds: 25 to 32 minutes (a bit taller)
    • 9×13 sheet cake: 30 to 38 minutes
    • 18 to 24 cupcakes: 16 to 20 minutes (fill liners about 2/3 full)
  • Buttercream texture: If it feels too thick, add a splash more cream. If it feels too loose, add a little more powdered sugar.
  • Curdled-looking batter: This can happen if anything was slightly cool; once the flour goes in, it smooths out.
  • Reminder: Start checking a few minutes early. Ovens vary, and vanilla cake goes from “perfect” to “dry” quickly.

Nutrition (per serving, approximate)

  • Calories: ~620 per serving
  • Fat: ~30 g
  • Carbs: ~84 g
  • Protein: ~6 g
  • Fiber: ~1 g
  • Sugar: ~67 g
  • Sodium: ~260 mg

Nutrition values are approximate and will vary by exact ingredient choices and how much frosting is used per slice.