Beyond Frosting » Recipes » Desserts » Cakes » Moist Vanilla Cake

Moist Vanilla Cake

This perfectly Moist Vanilla Cake is a timeless dessert, full of sweet vanilla flavor and topped with my best vanilla frosting. It’s an easy cake recipe that you can make as cupcakes or a layer cake, too!

For a chocolate version of this cake recipe, try my Super Moist Chocolate Cake. Looking for more fun baking ideas? Check out my favorite Easy Cake Recipes

A slice of frosted vanilla cake on a white plate, garnished with rainbow sprinkles.

Easy Homemade Vanilla Cake

I’m always chasing the perfect cake recipe. After months of trialing and adjusting to get it just right, this easy vanilla cake recipe might be my most versatile dessert ever. There’s rarely an occasion when this cake isn’t the answer, whenever I need a dessert for a special occasion, or just because I’m craving something sweet.

My cake recipe is a real classic. It makes perfect, ultra-moist cake, frosted with my all-time favorite vanilla buttercream frosting. The crumb is rich and spongey, and the batter comes together easily using either a stand or hand mixer.

Birthdays, parties, potlucks, bake sales – this cake is the best, perfect for frosting and decorating. You can even make it into a layer cake or cupcakes!

What to Expect

Over the years, millions of people have visited this recipe, and countless readers have made it. Here’s what you need to know.

  • Taste: The cake itself isn’t overly sweet, allowing it to pair perfectly with the frosting. High-quality vanilla gives the best flavor.
  • Texture: Dense but spongy. If you are looking for a light and fluffy vanilla cake, this isn’t it.
  • Crumb: Very moist with a tight and tender crumb.

Readers Say:

My husband wanted a homemade, from scratch birthday cake. I have never made a cake from scratch. (Box cake mix queen here.) So I looked up recipes and this one caught my eye. Not complicated, easy read & best of all, delicious

The ingredients for vanilla cake laid out in bowls

Key Ingredients and Substitutions

Below I’ve included the main ingredients you’ll need for this vanilla cake recipe and frosting. The full recipe details and ingredient amounts can be found in the recipe card, so don’t forget to scroll to the end.

  • Oil – Oil makes for a lighter, moist crumb. Vegetable oil and coconut oil will both work great.
  • Sour Cream – My essential ingredient for an ultra-moist cake! Sour cream (either light or full-fat) brings lots of added moisture and richness to cakes and cupcakes. If you don’t have sour cream, substitute plain Greek yogurt instead. If you need to, you can omit it completely but note that this vanilla cake will not be nearly as moist. Sour cream should be at room temperature.
  • All-purpose flour: I often get asked if cake flour can be used, and the simple answer is no. They’re not a 1:1 replacement. Sifted, all-purpose flour is the way to go. Be sure to sift it be for best results.
  • Milk – You can use any kind of milk (whole, 2%, etc.) you have on hand. The milk should be at room temperature before you start, so they’re easier to combine with the batter.
  • Unsalted Butter – for the frosting. My secret to perfect buttercream frosting is cold butter (trust me!), so keep it chilled in the fridge until you’re ready to use it.
  • Heavy Whipping Cream – Or milk, to adjust the consistency of the frosting. I prefer to use heavy cream as it always yields the creamiest, fluffiest vanilla frosting.

Oil vs. Butter In Cakes: Which Is Better?

Oil alllllll the way. Oil makes this cake bake up more light and tender than butter-based cake. The difference comes from butter being a solid fat at room temperature (even after baking), while oil stays liquid and moist.

Another major perk of working with oil? There’s no waiting around while your butter comes to room temperature! Many cake recipes often call for room-temperature butter so that it’s easier to whip, but not this one.

If you’d prefer to bake this cake using butter instead, use 1/2 cup of melted butter in place of the oil that’s called for in the recipe. Just know that it won’t come out quite as soft or moist, so I usually don’t recommend it.

How To Make a Moist Vanilla Cake

Here’s just how simple it is to make the perfect vanilla cake from scratch:

Combine the wet Ingredients. Begin by beating together the sugar, oil, and the rest of the wet ingredients in a large bowl. Next, you’ll beat in the sour cream, and set the bowl aside.

Sift the dry ingredients. In a separate bowl, sift together the flour, baking powder, and salt to combine. Slowly mix the sifted flour mixture into the wet ingredients, alternating with milk until you have a smooth batter.

Bake. Add the vanilla cake batter to a 9×13-inch baking dish, and then bake at 350ºF for about 30 minutes. Once the cake is done, take it out and leave it to cool completely before frosting.

