Basic Yellow Cupcakes Recipe: Soft, Even Crumb
In this article
Basic yellow cupcakes depend on the creaming method: softened butter and sugar beaten until pale and fluffy, which traps air that makes the crumb fine and even. The ratio to remember is 1 part butter to 1 part sugar by volume, with 2 parts flour and 2 parts egg by weight, plus enough milk to bring the batter to a soft dropping consistency. Get that balance right and the cupcakes rise level, stay moist for two days, and take frosting without crumbling.
Yellow Cupcake Ingredients and What Each One Does
This makes 12 standard cupcakes in a 2.5-inch (6 cm) muffin tin. Use a scale for the flour and sugar if you have one; cup measures vary by up to 20 percent, which is enough to change the texture.
- 115 g (1/2 cup) unsalted butter, softened to 65-68F (18-20C)
- 150 g (3/4 cup) granulated sugar
- 2 large eggs, room temperature (about 100 g without shells)
- 1 1/2 tsp vanilla extract
- 180 g (1 1/2 cups) all-purpose flour
- 1 1/2 tsp baking powder
- 1/4 tsp fine salt
- 120 ml (1/2 cup) whole milk, room temperature
Butter carries the flavor and the air; sugar stabilizes that air during baking. Eggs add structure and moisture, baking powder supplies the lift, and salt keeps the sweetness from tasting flat. Whole milk gives a tender crumb; skim milk works but produces a drier cupcake after a day.
Mixing and Baking the Cupcakes
Preheat the oven to 350F (175C) and line the tin with paper cases. Room-temperature ingredients matter more than any single step: cold butter will not hold air, and cold milk can seize the batter.
- Beat the butter and sugar with an electric mixer on medium speed for 3-4 minutes, until pale and visibly increased in volume. Scrape the bowl once.
- Add the eggs one at a time, beating 30 seconds after each and scraping down the sides. The mixture should look smooth, not curdled; if it does curdle, add 1 tbsp of the measured flour and beat briefly.
- Beat in the vanilla.
- Whisk the flour, baking powder and salt together in a separate bowl.
- Add the dry mixture to the butter mixture in three additions, alternating with the milk in two additions, starting and ending with flour. Mix on low speed only until each addition disappears, about 15-20 seconds. Overmixing develops gluten and makes the crumb tough.
- Divide the batter among the 12 liners, filling each about two-thirds full (roughly 55-60 g per liner).
- Bake at 350F (175C) for 18-22 minutes, until the tops spring back when pressed lightly and a toothpick inserted in the center comes out with a few moist crumbs, not wet batter.
- Cool in the tin for 5 minutes, then move to a rack to cool completely before frosting, about 30 minutes.
If your oven runs hot, check at 16 minutes. A dark nonstick tin browns the bases faster; reduce the time by 2 minutes and check early.
Why Yellow Cupcakes Come Out Dry, Dense or Domed
Too dry
Usually too much flour or too long in the oven. Spoon flour into the cup and level it with a knife rather than scooping from the bag, which packs in extra. If the cupcakes are already baked dry, brush the tops with 1-2 tsp of milk while warm; they will soften slightly but not fully recover.
Too dense or sunken
Undercreaming the butter and sugar, or overmixing after the flour goes in. Cream for the full 3-4 minutes and stop the mixer the moment the last flour streak disappears. Opening the oven door in the first 15 minutes can also cause a collapse; use the window instead.
Domed or cracked tops
Too much batter per liner or an oven running above 350F (175C). Fill two-thirds full and check the oven temperature with a separate thermometer if the tops brown before the centers set. A small dome is normal; a large crack means the batter was overfilled.
Gummy centers
The toothpick test is the only reliable check. A few moist crumbs are fine; wet batter means another 2-3 minutes. Letting them cool in the tin too long steams the bottoms and makes them soggy, so move them to a rack after 5 minutes.
Swaps for the Butter, Milk and Flour in Yellow Cupcakes
Each swap changes texture, so expect a slightly different result rather than an identical one.
- Butter to oil: replace the 115 g butter with 90 ml (6 tbsp) neutral oil and add it with the eggs. The crumb stays moist longer but loses some butter flavor and rises a little less.
- Whole milk to buttermilk: use the same 120 ml. Buttermilk adds tang and tenderness; reduce baking powder to 1 tsp and add 1/4 tsp baking soda.
- All-purpose flour to cake flour: use 160 g (1 1/3 cups) cake flour and keep the baking powder the same. The crumb is finer and softer but slightly more fragile.
- Vanilla to almond or lemon: keep the same 1 1/2 tsp. Lemon extract is strong; use 1 tsp.
Do not swap the eggs for a liquid substitute in this recipe; the eggs supply most of the structure, and the cupcakes will collapse without them.
Storing Yellow Cupcakes and Frosting Them Later
Unfrosted cupcakes keep in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 5 days. Frosted cupcakes keep in the refrigerator for up to 3 days; let them sit at room temperature for 20 minutes before serving so the frosting softens. Freeze unfrosted cupcakes wrapped individually in plastic, then in a bag, for up to 2 months; thaw at room temperature for about 1 hour.
Buttercream frosting made with butter and powdered sugar keeps in the refrigerator for up to 1 week and in the freezer for up to 2 months. Bring it to room temperature and beat it again before piping. Cupcakes left out with perishable frosting sit no more than 2 hours at room temperature (1 hour above 90F/32C).
Raw batter contains raw eggs and raw flour, so do not taste it; flour can carry bacteria that only baking kills. Bake until the centers reach 200-205F (93-96C) if you check with a thermometer, and cool completely before storing so condensation does not make the liners peel.