
How to Make Cupcakes at home gives you soft, fluffy, bakery-style treats with a tender crumb and rich frosting that tastes like a hug in dessert form. This recipe works for beginners and busy home bakers who want reliable cupcakes in about 45 minutes, start to finish. I baked my first batch in a tiny apartment kitchen with one mixing bowl, so I promise you can pull these off too.
Why Make This How to Make Cupcakes at Home
Homemade cupcakes taste fresher, lighter, and more flavorful than anything from a box or grocery case. You control the sweetness, the toppings, and the ingredients, so every bite fits your taste and your budget.
You also skip mystery additives and long ingredient labels. Kids love helping with the batter and decorating, and you get a fun little project that ends with frosting, which counts as a win in my book.
These homemade cupcakes turn out soft, moist, and bakery-level impressive every single time, and my family now requests them for every celebration. ★★★★★
Ingredients You Need
Here is what you need to make classic vanilla cupcakes with simple vanilla buttercream. I include easy swaps and pantry shortcuts.
For the cupcakes
- All-purpose flour, 1½ cups
- Use a standard unbleached flour. You can swap up to 25 percent with cake flour for an extra tender crumb.
- Baking powder, 1½ teaspoons
- Use fresh baking powder. Old baking powder gives flat, dense cupcakes.
- Fine sea salt, ¼ teaspoon
- Granulated sugar, 1 cup
- Regular white sugar works best. I do not recommend brown sugar here because it changes the texture.
- Unsalted butter, ½ cup (1 stick), softened to room temperature
- I like a good quality butter like Kerrygold or a store brand with at least 80 percent butterfat. Salted butter works in a pinch; just reduce the added salt slightly.
- Large eggs, 2, at room temperature
- Pure vanilla extract, 2 teaspoons
- Use real vanilla extract, not imitation, for the best flavor.
- Whole milk, ½ cup, at room temperature
- You can use 2 percent milk if needed. Avoid skim milk because it makes the cupcakes less tender.
- Neutral oil, 2 tablespoons (canola, vegetable, or light olive oil)
- This small amount of oil keeps the cupcakes moist even after a day or two.
For the vanilla buttercream frosting
- Unsalted butter, 1 cup (2 sticks), softened
- Powdered sugar, 3 to 4 cups, sifted if lumpy
- Start with 3 cups, then add more to thicken. Store brand powdered sugar works fine.
- Heavy cream or whole milk, 2 to 4 tablespoons
- Use cream for a richer frosting, milk for a lighter one.
- Pure vanilla extract, 2 teaspoons
- Fine sea salt, a small pinch
- This tiny bit of salt balances the sweetness.
Optional add-ins and toppings
- Sprinkles
- Mini chocolate chips
- Fresh berries
- Shredded coconut
- Cocoa powder for dusting
- Jam for filling
Equipment list
- 12-cup muffin or cupcake pan
- Paper cupcake liners
- Two mixing bowls
- Hand mixer or stand mixer with paddle attachment
- Rubber spatula
- Measuring cups and spoons
- Ice cream scoop or large spoon for portioning batter
- Wire cooling rack
- Piping bags and tips, or a zip-top bag with the corner snipped
Tips & Mistakes
- Use room temperature ingredients so the batter mixes smoothly and the cupcakes rise evenly.
- Cream the butter and sugar until light and fluffy; under mixing here gives dense cupcakes.
- Do not overmix once you add flour; mix just until the streaks of flour disappear.
- Fill each cupcake liner about two thirds full to avoid overflow and muffin tops.
- Use an oven thermometer if you can, since many ovens run hot or cool and that affects texture.
- Rotate the pan halfway through baking if your oven heats unevenly.
- Test doneness with a toothpick; it should come out with a few moist crumbs, not wet batter.
- Cool cupcakes completely before frosting so the buttercream does not slide or melt.
- Sift powdered sugar for frosting if it looks clumpy to avoid grainy texture.
- Add cream or milk to the frosting slowly; you can thin it, but you cannot easily fix frosting that turns too runny.
- Do not store cupcakes uncovered; they dry out quickly and lose that soft bakery feel.
- Avoid overbaking; even two extra minutes can turn moist cupcakes into dry ones.
How to Make How to Make Cupcakes
Step 1: Prep the pan and oven
Preheat your oven to 350°F. Line a 12-cup muffin pan with paper liners and set it aside. This step keeps the batter from sitting too long and helps the cupcakes rise properly.
Step 2: Mix the dry ingredients
In a medium bowl, whisk together the flour, baking powder, and salt. Break up any lumps so the dry mix looks even and light. Set this bowl aside while you work on the wet ingredients.
Step 3: Cream butter and sugar
In a large mixing bowl, add the softened butter and granulated sugar. Beat with a hand mixer or stand mixer on medium speed for 3 to 4 minutes until the mixture looks pale and fluffy. Scrape down the sides of the bowl once or twice so everything mixes evenly.
Step 4: Add eggs and vanilla
Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract until the mixture looks smooth and creamy. If the batter looks slightly curdled, keep mixing for another 20 to 30 seconds and it usually smooths out.
Step 5: Add dry ingredients and milk
Switch the mixer to low speed. Add half of the dry ingredients to the butter mixture and mix just until combined. Pour in the milk and oil, mix again, then add the remaining dry ingredients and mix until no dry streaks remain.
Use a rubber spatula to scrape the bottom and sides of the bowl and fold the batter a few times. The batter should look smooth and slightly thick but still scoopable. If it looks very stiff, you can add a tablespoon of milk and fold it in.
Step 6: Fill the cupcake liners
Use an ice cream scoop or large spoon to divide the batter evenly among the 12 liners. Aim to fill each liner about two thirds full. Try to keep the amounts even so the cupcakes bake at the same rate.
Step 7: Bake
Place the pan in the center of the preheated oven. Bake for 16 to 20 minutes, depending on your oven. Start checking at 15 minutes; the tops should spring back lightly when you touch them, and a toothpick in the center should come out with a few moist crumbs.
If one side of your oven browns faster, rotate the pan at the 10 minute mark. Remove the pan from the oven as soon as the cupcakes pass the toothpick test. Set the pan on a wire rack and let the cupcakes cool in the pan for 5 minutes.
Step 8: Cool completely
After 5 minutes, lift the cupcakes out of the pan and place them directly on the wire rack. Let them cool completely, about 30 minutes. Frosting warm cupcakes leads to sliding, melting, and some creative language, so patience pays off here.
Step 9: Make the buttercream
While the cupcakes cool, add softened butter to a large bowl. Beat on medium speed for 2 to 3 minutes until creamy and slightly lighter in color. Add 3 cups of powdered sugar, one cup at a time, mixing on low until combined, then on medium until fluffy.
Add vanilla extract and a pinch of salt. Add 2 tablespoons of cream or milk and beat again until the frosting looks smooth and spreadable. If the frosting looks too thick, add more cream or milk a teaspoon at a time; if it looks too thin, add more powdered sugar a few tablespoons at a time.
Step 10: Frost and decorate
Spoon the frosting into a piping bag fitted with your favorite tip, or use a zip-top bag and snip off a corner. Pipe swirls on top of each cooled cupcake, or spread the frosting with a small offset spatula or butter knife. Add sprinkles, mini chips, or fruit on top if you like.
At this point, you can serve the cupcakes right away or chill them briefly to set the frosting. I like to chill them for about 10 minutes if I plan to transport them, since that helps the frosting hold its shape.
Variations I've Tried
Chocolate cupcakes: Replace ¼ cup of the flour with unsweetened cocoa powder and add 1 extra tablespoon of milk. This tweak gives a rich chocolate flavor while keeping the same soft texture.
Lemon cupcakes: Add 1 tablespoon of fresh lemon zest to the batter and replace 2 tablespoons of milk with fresh lemon juice. Top with a simple lemon buttercream by adding zest and a bit of juice to the frosting.
Funfetti cupcakes: Fold ¼ cup of rainbow sprinkles into the batter right at the end. Use more sprinkles on top of the frosting for a birthday party look.
Filled cupcakes: Cut a small cone out of the center of each cooled cupcake, spoon in a teaspoon of jam or lemon curd, then replace the top and frost. This trick gives a surprise center without any special tools.
How to Serve How to Make Cupcakes
Serve these cupcakes at room temperature so the crumb tastes soft and the frosting feels silky. I like to plate them on a simple white platter and add fresh berries around the edges for color. Pair them with cold milk, hot coffee, tea, or a fun flavored seltzer for kids and adults.
You can set up a little decorating station with extra sprinkles, mini chocolate chips, and shredded coconut so guests can customize their own. That small touch turns a basic dessert into an activity and keeps kids happily occupied.
How to store
- Store frosted cupcakes at room temperature in an airtight container for up to 2 days, away from direct sunlight or heat.
- For longer storage, place cupcakes in a single layer in an airtight container and refrigerate for up to 4 days; let them sit at room temperature for 20 to 30 minutes before serving.
- To freeze unfrosted cupcakes, wrap each one tightly in plastic wrap, place them in a freezer bag or container, and freeze for up to 2 months.
- To freeze frosted cupcakes, chill them on a tray until the frosting firms up, then wrap each one gently and freeze for up to 1 month.
- To thaw, place frozen cupcakes in the fridge overnight, then bring them to room temperature before serving; avoid microwaving, since that can dry them out and melt the frosting.