Baked vanilla cake inside a metal baking pan.

How to Make the Vanilla Frosting

This cake is frosted with my favorite Perfect Vanilla Frosting. It’s honestly the most versatile buttercream frosting. I use it for everything, from this vanilla cake to Rainbow Cupcakes, Red, White, and Blue Layer Cakes, and Sugar Cookies!

The best buttercream frosting is whipped, fluffy, and very spreadable. Here’s how to prepare this easy frosting for decorating your vanilla cake. I have a more detailed tutorial on how to make frosting if needed (linked above- see my perfect vanilla frosting).

  1. Whip the butter. This is key. Since this frosting begins with cold butter, you’ll need to whip it a little longer at the start. Cut the cold butter into cubes, then add it to your mixer and whip it for a good 3-5 minutes, scraping down the bowl occasionally.
  2. Add powdered sugar. With the mixer on low, you’ll gradually add the powdered sugar, followed by the vanilla, and lastly the heavy cream. 
  3. Whip again. Continue to beat your vanilla frosting for an additional several minutes or so to get it nice and airy.
  4. Frost the cake. When your cake is completely cool, it’s ready to frost. Place dollops of frosting around the top of the cake and use an angled spatula to spread the frosting. Don’t press too hard or you’ll risk pulling the top of the cake along with you! See below for more helpful frosting and decorating tips.

Tips for Success

Below are some common mistakes and how to avoid them, along with a couple of handy tips for making the best moist vanilla cake:

  • Room temperature ingredients: I’ve made this cake both ways, and I can assure you that room temperature ingredients does allow the ingredients to better incorporate together.
  • Sifted flour. I know it’s a pain, but I’ve made this cake so many times over the years, and using a fine mesh strainer to aerate the flour is the way to go.
  • Don’t over (or under) mix the batter. Once the dry ingredients have been added, low and slow is the name of the game. There’s a bit of a delicate balance when preparing cake batter. If you over-beat the ingredients, your cake won’t rise and will come out overly dense. Meanwhile, batter that’s not well mixed will bake unevenly.
  • Try not to substitute ingredients wherever possible. You’ve heard the saying, “cooking is an art, baking is a science”. Think of the ingredients and ratios in a cake recipe as a tested and successful science experiment. Straying from the recipe can have unpredictable results. 
  • Avoid overbaking or underbaking. Baking times may vary depending on the type of pan you’re using (see the next point below) and your individual oven. Test the cake by inserting a toothpick into the center. If the toothpick comes out clean, your cake is ready to come out.
  • Different types of pans will bake differently. Cakes in glass baking pans will always need to bake longer since glass doesn’t conduct heat as well as metal pans.
A slice of frosted vanilla cake on a white plate, garnished with rainbow sprinkles, with another slice of cake in the background.

More Frosting and Decorating Ideas

A classic homemade vanilla cake is seriously the best dessert for any occasion! It’s just as delicious as a birthday cake as it is for everyday baking, and I’ll never run out of ways to decorate it. Here are more frosting options to pair with this easy vanilla cake:

You can be as creative or as basic as you’d like when it comes to how you frost your cake, too. Most of the time I just smear the frosting in an even layer all over so I can get to slicing ASAP. But the vanilla buttercream frosting is also perfect for piping! I have helpful tutorials on How to Use a Piping Bag and How to Use and Decorate with Piping Tips that walk you through it. 

Then, try one or more of these fun topping ideas:

  • Fruit – Top your cake with fresh berries, fruit, or a compote.
  • Chocolate Ganache – Drizzle the top of the cake with an easy homemade chocolate ganache (borrow the filling from my Chocolate Ganache Cupcakes!) 
  • Caramel Sauce – Add a bit of caramel or butterscotch sauce over top.
  • Sprinkles – Top your cake with fun and festive colorful sprinkles, nonpareils, or chocolate shavings.
  • Crushed Cookies – Give your cake a crunchy texture thanks to a sprinkle of crushed cookies, like Oreos or Nilla Wafers.
A forkful of vanilla cake held up in front of a slice of frosted cake garnished with rainbow sprinkles.

Easy Recipe Variations

