Originally published in 2018, this vanilla cupcake recipe has become my go-to (and many of yours)! I recently updated the photos to showcase how beautifully moist and fluffy they are. I love this recipe because it’s easy, consistent, and yields deliciously soft cupcakes that are packed with rich vanilla flavor. They’re also extremely versatile – top them with vanilla buttercream for the ultimate vanilla cupcake or frost them with just about any buttercream flavor and you’ll have an amazing dessert.


One Reader, Uchenna, Says: “Wow! This recipe is truly amazing. I have literally tried dozens of vanilla cupcake recipes and had given up. I read the ingredients and was excited to try this one and I am sure glad I did – this one is by far the best! It will definitely be my go to recipe!” ★★★★★
Why You’ll Love These Vanilla Cupcakes
- Wonderfully Soft and Moist. The soft texture of these cupcakes comes from a balance of incorporating cake flour and extra moisture. Cake flour has a lower protein content than all-purpose flour, which means the batter is able to retain more moisture (the higher the protein content, the less ability to retain moisture, aka the drier the cake). That being said, the cake flour makes sure that none of the extra moisture from ingredients like sour cream, egg yolks, and whole milk go to waste.
- Perfect Vanilla Flavor. I use an entire tablespoon of vanilla in this recipe and the results are ideal!
- Super Dependable Recipe. Before writing my own recipes, I was very dependent on Betty Crocker box mixes for cupcakes (and cake!) because it’s just so trustworthy. Many of the from-scratch recipes I’d tried resulted in cupcakes that had sunken in the middle, had a weird cornbread-ish taste, were too dry, and just lacked luster. So I spent countless hours concocting the perfect ratio of moisture, fluffiness, flavor, and magic for this recipe. The result? A dreamy, melt-in-your mouth texture that’s soft as box mix, only without all the ingredients in a box mix you can’t pronounce.
- Always a crowd favorite. You can never go wrong with vanilla cupcakes topped with vanilla buttercream and sprinkles, ever!

The Perfect Vanilla Cupcakes Ingredients & Substitutions
These vanilla cupcakes are soft, moist, and taste like a dream thanks to these key ingredients. If needed, I’ve also shared some ingredient substitutions that can be made in case you’re in a pinch:
- Cake Flour. To achieve the super soft texture in these cupcakes, I swear by cake flour. It produces a much fluffier texture than all-purpose (or plain) flour because of its lower protein content (the more protein in your flour the stiffer the dough and less ability to maintain moisture). You can find cake flour at most grocery stores, but if all you’ve got is all-purpose flour in your pantry, here are instructions for how to make your own cake flour. Keep in mind that if you do use the homemade version, the gram measurement will weigh more (295g instead of 265g) since all-purpose flour is heavier than cake flour.
- Baking Powder + Baking Soda. The leavening agents in this recipe. Using both gives the perfect amount of rise.
- Unsalted Butter. The main fat in this recipe, which adds lots of moisture, great structure, and rich flavor. If you only have salted butter on hand, you can substitute that but be sure to omit the salt in the recipe if you do.
- Granulated Sugar. This not only sweetens the cupcakes, it creates a tender crumb as well. You can substitute this with caster sugar if you wish and it will be even more soft.
- Large Eggs. I use three large eggs in this recipe, which add the perfect amount of structure and help bind the cupcake batter together.
- Sour Cream. Sour cream adds the perfect amount of moisture to these cupcakes. If you don’t have that locally you can substitute it for plain yogurt or Crème fraîche.
- Pure Vanilla Extract. I use an entire tablespoon of vanilla extract in these cupcakes, which takes the flavor beyond! I recommend using a quality vanilla extract here (not imitation). You can substitute the extract for vanilla bean paste if you wish.
- Whole Milk. Since it has the highest fat percentage of any milk (aside from buttermilk), the whole milk creates a rich crumb while binding the ingredients together. You can technically substitute this for another kind of milk, but whole milk is going to yield the best results.

