These chocolate cupcakes are deep, moist and tender, and the mocha frosting is the reason to make them: softened butter whipped with cocoa, icing sugar, a splash of strong coffee and a little melted dark chocolate, so it tastes like a proper mocha rather than coffee-flavoured sugar. The trick is to bloom the cocoa in hot coffee before baking, which makes the chocolate taste rounder, and to whip the frosting long enough that it pipes into soft swirls instead of sagging. One batch makes 12 standard cupcakes, bakes in about 20 minutes and needs another 25 minutes of cooling before you frost.
Ingredients
- 120 g plain flour
- 40 g unsweetened cocoa powder
- 1 tsp baking powder
- 1/2 tsp bicarbonate of soda
- 1/4 tsp fine salt
- 2 large eggs, at room temperature
- 150 g caster sugar
- 80 g light brown sugar
- 100 ml neutral oil (sunflower or vegetable)
- 120 ml hot strong brewed coffee (or hot water)
- 80 ml buttermilk, at room temperature
- 1 tsp vanilla extract
For the mocha frosting:
- 170 g unsalted butter, softened
- 250 g icing sugar, sifted
- 30 g unsweetened cocoa powder, sifted
- 2 tbsp strong brewed coffee, cooled
- 50 g dark chocolate (55–70% cocoa), melted and cooled to room temperature
- 1 tsp vanilla extract
- Pinch of salt
- Chocolate shavings or a few coffee beans, to finish (optional)
Instructions
- Heat the oven to 175 °C (350 °F, gas mark 4). Line a 12-hole muffin tin with paper cupcake cases.
- Whisk the flour, cocoa, baking powder, bicarbonate of soda and salt together in a bowl until no cocoa lumps remain.
- In a large bowl, whisk the eggs with both sugars for about 2 minutes, until slightly pale and thickened. Whisk in the oil and vanilla.
- Pour the hot coffee into the dry ingredients and stir just until it forms a thick paste — this blooms the cocoa. Add the egg mixture and buttermilk and whisk gently until smooth. The batter will be thin; that is correct.
- Divide the batter between the cases, filling each about two-thirds full. You should get 12 cupcakes.
- Bake for 18–22 minutes, until the tops spring back when pressed lightly and a skewer inserted in the centre comes out with just a few moist crumbs. Rotate the tin after 15 minutes if your oven bakes unevenly.
- Cool in the tin for 5 minutes, then lift the cupcakes onto a rack and cool completely, about 25–30 minutes. Do not frost warm cupcakes or the buttercream will melt and slide.
- For the frosting, beat the softened butter on medium speed for 3–4 minutes until pale. Add the icing sugar and cocoa in three additions on low speed, scraping the bowl between each.
- Beat in the cooled coffee, vanilla and salt, then drizzle in the melted chocolate while the mixer runs on low. Whip on medium-high for 2–3 minutes, until light and spreadable. If it looks loose, chill for 15 minutes and beat again.
- Pipe or spread the frosting onto the cooled cupcakes. Finish with chocolate shavings or a coffee bean on each.
Tips
- Room-temperature dairy matters. Cold eggs, buttermilk or butter will make the batter seize and the frosting curdle. If you forgot to take them out, sit the eggs in warm water for 10 minutes and cut the butter into cubes.
- Don't overmix. Once the flour goes in, stop as soon as the batter is smooth. Overworking develops gluten and gives you tough, tunnelled cupcakes.
- Cocoa is not interchangeable with drinking chocolate. Use unsweetened cocoa powder, not hot-chocolate mix, or the cupcakes will be far too sweet and the frosting will not set.
- Add coffee gradually. Frosting thickness depends on the coffee and the humidity. Add it a teaspoon at a time and stop when it just holds a peak — you can always add a spoonful of icing sugar if it goes slack.
Serving Suggestions
These are best eaten the day they are frosted, at room temperature, with a cup of coffee or a glass of cold milk. They suit a birthday table, a bake sale or an afternoon tea plate alongside shortbread. For a dessert version, split a cupcake, add a scoop of vanilla ice cream and a drizzle of warm chocolate sauce. If you are serving a crowd, pipe the frosting just before the event so the swirls stay sharp.
Variations
- Espresso intensity: swap 1 tbsp of the coffee in the frosting for cooled espresso or strong instant coffee dissolved in water, and taste before adding more.
- Mocha ganache topping: instead of buttercream, warm 100 ml double cream with 100 g dark chocolate and 1 tsp coffee, cool until thick, then spread over the cooled cupcakes.
- Mocha chip cupcakes: fold 80 g dark chocolate chips or chopped chocolate into the batter at the end, and reduce the coffee slightly so the batter stays thick enough.
- Cinnamon mocha: add 1/2 tsp ground cinnamon to the dry ingredients for a warmer, spiced flavour that works well in autumn and winter.
- Mini cupcakes: fill mini cases two-thirds full and bake for 10–12 minutes; you will get about 36 and will need roughly half again as much frosting to cover them generously.
Storage and Reheating
Unfrosted cupcakes keep in an airtight container at room temperature for up to 2 days, or frozen for up to 2 months, well wrapped. Frosted cupcakes keep at room temperature for 1–2 days, in the fridge for up to 4 days; bring them to room temperature for 30 minutes before serving, because cold buttercream tastes flat. If you refrigerate them, let them sit uncovered for 10 minutes first so condensation does not bead on the frosting. To freeze frosted cupcakes, freeze them solid on a tray, then wrap individually and store for up to 1 month; thaw overnight in the fridge and serve at room temperature. There is no need to reheat cupcakes — a brief 30 seconds in a warm oven (about 120 °C) will refresh a dry one, but the frosting should be added afterwards if you have not frosted them yet.
Frequently Asked Questions
Can I make these without coffee?
Yes. Use hot water in place of the coffee in the batter and milk in place of the coffee in the frosting. You will get plain chocolate cupcakes with chocolate buttercream, which is just as good, though you lose the mocha flavour.
Why did my frosting curdle?
Usually because the butter was too cold or the melted chocolate was still warm when it went in. Let the chocolate cool to room temperature and make sure the butter is soft but not greasy. If it does curdle, chill the bowl for 15 minutes and beat again — it often comes back together.
Can I use instant coffee instead of brewed?
Yes. Dissolve 1 tsp of instant coffee in 2 tbsp hot water and cool it before adding. Adjust the amount to taste, since instant coffee varies in strength.
How do I stop the cupcakes from sinking in the middle?
Sinking usually means the batter was overmixed or the oven was too cool at the start. Fold gently until just combined, preheat fully, and avoid opening the oven door before the 15-minute mark.
Can I freeze the frosting?
Yes, for up to 1 month in an airtight container. Thaw overnight in the fridge, then beat it again for a minute or two before piping. It may need a teaspoon of coffee or milk to loosen it.
How much frosting does this make?
Enough to pipe generous swirls on all 12 cupcakes, or to spread a thinner layer with a little left over. For tall, decorative swirls, make one and a half times the frosting recipe.