The Best Vanilla Cupcakes Recipe in 10 Steps
Published: 22 May 2026
Here is a short video explaining the process, scroll down for detailed ingredients and step by step recipe method. Thanks for coming and do not forget to check other recipes on our homepage.
Table of Contents
Ingredients With Exact Amounts
Getting your ingredients right before you start is half the battle when it comes to baking. Unlike cooking, where you can taste and adjust as you go, baking is precise. Every ingredient plays a specific role, and the amounts matter more than most people realize. Below is everything you need to make 12 perfectly sized vanilla cupcakes along with a creamy vanilla buttercream frosting to go on top.
For the Cupcake Batter
You will need 1ΒΎ cups (175g) of cake flour, which is the foundation of this recipe. Cake flour has a lower protein content than regular all-purpose flour, and that is what gives these cupcakes their soft, delicate crumb. You will also need 1 cup (200g) of granulated white sugar to sweeten the batter without adding any extra flavor that could compete with the vanilla. For leavening, use 1Β½ teaspoons of baking powder and ΒΌ teaspoon of baking soda β this combination helps the cupcakes rise evenly and gives them that slightly domed top that looks so good. Add Β½ teaspoon of salt to balance the sweetness and enhance the overall flavor.
For the fat and moisture, you need Β½ cup (115g) of unsalted butter that is fully softened to room temperature. Do not use melted butter here β softened butter traps air when beaten with sugar, and that air is what makes your cupcakes light and fluffy. You will also need 2 large eggs plus 1 egg yolk, all at room temperature. The extra yolk adds richness and helps keep the cupcakes moist. Use Β½ cup (120g) of sour cream, which is one of the secret weapons in this recipe. It adds moisture and a very subtle tang that makes the vanilla flavor pop even more. Finally, you need Β½ cup (120ml) of whole milk at room temperature, and the most important ingredient of all β 1 full tablespoon of pure vanilla extract. Do not use imitation vanilla. The vanilla is the entire point of this recipe, so use the real thing.
For the Vanilla Buttercream Frosting
For the frosting, you will need 1 cup (225g) of unsalted butter that is fully softened. This is important β if the butter is too cold, the frosting will be lumpy, and if it is too warm, it will be greasy and will not hold its shape. You will also need 3 to 4 cups (360β480g) of powdered sugar that has been sifted, 3 to 4 tablespoons of heavy cream or whole milk to loosen the frosting to a pipeable consistency, 2 teaspoons of pure vanilla extract, and a small pinch of salt to cut through the sweetness and keep the frosting tasting balanced rather than sickly sweet.
Optional Toppings and Garnishes
Once your cupcakes are frosted, you can keep them simple or dress them up. Rainbow sprinkles are always a crowd favorite and make the cupcakes look festive without any extra effort. If you want a more elegant look, a dusting of edible pearl sugar or a few fresh strawberries or raspberries placed on top of the frosting works beautifully. You can also add a small pinch of flaky sea salt on top of the buttercream for a sweet-salty contrast that is unexpectedly amazing.
Step-by-Step Recipe Method
This is the core of the whole post, so read through the entire method once before you start baking. There are no complicated techniques here, but the order of steps and a few small details matter a lot. Follow this method exactly and you will get perfect vanilla cupcakes every single time.
Step 1 β Get Everything Ready Before You Start
The very first thing you should do, before you even touch a mixing bowl, is set out your butter, eggs, milk, and sour cream on the counter. These ingredients need to be at room temperature before they go into the batter, and that takes at least 30 minutes. Room temperature ingredients blend together much more smoothly and create a better batter. Cold eggs or cold milk added to beaten butter can cause the batter to curdle, which results in a dense and uneven cupcake. While your ingredients are coming to temperature, preheat your oven to 350Β°F (175Β°C) and line a standard 12-cup muffin tin with paper cupcake liners. Do not grease the pan on top of the liners β the liners are enough.
Step 2 β Mix All Your Dry Ingredients Together
In a medium-sized bowl, add your cake flour, baking powder, baking soda, and salt. Use a whisk to combine them thoroughly for about 30 seconds. Whisking the dry ingredients together does two things β it distributes the leavening agents evenly throughout the flour so that every cupcake rises the same way, and it also aerates the flour slightly which contributes to a lighter texture. If you have a sifter, sift the dry ingredients instead of whisking. Either method works fine, but sifting is slightly better because it removes any lumps in the flour that could show up in your final batter. Set this bowl aside once it is done.
Step 3 β Cream the Butter and Sugar Until Light and Fluffy
Add your softened butter and granulated sugar into a large mixing bowl or the bowl of a stand mixer fitted with the paddle attachment. Beat them together on medium-high speed for at least 3 to 4 minutes. You might be tempted to rush this step, but please do not. After 3 to 4 minutes of beating, the mixture should look noticeably pale β almost white β and it should feel very light and fluffy when you run a spatula through it. This process is called creaming, and it is where the air that makes your cupcakes light and tender comes from. The sugar crystals cut through the butter and create tiny air pockets that expand in the oven. If you under-cream, your cupcakes will be heavy and dense no matter what else you do right.
Step 4 β Add the Eggs and Vanilla Extract
With the mixer running on medium speed, add your eggs one at a time. Add the first whole egg and let it mix in for about 20 seconds before adding the second whole egg. After both whole eggs are in, add the extra egg yolk. Let everything mix in for another 20 seconds after the yolk goes in, then scrape down the sides and bottom of the bowl with a rubber spatula. This scraping step is important because butter and sugar often stick to the sides and bottom without getting incorporated. After scraping, add your full tablespoon of vanilla extract and mix for another 10 seconds just to combine. At this point, your batter should look smooth, slightly fluffy, and smell absolutely incredible.
Step 5 β Add the Dry Ingredients Alternately With the Wet Ingredients
This step sounds more complicated than it is, but it is a very important technique. You are going to add the dry ingredient mixture and the wet ingredients (milk and sour cream combined together in a small bowl) in alternating additions, starting and ending with the dry ingredients. Here is how it goes β add about one third of the dry ingredients to the butter mixture and mix on low speed just until it starts to combine. Then add half of the milk and sour cream mixture and mix on low until just blended. Add another third of the dry ingredients, mix briefly, then add the remaining milk mixture, mix briefly, and finish with the last third of the dry ingredients. Mix on low speed just until no streaks of flour remain visible. Stop the mixer immediately. Do not keep mixing once the flour disappears. Overmixing at this stage develops too much gluten in the flour, which makes the cupcakes chewy and tough instead of soft and tender.
Step 6 β Fill the Cupcake Liners
Use an ice cream scoop or a large spoon to fill each cupcake liner with batter. Fill each one about two-thirds to three-quarters of the way full. This is an important detail β if you fill them too high, the batter will overflow over the edges and spread out flat across the top of the pan instead of rising up into a nice dome. If you fill them too low, the cupcakes will bake up short and be difficult to frost. An ice cream scoop is the most reliable tool here because it dispenses the same amount of batter into each liner every time, which means all your cupcakes will be the same size and will bake evenly. Once all the liners are filled, give the muffin tin a very gentle tap on the counter to release any large air bubbles in the batter.
Step 7 β Bake the Cupcakes
Slide the muffin tin into your preheated oven and set a timer for 16 minutes. Do not open the oven door before the timer goes off. Opening the oven door in the first 12 to 15 minutes of baking causes a drop in temperature that can make your cupcakes sink in the center. After 16 minutes, open the oven and insert a toothpick into the center of one of the middle cupcakes β those tend to bake slowest since they get less direct heat. If the toothpick comes out clean or with just one or two moist crumbs on it, the cupcakes are done. If there is wet batter on the toothpick, close the oven and check again in 2 to 3 minutes. Most ovens will have these done between 16 and 19 minutes, but every oven is a little different so the toothpick is your most reliable guide.
Step 8 β Cool the Cupcakes Completely
The moment the cupcakes come out of the oven, remove them from the muffin tin and place them on a wire cooling rack. Do not leave them sitting in the hot tin. When cupcakes sit in the tin after baking, steam builds up underneath them, and that moisture makes the paper liners peel away from the cupcake. It can also make the bottom of the cupcakes slightly soggy. Let the cupcakes cool on the wire rack for a full 45 to 60 minutes before you even think about frosting them. This is not optional. If you frost them while they are still warm, your beautiful buttercream will melt and slide right off.
Step 9 β Make the Vanilla Buttercream Frosting
While the cupcakes are cooling, you can make your frosting. Add your softened butter to a clean mixing bowl and beat it on high speed for about 2 minutes until it is very smooth and slightly lighter in color. Then, with the mixer on low speed, slowly add your sifted powdered sugar a little at a time. Adding it all at once will create a cloud of powdered sugar that goes everywhere. Once all the sugar is in, add your vanilla extract, a pinch of salt, and 3 tablespoons of heavy cream. Increase the speed to medium-high and beat for 3 full minutes. The frosting will become noticeably lighter, fluffier, and creamier during this time. Taste it and adjust β if it is too thick, add another tablespoon of cream. If it is too thin, add a few more tablespoons of powdered sugar. The frosting should be thick enough to hold peaks but soft enough to pipe smoothly through a bag.
Step 10 β Frost Your Cupcakes
Transfer your buttercream into a piping bag fitted with a large star tip. Starting from the outside edge of the cupcake, pipe the frosting in a circular motion, moving inward and upward to build a tall swirl. Finish with a quick flick of the wrist at the top to create a little peak. Add sprinkles or any other toppings immediately while the frosting is still slightly tacky so they stick. If you do not have a piping bag, you can simply spread the frosting on with a butter knife or the back of a spoon and it will still taste just as delicious.
Variations in the Recipe
Once you have the base recipe down, it is genuinely fun to experiment with different flavors and combinations. The vanilla cupcake base is very versatile β it plays well with almost every frosting, filling, and add-in you can think of. Here are some of the best variations that are worth trying.
Lemon Vanilla Cupcakes
To make lemon vanilla cupcakes, add one tablespoon of freshly grated lemon zest directly into the batter along with the vanilla extract. The lemon zest releases its oils into the batter during mixing and gives every bite a bright, citrusy lift that pairs beautifully with the vanilla. For the frosting, you can make a simple lemon buttercream by replacing the vanilla extract with one tablespoon of fresh lemon juice and one teaspoon of lemon zest. These are especially lovely in the spring and summer and look elegant when topped with a thin slice of lemon or a small edible flower.
Strawberry Vanilla Cupcakes
For a strawberry version, bake the cupcakes as normal and then use a small knife or apple corer to cut a little hole in the center of each cooled cupcake. Fill the hole with about a teaspoon of good quality strawberry jam or a small spoonful of fresh strawberry compote. Press a small piece of the removed cupcake back on top to seal it in, then frost over it. When someone bites into it and finds the jam filling inside, it is a genuinely wonderful surprise. Pair this with a strawberry buttercream made by mixing a tablespoon of freeze-dried strawberry powder into your standard buttercream.
Brown Butter Vanilla Cupcakes
This is a slightly more advanced variation but it is absolutely worth the extra five minutes of effort. Instead of using regular softened butter, brown your butter in a saucepan over medium heat first. Stir it constantly and watch for it to turn a golden amber color and smell nutty and toasty β that usually takes about 5 to 7 minutes. Pour it into a bowl and refrigerate until it solidifies back to a soft, spreadable consistency, then use it in the recipe exactly as you would regular butter. The brown butter adds a deep, nutty, caramel-like undertone to the cupcake that makes it taste incredibly complex and special even though the technique is simple.
Funfetti Vanilla Cupcakes
Funfetti is one of the easiest and most fun variations you can do. Simply fold about one-third cup of rainbow sprinkles into the finished batter just before filling the liners. The key is to use jimmies-style sprinkles rather than the hard round nonpareil sprinkles β jimmies hold their color better during baking and will not bleed into the batter as much. These are an absolute hit with kids and look festive and cheerful without any extra effort. Top them with the standard vanilla buttercream and another handful of sprinkles for full effect.
Dairy-Free Vanilla Cupcakes
Making these cupcakes dairy-free is easier than you might think and the results are still very good. Replace the butter with a good quality vegan butter block (not the spreadable kind from a tub), the whole milk with oat milk or full-fat coconut milk, and the sour cream with coconut yogurt or a plain dairy-free yogurt. The texture will be very slightly different β a touch denser β but the flavor is still excellent. For the frosting, use vegan butter and replace the heavy cream with oat milk or full-fat coconut cream.
Mistakes to Avoid
Baking is a science, and small mistakes have consequences. The good news is that most cupcake problems are completely avoidable once you know what causes them. Here are the most common mistakes people make with vanilla cupcakes and exactly how to avoid them.
Using Cold Ingredients
This is probably the most widespread mistake home bakers make, and it affects the batter more than anything else. When cold butter, eggs, or milk go into a batter that has already been creamed to a fluffy consistency, the cold temperature causes the butter to seize up and the mixture to look curdled and separated. The batter never fully comes back together after that, and the cupcakes end up with an uneven texture and a denser crumb than they should have. Always take your butter, eggs, milk, and sour cream out of the refrigerator at least 30 minutes before you start baking. If you forget, you can speed things up by placing the eggs in a bowl of warm water for 10 minutes and cutting the butter into small cubes to help it soften faster.
Adding Too Much Flour
Too much flour is the single most common reason vanilla cupcakes turn out dry and dense. It happens because most people scoop their measuring cup directly into the flour bag, which compacts the flour and packs significantly more into the cup than the recipe intends. The correct method is to use a spoon to scoop flour into the measuring cup and then use a straight edge like the back of a knife to level it off. Even better, use a kitchen scale and measure by weight in grams β 175g of cake flour will always be 175g, regardless of how tightly it is packed.
Overmixing the Batter
Once the flour goes into the batter, less mixing is always better. The moment you add flour to a wet mixture and start agitating it, gluten starts to develop. A small amount of gluten is fine and necessary, but too much makes the cupcakes tough and chewy rather than tender and soft. The rule is simple β mix on low speed and stop the moment you no longer see streaks of flour. A few small lumps in the batter are completely fine and will bake out. Resist the urge to keep mixing until the batter looks perfectly smooth.
Skipping the Creaming Step or Rushing It
The creaming step β beating butter and sugar together for several minutes β is not just mixing. It is actually incorporating air into the fat, which is what makes the cupcakes light. If you only beat the butter and sugar for 30 seconds or one minute, you have not created enough air and the cupcakes will bake up flat and heavy. You really do need to beat for a full 3 to 4 minutes on medium-high speed. The mixture should look almost white and feel very light before you move on to the next step.
Opening the Oven Door Too Early
It is very tempting to peek into the oven and check how things are going, especially when your kitchen smells incredible. But opening the oven door in the first 12 to 15 minutes of baking causes a sudden drop in temperature inside the oven. Cupcake batter that is still raw in the center has not set its structure yet, and that temperature drop can cause it to collapse and sink in the middle. Once a cupcake sinks, there is no fixing it. Set your timer, trust your oven, and wait until the minimum baking time is up before you open the door.
Frosting Cupcakes Before They Have Cooled
It feels like a waste of time to wait for cupcakes to cool, especially when you are excited to eat them or you have guests coming. But if there is any warmth left in the cupcake at all, the buttercream will melt when it comes into contact with it. The frosting will slide, look greasy, and will not hold any of the beautiful piped shape you worked hard to create. A full 45 to 60 minutes of cooling on a wire rack is the minimum you should wait. If you are in a hurry, you can place the cupcakes in the refrigerator for 15 to 20 minutes to speed up the cooling process, but make sure the frosting itself is at room temperature when you pipe it.
Storing Cupcakes in the Refrigerator
Many people instinctively put cupcakes in the fridge to keep them fresh, but refrigerating cupcakes actually dries them out. The cold, dry air inside a refrigerator pulls moisture out of baked goods very quickly. Vanilla cupcakes stored at room temperature in an airtight container will stay moist and tender for up to three days. If you need to keep them longer than that, freeze the unfrosted cupcakes in a zip-top bag or airtight container for up to two months. Thaw them at room temperature and frost on the day you plan to serve them.
Conclusion
Vanilla cupcakes might seem simple, but when they are made well, they are genuinely one of the most satisfying things you can bake. This recipe gives you everything that makes a cupcake worth eating β a moist, tender crumb with real vanilla flavor throughout, and a creamy, light buttercream that complements it without overpowering it. The steps are straightforward, the ingredients are things you can find at any grocery store, and once you have made these a couple of times, the process becomes second nature.
Start with the base recipe exactly as written the first time. Get a feel for how the batter should look and how the cupcakes should smell when they are close to done. Once you are confident with the foundation, try one of the variations and see what you enjoy most. Baking is supposed to be fun, and vanilla cupcakes are the perfect starting point for experimenting in the kitchen. If you try this recipe, leave a comment below and let me know how they turned out β I genuinely love hearing how things go for people making this at home.
FAQs Section
Can I use all-purpose flour instead of cake flour?
Yes, you can use all-purpose flour if that is all you have, but the texture of the finished cupcakes will be noticeably different. All-purpose flour has a higher protein content than cake flour, which means more gluten develops during mixing and the cupcakes end up slightly denser and chewier. If you want to substitute all-purpose flour and still get a result close to the original, replace 2 tablespoons of every 1 cup of all-purpose flour with cornstarch. So for this recipe, you would use approximately 1Β½ cups plus 2 teaspoons of all-purpose flour mixed with 3Β½ teaspoons of cornstarch. Whisk them together well before using and you will get something reasonably close to cake flour.
Why did my cupcakes sink in the middle?
Sunken cupcakes are almost always caused by one of three things β opening the oven door too early, underbaking, or overfilling the liners. If the oven door is opened before the batter has set in the center, the sudden temperature drop causes the cupcake to collapse on itself. Underbaked cupcakes sink after they come out of the oven because the center was never fully cooked and cannot support its own structure. Overfilled liners cause batter to spill over the edges and spread outward rather than rising up. Make sure you are filling your liners only two-thirds to three-quarters full and always doing the toothpick test before pulling them from the oven.
Can I make vanilla cupcakes ahead of time?
Absolutely, and this is actually a great strategy when baking for a party or event. Bake the cupcakes one day ahead of time and let them cool completely. Store them unfrosted in an airtight container at room temperature overnight. Make the buttercream fresh on the day you plan to serve the cupcakes and frost them a few hours before your event. Frosted cupcakes can also sit at room temperature in an airtight container for up to 8 hours, so you have plenty of flexibility. The one thing to avoid is making frosted cupcakes multiple days in advance, because the buttercream can develop a crust and the cupcakes begin to lose their moisture.
Can I freeze vanilla cupcakes?
Yes, vanilla cupcakes freeze very well, but you should always freeze them unfrosted for the best results. Once the cupcakes are fully cooled, place them in a single layer on a baking sheet and freeze for about an hour until they are firm. Then transfer them to a zip-top freezer bag or an airtight container, where they will keep for up to two months. When you are ready to use them, take them out of the freezer and let them thaw at room temperature for one to two hours. Once they are fully thawed, frost them as normal and they will taste just as good as the day they were baked.
Why are my cupcakes dry?
Dry cupcakes almost always come back to one of these causes β too much flour, overbaking, or skipping the sour cream. Too much flour is the most common culprit, and it happens most often when flour is measured by scooping rather than spooning into the cup. Overbaking by even two or three minutes pulls too much moisture out of the crumb. And the sour cream in this recipe is genuinely essential β it contributes a significant amount of moisture to the batter. If you do not have sour cream, substitute an equal amount of full-fat plain yogurt. Do not simply leave it out without replacing it, as that will result in a noticeably drier cupcake.
How do I make the buttercream less sweet?
Standard American buttercream is on the sweeter side because powdered sugar is its base, but there are a few easy ways to dial back the sweetness. First, always add a pinch of salt β it does more to balance sweetness than almost anything else. Second, use heavy cream rather than milk, because the fat in cream rounds out the flavor and makes the frosting taste richer and less sugary. Third, beat the frosting for a full 3 minutes on high speed β the extra air incorporated during long beating makes the texture lighter and makes the sweetness feel less intense. If you want a less sweet option altogether, switch to cream cheese frosting, which has a natural tang that cuts through the sugar very effectively.
Can I double this recipe for a larger batch?
Yes, this recipe doubles easily and reliably. Simply multiply every ingredient by two and you will have enough batter for 24 cupcakes. You will likely need to bake in two rounds using two muffin tins, or bake one tin at a time. If baking two tins simultaneously, place one on the upper-middle rack and one on the lower-middle rack and swap their positions halfway through baking to ensure even heat distribution. The baking time stays the same β just use the toothpick test to determine when each batch is done. The buttercream recipe doubles just as easily and can be made in one bowl as long as your mixer is large enough to handle the volume.

- Be Respectful
- Stay Relevant
- Stay Positive
- True Feedback
- Encourage Discussion
- Avoid Spamming
- No Fake News
- Don't Copy-Paste
- No Personal Attacks

- Be Respectful
- Stay Relevant
- Stay Positive
- True Feedback
- Encourage Discussion
- Avoid Spamming
- No Fake News
- Don't Copy-Paste
- No Personal Attacks

