This post may contain affiliate links. For more information, read my disclosure policy.
Learn how to make the best vanilla cupcake recipe from scratch! This is my go-to recipe for soft, moist and fluffy cupcakes – you never need to use a box mix again. These are buttery cupcakes with a classic bakery flavor and go perfect with any frosting.

Why You’ll Love My Recipe
I’ve made this recipe more times than I can count, and they always come out amazing. This homemade cupcake recipe is as consistent as a box mix, but it’s from scratch: never dry and always with flat domes that hold as much frosting as you want. It’s a bakery-quality cupcake right in your own kitchen!
The secret to these perfect vanilla cupcakes is the that I use melted butter, which gives lots of buttery flavor but get moist and fluffy like when you use oil. Unlike a box mix, these cupcakes use real vanilla and buttermilk to ensure a moist texture that melts in your mouth.

Ingredients in Vanilla Cupcakes
- You do not need to use cake flour! Regular grocery store brand all-purpose flour is totally fine.
- I always start with melted Unsalted butter to keep the cupcakes moist. If you use salted butter, reduce added salt in the recipe by 1/4 tsp.
- I love the flavor of vanilla bean paste, but you can substitute a good quality pure vanilla extract.
- Using buttermilk instead of regular milk adds acidity to the batter, which breaks down gluten strands. This results in a much softer cupcake with a fine crumb that stays moist for a longer period. It’s not needed to activate the leavening (we use baking powder, not baking soda), so it makes it easy to substitute with milk or nondairy milk. Learn how to make your own buttermilk!
Variations
- Make gluten free vanilla cupcakes by using 1:1 gluten-free all-purpose flour.
- Make dairy free cupcakes using any nondairy milk and vegetable oil.
- Substitute brown sugar for granulated sugar to make brown sugar cupcakes.

SAVE THIS RECIPE
Dorothy’s Expert Cupcake Tips
- For a tender and velvet like crumb ensure your eggs and buttermilk are at true room temperature. Cold ingredients will not emulsify properly, which leads to a dense or greasy cupcake rather than a light and fluffy one.
- You know cupcakes are done baking when a toothpick comes out clean from the center. Know that every oven bakes differently – so keep an eye on them towards the end of baking so they don’t be come dry and over baked.
- To keep your cupcakes light and fluffy, be sure to measure your flour properly – using the spoon and level method (or weigh it using grams). Too much flour will make them tough and dense.
- I never have issues with this cupcake recipe doming. However, if you have issues, you can bake your cupcakes at 325°F instead of 350°F. A slightly lower temperature allows the cupcakes to rise more evenly without the edges setting too quickly and creating a high dome.

Vanilla Cupcakes Recipe

Ingredients
For the cupcakes:
- 1 ½ cups (186g) all-purpose flour
- 1 teaspoon baking powder
- ½ teaspoon salt
- ½ cup (113g) unsalted butter, , melted
- 1 cup (200g) granulated sugar
- 3 large eggs
- 1 teaspoon vanilla extract, or vanilla bean paste
- ¾ cup (178ml) buttermilk, (or combine 3/4 cup milk + 1 teaspoon white vinegar and let sit for 5 minutes)
For the frosting:
- 1 cup (113g) unsalted butter, , softened
- ¼ teaspoon salt
- 4 cups (452g) powdered sugar
- 1 teaspoon vanilla bean paste or extract
- 1-2 tablespoons heavy whipping cream
Instructions
- Preheat oven to 350°. Line cupcake tins with liners (makes 12-15).
- Whisk flour, baking powder, and salt in a medium bowl.
- Add melted butter to a large bowl and mix in sugar with a hand mixer for 30 seconds until thick and yellow. Add eggs one at at time, beating after each addition. Beat in vanilla.
- Add the flour mixture and buttermilk alternately, starting and ending with the flour. Don’t over mix!
- Divide batter among liners, filling 2/3 full. Bake for 15-20 minutes until a toothpick comes out clean. (Mine took less than 20, so check at 15!) Cool completely before frosting!
- To make the frosting: Beat butter until creamy. Beat in salt and 1 cup of powdered sugar at a time until crumbly. Beat in vanilla and 1 tablespoon of heavy whipping cream. Add more cream as needed for desired consistency.
- Frost cupcakes by placing frosting in a pastry bag. I like the 1M tip, it gives pretty swirls. Add sprinkles for fun!
- Note: you can make the frosting the day before, but let it come to room temperature before using.
Notes
- No need to fill the cupcakes, I just wanted a little extra. These cupcakes would be great with chocolate frosting, and the vanilla buttercream would be good with any flavor cupcake!
- If you make the frosting alone, without the cupcakes, you can use salted butter if that’s what you have on hand. Just leave out the salt!
- You can substitute any kind of milk (or nondairy milk) for the buttermilk.
- You can substitute gluten-free 1:1 AP flour
- You can substitute oil or melted vegan butter sticks for a dairy-free cupcake.
- Optional Filling: Use lemon curd or caramel sauce or homemade whipped cream for filling the cupcakes if desired. The original recipe included whipped cream filling – to make that beat 1/2 cup heavy whipping cream with 2 tablespoons powdered or granulated sugar and 1 teaspoon vanilla extract until stiff peaks form.
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
© Crazy for Crust. Content and photographs are copyrighted. Sharing this post is much appreciated, but copying and pasting full recipes without authorization is strictly prohibited.
Did you try this recipe? Click here to rate the recipe below.
How to make Vanilla Cupcakes

