Vanilla cupcakes are tender, lightly sweet individual cakes flavored with vanilla and topped with a simple vanilla buttercream. This straightforward, from-scratch recipe uses room-temperature ingredients and a gentle mixing method for an even crumb that works for birthdays, bake sales, or an everyday treat.
Ingredients
- 1½ cups (190 g) all-purpose flour, spooned into the measuring cup and leveled
- 1½ teaspoons (6 g) baking powder
- ¼ teaspoon (1.5 g) fine salt
- ½ cup (113 g) unsalted butter, softened
- ¾ cup (150 g) granulated sugar
- 2 large eggs, at room temperature
- 2 teaspoons (10 ml) pure vanilla extract
- ½ cup (120 ml) whole milk, at room temperature
- For the buttercream: ½ cup (113 g) unsalted butter, softened
- 2 cups (240 g) powdered sugar, sifted if lumpy
- 1 teaspoon (5 ml) pure vanilla extract
- 1–2 tablespoons (15–30 ml) milk or cream, as needed
- Small pinch of fine salt, for the buttercream
Instructions
- Set a rack in the middle of the oven and heat it to 350°F (175°C). Line a standard 12-cup muffin pan with paper liners. Let the butter, eggs, and milk come to room temperature; this helps the batter combine smoothly.
- In a medium bowl, whisk together the flour, baking powder, and salt. Set aside. In a separate large bowl, beat the ½ cup (113 g) softened butter with the granulated sugar for about 2–3 minutes, until pale and fluffy. Use a hand mixer or stand mixer fitted with the paddle attachment.
- Beat in the eggs one at a time, scraping down the bowl as needed. Mix in the vanilla. The mixture may look slightly curdled if the ingredients are cool; continue with the recipe rather than beating for a long time.
- Add about one-third of the flour mixture and mix on low just until mostly incorporated. Mix in half the milk, then another third of the flour, the remaining milk, and the remaining flour. Stop as soon as no dry streaks remain. Overmixing can make the cupcakes dense.
- Divide the batter evenly among the liners, filling each about two-thirds full. Bake for 17–19 minutes, rotating the pan once if your oven browns unevenly. The tops should spring back lightly when touched, and a toothpick inserted in the center should come out clean or with a few moist crumbs.
- Cool the cupcakes in the pan for 5 minutes, then transfer them to a wire rack and let them cool completely, about 25–30 minutes, before frosting. Warm cupcakes melt buttercream.
- Make the buttercream: beat the remaining ½ cup (113 g) softened butter until creamy, about 1 minute. Add the powdered sugar in two or three additions, mixing on low to avoid a cloud of sugar. Beat in the vanilla, a pinch of salt, and 1 tablespoon (15 ml) milk or cream. Beat for another 1–2 minutes until fluffy; add more milk a teaspoon at a time if it is too stiff, or a little more powdered sugar if it is too loose.
- Spread or pipe the buttercream over the fully cooled cupcakes. Add sprinkles or other decorations while the frosting is still soft. This recipe makes 12 cupcakes.
Tips
- Measure flour lightly. Spoon it into the cup and level the top rather than scooping directly from the bag, which can pack in too much flour and dry the crumb. A kitchen scale is the most reliable option.
- Keep the mixing gentle. Once the flour goes in, mix only until combined. A few small lumps are preferable to overworking the batter, which can lead to tough cupcakes.
- Use a practical dairy substitute. Unflavored, unsweetened oat or soy milk can replace the whole milk in equal volume; the flavor and browning may vary slightly. For a dairy-free version, use plant-based butter in both batter and frosting, choosing a firm baking stick rather than a soft tub spread.
- Adjust the frosting by texture. Butter that is soft but still holds its shape whips well. If the frosting becomes too soft, chill it briefly; if it is too firm, beat in milk a few drops at a time.
Serving Suggestions
Serve the cupcakes at room temperature so the cake and buttercream feel soft. They pair well with coffee, tea, or a glass of milk. For a simple celebration finish, add colored sprinkles, a few berries, or a light dusting of extra powdered sugar just before serving. If transporting them, arrange the frosted cupcakes in a snug carrier and keep the lid from touching the icing.
Variations
For a citrus note, add 1 teaspoon (about 2 g) finely grated lemon zest to the butter and sugar before creaming. To make chocolate-chip cupcakes, fold ⅓ cup (about 55 g) mini chocolate chips into the finished batter. For a filled cupcake, remove a small plug from each cooled center, add about 1 teaspoon (5 ml) of jam or thick lemon curd, and replace a small piece of cake before frosting. Keep fillings modest so they do not make the cakes soggy.
You can also vary the frosting: replace the vanilla with ½ teaspoon (2.5 ml) almond extract for a stronger, distinctly nutty flavor, or tint the buttercream with a small amount of food coloring. Extracts vary in strength, so add almond extract gradually and taste before adding more.
Storage and Reheating
Keep frosted cupcakes in a covered container at cool room temperature for up to 2 days, provided the room is not hot. If the kitchen is warm or the frosting contains a perishable filling, refrigerate them within 2 hours. Refrigerated cupcakes keep for up to 4 days; bring them to room temperature for about 30–45 minutes before serving for a softer texture. Do not heat frosted cupcakes, as the buttercream will melt.
Unfrosted cupcakes can be stored airtight at room temperature for up to 2 days, or frozen for up to 2 months. Freeze them in a single layer until firm, then wrap or place in a freezer-safe container. Thaw overnight in the refrigerator or for a few hours at room temperature, then frost. Discard cupcakes left out longer than 2 hours when they contain a perishable filling or have been kept in a hot environment.
Frequently Asked Questions
Can I make the batter ahead?
For the best rise, bake the batter soon after mixing: the baking powder starts working when it is moistened. You can bake the cupcakes a day ahead, cool them completely, and frost them later.
Why did my cupcakes sink in the middle?
Common causes include opening the oven door early, underbaking, overfilling the liners, or using expired baking powder. Check doneness near the end of the stated baking window and avoid moving the pan before the centers have set.
Can I use salted butter?
Yes. Use the same quantity of salted butter and omit the salt from the batter. Salt levels differ by brand, so taste the buttercream before adding its pinch of salt.
Can I make these without a mixer?
Yes, though creaming butter and sugar by hand takes more effort. Use a sturdy whisk or wooden spoon and beat until the mixture looks lighter and fluffy; then fold in the dry ingredients gently with a spatula.
How do I know the cupcakes are done without a thermometer?
A toothpick inserted into the center should come out clean or with a few moist crumbs, and the top should spring back lightly. Cupcake doneness is judged by these visual and texture cues rather than a meat or egg-dish temperature target.
Can I double the recipe?
Yes. Double each ingredient and bake in batches if needed so the pans have room for air to circulate. Mix the batter only until combined, and check each pan separately because oven positions can affect baking time.
Related
- Poached Eggs in the Microwave: Time and Directions
- Ukrainian Olivier Salad: Classic Potato Salad Recipe
- Jenna Ortega Smoking: A Smoky Chipotle Chicken Recipe
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).