These yellow cupcakes with chocolate frosting are incredibly moist with a buttery flavor and a warm golden color. I love finishing them with a silky milk chocolate buttercream for birthdays or any celebration, though they’re just as delicious with vanilla frosting.
This post was originally published October 3, 2017 and updated February 12, 2020.
When choosing a vanilla cupcake, you’ll generally find two styles: yellow cupcakes and white cupcakes. Yellow cupcakes include whole eggs (yolks and whites), which add a richer flavor, tender texture, and that classic golden hue. If you want a moist cupcake with full vanilla taste and a soft crumb, yellow cupcakes are the best option.
Because their texture is slightly sturdier than white cupcakes, yellow cupcakes hold up beautifully to thick, creamy chocolate frosting.
The Perfect Yellow Cupcakes
These cupcakes rely on a few key ingredients and techniques to deliver great results:
- Real unsalted butter for deeper flavor.
- Two whole eggs for tenderness, richness, and color.
- Pure vanilla extract for genuine vanilla flavor.
- All-purpose flour (not cake flour), which gives the ideal structure for yellow cake.
- Buttermilk and sour cream to ensure moist, tender cupcakes without dry crumbs.
Bring all ingredients to room temperature before you start—about 30 minutes on the counter for the butter, eggs, sour cream, and buttermilk. Room-temperature ingredients blend more evenly and help avoid overmixing, which can make cupcakes tough.
This recipe uses the creaming method: beat butter and sugar until light and fluffy to incorporate air, then add the eggs and vanilla. Alternate additions of the dry ingredients (flour, baking powder, baking soda, salt) with the wet ingredients (buttermilk and sour cream). Alternating keeps the batter uniform while minimizing mixing, producing a tender crumb.
For the Chocolate Frosting

The chocolate buttercream is my favorite: fluffy, smooth, and richly chocolatey. It’s made with real unsalted butter, cocoa powder, powdered sugar, heavy cream or whipping cream, plus a touch of vanilla and salt.
Use natural cocoa powder for a brighter chocolate flavor or Dutch-processed for a deeper, smoother taste. I recommend heavy cream or whipping cream instead of milk for the creamiest, lightest frosting—it makes a noticeable difference in texture and mouthfeel.
If you’d rather skip chocolate, these cupcakes are equally enjoyable with a classic vanilla buttercream or fruit-flavored frostings such as strawberry or raspberry.
Baking Tips & Substitutions
- Measure flour carefully to prevent dry cupcakes. Whisk the flour, then spoon it into a dry measuring cup and level off the top. For accuracy, use a kitchen scale—1 2/3 cups all-purpose flour weighs about 7 ounces (208 g).
- Sour cream can be substituted with plain Greek yogurt if needed.
- No buttermilk? Stir 1 1/2 teaspoons distilled or white vinegar into 1/2 cup milk, let sit 5 minutes, then use as a buttermilk substitute.
- Bake one tray at a time on the oven’s middle rack for even results.
- This recipe yields about 14–15 cupcakes. Don’t try to pack all the batter into 12 cups or they may overflow.
- I don’t recommend doubling the recipe, since larger batches are more prone to overmixing and tougher cupcakes.
These vanilla cupcakes with chocolate frosting are ideal for birthdays, gatherings, or any time you need a reliable, crowd-pleasing treat. They are soft, light, and full of vanilla flavor; add creamy chocolate buttercream and colorful sprinkles for a fun finish.
Fluffy, moist, and delightfully buttery—these cupcakes are an easy go-to when you want something homemade and special.

Vanilla Cupcakes with Chocolate Frosting
Rate Recipe
Print Recipe
Ingredients
Vanilla Cupcakes
- 1 2/3 cups all-purpose flour, not self-rising
- 3/4 teaspoon baking powder
- 1/2 teaspoon baking soda
- 1/4 teaspoon salt
- 1/2 cup unsalted butter, softened
- 1 cup granulated sugar
- 2 large eggs
- 2 teaspoons vanilla extract
- 1/2 cup buttermilk*
- 3 tablespoons sour cream*
Chocolate Frosting*
- 1 cup unsalted butter, softened
- 3-4 cups powdered sugar
- 1/2 cup cocoa powder
- 1 teaspoon vanilla extract
- 1/4 teaspoon salt
- 3-4 tablespoons whipping cream
Instructions
Make the Vanilla Cupcakes
-
Preheat oven to 350°F and line muffin tins with paper liners. (Yields 14–15 cupcakes.)
-
In a medium bowl, sift together flour, baking powder, baking soda, and salt, then whisk to combine.
-
In a large bowl, beat butter and sugar with an electric mixer until very fluffy.
-
Beat in the eggs and vanilla until combined.
-
Mix in the sour cream.
-
Beat in about half of the flour mixture, then add the buttermilk. Turn off the mixer and scrape the bowl, then finish mixing in the remaining flour mixture.
-
Spoon batter into prepared muffin cups, filling each about two-thirds full. You should get about 14–15 cupcakes total; do not try to fit all the batter into just 12 cups.
-
Bake one tray at a time on the middle rack for 15–18 minutes, or until a toothpick inserted into the center comes out clean.
Make the Chocolate Frosting
-
In a large bowl, beat the butter until light and fluffy.
-
Carefully beat in 2 cups of powdered sugar.
-
Add the cocoa powder, vanilla, and salt and beat to combine.
-
Beat in the remaining powdered sugar a half cup at a time, alternating with 1–2 tablespoons of whipping cream, until the frosting reaches your desired consistency and sweetness.
-
Frost the cooled cupcakes with a knife or a piping bag (a 1M tip works well).
Notes
- Plain Greek yogurt can be used instead of sour cream.
- If you don’t have buttermilk, mix 1 1/2 teaspoons distilled vinegar with 1/2 cup milk and let sit 5 minutes before using.
- If you prefer only a thin spread of frosting, halve the frosting recipe.
- Storage & Make-Ahead Tips:
- Enjoy cupcakes the same day for best texture and flavor.
- Store leftovers at room temperature in an airtight container up to 24 hours, or refrigerate up to 3 days.
- To prepare ahead: bake and cool cupcakes, then store them airtight overnight. Make frosting the day you plan to serve, or make it ahead and refrigerate. Bring frosting to room temperature (about 1 hour) and re-whip if needed, adding 1–2 tablespoons cream or milk if it’s too stiff.
- Unfrosted cupcakes freeze well up to 2 months in an airtight container; thaw in the refrigerator.
- Nutrition info is based on one frosted cupcake when the recipe yields 14 cupcakes.
Nutrition
Like this recipe? Rate and comment below!