Classic Vanilla Cake Recipe That Always Works (Soft and Moist)
This post may contain affiliate links.
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!

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!

Ingredients & Substitutions

- 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.

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.


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.

FAQs
If you prefer to make the cake in a larger pan such as 9-inch, you should multiply all the ingredients by 1.33
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.
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.
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.


More Birthday Cake Recipes

Classic Vanilla Cake Recipe That Always Works (Soft and Moist)
Equipment
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
- 1½ 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
- 1¼ cups (160 g) Icing sugar
- 2 teaspoons Vanilla extract
- 1¾ 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.









Amazing recipe. The vanilla cake was so light and fluffy. Delicious recipe to make for any occasion.
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.
Can you please help me? How do I adjust the recipe to a 10 and 12 inches size pans?
I forgot to add baking soda but added baking powder.
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.
What oil do you use?
Sunflower seed oil
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??
Hi,
You can cut the sugar by 10-20% but not more.
I would not recommend using brown sugar in this recipe.
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
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.
thanks for the recipe! can it be frozen?!
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.
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. 🎂
Hi! Awesome recipe, for the oil what did you use?
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
Do you recommend cake flour or All Purpose?
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
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
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
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 😊
can we use a sqaure 8 inch pan?
hi, thanks for the recipe. but Can heavy cream be replaced with whipping cream?
Yes, heavy cream and whipped cream it’s the same thing.
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?”
Can you recommend a good replacement for eggs, that would be available in a mainstream North American(Canadian) grocery store?
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.
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.
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.
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?
Hi Stephanie,
You can use AP flour or cake flour in this recipe.
Yes.
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.
Hi Uma,
I always use unsalted to control the saltiness.
If you using salted butter, then omit the salt from the recipe.