Classic Vanilla Cake Recipe That Always Works (Soft and Moist)

This post may contain affiliate links.

5 from 7 votes

If you, like Da Vinci, believe “simplicity is the ultimate sophistication,” the Best Vanilla Cake recipe is a piece of art worthy of your admiration. It’s light, fluffy, deliciously moist, and packed to the brim with the sweet, warm aroma of vanilla. When paired with my vanilla cream cheese buttercream frosting and cheerful sprinkles, this culinary masterpiece is anything but boring!

A slice of vanilla layer cake with white frosting and colorful sprinkles on the edge, served on a white plate. The whole cake is visible in the background on a cake stand.

I originally published this recipe in 2020 and have since added new photos and a few more success tips.

If you’re looking for a crowd-pleasing dessert for celebrations, there are few treats that are as universally loved as a homemade vanilla cake. That’s particularly true of my YouTube famous recipe, which to date has received over 14 million views, more than 181,000 thumbs up, and over 4,000 glowing reviews! 

I can assure you the adulation is well-earned, this foolproof recipe delivers stellar results every time. It has all the hallmarks of a perfect slice: it’s light and springy with a tender, buttery crumb, is richly flavored thanks to a generous tablespoon of vanilla extract, and the frosting is so good, you’ll want to lick your plate. Reader Maya calls it “the best vanilla cake recipe,” and I couldn’t agree more!

A round cake with smooth white frosting, decorated with colorful sprinkles along the top and bottom edges, sits on a white cake stand with a wooden surface in the background.

Ingredients & Substitutions

Overhead view of baking ingredients in bowls and jars, each labeled: flour, sugar, icing sugar, cream cheese, buttermilk, vanilla, butter, cream, oil, eggs, baking powder, baking soda, and salt.
  • All-Purpose Flour – Also known as “plain flour” across the pond.
  • Baking Powder & Baking Soda – You’ll need both types of leavener to ensure your cake rises to its full potential.
  • Butter & Oil – Oil-based cakes are usually lighter and fluffier, while butter-based cakes are denser and richer. I split the difference for the best of all worlds! Make sure to use a neutral-flavored oil (e.g. corn, vegetable, avocado) and European-style butter for the tastiest results. 
  • Granulated Sugar – White sugar has a neutral sweetness, which allows the vanilla flavor to shine brightly. If needed, you can use an equal amount of cane sugar or superfine/caster sugar. 
  • Large Eggs – If you’re using a different size of egg, note that each large egg is a scant ¼ cup.
  • Buttermilk – The acidity in buttermilk helps to tenderize the cake crumb, while the cultured flavor adds a certain je ne sais quoi. If you don’t have buttermilk on hand, make a close-enough substitute by adding a tablespoon of acid (e.g. lemon juice or vinegar) to a cup measure, then adding enough milk to fill it up. 
  • Vanilla Extract – Make sure you’re using the real, pure stuff for the best flavor. You can also use an equal amount of vanilla paste if you like the look of tiny black flecks throughout.
  • Cream Cheese – I love the tang cream cheese adds to classic buttercream frosting. If you want something slightly lighter, swap in Neufchatel cheese.
  • Heavy Cream – Just a little bit of cream is all you need to create a perfectly silky smooth frosting.
  • Icing Sugar – Also known as “confectioner’s sugar” or “powdered sugar,” this aptly named sweetener ensures your icing is velvety and grit-free. If you don’t have any, blitz 1 cup of white sugar with 1 tablespoon cornstarch in a food processor until light and fluffy.
  • Confetti Sprinkles – Optional, but adorable. Feel free to swap in the decorations of your choice (e.g. fresh berries, chocolate sprinkles, sanding sugar, etc.).

This is just a short review of the ingredients; for the complete recipe, including quantities, scroll down to the recipe card 👇


How to Make Vanilla Birthday Cake

Watch the full video recipe to learn how to make the BEST Vanilla Cake recipe.

Prefer the written recipe? Scroll down to the recipe box 👇


Why I Always Use Buttermilk in Vanilla Cake

