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

For the mocha frosting:

Instructions

  1. Heat the oven to 175 °C (350 °F, gas mark 4). Line a 12-hole muffin tin with paper cupcake cases.
  2. Whisk the flour, cocoa, baking powder, bicarbonate of soda and salt together in a bowl until no cocoa lumps remain.
  3. 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.
  4. 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.
  5. Divide the batter between the cases, filling each about two-thirds full. You should get 12 cupcakes.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. Pipe or spread the frosting onto the cooled cupcakes. Finish with chocolate shavings or a coffee bean on each.

Tips

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

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.