The perfect vanilla cupcake. An easy from-scratch recipe: light, fluffy, and full of vanilla flavor. Includes tips and tricks for baking the best cupcakes every time.

Hi there. This is my go-to recipe for the perfect homemade vanilla cupcake. After testing many variations — different fats, milks, and egg ratios — I landed on this version because it consistently delivers excellent flavor, tender texture, and reliable rise. It’s an easy recipe you can make from scratch with common pantry ingredients.

These cupcakes balance flavor, moisture, and crumb. Below I explain the ingredients and steps, then share the full recipe and frosting method. Follow the tips for the best results.
Dry ingredients
- All-purpose flour — versatile and what most home bakers have on hand; it produces a tender cupcake crumb.
- Baking powder and baking soda — baking soda reacts with the yogurt for lift and browning, while baking powder provides extra rise to create nicely domed tops.
- Salt — enhances flavor and affects gluten formation, improving texture.
Whisk the dry ingredients together to distribute the leavening and salt evenly. Cupcake batter is delicate, so doing this first helps avoid overmixing later.
Sugar is handled separately because it will be creamed with the butter.

Wet ingredients
- Butter — I use unsalted butter for control. Creaming butter and sugar traps tiny air bubbles that help produce a light, fine crumb. Use butter at room temperature (soft but not melted). Beat butter briefly to loosen it, then add sugar and cream until light and fluffy, about 2–3 minutes at medium speed.
- Eggs — provide structure, moisture, and color. Add eggs one at a time, mixing between additions to maintain an even batter.
- Whole milk — keeps cupcakes moist and limits gluten development.
- Vanilla Greek yogurt — adds richness and a finer crumb. Using vanilla-flavored yogurt also boosts overall vanilla flavor.
- Vanilla extract — for that classic vanilla taste. Use extract rather than beans for convenience and consistent flavor.
Stick with room-temperature ingredients and gentle mixing to keep the batter tender.

The Perfect Vanilla Cupcake

Ingredients
- 1 cup sugar
- ½ cup butter, room temperature
- 2 large eggs
- 2 tsp vanilla extract
- 1 ¾ cups 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 a muffin tin with cupcake liners and set aside.
- In a medium bowl whisk together flour, baking powder, baking soda, and salt. Set aside.
- In a mixing bowl, beat the room-temperature butter on medium speed about 1 minute to soften, then add the sugar and beat 2–3 minutes until light and fluffy.
- Add vanilla, then add eggs one at a time, mixing between each addition. Mix in the Greek yogurt.
- Remove the bowl from the mixer. Add the dry ingredients and milk alternately in three additions, beginning and ending with the dry ingredients (dry 1/3, milk 1/3, etc.). Fold gently with a rubber spatula until most of the flour is incorporated; small lumps are fine. Do not overmix.
- Scoop the batter into liners, filling about two-thirds full.
- Bake 15–16 minutes, until tops are golden and a toothpick comes out clean.
- Cool in the pan 2–3 minutes, then transfer to a wire rack to cool completely before frosting.
Frosting
- Beat the cream cheese on medium speed until softened, about 1 minute. Add powdered sugar, starting on low speed and increasing to medium, until smooth.
- Add the cold heavy cream and vanilla. Beat on medium until fluffy and the mixture holds stiff peaks.
- Place frosting in a piping bag and pipe onto fully cooled cupcakes.
- Serve and enjoy.
Notes
Read the tips below for better results. These small details make a big difference in texture and rise.
Nutrition
Carbohydrates: 37 g |
Protein: 4 g |
Fat: 23 g
Nutrition information is an approximation.
Additional Tips & Tricks for the Perfect Cupcake
- Use room-temperature ingredients. Butter, eggs, and milk should be soft but not warm. This helps ingredients combine smoothly and traps air when creaming.
- Don’t overmix. Overmixing deflates the air you created while creaming and develops too much gluten, leading to dense cupcakes.
- Fill liners correctly. Fill liners about two-thirds full. Use a small ice cream scoop for even portions and uniform bake times.
- Always preheat the oven. Starting in a hot oven produces consistent rise and texture.
- Resist peeking. Opening the oven frequently releases heat and can prevent the cupcakes from rising properly.
- Remove from the pan to cool. Leaving cupcakes in the tin can cause them to keep baking from residual heat. Move them to a wire rack to cool evenly.
- Cool completely before frosting. Frosting warm cupcakes will cause the frosting to melt and lose shape.
- Frosting helps retain moisture. A layer of frosting seals in moisture and keeps cupcakes soft longer.
- Store covered. Keep cupcakes covered at room temperature to prevent staling. For longer storage, wrap tightly and freeze.
Enjoy baking — follow these steps and you’ll have consistently delicious vanilla cupcakes every time.