Buttermilk is one ingredient I never skip in this recipe, and once you try it, you’ll understand why. I’ve tested this vanilla cake many times over the years, and buttermilk consistently gives the softest, most tender crumb.

Its gentle acidity reacts with the baking soda to help the cake rise beautifully, while also keeping it moist for days (not just the first slice). It also adds a subtle tang that balances the sweetness and makes the vanilla flavor taste fuller, not flat. While you technically can use plain milk, I don’t recommend it, the texture and flavor just aren’t the same.

If you’ve ever had a vanilla cake that felt dry or bland, buttermilk is usually what was missing.

No buttermilk? You can make a quick substitute by mixing 1 cup milk with 1 tablespoon lemon juice or vinegar and letting it sit for 5 minutes. It won’t give exactly the same result as real buttermilk, but it comes very close and works well in a pinch.

Optional Variations & Dietary Adaptations

  • Dairy-Free – Swap the butter for a high-quality dairy-free butter and use unsweetened soy milk mixed with 1 tablespoon of lemon juice to replace the buttermilk. For the frosting, use a dairy-free cream cheese and full-fat coconut milk in place of heavy cream.
  • Reduced Sugar – Cut the sugar in the cake by 10-20%. You can also halve the sugar in the icing, but you’ll want to reduce or omit the amount of cream you add since it won’t be as thick. 
  • Flavor Adaptations – While I think vanilla on its own is a beautiful thing, you’re welcome to shake things up. Try:
    • Adding 1-2 teaspoons of lemon zest or orange zest to the batter for a bright, fresh variation that’s perfect for spring.
    • Replacing ½ -1 teaspoon of the vanilla extract with almond extract for a nostalgic bakery-style flavor, or ½ – 1 teaspoon of coconut extract for a lightly tropical twist. If you go the tropical route, try using toasted coconut flakes instead of confetti sprinkles.
    • Folding ½ cup of rainbow sprinkles directly into the cake batter to turn this into a classic Funfetti celebration cake. Use jimmies rather than nonpareils, which bleed into the batter.
    • Spreading a thin layer of raspberry jam, strawberry chia jam, or lemon curd between the cake layers before frosting. Decorate with fresh berries and sugared lemon slices.
A close-up of buttermilk being poured into a glass bowl filled with yellow cake batter, ready to be mixed.
Don’t skip buttermilk!

Expert Tips & Tricks 

  • Use room-temperature ingredients. For the fluffiest texture, make sure your butter, eggs, and buttermilk are all at room temperature so they emulsify more easily.
  • Cream the butter, oil, and sugar thoroughly. This step creates tiny air pockets that help the cake rise tall and light. Mix for 3-4 minutes until the mixture is pale and fluffy before adding the eggs.
  • Don’t skip the buttermilk. The acidity reacts with the baking soda to keep the cake soft, moist, and tender. 
  • Measure flour correctly. Too much flour = dense cake. Spoon the flour into your measuring cup and level it off, or use a kitchen scale for accuracy. 
  • Mix gently once you add the dry ingredients. Overmixing develops gluten, which leads to tougher cake. Stop mixing as soon as the flour disappears.
  • Check your cake early. Every oven is different, so begin checking for doneness a few minutes before the earliest time listed. A toothpick should come out clean or with a few moist crumbs.
  • Cool completely before frosting. Frosting melts easily. Make sure the cakes are fully cool, or even slightly chilled, before assembling so your layers stay neat and stable.
  • Beat the frosting until fluffy. Cream cheese frosting becomes beautifully cloud-like when whipped properly. Beat it until smooth, light, and spreadable.
Thick cake batter is being poured from a bowl into a round, orange baking pan lined with parchment paper, ready for baking.
Divide the batter between two pans
A close-up of a cake layer being spread with white frosting using an offset spatula on a piece of parchment paper.

How to Serve Vanilla Cake

This classic vanilla cake works for just about any occasion: birthdays, brunches, or simple weekend baking. Serve it as is to let the vanilla shine, or dress it up with fresh berries for a light, fresh contrast to the cream cheese frosting.

