These chocolate cupcakes are the kind of recipe I turn to when I need something reliable and unfussy that still tastes like celebration. They bake up with a tender crumb and a deep chocolate flavor, and the buttercream is straightforward — rich, silky, and easy to pipe or spread. There’s nothing precious here; it’s a practical recipe that behaves.
I developed the steps so the technique is clear: measure, whisk, fold, and don’t rush the cooling. Small details matter — room-temperature eggs, gentle folding, and letting the cupcakes cool completely before frosting will make the difference between a decent cupcake and one you’ll happily repeat.
Below you’ll find everything: the exact ingredients, a step-by-step method pulled from the tested source, troubleshooting notes, substitutions, equipment suggestions, and storage tips. Read the quick notes, follow the directions, and you’ll have twelve perfectly ordinary-but-delicious chocolate cupcakes in short order.
What You’ll Gather

Gather the basics first: a reliable oven, a 12-cup muffin pan, and a few simple tools. Having the right small gear on hand makes the process faster and less fussy.
- 12-cup muffin pan — for twelve even cupcakes.
- muffin liners — to prevent sticking and simplify cleanup.
- wire rack — for cooling cupcakes completely before frosting.
- mixing bowls (medium and large) — to keep dry and wet ingredients separate.
- rubber spatula and whisk — for folding batter gently and scraping bowls clean.
- hand mixer or stand mixer — makes buttercream quick and light.
- piping bag and Wilton 1M tip (optional) — for classic swirls; a knife works fine too.
Ingredients
- ½ cup (50 g) unsweetened cocoa powder — preferably Dutch process; gives the cupcakes their chocolate backbone.
- 1 teaspoon espresso powder — intensifies chocolate flavor.
- ¾ cup (90 g) all-purpose flour — structure for the crumb.
- ½ teaspoon baking soda — helps lift the cupcakes.
- ¾ teaspoon baking powder — extra lift and lightness.
- ¼ teaspoon salt — balances sweetness.
- 2 large eggs — at room temperature; they add richness and structure.
- ½ cup (100 g) granulated sugar — primary sweetener.
- ½ cup (100 g) light brown sugar — adds moisture and a mild caramel note.
- ?? cup (80 ml) vegetable oil — oil keeps the crumb tender and keeps cupcakes moist.
- 1 teaspoon pure vanilla extract — flavor lift.
- ½ cup (120 ml) whole milk — liquid for balance and tenderness.
- ¾ cup (185 g) unsalted butter — softened; for the frosting’s richness.
- 2 ½ cups (310 g) powdered sugar — sweetens and stabilizes the buttercream.
- ½ cup (50 g) unsweetened cocoa powder — for chocolate buttercream.
- 2–3 tablespoons (50 ml) heavy whipping cream — or half-and-half, or milk; adjusts frosting texture.
- 1 ½ teaspoons pure vanilla extract — for the frosting.
- ?? teaspoons salt — salt for the frosting; see notes below.
- Chocolate sprinkles — optional; for decoration.
The Method for Chocolate Cupcakes
- Preheat the oven to 350°F/180°C (160°C fan). Line a 12-cup muffin pan with cupcake liners.
- In a medium bowl whisk together the dry cupcake ingredients: 1/2 cup (50 g) unsweetened cocoa powder, 1 teaspoon espresso powder, 3/4 cup (90 g) all-purpose flour, 1/2 teaspoon baking soda, 3/4 teaspoon baking powder, and 1/4 teaspoon salt. Set aside.
- In a separate large bowl whisk the wet ingredients until combined: 2 large room-temperature eggs, 1/2 cup (100 g) granulated sugar, 1/2 cup (100 g) light brown sugar, vegetable oil (80 ml), 1 teaspoon pure vanilla extract, and 1/2 cup (120 ml) whole milk.
- Pour the dry ingredients into the wet ingredients and gently fold with a spatula or whisk until just combined and no large streaks of flour remain. Do not overmix.
- Divide the batter among the prepared liners, filling each about 3/4 full.
- Bake for about 20 minutes, or until a toothpick inserted into the center of a cupcake comes out clean or with a few moist crumbs. Remove from the oven.
- Transfer the cupcakes to a wire rack and let them cool completely before frosting.
- While the cupcakes cool, make the chocolate buttercream. In a large bowl using a hand mixer or a stand mixer fitted with the whisk or paddle attachment, beat 3/4 cup (185 g) softened unsalted butter at medium speed for 1 minute, until creamy.
- Reduce the mixer speed to low. Gradually add and mix in 2 1/2 cups (310 g) powdered sugar and 1/2 cup (50 g) unsweetened cocoa powder, along with 2–3 tablespoons (50 ml) heavy whipping cream (or half-and-half or milk), 1 1/2 teaspoons pure vanilla extract, and the salt listed for the frosting in the ingredient list. Scrape down the bowl as needed so everything incorporates evenly.
- Once the sugar is incorporated, increase the mixer speed to high and beat for about 3 minutes, until the frosting is light and fluffy.
- Check the frosting consistency. If it is too thick, add a little more cream and beat until spreadable; if it is too thin, add a little more powdered sugar and beat until it holds shape.
- Fit a piping bag with a Wilton 1M tip (or use a knife) and frost the cooled cupcakes. Decorate with chocolate sprinkles, if desired.
Reasons to Love Chocolate Cupcakes
These cupcakes hit the sweet spot between uncomplicated and indulgent. They’re quick to mix, don’t require special equipment beyond a mixer and pan, and they hold up well in boxes or on a platter. The combination of dutch-process-style cocoa and a touch of espresso powder pushes the chocolate flavor without making the cupcakes bitter.
- Rich flavor with minimal effort — espresso powder wakes up the cocoa.
- Moist crumb — the oil keeps them tender even the next day.
- Versatile frosting — the recipe makes a stable buttercream you can pipe or spread.
Low-Carb/Keto Alternatives