This recipe makes a very simple and very delicious single-layer vanilla cake. But it doesn’t have to end there. Here are some more recipe variations you can try:

  • Cupcakes – This vanilla cake recipe can easily be made as vanilla cupcakes. The batter will make a hefty 24 cupcakes, with a little left over. For some helpful cupcake decorating tips, check out my post on How to Decorate Cupcakes.
  • Layer Cake – I make this cake as an 8” three-layer cake in my recipe for Moist Vanilla Layer Cake. If you’d like to bake this as a 9-inch or 10-inch layer cake, the baking times will need to be adjusted accordingly. All the details are in the post.
  • Bundt Cake – I’ll be honest, I don’t love the way this recipe bakes as a bundt cake. Luckily, I developed the perfect fluffy Vanilla Bundt Cake instead. The preparation is a bit different but just as easy!
  • Gluten-Free – I’ve made a gluten-free vanilla cake using 1-to-1 gluten-free flour and it came out great. If you’re looking for another easy gluten-free dessert, try my Easy Gluten Free Vanilla Cupcakes
  • Poke Cakes- I’ve used this as a base recipe for many of my poke cake recipes.
A slice of frosted vanilla cake topped with rainbow sprinkles on a white plate next to a forkful of cake.

How to Store a Frosted Cake

Whenever possible, this homemade vanilla cake should be stored in an airtight container at room temperature to keep it fresh and moist. However, if you live in a hot and humid environment, you may want to store this in the refrigerator instead. Take the cake out of the fridge ahead of time and serve it at room temperature. Either way, be sure you’re using an airtight container.

Can I Freeze Vanilla Cake?

Yes, though it’s best to freeze homemade cakes before they’re frosted. Once the vanilla cake is baked and cooled, wrap it tightly in plastic wrap, plus a layer of foil. Store your cake frozen for up to 1 month.

Before serving, thaw the vanilla cake completely and let it come to room temperature before frosting.

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
A slice of frosted vanilla cake on a white plate, garnished with rainbow sprinkles, with another slice of cake in the background.

Moist Vanilla Cake

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.7 from 160 reviews
  • Author: Julianne Dell
  • Prep Time: 30 minutes
  • Cook Time: 30 minutes
  • Total Time: 50 minutes
  • Yield: 15 slices
  • Category: Cake
  • Method: Baked
  • Cuisine: American

Description

This easy and homemade Moist Vanilla Cake recipe is perfectly sweet and fluffy and full of rich vanilla flavor. Topped with a creamy vanilla buttercream frosting, it’s the best vanilla cake to make for any occasion!


Ingredients

For the Cake:

  • 2 cups (380g) granulated sugar
  • ½ cup (118 ml) vegetable oil
  • 3 large eggs, at room temperature
  • 1 tablespoon (14.8 ml) vanilla extract
  • ½ cup(118 ml) sour cream, at room temperature
  • 2 ½ cups (350 g) all-purpose flour, sifted
  • 3 teaspoons (11.2 g) baking powder
  • 1 teaspoon (5 g) salt
  • 1 ¼ cups (296 ml) milk (any type), at room temperature

For the Frosting

  • 3/4 cup ( 170g )unsalted butter, cold
  • 2 1/2cups (325g ) powdered sugar
  • 1 teaspoon (5ml ) pure vanilla extract
  • 1 tablespoon (15ml ) heavy whipping cream or milk

Instructions

For the Cake:

  1. Preheat the oven to 350°F.
  2. Mix the wet ingredients: In a large mixing bowl, beat together the sugar, vegetable oil, eggs, and vanilla extract until well incorporated. Scrape down the bowl as needed.
  3. Add the sour cream and beat until well combined.
  4. Combine the dry ingredients: In a separate bowl combine the remaining dry ingredients and sift together the flour, baking powder, and salt. Add half the dry ingredients, and half the milk, and beat on low speed just until the flour starts to incorporate. Repeat until all ingredients are added and combined. Use a spatula to scrape down the sides of the bowl and stir the batter from the bottom to the top to ensure it’s well mixed.
  5. Pour the batter into a 9-inch by 13-inch pan and bake at 350°F for 28-32 minutes. Test the cake for doneness by inserting a toothpick into the center of the cake. If the toothpick comes out clean, your cake is done. Remove from the oven and allow to cool completely prior to frosting.

For the Frosting:

  1. Cut the butter into pieces. Using the paddle attachment, whip the butter for 5-7 minutes, scraping down the bowl occasionally, and beating until the butter is whipped and fluffy.
  2. Add the powdered sugar and mix on low speed until incorporated into the butter then add the vanilla extract and heavy cream and mix to combine. Beat for about 60 seconds.
  3. Continuing beating, increase the speed to medium-high and beat for another 3-5 minutes to whip additional air into the frosting. Spread over cooled cake.