For celebrations, pair each slice with a scoop of vanilla ice cream or serve it alongside a refreshing drink. In warmer weather, homemade lemonade or strawberry lemonade makes a perfect match, while coffee, hot chocolate, or a pistachio latte works beautifully for cooler days.

How to Store Vanilla Cake

  • Room Temp: If you’re storing the cake unfrosted, you can keep the layers tightly wrapped in plastic wrap at room temperature for up to 2 days or refrigerated for up to 4 days
  • Fridge: Store your frosted vanilla cake in an airtight container in the refrigerator for 3-4 days. Because the frosting contains cream cheese, it’s important to keep it chilled. When you’re ready to serve, let each slice sit at room temperature for about 20-30 minutes so the crumb softens and the frosting returns to its creamy, luscious texture.
  • Freezer: You can also freeze the unfrosted layers: wrap each one in plastic wrap, then in a layer of foil, and freeze for up to 3 months. Thaw them in the fridge overnight, then frost as usual. Frosted vanilla layer cake can also be frozen—chill it until the frosting is firm, wrap well, and freeze for up to 1 month, thawing in the fridge before serving.
A slice of vanilla layered cake with white frosting and colorful sprinkles around the edges is being lifted from the whole cake, which sits on a white cake stand on a wooden surface.

FAQs

How do I adjust this vanilla cake recipe for a 9-inch (23 cm) pan?

If you prefer to make the cake in a larger pan such as 9-inch, you should multiply all the ingredients by 1.33

Is vanilla cake the same as white cake?

Not quite. Vanilla cake uses whole eggs for a richer flavor and creamy yellow crumb, while white cake uses only egg whites to keep the color bright white and the texture lighter and fluffier. 

Can I bake this vanilla cake in one pan instead of two?

Yes. You can bake the batter in one pan, but the bake time will increase to 55–65 minutes. Tent loosely with foil if the top browns too quickly.
Keep in mind that you’ll need to slice the cake horizontally by hand to create layers, which can be a bit tricky if you want perfectly even layers.

Can I use this recipe for cupcakes?

This cake batter is similar to cupcakes, but for best results, I recommend using my dedicated Vanilla Cupcakes recipe, which is adjusted for lighter texture and even baking.

A slice of two-layer vanilla cake with white frosting and colorful sprinkles on the edge, served on a white plate. The whole cake, also decorated with sprinkles, is in the background on a cake stand.
A slice of vanilla layer cake with white frosting and colorful sprinkles sits on a plate with a fork. The slice shows a bite taken out of the top. A whole decorated cake is blurred in the background.
A round, frosted cake with smooth white icing, decorated with colorful sprinkles around the top and bottom edges, placed on a white plate with a wooden background.

Classic Vanilla Cake Recipe That Always Works (Soft and Moist)

This moist vanilla cake is light, fluffy, and packed with real vanilla flavor. A classic, foolproof birthday cake recipe.
5 from 7 votes
Prep Time 20 minutes
Cook Time 40 minutes
Chilling Time 1 hour
Total Time 2 hours
DIFFICULTY Medium
Course Dessert
Cuisine World
Servings 14
Calories 487 kcal

Ingredients
 

For the cake:

  • 2 ⅓ cups (290 g) All-purpose flour
  • 2 teaspoons Baking powder
  • ½ teaspoon Baking soda
  • ½ teaspoon Salt
  • ½ cup (115 g) Butter unsalted, softened
  • ½ cup (120 g) Oil neutral
  • cups (300 g) Sugar
  • 3 Eggs
  • 1 cup (240 ml) Buttermilk (more if needed)
  • 1 tablespoon Vanilla extract

For the frosting:

  • cup (150 g) Butter softened
  • ½ cup (120 g) Heavy cream
  • cups (160 g) Icing sugar
  • 2 teaspoons Vanilla extract
  • cups (400 g) Cream cheese

Decoration:

  • Confetti sprinkles

Instructions
 

