This post may contain affiliate links. Please read our disclosure policy.
The perfect vanilla cupcake. An EASY friendly from scratch recipe! Light, fluffy, and loaded with vanilla flavor! Plus tons of tips and tricks on HOW to make the perfect cupcake that will work on ANY recipe!

Hey yโall. Today I am bringing you the PERFECT homemade Vanilla Cupcake recipe. You heard me right. Most of the reason I never posted an actual cupcake recipe other than doctored up cake mixes is that I wanted to make sure I was posting the right cupcake recipe. And this cupcake is Mr.Right. Trust me.
I baked more cupcakes in 2 weeks than Iโve ever baked in my whole life combined to get this recipe. Too many eggs, too little eggs, what about with an extra yolk or an extra white. Buttermilk. Whole milk. Sour cream. Greek yogurt. Half and half. Too much butter. Too little butter. Seriously it was getting ridiculous. I swear I had the answer given to me in a dream one night, but it slipped away when I woke up. Noooooo!! But at the end of it all I arrived at this recipe.
This cupcake has it all. Flavor. Texture. Moisture. What more could you want? Letโs take a look at what is in these cupcakes that make them so perfect.
Dry Ingredients:
- All-purpose flour. This is an easy make at home cupcake recipe, and all purpose flour is the most common flour used at home. I know most likely you have this type of flour in your pantry right now! All purpose flour lives up to its name. We can use it for breads, pizza doughs, and even tender cakes.
- Baking powder AND baking soda. The baking soda is going to react with the yogurt that Iโll talk about in little bit. But the lift provided by the baking soda alone wasnโt enough to create those beautiful round domes on top of the cupcakes. Which is where our baking powder comes in, just to give that extra little lift.
- Salt when used in baked goods contributes to flavor an to the texture. The salt has an effect n the gluten production which affects the texture.
After we combine all of our dry ingredients itโs best to whisk them together. This will ensure that the dry ingredients are mixed together, dispersing the salt and our leavening agents throughout. This is an important step because cupcake batter is delicate, and we can damage it by mixing too much. So we want our dry ingredients properly mixed before adding them to the wet ingredients.
One more dry ingredient that we use but doesnโt get mixed with the others is the sugar! And weโll talk more about that in a moment when we talk about the butter.
Wet Ingredients:
- Butter. Butter is amazing. I always use unsalted butter when baking. Now, one crucial step when baking cakes and cupcakes is the creaming of the butter and sugar. What does that even mean!? Well..when we cream the butter and sugar together, we are using the sugar to aerate the butter. Basically filling it up with bubbles that can capture the gasses released by our leavening agents. The more bubbles we have, the lighter in texture the cakes will be and the finer the crumb. Meaning this is what gives us that light and fluffy cake! So when to actually cream the butter and sugar you want to start with room temperature butter. Crucial step. You should be able to press your fingertip into the butter, but it will hold itโs shape. Not melted! Just set the butter out on the counter about 30-60 minutes before youโre going to start baking and youโll be good. The easiest way to cream the butter and sugar is to use a stand mixer. This is the one I use.
Typically using a medium speed for about 2-3 minutes will get the job done. The mixture will be visibly fluffy, and wonโt be clinging to the sides of the bowl. Wow. Did you get all of that?! For some more information this article is super helpful.
- Eggs will add flavor, structure, leavening, and color. They have a big job. The balance between eggs and flour help provide the height and texture. Too many eggs make for quite a dense flat cupcake. Trust me.
- Milk helps keep our cupcakes moist (I know a lot of people hate that word..sorry!!). It also hinders gluten formation.
- Greek Yogurt is thick, high in protein and can provide a finer crumb due to itโs dense, creamy texture. I felt using milk alone didnโt provide enough moisture to the cupcakes. The greek yogurt definitely amped it up a bit. I used vanilla flavor also which contributed to the overall vanilla flavor of the cupcakes.
- Vanilla Extract was used to give a vanilla flavor to the cupcakes. Again, this is a common ingredient that you would have on your shelves, unlike vanilla beans. While I love vanilla beans, theyโre slightly pricey to keep on hand.
Phew. Are you still with me after all of that? Sorry, but I get a little excited when it comes to cupcakes. Would you believe me if I told you there was more tips and tricks at the end of this post after the recipe?? Do you think you can handle it?
The Perfect Vanilla Cupcake
Ingredients
- 1 cup sugar
- ยฝ cup butter room temperature
- 2 large eggs
- 2 tsp vanilla extract
- 1 ยพ cup all purpose flour
- ยฝ tsp baking powder
- ยฝ tsp baking soda
- ยฝ tsp salt
- โ cup Vanilla Greek Yogurt
- โ cup whole milk
Frosting
- 8 ounces cream cheese cold
- 1 pint heavy cream cold
- 1ยฝ cup powdered sugar
- 1 tsp vanilla extract
Instructions
- Preheat oven to 350ยฐF. Line muffin tin with cupcake liners. Set aside.
- In medium size bowl combine the flour, baking powder, baking soda, and salt. Whisk the dry ingredients together to incorporate. Set aside.
- In mixing bowl add the room temperature butter. Beat on medium speed for about 1 minute to loosen up the butter, add in the sugar and beat on medium speed for about 2-3 minutes to cream the butter and sugar together until light and fluffy. *More information on this in the post
- Add in the vanilla extract and add in the eggs one at a time, mixing in between.
- Mix in the greek yogurt. Remove the bowl from the stand mixer.
- Slowly add in 1/3 of the dry ingredients, then 1/3 of the milk. Mix with a rubber spatula gently, just until most of the flour is incorporated, not fully mixed. Continue with this method until all the milk and dry ingredients are added. Gently stir the batter to incorporate all the dry ingredients, itโs ok if thereโs some lumps in the batter. Donโt overmix.
- Scoop the batter into the cupcake liners filling them about 2/3 full.
- Bake for 15-16 minutes until fully cooked, tops will be golden and a toothpick inserted into the center will come out clean.
- Allow to cool in the tin for 2-3 minutes and then carefully remove cupcakes to continue cooling on a wire rack.
Frosting
- In mixing bowl beat the cream cheese on medium for about a minute to loosen it up. Add in the powdered sugar and mix, start on slow and increase speed as the powdered sugar is mixed with the cream cheese. Mix until smooth.
- Add in the heavy cream and the vanilla extract. Mix on medium speed until fluffy and forming into stiff peaks.
- Add to piping bag and pipe onto cooled cupcakes.
- Serve and enjoy!
Notes
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
Additional Tips & Tricks for the Perfect Cupcake!
- Room Temperature Ingredients. Iโm sure youโve heard this repeatedly. And trust me I know that when the craving for a cupcake hits the last thing you want to do is stare at those eggs, butter and milk sitting on your counter. Watching and waiting for them to reach that golden room temperature. But if you want those cupcakes to be good, then itโs a pretty important step.
- Donโt Overmix. The batter is your friend. You love the batter. Itโs never done anything wrong to you, so resist the urge to beat it! If overmixed then all those air bubbles will be crushed and our cakes will not be light and fluffy like you know you want them to be.
- Donโt Overfill. Most recipes will tell you how full to fill the liners, usually half full or two thirds. This is important because not all cupcakes rise the same. So if we fill them too much then the tops will flow over and out, or if we donโt fill them enough they wonโt rise up past the top of the liner. If the later happens though, just add the frosting! To keep your cupcakes uniform try using an ice cream scoop to fill the liners.
- Preheat The Oven Always. Preheat your oven when baking. Starting in a cold oven is not going to help our cupcakes bake and rise.
- No Peeking! Donโt open that oven until it is time to check on them. Opening the oven during baking will release hot air, let in cold air, our poor little cupcakes wonโt know whatโs going on and they wonโt reach their full risen potential! I always yell at my hubs when he opens the oven while Iโm baking. Someday he will learn..
- Remove From the Pan to Cool. If we leave those precious little cupcakes in the tin they will continue to bake off the heat of the tin. Letโs get them carefully out of the tin and onto a wire rack to cool and not dry out.
- Cool Completely Before Frosting. There is nothing better than fresh baked goods right out of the oven. But what happens when we put our beautiful frostings made of butter on top of those warm cupcakes? It melts. Whomp whomp whomp.
- Frost Them! The frosting acts as a sealant. It holds in the moisture of the cupcake. Without frosting itโs just a sad, dry cupcake.
- Store Covered. Just like most things air will make them go stale. Just make sure theyโre covered, keep them at room temperature unless otherwise noted in a recipe. Cupcakes can be frozen and brought back to room temperature. Just wrap them tightly in foil and then place them in a freezer bag.
I so want to make these cupcakes tomorrow but I only have heavy cream in the refrigerator. Can I use it instead of whole milk? Thank you!
You should be able to make that sub without much change to the texture.
I made a vegan version of these using vanilla coconut yogurt, Earth balance, and rice milk. Also subbed vanilla paste for vanilla extract. They turned out amazing!
Iโm so happy to hear that Molly! Thanks for sharing that info for others too!
Very impressed!! Not hard, I had most ingredients on hand already, and very great tips!! 10/10 recommend this recipe. I followed it exactly and I love it! Will definitely be making again soonโฆ.never wouldโve thought to use Greek yogurt in cupcakes but it was awesome!
So glad you enjoyed!
Hi can you kindly convert the recipe to grams? I am in the UK. Thanks!
Hi Ally! Iโm so glad you want to try the recipe. I donโt have it converted to grams on the website, however, thereโs a wonderful website that you can easily put in the measurements and have it converted for you: http://www.gourmetsleuth.com/conversions/grams/general-gram-calculator . I hope that helps!! Enjoy ๐
Made these for my three-year oldโs birthday in January and making them again tonight for my sweet boyโs first birthday (too bad for him he probably wonโt get any!). Love this recipe, but also love the education. It makes us better bakers when we know why weโre doing things. ๐ Thanks!
Thanks for sharing this wonderful ideas for making the perfect cupcake. I like cupcakes and now, I enjoy this at home I follow your steps for baking perfect cupcakes.
Can you use plain yogurt if you donโt have greek at home?
You can use regular yogurt if you absolutely have to. Regular yogurt is not as thick as greek yogurt and will cause the cupcakes to turn out slightly different in texture, but they should still be good!
OK the icing on this cupcake is honestly the Holy Grail of icings! Absolutely amazing!! Thank you!!! Only one question,, my cupcake was a bit dense and cornbread lIke in texture. I used โcane sugarโ instead of granulated sugar. Do you think that was the problem?
Hi Diana! So glad you love the frosting recipe! As for the cupcakes, cane sugar is the same as granulated sugar. Itโs so hard to know what happened. Thereโs so many things with baking that could have caused the problem. Did you cream the butter and sugar until it was light and fluffy? Add the flour and milk alternating to the batter and only stir the absolute minimum? If we donโt follow steps like this it can deflate our batter and our cakes will turn out dense.
Hello! I love these cupcakes! Do you also have a recipe for chocolate cupcakes?
Hi Amanda! Iโm so glad you enjoy the recipe! Iโm still working on my perfect version of a chocolate cupcake. Hopefully I will have one to put up soon!
Hi. Is it ok to make this cupcakes into rainbow cupcakes or will it change the textures ?
Hi Marie! I havenโt used food coloring with this particular recipe, but I doubt that it would change the texture much since you will just be using such a small amount.
Thanks. Can I also use sour cream instead of yogurt and salted butter instead of unsalted butter. Sorry had to ask so much questions
Hi Marie! You can swap the sour cream with the greek yogurt, the texture should turn out very similar. The yogurt I recommend using does have a bit of vanilla flavor added to it, so you may want to add just a pinch more vanilla to your batter. However, I wouldnโt recommend using salted butter. Using salted butter in baking can really throw off a recipe. Especially since there is already salt added to this recipe. I hope that helps!
This is always my go to cupcake recipe, but I want to try and make it into a cake for a bday. Any tips for transforming this into a 9โ two layer cake? Double the recipe? How much longer should it be cooked? Thanks!
What a great idea! Yes, I recommend doubling everything but unfortunately, without having tried this myself, I cannot answer with certainty. As always, please use your best judgment when making substitutions and modifications. As for baking time, approximate bake times for cakes of that size is 30-35 minutes. Definitely keep an eye on it and test with a toothpick to ensure itโs done. Hope that helps!
Let me know how it turns out!