Notes

  • The batter will be quite thin. It’s important that you stir the batter after mixing, to ensure everything on the bottom of the bowl is well mixed.
  • This can easily be made into vanilla cupcakes or a vanilla layer cake
  • Greasing the pan: if you are using a pan that isn’t nonstick, or you plan to remove  the whole cake from the pan, be sure to grease and flour the pan first. 
  • Baking times will vary by pan type and true internal oven temperatures.
  • Storing this cake: Whenever possible, cakes should be stored in an airtight container at room temperature. If you live in a hot and humid environment, you may want to store this in the refrigerator. Serve at room temperature.
  • Freezing this cake: I do not prefer to freeze cakes once they’re frosted/ If you need to freeze this cake, double wrap it in plastic wrap and then with foil. Thaw to room temperature to serve.
  • Ingredient substitutions

    • Sour cream: This is essential for keeping the cupcakes moist. If you don’t have sour cream. I recommend substituting it with non-fat Greek yogurt. The recipe calls for light sour cream, but you can also use full-fat sour cream. If you need to, you can omit it completely, but note the cake will not be nearly as moist.
    • Butter instead of oil: You can use 1/2 cup of melted butter instead of oil, but I don’t think it is nearly as good. You can also use coconut oil instead of vegetable oil.
    • Gluten-free flour: I have tested this recipe with a one-for-one gluten-free flour and it worked out great

Nutrition

  • Serving Size: 15
  • Calories: 443
  • Sugar: 47.5g
  • Sodium: 187.5mg
  • Fat: 18.9g
  • Carbohydrates: 65.2g
  • Protein: 4.7g
  • Cholesterol: 65.4mg

Filed Under:

More Easy Homemade Cake Recipes to Try

Review and rate this post!

I love hearing from you! Submit your question or review here. Your email address will not be published. Required fields are marked*.

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

