Cupcakes Recipe: Easy Vanilla Cupcakes From Scratch
Soft, fluffy vanilla cupcakes with flat-topped domes are easy to frost, and this cupcakes recipe makes 12 of them. Beat soft butter and sugar until pale, add eggs and vanilla, then mix in flour, baking powder and salt alternately with milk. Fill lined muffin cups two-thirds full and bake at 350°F for 18 to 20 minutes, until a toothpick comes out clean. Cool completely and top with a quick vanilla buttercream.
Below you’ll find the recipe chart, the method step by step, the buttercream, and fixes for dry or sunken cupcakes. Make sure the butter, eggs and milk are at room temperature before you start, because they mix more smoothly.
Key Takeaways
- Room-temperature butter, eggs and milk make a smooth batter and an even crumb.
- Cream the butter and sugar for 3 minutes; it builds the light, fluffy texture.
- Mix the flour in gently, only until combined.
- Fill cups two-thirds full for neat domes that don’t overflow.
- Cool completely before frosting, or the buttercream melts.
Cupcakes Recipe & Cooking Chart
| Stage | Ingredients | Instructions & Setting | Golden Rule for Success |
|---|---|---|---|
| Prep | 12-cup muffin pan, paper liners | Heat the oven to 350°F, rack in the middle. | Take butter, eggs and milk out 1 hour ahead. |
| Dry mix | 190 g (1½ cups) all purpose flour, 1½ tsp baking powder, ¼ tsp salt | Whisk in a bowl. | Spoon and level the flour, or weigh it. |
| Cream | 115 g (½ cup) soft butter, 150 g (¾ cup) sugar | Beat 3 minutes until pale and fluffy. | Butter should dent when pressed. |
| Eggs | 2 large eggs, 2 tsp vanilla | Beat in one at a time. | Scrape the bowl after each. |
| Combine | 120 ml (½ cup) whole milk | Add flour in 3 parts, milk in 2, on low. | Stop as soon as no flour shows. |
| Fill | Batter | Fill liners ⅔ full (about 3 tbsp each). | A cookie scoop gives even cupcakes. |
| Bake | Middle rack | 350°F for 18 to 20 minutes. | Toothpick clean; tops spring back. |
| Cool & frost | Vanilla buttercream | Cool 5 min in pan, then on a rack; frost when cold. | Warm cupcakes melt frosting. |
Ingredients for Vanilla Cupcakes
The amounts below make 12 cupcakes. Have your liners and muffin pan ready before you start mixing.
- 190 g (1½ cups) all purpose flour
- 1½ teaspoons baking powder
- ¼ teaspoon fine salt
- 115 g (½ cup) unsalted butter, softened
- 150 g (¾ cup) granulated sugar
- 2 large eggs, at room temperature
- 2 teaspoons vanilla extract
- 120 ml (½ cup) whole milk, at room temperature
Vanilla buttercream: 115 g (½ cup) soft butter, 250 g (2 cups) powdered sugar, 2 tablespoons milk, 1 teaspoon vanilla and a pinch of salt. For a smoother frosting, see our guide to the best powdered sugar for frosting.
How to Make Cupcakes From Scratch?
Step 1: Prepare
Heat the oven to 350°F and line a muffin pan with paper liners. A heavy, light-colored cupcake pan bakes the most evenly.
Step 2: Whisk the Dry Ingredients
Whisk the flour, baking powder and salt in a bowl. Whisking now spreads the baking powder evenly, so every cupcake rises the same.
Step 3: Cream the Butter and Sugar
Beat the butter and sugar on medium-high for about 3 minutes, until pale and fluffy. This step traps air, which helps the cupcakes rise and stay fluffy.
Step 4: Add Eggs and Vanilla
Beat in the eggs one at a time, then the vanilla. Scrape down the bowl.
Step 5: Add Flour and Milk
On low speed, add a third of the flour, then half the milk, then flour, milk and the last of the flour. Mix only until smooth.
Step 6: Fill and Bake
Fill each liner two-thirds full and bake for 18 to 20 minutes, until the tops spring back and a toothpick comes out clean. An ice cream scoop makes it easy to fill every liner evenly.

Step 7: Cool and Frost
Cool 5 minutes in the pan, then completely on a rack. Beat the buttercream ingredients for 3 minutes until fluffy and pipe or spread on top. An icing tip for cupcakes gives a bakery swirl.
How Long to Bake Cupcakes?
| Size | Oven | Time |
|---|---|---|
| Standard (12) | 350°F | 18 to 20 minutes |
| Mini (about 36) | 350°F | 10 to 12 minutes |
| Jumbo (6) | 350°F | 24 to 28 minutes |
Check a couple of minutes early. Overbaking is the main cause of dry cupcakes.
Why Did My Cupcakes Sink or Turn Out Dry?
| Problem | Likely cause | Fix |
|---|---|---|
| Sunk in the middle | Underbaked, or oven door opened early | Bake to a clean toothpick; don’t open the door in the first 15 minutes |
| Dry | Overbaked or too much flour | Weigh the flour; check at 17 minutes |
| Dense | Butter too cold or batter overmixed | Use soft butter; mix the flour only until combined |
| Overflowing | Cups too full | Fill two-thirds full |
| Liners peeling away | Steam trapped while cooling | Move cupcakes to a rack after 5 minutes |
Easy Cupcake Variations
- Chocolate: swap 30 g (¼ cup) of the flour for cocoa powder and add 2 tablespoons more milk.
- Lemon: add the zest of 1 lemon to the sugar and use lemon juice in the frosting.
- Funfetti: fold in 3 tablespoons of sprinkles at the end.
- Cupcake ideas: fill with jam before frosting, or top with fresh berries.
Which Cupcake Method Should You Choose?
For the fluffiest, most bakery-like vanilla cupcakes, use the creaming method above. If you need cupcakes fast, a one-bowl version works: whisk ½ cup melted butter with the sugar, eggs, vanilla and milk, then fold in the dry ingredients; the crumb is slightly denser but still soft. For a gluten-free and dairy-free option, try our gluten-free dairy-free cupcake recipe.
Frequently Asked Questions
Do cupcakes have eggs?
Most do: eggs give structure and lift. For egg-free cupcakes, see our egg substitute for baking guide.
Can I use oil instead of butter?
Yes. Use 100 ml (⅓ cup plus 1 tablespoon) of neutral oil and whisk it with the sugar and eggs. The cupcakes stay moist longer.
How full should cupcake liners be?
About two-thirds full for domed tops; half full for flat tops that hold lots of frosting. Overfilling can make the batter spill over and the tops sink.
How do I store cupcakes?
Frosted cupcakes keep 2 days in an airtight container. See how to store cupcakes overnight.
Can I freeze cupcakes?
Yes. Freeze unfrosted cupcakes for up to 3 months, then thaw and frost.