If you need low-carb or keto-friendly options, the structure of this recipe allows some swaps, but expect changes in texture and flavor. Almond flour or coconut flour require very different ratios and techniques, so use tested recipes if you need precise results.
- Flour swaps: almond flour can work in combination with eggs and an additional binder, but you’ll need a specifically reformulated recipe; don’t substitute 1:1.
- Sweeteners: replace granulated and brown sugar with erythritol or monk-fruit blends designed for baking; these can affect browning and moisture, so monitor bake time.
- Buttercream: swap powdered sugar for a low-carb powdered sweetener made for frostings; the frosting will taste less sweet and may need adjustment to reach piping consistency.
Appliances & Accessories
Simple tools get the job done. Here’s what I reach for every time I make these cupcakes.
- Oven — accurate temperature matters; a small oven thermometer helps.
- Mixer — hand mixer or stand mixer speeds up the buttercream and aerates it properly.
- 12-cup muffin pan and liners — for uniform cupcakes.
- Wire rack — cool cupcakes completely to prevent melted frosting.
- Piping bag and Wilton 1M tip — creates a classic rosette; a knife or offset spatula works well too.
- Toothpick or cake tester — for checking doneness at about 20 minutes.
Easy-to-Miss Gotchas
A few small things trip people up more often than not. Watch these points and you’ll avoid the most common issues.
- Overmixing the batter — fold until just combined. Overworking develops gluten and yields dense cupcakes.
- Filling liners too full — the instructions say about 3/4 full. Too much batter and you’ll get volcano tops.
- Not cooling before frosting — warm cupcakes will melt buttercream into a sad gloss. Patience pays off.
- Ambiguous ingredient entries — check your ingredient list carefully for the salt amount for the frosting (listed in the ingredient list as “?? teaspoons salt”) and adjust cautiously to taste if the exact amount is unclear.
- Oven differences — ovens run hot or cold; start checking at 18 minutes if yours runs hot, or use an oven thermometer for accuracy.
Customize for Your Needs
These cupcakes are a great base for small switches depending on the occasion.
- Make them mocha: increase espresso powder slightly in the batter or add a touch to the frosting.
- Salted variation: sprinkle a tiny pinch of flaky sea salt on each frosted cupcake for a sophisticated contrast.
- Fillings: once cooled, core the center and pipe in jam, chocolate ganache, or pastry cream.
- Decorations: chocolate sprinkles are optional; chopped nuts, mini chocolate chips, or a dusting of cocoa powder all work.
Cook’s Commentary
When I test any cupcake recipe, I look for three things: texture, balance, and behavior on cooling. The oil-based batter here produces a reliably moist crumb that doesn’t dry out in typical home storage. The espresso powder is small in quantity but big in effect — it amplifies chocolate without tasting like coffee.
For the buttercream, start with the lower end of the cream measurement and add more only if needed. Whipping at high speed after the sugar is incorporated gives the frosting a light, airy structure that pipes beautifully. If your frosting tastes flat, a tiny pinch of salt brightens it — but add salt carefully, since the ingredient list includes a specific but unclear amount (“?? teaspoons salt”). Taste as you go.
Keep It Fresh: Storage Guide
Store the cupcakes in an airtight container at room temperature for up to 2 days. If your kitchen is warm, refrigerate the frosted cupcakes; they’ll keep for 3–4 days chilled. Bring refrigerated cupcakes to room temperature before serving for the best texture and flavor — about 30–60 minutes.
To freeze: freeze unfrosted cupcakes in a single layer until solid, then transfer to a freezer bag for up to 3 months. Thaw completely, then frost. You can also freeze frosted cupcakes tightly wrapped, but the frosting surface may change texture slightly when thawed.
Reader Q&A
Q: Can I substitute butter for the vegetable oil in the batter? A: This recipe is written with oil for tenderness; swapping in melted butter changes the moisture and flavor. Use a tested recipe for a direct butter version.
Q: My frosting is grainy after adding powdered sugar. What happened? A: If powdered sugar is unevenly mixed or the butter is too cold, the mix can feel grainy. Beat until smooth, and use a sieve for the powdered sugar if needed.
Q: How can I make these dairy-free? A: Use non-dairy milk and a neutral oil is already used in the batter; for the frosting, swap the butter for a vegan butter alternative and use non-dairy cream or milk. Expect differences in flavor and texture.
Q: How many cupcakes does this recipe make? A: The method is written for a 12-cup muffin pan and should yield twelve standard cupcakes.
Serve & Enjoy
Serve these Chocolate Cupcakes slightly cool at room temperature for the best flavor. A small selection of accompaniments works well: a cup of coffee or milk, or a simple scoop of vanilla ice cream alongside for an extra treat. They’re unfussy, adaptable, and crowd-pleasing — make a batch, decorate how you like, and enjoy.

