Mocha fudge cupcakes combine a deep cocoa crumb with the roasty edge of espresso and a glossy fudge frosting that sets soft rather than hard. What makes them work is balance: strong brewed coffee or espresso powder deepens the chocolate without making it taste like coffee, while melted chocolate and hot liquid in the batter give a tight, moist crumb. The fudge topping is a ganache-style buttercream that firms up enough to hold a swirl but stays tender under the teeth.

Ingredients

Makes 12 standard cupcakes. You will need a 12-cup muffin tin lined with paper cases and an electric mixer or a strong whisk.

For the cupcakes

For the mocha fudge frosting

Instructions

  1. Heat the oven to 175°C (350°F, gas mark 4). Line the muffin tin with 12 paper cases and set a shelf in the middle of the oven.
  2. In a large bowl, whisk together the flour, cocoa powder, baking powder, salt and 2 teaspoons of espresso powder until evenly coloured with no streaks of cocoa.
  3. In a jug, stir the hot coffee with the granulated and brown sugars until the sugar has mostly dissolved. Let it cool for 3 to 4 minutes, then whisk in the egg, milk, oil and vanilla. The mixture should feel warm but not hot when you touch the jug; if it is very hot, wait a little longer so the egg does not cook.
  4. Pour the wet mixture into the dry ingredients and stir with a spatula or wooden spoon just until no dry flour remains, about 30 to 40 strokes. Small lumps are fine. Stop as soon as the batter comes together.
  5. Stir the melted chocolate through with a spatula in three or four folds. The batter will be loose and glossy, closer to a thick pancake batter than a stiff cake mix.
  6. Divide the batter between the paper cases, filling each about two-thirds full. A 1/4-cup measure or an ice cream scoop gives even portions.
  7. Bake for 18 to 22 minutes, until the tops spring back lightly when pressed and a skewer inserted into the centre comes out with a few moist crumbs but no wet batter. Rotate the tin halfway through if your oven browns unevenly.
  8. Cool the cupcakes in the tin for 5 minutes, then lift them onto a wire rack and cool completely, about 40 minutes. Do not frost warm cupcakes; the buttercream will slide.
  9. For the frosting, put the chopped chocolate, espresso powder and salt in a heatproof bowl. Heat the cream in a small pan until it just steams and bubbles appear at the edge; do not let it boil hard. Pour it over the chocolate and leave it undisturbed for 2 minutes, then stir gently from the centre outwards until smooth. Set aside to cool to room temperature, about 20 to 30 minutes; it should be thick like soft butter, not warm.
  10. Beat the softened butter with an electric mixer for 2 minutes until pale and creamy. Add the icing sugar in two additions, beating well between each, then beat in the vanilla.
  11. Add the cooled ganache in three additions, beating on medium speed for about 30 seconds after each. The frosting should be smooth, glossy and thick enough to hold a firm peak. If it looks loose, chill it for 10 to 15 minutes and beat again briefly.
  12. Frost the cooled cupcakes with a palette knife or a piping bag fitted with a star nozzle. Use roughly 2 generous tablespoons per cupcake. Serve at room temperature.

Tips

Serving Suggestions

These are rich, so serve them at room temperature with plain coffee or a glass of cold milk. A small pinch of flaky salt on top of each swirl sharpens the chocolate, and a few chocolate-covered coffee beans or a dusting of cocoa add texture. For a dessert plate, halve a cupcake, add a spoonful of lightly whipped cream and a few raspberries; the fruit's acidity cuts the fudge nicely.

Variations

Storage and Reheating

Unfrosted cupcakes keep in an airtight container at room temperature for 2 days, or freeze for up to 2 months wrapped individually in cling film and then in a bag. Thaw at room temperature for about 1 hour before frosting. Frosted cupcakes keep in an airtight container in a cool spot for 2 days; if your kitchen is warm, refrigerate them and bring them out 30 minutes before serving so the buttercream softens. In the fridge they last up to 4 days. The frosting alone can be made a day ahead, kept covered in the fridge and brought back to room temperature before beating briefly to restore its shine. These are best eaten at room temperature; a short 15 seconds in the microwave will soften a chilled cupcake but will also melt the frosting, so do it only if the topping does not matter.

Frequently Asked Questions

Can I make the cupcakes without coffee?

Yes. Replace the hot coffee with hot water and leave out the espresso powder in the batter, and use plain hot cream in the frosting. The result is a straightforward chocolate fudge cupcake rather than a mocha one, and the texture stays the same.

Why did my cupcakes sink in the middle?

Sinking usually means the batter was underbaked or the oven was too cool, so the centre collapsed before it set. Check the skewer at the shortest time in the range and use an oven thermometer if yours runs cool. Opening the oven door early can also cause a drop.

Can I use cocoa powder instead of chocolate in the frosting?

Not as a straight swap. The chopped chocolate gives the frosting its set and body. If you have no chocolate, make a cocoa buttercream with 3 tablespoons of cocoa powder and 2 tablespoons of milk beaten into the butter and sugar, but expect a lighter, less fudgy texture.

How do I get a neat swirl?

Pipe with a star nozzle and a bag filled no more than two-thirds, holding it upright about 1 cm above the cupcake. Pipe a ring from the outside in, then release pressure and pull straight up. Chilling the frosting for 10 minutes before piping gives cleaner edges.

Can I freeze the frosted cupcakes?

Yes, but freeze them first on a tray until the frosting is firm, then transfer to a container. Thaw overnight in the fridge and serve at room temperature; the buttercream may look slightly dull but the flavour and texture are fine.

How strong should the coffee flavour be?

It should read as an accent, not a cup of coffee. Two teaspoons of espresso powder across 12 cupcakes is a moderate mocha; if you want it stronger, add another half teaspoon rather than pouring in more liquid, which would change the batter's consistency.