How to Make Cupcakes
Ingredients
Method
- Preheat your oven to 350°F (175°C) and line a 12-cup muffin tin with paper cupcake liners.
- In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
- In a large bowl, beat the softened butter and granulated sugar together until light and fluffy, about 2–3 minutes.
- Add the eggs one at a time, beating well after each addition, then mix in the vanilla extract.
- Add the dry ingredients to the butter mixture in two additions, alternating with the milk, beginning and ending with the dry ingredients. Mix just until combined; do not overmix.
- Divide the batter evenly among the 12 cupcake liners, filling each about two-thirds full.
- Bake for 18–20 minutes, or until a toothpick inserted into the center of a cupcake comes out clean.
- Allow the cupcakes to cool in the pan for 5 minutes, then transfer them to a wire rack to cool completely before frosting.
- In a medium bowl, beat the softened butter until smooth and creamy.
- Gradually add the powdered sugar, beating on low speed at first, then increasing to medium until fully combined and fluffy.
- Mix in the vanilla extract and 1 tablespoon of milk or cream. Add more milk, a little at a time, until the frosting reaches a smooth, spreadable consistency.
- Once the cupcakes are completely cool, frost them using a knife or piping bag.
- Decorate with sprinkles if desired, then serve or store in an airtight container.
Notes
Approximate per cupcake with frosting (1 of 12): 260 calories; fat 13 g; saturated fat 8 g; carbohydrates 34 g; fiber 0 g; sugars 23 g; protein 3 g; sodium 120 mg. Values are estimates and will vary based on specific ingredients, brands, and portion size.