686 thoughts on “Moist Vanilla Cake”

  1. Hi,
    I’m planing on making this recipe on cupcakes for my daughter birthday. If i do it one day in advance should I keep it at room temperature or put it on the fridge .
    Looking forward to your advice.
    Can’t wait to try this

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Skarlett, you can just keep these at room temperature in an air tight container. Happy birthday to your daughter!

  2. Can you make this with a half sheet pan? Maybe 1/3 extra (to account for the egg? Or 2/3 extra? Would you recommend lowering the temperature? Thanks!

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Grace, I am sorry I cannot answer that question because the recipe has not been tested that way.

  3. Avatar photo
    Jasmin sample

    I’m excited to try this recipe after failing to nail a perfect vanilla sponge. What would you recommend, normal sour cream (can’t seem to get hold of light in the UK) or Greek yoghurt?

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Jasmin, by normal sour cream, do you mean full-fat? I would recommend Greek Yogurt instead. Enjoy!

  4. Hi would I be able to double the recipe for a 12×17 half sheet pan? Same temperature in the oven or should I reduce it? Needing a good vanilla cake that can be stacked and trimmed (making a truck).
    Thanks!

    1. Also would buttermilk be suitable instead of the regular milk? And would adding a touch of lemon zest be okay? Thanks so much!

    2. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Grace, I am sorry I cannot specifically answer your questions regarding the half sheet pan, because I have not tested the recipe that way. Also buttermilk would definitely work and so would lemon zest. Sounds yummy!

  5. Hi! I never ever post comments on blog recipes, but this time I just had to. I absolutely love this recipe! It’s my third time using it, and I’ll use it again and again. Sorry for the long comment, but it’ll provide enthusiastic feedback and answers to some previous readers’ questions. 🙂

    I tweak it a little bit just to match the ingredients that I do have/use, ie. 1 1/2 cup light brown cane sugar and regular cream (here in France, “regular” is actually 30% fat, and I’ve also tried it with a 42% cream because, eh, French). I don’t think the cream makes it too dense, but of course I haven’t tried the actual recipe to compare.
    I always pour some of the batter in an aluminum muffin tin first and the rest goes into an 8 inch springform or a rectangle cake pan (glass or metal). All of these turned out great with appropriate baking time and regular checking. The springform leaked, but just a couple drops.
    Because it’s not too sweet, with a subtle flavor, it’s a really versatile cake. I topped the cupcakes with your excellent vanilla frosting and with an orange blossom flavored mascarpone frosting. In cake form, I liked it with raspberry jam or dulce de leche. Next time I’ll probably try a cardamome frosting, then chocolate, then… Well, you get the idea. Thank you so much for an awesome recipe!






  6. I wish i could rate this recipe 100 stars!! Thank you soo much for sharing!! Absolutely delicious sponge that doesn’t even need frosting, tastes amazing on its own. Used this recipe to make a rainbow cake for my sons 2nd birthday and it was an absolute hit! Not a crumb left over ? def the only sponge recipe I will be using in future! ❤❤❤❤????






  7. I’m sorry to say, this cake was not moist. Way too dense for my liking, and when handed to my husband, he took one bite and said, “you’re not gonna like this”. He was right. I followed the receipt to the letter, except used your chocolate frosting. Which, I should’ve put the entire batch on top. this cake definitely needed two layers and more frosting. Your frosting was great, albeit having to scrape the bowl too many times because the butter was cold.






    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Jodi, thanks for your feedback. I think this recipe is pretty subjective to how you prefer you cake, others rave about this recipe. This cake is definitely meant to be moist and spongy and it is denser for sure. As far as the chocolate frosting, unfortunately that is to be expected when you start with cold butter, more whipping and more scraping but I do love that recipe and it is great for piping. I am glad you at least enjoyed the frosting!

      1. Oh, you’re absolutely right. Some, most assuredly would prefer this denser cake. I actually cut some in half and added more frosting to the middle to make it more of a layered cake and it was very good that way. Thank you!

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Dorothy, I think this would be two much batter for two 9 inch layers. You may get 3 layers instead. I have not tested this with 9 inch layers

  8. Finally, a great recipe! Thank you!! I didn’t have sour cream on hand, so I substituted w/ vanilla coconut greek yogurt, yum.






    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Lynn, yes you should be able to, but I would suggest to test your springform pan first to see if it leaks. As this is a very thin batter. You may want to put a sheet pan at the bottom of your oven to catch any drips if your pan leaks.

  9. Hey, I was wondering if we could substitute the sour cream with anything, (like buttermilk) since they don’t sell that here unfortunately (heavy milk would also be hard to come by, so I can’t make my own). I don’t suppose any substitutions would be tried and tested, but could you recommend anything? It might not turn out to be as fluffy or taste the same as yours, but I’m just trying to learn lol. Thank you so much!






    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi there, you can use greek yogurt. And you can leave it out all together but it won’t be nearly as moist.

      1. I made this when I went back home (I live in a hostel because of school) and OH MY GOD this recipe is amazing! My family loved it and it turned out to be really nice 😀 Thank you so much!






  10. Hi
    Could you advise how I would spilt this receipe or convert to make the following round cakes please.
    6 inch
    8 inch
    10 inch
    My tins are all 3 inches high and wod be looking to achieve 4 inches per tier.
    Thank you
    Maria

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Maria, one recipe would make at least 4 6-inch cakes, 3 layer as an 8-inch cake. I have not tested this in a 10 inch cakes. As always, I recommend testing this recipe if you’re trying to determine the final yield for an event or something like that

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Islea, the recipe has not been tested with self-rising flour so I cannot guarantee the results. I suggest to use all-purpose flour

  11. O my gosh! Thank you so much for sharing this recipe. Not a huge fan of dense cakes but this one came out fluffy and moist!! Despite using 2 small eggs (that was all I had) the cake was absolutely perfect. Thank you, thank you, thank you for this recipe!!!???






  12. Hi, can this cake be used for stacking? like i plan to do a 3 layer cake with this. will it be possible? or will it be too moist for it?
    TIA

  13. Hi julianne,
    I wish to try out this cake tomorrow. Can I use a 24cm round non stick cake tin? Will the baking time differ? Also can I use sweetened youghut in place of sour cream? Urgent response will be appreciated. Thanks

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi there, 24cm (9 inches) this cake would make 3 very thick layers. You’re baking times will need to be adjusted accordingly. I would start with 15-18 minutes and then watch your cake closely depending on how much the middle still needs to be baked. I have not baked this cake in 9-inch pans so I cannot provide you an accurate baking time. You should be able to use yogurt in place of cream.

  14. Hi, Just wonder if i can substitute sour cream to buttermilk? And baking powder to baking soda? Thanks for sharing this recipe.

    1. Julianne - Beyond Frosting
      Beyond Frosting

      Hi Shin, I have not tested the recipe that way, so I cannot tell you a firm answer. I would not substitute the sour cream for buttermilk as this would be too much liquid in the cake. You need the baking powder to provide some rise in the cake.

  15. Avatar photo
    Kathy Fierro

    Perfect recipe, I baked it for a group and nothing was left. Baked it according to your directions.
    It is an awesome recipe.