Make the Cake:

  • Prep the pans: Preheat oven to 350°F (175°C). Line and grease two 8-inch (20cm) round cake pans.
  • Dry ingredients: In a bowl, sift together flour, baking powder, baking soda, and salt. Set aside.
  • Cream butter & sugar: In a large bowl, beat butter and sugar until light and fluffy (2–3 minutes).
  • Add eggs: Add eggs one at a time, mixing well after each addition. Beat in oil and vanilla.
  • Combine: Alternate adding the flour mixture and buttermilk, starting and ending with flour. Mix just until smooth.
  • Bake: Divide batter evenly between pans. Bake 38–42 minutes, until a toothpick comes out clean.
  • Cool: Cool 10 minutes in pans, then turn out onto a wire rack and cool completely.

Make the Frosting:

  • Beat cream cheese and butter until smooth and creamy. Add powdered sugar and vanilla; beat until fully combined.
  • In a separate bowl, whip heavy cream to stiff peaks. Gently fold whipped cream into the cream cheese mixture until incorporated,

Assemble:

  • Place one cake layer flat-side down, spread frosting evenly, top with second layer flat-side up.
  • Frost top and sides. Decorate with sprinkles.
  • Refrigerate at least 2-3 hours before slicing.

Video

Notes

  • Don’t skip buttermilk: Buttermilk adds moisture, tenderness, and a subtle tang while activating the baking soda. Don’t skip it.
  • Buttermilk Substitute: Mix 1 cup milk + 1 tablespoon lemon juice or vinegar. Let stand 5 minutes before using.
  • Pan & Size Adjustments
    • Works well as a 9×13-inch sheet cake (bake ~40–45 min).
    • For cupcakes: bake 18–22 minutes.
  • Storage
    • Refrigerator: Store covered for up to 4 days.
    • Freezing: Cake layers (unfrosted) freeze well for up to 2 months.

Nutrition

Calories: 487kcalCarbohydrates: 35gProtein: 4gFat: 38gSaturated Fat: 19gPolyunsaturated Fat: 4gMonounsaturated Fat: 13gTrans Fat: 1gCholesterol: 116mgSodium: 428mgPotassium: 89mgFiber: 0.001gSugar: 34gVitamin A: 1058IUVitamin C: 0.1mgCalcium: 97mgIron: 0.3mg
Nutrition information is automatically generated and thus we can not guarantee it is 100% accurate.
Keyword cake

