Basic Cupcake Recipe for Light, Tender Cakes

Updated November 5, 2026

Total time
38 min
prep 20 min · cook 18 min
Serves
12
portions as written
Safe temperature (USDA)
160°F / 71°C
check the thickest piece

Jump to recipe

Basic Cupcake Recipe for Light, Tender Cakes

This basic cupcake recipe makes tender, lightly sweet vanilla cakes with a soft crumb, using familiar pantry ingredients and a simple creaming method. Bake the batter in a standard muffin tin and serve the cupcakes plain or with frosting; the same reliable base is easy to adapt with chocolate, citrus, or spices.

Ingredients

  • 1½ cups (188 g) all-purpose flour, spooned into the cup and leveled
  • 1½ teaspoons (6 g) baking powder
  • ¼ teaspoon (1.5 g) fine salt
  • ½ cup (113 g) unsalted butter, softened but not melted
  • ¾ cup (150 g) granulated sugar
  • 2 large eggs, at room temperature
  • 2 teaspoons (10 ml) vanilla extract
  • ½ cup (120 ml) whole milk, at room temperature
  • Optional, for serving: 1½ cups (about 180 g) prepared buttercream or another frosting

Instructions

  1. Heat the oven to 350°F (175°C). Line a 12-cup standard muffin pan with paper liners. Let the butter, eggs, and milk come to room temperature; this helps the batter combine smoothly. If the butter is cold, cut it into small pieces and let it soften until it yields to a gentle press but still holds its shape.
  2. In a medium bowl, whisk together the flour, baking powder, and salt. Set the dry mixture aside. In a large bowl, beat the softened butter and sugar with a hand mixer on medium speed for about 2–3 minutes, until pale and fluffy. Scrape down the bowl once or twice so no dense butter remains at the bottom.
  3. Add the eggs one at a time, beating well after each addition. Mix in the vanilla. If the mixture looks slightly curdled, continue with the recipe; it should come together when the flour and milk are added.
  4. Add about one-third of the flour mixture and mix on low just until mostly combined. Pour in half the milk and mix briefly, then add another third of the flour, the remaining milk, and the remaining flour. Mix on low only until the last streaks of flour disappear, scraping the bowl as needed. Do not beat the batter until smooth for a long time; overmixing can make the cupcakes firm.
  5. Divide the batter evenly among the 12 liners, filling each about two-thirds full. Bake for 16–19 minutes, rotating the pan once if your oven heats unevenly, until the tops spring back when lightly touched and a toothpick inserted in the center comes out clean or with a few moist crumbs. The USDA FSIS safe minimum temperature for egg dishes is 160°F (71°C); if checking with a thermometer, the center should reach that temperature. Avoid overbaking, which dries the crumb.
  6. Set the pan on a cooling rack for 5 minutes, then lift the cupcakes out and cool them completely on the rack before frosting. Frosting warm cupcakes can cause the topping to melt. Serve plain, or add about 2 tablespoons of frosting to each cooled cupcake.

Tips

  • Measure flour lightly. Spoon it into the measuring cup and level the top, or weigh it. Scooping directly from the bag can pack in extra flour and produce dry, heavy cupcakes.
  • Keep ingredients at room temperature. Cold eggs or milk can make creamed butter stiffen and the batter uneven. If needed, place eggs in warm—not hot—water for 5–10 minutes, and gently warm the milk until it is no longer cold.
  • Mix only until combined. Once the flour goes in, excessive beating develops gluten and can make the cakes tough. A few tiny lumps are less troublesome than an overmixed batter.
  • Use a light hand with substitutions. Two-percent milk can replace whole milk, though the cupcakes may be a little less rich. For dairy-free cupcakes, use a plant-based baking stick and unsweetened oat or soy milk; texture and flavor may vary. Do not swap baking soda for baking powder without changing the recipe’s acidic ingredients.

Serving Suggestions

These cupcakes are good at room temperature with no topping, especially alongside coffee, tea, or a glass of milk. For a simple finish, dust completely cooled cakes with powdered sugar or spread on vanilla buttercream, chocolate frosting, or a thin lemon glaze. Add frosting close to serving if the room is warm, and keep perishable toppings such as cream cheese frosting refrigerated.

For a party, serve the cakes on a platter with small bowls of sprinkles, toasted coconut, or chopped nuts so guests can add their own toppings. Check with guests about allergies before offering nuts or other common allergens.

Variations

  • Chocolate chip: Fold ½ cup (85 g) mini chocolate chips into the finished batter. Tossing them with a teaspoon of the measured flour can help keep them distributed.
  • Lemon: Rub 1 tablespoon (about 6 g) finely grated lemon zest into the sugar before creaming it with the butter. A little lemon juice in the frosting adds a brighter finish without changing the cake structure.
  • Warm spice: Add ½ teaspoon ground cinnamon and a pinch of nutmeg to the dry ingredients. This pairs well with cream cheese or vanilla frosting.
  • Filled cupcakes: Once the cupcakes are fully cool, remove a small cone from the center and add about 1 teaspoon of jam or thick lemon curd. Replace a small piece of cake on top, then frost. Refrigerate promptly if the filling or topping is perishable.

Storage and Reheating

Keep unfrosted cupcakes in an airtight container at cool room temperature for up to 2 days, or refrigerate them for up to 4 days. Refrigerate cupcakes with cream cheese, whipped cream, custard, or another perishable filling or topping within 2 hours; keep them covered and use within 3–4 days. Refrigeration can make the cake feel firm, so let it sit at room temperature for about 20–30 minutes before serving. Cupcakes do not need reheating, but an unfrosted cupcake can be warmed for about 8–10 seconds in a microwave if desired.

To freeze, wrap completely cooled unfrosted cupcakes individually or place them in a freezer-safe airtight container for up to 2 months for best quality. Thaw covered at room temperature for about 1–2 hours, then frost. Do not leave perishable frosting or filled cupcakes at room temperature for more than 2 hours.

Frequently Asked Questions

Why did my cupcakes sink in the middle?
Common causes include opening the oven door too early, using expired baking powder, overfilling the liners, or taking the cupcakes out before the centers are set. Check the leavening date, fill liners about two-thirds full, and test near the end of the suggested baking window.

Can I make the batter ahead?
For the best rise, bake the batter soon after mixing. Baking powder starts working once it is moistened, so a long wait can reduce lift. If you need to work ahead, bake the cupcakes, cool them, and store them unfrosted instead.

Can I make these cupcakes without a mixer?
Yes. Use a sturdy whisk or wooden spoon to beat the softened butter and sugar until well combined and lighter in color, then mix in the eggs one at a time. Fold in the dry ingredients and milk gently. The result may be slightly less airy, but it will still bake successfully.

How do I know when the cupcakes are done?
The tops should spring back when lightly pressed, and a toothpick inserted into the center should come out clean or with a few moist crumbs. If using a food thermometer, check the center for the USDA FSIS egg-dish minimum of 160°F (71°C); do not rely on color alone.

Can I bake this recipe as a cake?
Yes, the batter can be baked in a greased and lined 8-inch (20 cm) round pan. The baking time will be longer—begin checking at about 25 minutes, then continue until the center springs back and a tester comes out clean. A different pan depth and oven can change the time, so use the doneness cues rather than the cupcake timing.

Can I double the recipe?
Yes. Double each ingredient and bake in batches if needed so the pans have room for air to circulate. Avoid leaving mixed batter waiting while the first batch bakes; if your oven and pans allow, bake both pans together and rotate their positions once during baking.

Related

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).