Tips for the BEST Vanilla Cupcakes:
If you want these vanilla cupcakes to be the very best, I recommend the following:
- Use store bought cake flour. The homemade cake flour works in a pinch and is better than plain all purpose flour, but store bought cake flour is always going to yield the softest texture.
- Start with room temperature ingredients. Baking is a science, and when ingredients like eggs, butter, and dairy are at room temperature, they form an emulsion which traps air in the batter. Once you place that batter in the oven, the trapped air expands and gives your cupcakes a good rise and lovely, tender crumb. If you want your cupcakes to live up to their true potential, don’t skip this step.
- Use fresh baking powder and baking soda. Each of these leavening agents lose their power to make cupcakes rise after about 6 months, so be sure to keep fresh baking powder and baking soda on hand for best results.
- Be careful not to over or under mix. Under-mixing the batter will prevent important chemical reactions from happening in your cupcake batter, and over-mixing will lead to too much gluten development (aka dense cupcakes). In order to help you mix perfectly, I’ve listed all of the mixing times and speeds in the recipe below regardless of whether you’re using a hand mixer or stand mixer. Follow them exactly for best results!
- Know your oven. I’ve written this recipe (and all of my recipes) for a conventional oven. If you have a convection or fan-assisted oven, you’ll want to reduce the baking temperature to 325ºF (163ºC) and check for doneness a few minutes earlier than specified.


Vanilla Cupcakes Recipe Video
I whipped up a quick video showing you how to make these vanilla cupcakes from start to finish!
If you love recipe videos like this one, be sure to check out my YouTube channel! I’ve got a growing collection of cake recipes, decorating tutorials, and Cake Basics over there. Hit the subscribe button on my page so you never miss a new video.
The Ideal Vanilla Buttercream for Cupcakes
I love frosting these vanilla cupcakes with a swirl of this vanilla buttercream, which is my personal go-to. It’s an American buttercream that’s so silky smooth, bursting with vanilla flavor, perfectly pipeable, and I’ve customized it to be less sweet than average. If you prefer a more buttery vanilla frosting that’s even less sweet than American buttercream, I also have this vanilla swiss meringue buttercream recipe that takes a little more effort but is so delicious!

If you’re looking to switch up the frosting flavor, nearly any of my frosting recipes will be delicious paired with these vanilla cupcakes.
I hope you love these vanilla cupcakes as much as I do! Let me know if you make them in the comments below (be sure to leave a star rating!) and tag @sugarandsparrowco on Instagram to show me if you post a photo. I love to see what you create with my recipes!

Perfect Vanilla Cupcake Recipe
Ingredients
Vanilla Cupcakes
- 2 1/2 cups (265g) sifted cake flour
- 2 tsp baking powder
- 1/2 tsp baking soda
- 1 tsp salt
- 3/4 cup (170g) unsalted butter, softened to room temperature
- 1 3/4 cup (350g) granulated white sugar
- 3 large eggs, room temperature
- 1/2 cup (120g) sour cream, room temperature
- 1 Tbsp pure vanilla extract
- 1 cup (240ml) whole milk, room temperature
Vanilla Buttercream
- 2 batches vanilla buttercream
Instructions
- Preheat the oven to 350°F (177ºC) and line standard cupcake pan(s) with liners. This recipe makes about 32 cupcakes.
- Add the sifted cake flour, baking powder, baking soda, and salt into a bowl and whisk to combine. Set aside.
- In the bowl of your stand mixer fitted with the paddle attachment (or with an electric mixer and large bowl), beat the butter on high for two minutes until creamy. Add the sugar and continue to mix on high for another two minutes. Scrape down the bowl and paddle. Turn the mixer to low speed and add the eggs one at a time, mixing thoroughly after each addition. Add the vanilla and sour cream, then turn the mixer to high speed and mix for one minute. Scrape down the bowl and paddle as needed.
- With the mixer on low speed, add in the dry ingredients all at once and mix until just combined, then add the milk in a steady stream. Continue mixing for another 20-30 seconds, until just combined. Scrape down the sides and bottom of the bowl and give it a few stirs to make sure there are no lumps (without over-mixing). The batter will be slightly thick.
- Spoon or pour the batter into the cupcake tins until they’re about ⅔ full, then bake for 14-18 minutes, until they spring back to the touch and a toothpick inserted into the middle comes out clean. Let the cupcakes cool in the pan for about five minutes before removing them from the pan and continuing to cool on a wire rack until room temperature. Make sure they are entirely room temperature before adding any frosting.
Assembly
- To create the look pictured, make the vanilla buttercream and add it into a piping bag fitted with Wilton Tip 1M. Pipe a swirl onto each cupcake with the buttercream and top with rainbow sprinkles.





Hi Whitney!
I’ve tried these out and once again love your recipe!
I plan on making these (on Wednesday) for our gender reveal (on Thursday). But I would love to keep some for Saturday. Do you think I can store them up til then, or should I freeze them for a few days?
Thank youu! X
Hi Li! I’m so happy you love this recipe and congratulations on your new baby! You can store the cupcakes at room temperature in an airtight container and they should be good for Saturday. Enjoy!