33 Comments

  1. 5 stars
    Amazing recipe. The vanilla cake was so light and fluffy. Delicious recipe to make for any occasion.

    November 17, 2025
  2. 5 stars
    Best vanilla cake recipe! I made it for my sons birthday and we loved it. I am not a great baker but I still managed to make this cake, so i highly recommended this recipe.

    February 11, 2025
  3. Flor de María Cáceres Girón says:

    Can you please help me? How do I adjust the recipe to a 10 and 12 inches size pans?

    February 13, 2024
  4. I forgot to add baking soda but added baking powder.

    January 25, 2024
  5. Tisha Singh says:

    Please help me . Can I put all the batter in one mould instead of using two. And if I do so is there any change in time or temperature.

    January 25, 2024
  6. What oil do you use?

    January 2, 2024
    1. The Cooking Foodie says:

      Sunflower seed oil

      January 4, 2024
  7. Is it okay If i want to lessen the amount of sugar? Or is it okay if i use half regular sugar and half brown sugar??

    April 23, 2023
    1. The Cooking Foodie says:

      Hi,
      You can cut the sugar by 10-20% but not more.
      I would not recommend using brown sugar in this recipe.

      April 24, 2023
  8. Hi, if I put one cake in the oven one at a time should I put it for 20 mins each instead of 40.? Asking because my oven fits only 1

    January 20, 2023
  9. 5 stars
    made this cake for my dad’s birthday this month. It was tasty! We didn’t put any frosting on it though. We ate one with whip cream and strawberries on it. Now, we have the other pan to think about haha. Thanks for the recipe! Next time, perhaps I can layer it and make it pretty.

    January 17, 2023
  10. thanks for the recipe! can it be frozen?!

    January 4, 2023
    1. I froze one-half last night. We might eat it later this week. I can tell you how it tastes. My guess is that it will be great.

      January 17, 2023
  11. Theresa UK says:

    5 stars
    I made the Vanilla Birthday cake for my Husbands Birthday yesterday. Best cake I have every made thank you for the recipe.Going to make another next week just to practice. 🎂

    October 7, 2022
  12. Hi! Awesome recipe, for the oil what did you use?

    August 20, 2022
  13. Holly (U.K.) says:

    5 stars
    Hi,
    I’ve just baked this cake for my mum’s birthday and am made up with the results. The recipe was so easy to follow, and tastes delicious.
    I used a wooden spoon to do all the mixing and beating, as I couldn’t find my electric whisk. Also,I only have one round cake tin (no idea what size it is) so I roughly divided the mixture by eye, and left one half of the mix in the fridge while the first half cooked. I then relined the tin and stuck the other half in the oven. Worked perfectly.
    The m

    April 10, 2022
  14. Do you recommend cake flour or All Purpose?

    February 11, 2022
    1. 5 stars
      Hi, I’ve just made this cake. I used what we call ‘plain flour’ here in the U.K. and, from what I can tell, all purpose flour is what Americans call plain flour, so you could easily use all purpose. Hope this helps

      April 10, 2022
  15. So I’m going to be making this cake tomorrow and the only pans that I have is 9in and I see you said to multiply the recipe By 1.33 but I have no idea how to do that is there anyway you can help me please

    December 12, 2021
  16. Hi Cooking Foodie!
    What flour is preferred here – cake or AP? I know you said in another comment we can use either, but I am wondering if you think one works best over the other 🙂
    Best,
    Anna

    November 30, 2021
  17. Hi looks like a great cake. I’ll make it for mu husband’s bd but can i make the frosting one day ahead and store it in the fridge? and i have another question please is it too sweet like butter cream frosting or it’s closer to a cream cheese frosting? Thank you 😊

    October 20, 2021
  18. can we use a sqaure 8 inch pan?

    August 13, 2021
  19. 5 stars
    hi, thanks for the recipe. but Can heavy cream be replaced with whipping cream?

    August 5, 2021
    1. The Cooking Foodie says:

      Yes, heavy cream and whipped cream it’s the same thing.

      August 5, 2021
  20. Hi cooking foodie,
    I wanted to ask how would I calculate if I wanted to make a 6 cake using this recipe. Also if I wanted to make a larger cake ie 12″ how would I calculate that please?”

    June 6, 2021
  21. Amandeep Singh Rai says:

    Can you recommend a good replacement for eggs, that would be available in a mainstream North American(Canadian) grocery store?

    December 29, 2020
    1. Sehaj Johal says:

      You can use apple sauce since it makes it fluffy just like the egg would. I would totally recommend it. You can purchase it from Walmart.

      March 16, 2021
    2. Sehaj Johal says:

      You can use apple sauce since it makes it fluffy just like the egg would. I would totally recommend it. You can purchase it from Walmart.

      March 16, 2021
    3. Sehaj Johal says:

      You can use apple sauce since it makes it fluffy just like the egg would. I would totally recommend it. You can purchase it from Walmart.

      March 16, 2021
  22. stephanie says:

    Hello, i have a question- what kind of flour do we use? cake or all purpose? and is this cake sturdy enough to make layers?

    December 9, 2020
    1. The Cooking Foodie says:

      Hi Stephanie,
      You can use AP flour or cake flour in this recipe.
      Yes.

      December 12, 2020
  23. Hi, thanks for the awesome recipe…..
    For butter…which butter we need to use un salted or normal salted butter for cake and frosting too. If I’m using salted butter can I omitted the salt.

    December 3, 2020
    1. The Cooking Foodie says:

      Hi Uma,
      I always use unsalted to control the saltiness.
      If you using salted butter, then omit the salt from the recipe.

      December 4, 2020
5 from 7 votes

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




The maximum upload file size: 2 GB. You can upload: image. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop files here