1. You can use a hand mixer or an electric stand mixer fitted with the paddle attachment to mix the cake batter. We don’t need to traditionally “cream” the butter and sugar because the butter is melted.

2. Add eggs and extract before adding dry ingredients. The mixture will be smooth.

3. Mix all the dry ingredients first – use the spoon and level method to measure flour accurately. The key is not to overmix the batter. Mix only until the flour is absorbed.

4. Once you have your vanilla cake batter, it’s a blank canvas. You can add sprinkles to make funfetti cupcakes or use mini muffin pans to make mini cupcakes.
Optional Filling
If you want to fill your baked and cooled cupcakes you can do so – these are fantastic filled with lemon curd or homemade whipped cream, or even caramel sauce.
It’s easy to fill cupcakes by adding the filling to a piping bag with a skinny round tip – just press it into the top of the cupcake and press to fill.
If you want to fill the cupcake with something more solid, like making piñata cupcakes or strawberry shortcake cupcakes, just cut a small round out of the top and fill as desired, topping the hole with some of what you removed.








I can’t wait to make these for my son’s first birthday! I do have a quick question for you…if I were to make this into a cake (rather than cupcakes), would I have to change anything in the recipe? I imagine I would have to adjust the cooking time, but I was wondering if I would need to change anything else.
I think it would work okay, with adjusted baking time. But it only makes about 12-14 cupcakes, so it’s not a full 9×13 cake. It’s probably more of one 9″ round (possibly would fit good in a 9″ round by 3″ high or a 9″ square). Let me know how it turns out!
I made these last sunday and they were terrific! They were gone by the next day. My family loved them. I had never heard of vanilla bean paste and it was my first time using it. I loved it. Definitely going to be using it more.
It totally makes the cupcake! Glad you enjoyed them!! Thanks for reading!
I made these twice within a week. The first time I tried to do everything exactly as noted and the cupcakes came out beautifully! My family loved them. Then I made a second batch because I had extra frosting but unfortunately, those didn’t come out as great. They took longer to bake than the recommended time and even then didn’t seem completely done in the middle. I cut the recipe in half so as to not have too many; do you think that was the issue? I have a scale and was able to weigh the ingredients but I’m wondering if the amount of egg was the issue. At any rate I’ll be making them again today for New Years!
That could be it Vanessa – cutting 3 eggs in half can change the outcome. I’ve never halved the recipe, so I’m not sure how that would turn out. If you make a full batch, they do freeze well! 🙂 I’m glad the first batch turned out good!
Hi Dorothy, thanks for your response. I made another full batch and they turned out great, so I’m sure the problem had something to do with halving the recipe (maybe I overbeat the batter since there was less of it?)I did freeze a couple this time around; thank you for the tip and for posting this great recipe.
I stumbled across this recipe whilst trying to occupy my boredom and satisfy my sweet tooth simotaneously. Now I’m no baking genious, and I didn’t have butter on hand. But, I did have a tub of margarine, so I used that. Needless to say, the cupcakes did not turn out how they should have. But, they came out sort of pancake-like, so I topped them with rasberry jam and served them hot, and they’re delicious! Just thought I’d share my happy accident with all you guys out there! Can’t wait to try this recipe the way it was intended, but nonetheless, thank you for posting this!
Sorry about that Lauren! I’ve never used margarine in recipes, I guess it does change the texture!
Just found your recipe this morning and wanted to give it a try, but found I was short of eggs (decided to double the recipe). Many claim to have the “perfect Vanilla Cupcake” recipe and I am unhappy with the results from my oven. Not with yours! I wish I had the ingredients to make it exactly as you developed, but I did need to omit the filling and substituted 1/4 cup vegetable oil for missing egg. This is a very good recipe. I would encourge others to give it a try and post any substitutions or changes made and the results.
Thanks so much for letting me know! 🙂
Featured In
Rate This Recipe
Recipe Ratings without Comment