Chocolate Cupcakes
Ingredients
Ingredients
- ?1/2 cup 50 gunsweetened cocoa powderpreferably Dutch process
- ?1 teaspoonespresso powder
- ?3/4 cup 90 gall-purpose flour
- ?1/2 teaspoonbaking soda
- ?3/4 teaspoonbaking powder
- ?1/4 teaspoonsalt
- ?2 largeeggsat room temperature
- ?1/2 cup 100 ggranulated sugar
- ?1/2 cup 100 glight brown sugar
- ??cup 80 mlvegetable oil
- ?1 teaspoonpure vanilla extract
- ?1/2 cup 120 mlwhole milk
- ?3/4 cup 185 gunsalted buttersoftened
- ?2 1/2 cups 310 gpowdered sugar
- ?1/2 cup 50 gunsweetened cocoa powder
- ?2-3 tablespoons 50 mlheavy whipping creamor half and half, or milk
- ?1 1/2 teaspoonspure vanilla extract
- ??teaspoonsalt
- ?Chocolate sprinklesoptional
Instructions
Instructions
- Preheat the oven to 350°F/180°C (160°C fan). Line a 12-cup muffin pan with cupcake liners.
- In a medium bowl whisk together the dry cupcake ingredients: 1/2 cup (50 g) unsweetened cocoa powder, 1 teaspoon espresso powder, 3/4 cup (90 g) all-purpose flour, 1/2 teaspoon baking soda, 3/4 teaspoon baking powder, and 1/4 teaspoon salt. Set aside.
- In a separate large bowl whisk the wet ingredients until combined: 2 large room-temperature eggs, 1/2 cup (100 g) granulated sugar, 1/2 cup (100 g) light brown sugar, vegetable oil (80 ml), 1 teaspoon pure vanilla extract, and 1/2 cup (120 ml) whole milk.
- Pour the dry ingredients into the wet ingredients and gently fold with a spatula or whisk until just combined and no large streaks of flour remain. Do not overmix.
- Divide the batter among the prepared liners, filling each about 3/4 full.
- Bake for about 20 minutes, or until a toothpick inserted into the center of a cupcake comes out clean or with a few moist crumbs. Remove from the oven.
- Transfer the cupcakes to a wire rack and let them cool completely before frosting.
- While the cupcakes cool, make the chocolate buttercream. In a large bowl using a hand mixer or a stand mixer fitted with the whisk or paddle attachment, beat 3/4 cup (185 g) softened unsalted butter at medium speed for 1 minute, until creamy.
- Reduce the mixer speed to low. Gradually add and mix in 2 1/2 cups (310 g) powdered sugar and 1/2 cup (50 g) unsweetened cocoa powder, along with 2–3 tablespoons (50 ml) heavy whipping cream (or half-and-half or milk), 1 1/2 teaspoons pure vanilla extract, and the salt listed for the frosting in the ingredient list. Scrape down the bowl as needed so everything incorporates evenly.
- Once the sugar is incorporated, increase the mixer speed to high and beat for about 3 minutes, until the frosting is light and fluffy.
- Check the frosting consistency. If it is too thick, add a little more cream and beat until spreadable; if it is too thin, add a little more powdered sugar and beat until it holds shape.
- Fit a piping bag with a Wilton 1M tip (or use a knife) and frost the cooled cupcakes. Decorate with chocolate sprinkles, if desired.
Equipment
- 1 12 muffin pan
- Cupcake Liners
- Mixing Bowl
- Whisk
- Spatula
- Electric Hand mixer or Stand mixer
Notes
Storing unfrosted cupcakes at room temperature:Let the chocolate cupcakes cool completely and then store them in an airtight containerfor up to one week.
To storefrosted cupcakes in the refrigerator:Once you’ve decorated your cupcakes with buttercream, they should be stored in the fridge in an airtight container.
Storing unfrosted cupcakes in the freezer:Unfrosted chocolate cupcakes will keep well in the freezer for up to 2 months. Let them cool completely then store them in a freezer-safe container or a zip-top bag.
