Time 25 min prep · 20-25 min bake · Serves 12 · The key step cream butter and sugar until light and fluffy. These vanilla cupcakes are soft, slightly sweet, and ideal for birthdays, school bake sales, or holiday treats. They hold their shape well and take frosting smoothly.
Serves 12 · Prep 25 min · Cook 20-25 min · Total 50 min
Ingredients
- ¾ cup (170 g) unsalted butter, softened to room temperature
- 1½ cups (300 g) granulated sugar
- 3 large eggs, room temperature
- 2¾ cups (345 g) all-purpose flour
- 2 tsp (10 ml) pure vanilla extract
- 1½ tsp (7.5 ml) baking powder
- ½ tsp (2.5 ml) baking soda
- ½ tsp (2.5 g) fine sea salt
- 1¼ cups (300 ml) whole milk, room temperature
Frosting
- ⅔ cup (150 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar, sifted
- 2–3 tbsp (30–45 ml) heavy cream or whole milk
- 1 tsp (5 ml) vanilla extract
- Pinch of salt
Mixing Method
Use the creaming method to build structure and air. Start with room-temperature ingredients to ensure even blending. Cold butter or eggs can lead to curdling and a dense crumb.
- Preheat oven to 350°F (175°C). Line a 12-cup muffin tin with paper liners.
- In a large bowl, beat butter and granulated sugar with an electric mixer on medium-high speed for 3–4 minutes, until pale, fluffy, and no longer grainy.
- Add eggs one at a time, beating well after each. Scrape down the bowl with a spatula as needed. Mix in vanilla.
- In a separate bowl, whisk together flour, baking powder, baking soda, and salt.
- Add half the dry ingredients to the butter mixture, mix on low until just combined.
- Pour in half the milk, mix until incorporated. Repeat with remaining dry mix and milk. Do not overmix after adding flour.
- Divide batter evenly among the 12 cupcake liners, filling each about ⅔ full.
- Bake for 20–25 minutes, until a toothpick inserted into the center comes out clean and tops spring back when lightly pressed.
- Let cupcakes cool in the pan for 5 minutes, then transfer to a wire rack to cool completely before frosting.
Frosting and Finishing
Frost only when cupcakes are fully cooled to prevent melting. Use a piping bag with a star tip for a classic swirl, or spread with a small offset spatula.
- Beat softened butter on medium speed for 2 minutes until smooth.
- Gradually add sifted powdered sugar, 1 cup at a time, mixing on low to avoid clouds.
- Add vanilla, salt, and 2 tbsp of cream. Beat on medium for 2–3 minutes until fluffy.
- If frosting is too thick, add remaining 1 tbsp cream. If too thin, add more powdered sugar 1 tbsp at a time.
- Apply frosting once cupcakes are at room temperature. Decorate with sprinkles if desired.
Doneness and Texture
Cupcakes are done when a toothpick inserted in the center comes out clean and the tops are golden and firm to the touch. Internal temperature should reach at least 200°F (93°C), which indicates full starch gelatinization and set crumb.
Overbaking causes dryness and shrinkage from the liner. Underbaking leads to collapse when cooling. The 20–25 minute range assumes standard 2½-inch (6 cm) muffin cups and an accurate oven.
Common Issues and Fixes
Flat or sunken tops: caused by overmixing after adding flour or opening the oven too early. Mix dry ingredients and milk in three additions, and avoid opening the oven during the first 15 minutes.
Dry or tough texture: results from too much flour or overbaking. Spoon flour into the measuring cup and level with a knife; do not scoop directly from the bag. Set a timer and check at 20 minutes.
Uneven rise: occurs when batter is not divided equally or the oven has hot spots. Use a cookie scoop or ice cream scoop for consistent portions. Rotate the pan halfway through baking if your oven runs uneven.
Storage and Shelf Life
Store unfrosted cupcakes in an airtight container at room temperature for up to 2 days, or refrigerate for up to 5 days. Frosted cupcakes keep best refrigerated and should be consumed within 4 days. Bring to room temperature before serving for optimal texture.
Cupcakes freeze well. Wrap unfrosted ones individually in plastic wrap and place in a freezer bag. Freeze for up to 3 months. Thaw at room temperature in the wrapper to prevent condensation.
Frosting can be made ahead and refrigerated in a sealed container for up to 5 days. Re-whip with a mixer before use to restore fluffiness. Do not leave frosted cupcakes at room temperature longer than 2 hours (1 hour if above 90°F/32°C), due to dairy content.
Ingredient Swaps
Use salted butter in place of unsalted by reducing added salt to ¼ tsp. Substitute buttermilk for whole milk with 1 tbsp lemon juice or vinegar added to 1¼ cups milk; this increases rise and tenderness. For a lighter crumb, replace ½ cup (60 g) of flour with cake flour.
Gluten-free cupcakes work with a 1:1 gluten-free flour blend containing xanthan gum. Results may vary slightly in density. For dairy-free, use plant-based butter and milk; ensure the butter is labeled for baking.
Scaling the Recipe
To make 24 cupcakes, double all ingredients precisely. Use two pans and rotate positions in the oven halfway through baking. For mini cupcakes (24 servings), fill liners ½ full and bake at 350°F (175°C) for 11–14 minutes.
For 6 cupcakes, halve the recipe. Use exact measurements: 6 tbsp (85 g) butter, ¾ cup (150 g) sugar, 1½ eggs (beat one egg, use half), 1⅜ cups (172 g) flour, 1 tsp vanilla, ¾ tsp baking powder, ¼ tsp baking soda, ¼ tsp salt, 10 tbsp (150 ml) milk.
When halving eggs, crack one into a bowl, beat, and measure 1½ tbsp (22 g) into the mix. Save the remainder for another use.
Equipment Notes
A stand mixer or hand mixer is recommended for consistent results. Mixing by hand is possible but requires more effort to achieve proper aeration during creaming.
Use standard 2½-inch (6 cm) muffin tins. Mini or jumbo tins require adjusted baking times. Convection ovens may reduce baking time by 5–10 minutes; monitor closely.
Frosting Variations
For chocolate frosting, add ¼ cup (25 g) sifted cocoa powder to the butter before adding sugar. For cream cheese frosting, replace ⅓ cup (75 g) butter with 4 oz (113 g) full-fat cream cheese, softened. Do not use low-fat versions; they release water and thin the frosting.
Color frosting with gel food coloring. Liquid dyes dilute the mix and may alter texture.
Baking Environment
Oven temperature accuracy is critical. Use an oven thermometer to verify settings. If the oven runs hot or cold, adjust the dial accordingly.
Altitude affects baking. Above 3,000 feet (900 m), reduce baking powder to 1 tsp, increase oven temperature to 365°F (185°C), and add 1–2 tbsp extra milk to prevent dryness.
Labeling and Gifting
These cupcakes are suitable for gifting. Attach a recipe card with ingredient notes if sharing. Include allergen warnings if giving to others: contains dairy, eggs, wheat.
For a homemade touch, write baking and frosting instructions on a 4x6 inch card. Laminate for durability or place in a clear sleeve. Use cardstock for sturdiness.