This coffee walnut layer cake pairs light, nutty sponge with a silky espresso buttercream and a crunchy walnut topping. The method is a classic creamed-butter cake, so the crumb stays tender, while strong espresso powder in both the sponge and the frosting gives a deep, rounded coffee flavour. It is the kind of cake that suits a birthday table or an afternoon pot of tea, and it keeps well for several days.

Ingredients

Instructions

  1. Heat the oven to 180°C (160°C fan, gas mark 4). Grease two 20 cm round cake tins and line the bases with baking parchment.
  2. Cream the 200 g softened butter and the caster sugar together in a large bowl for 3 to 4 minutes, until pale and fluffy. Scrape down the sides of the bowl once or twice.
  3. Beat in the eggs one at a time, adding a tablespoon of the flour with each egg to stop the mixture curdling. Beat well between additions.
  4. Fold in the remaining flour, the baking powder and the finely chopped walnuts with a large metal spoon. Add the cooled espresso and fold again until just combined. If the batter feels stiff, loosen it with up to 1 tbsp milk.
  5. Divide the batter evenly between the two tins and smooth the tops. Bake for 22 to 25 minutes, until the cakes are risen, spring back when lightly pressed and a skewer inserted in the centre comes out clean.
  6. Leave the cakes in their tins for 10 minutes, then turn out onto a wire rack, peel off the parchment and leave to cool completely. Cold cake is essential before frosting.
  7. For the buttercream, beat the 250 g softened butter for 2 to 3 minutes until smooth. Add the sifted icing sugar in three batches, beating on low speed at first so it does not fly out of the bowl, then on medium until fully incorporated.
  8. Beat in the cooled espresso, then add milk a teaspoon at a time until the buttercream is spreadable but still holds its shape. It should be soft enough to spread without dragging the sponge.
  9. Place one cake layer on a serving plate and spread about a quarter of the buttercream over it. Set the second layer on top, press down gently and cover the top and sides with the remaining buttercream, working with a palette knife or offset spatula.
  10. Arrange the walnut halves around the top edge and dust lightly with cocoa powder, if using. Leave the cake to firm up for about 30 minutes before slicing.

Tips

Serving Suggestions

Serve the cake in generous slices at room temperature, when the buttercream is soft and the sponge is at its most tender. It goes well with a plain cup of coffee or tea, and a small spoonful of lightly whipped cream on the side is a good contrast to the sweet frosting. For an afternoon spread, pair it with shortbread or a simple fruit salad rather than another rich dessert. If you are serving it after a meal, cut thinner slices, as the espresso buttercream is quite sweet.

Variations

For a chocolate-coffee version, replace 30 g of the flour with cocoa powder and add it with the dry ingredients. For a lighter frosting, fold 150 ml of lightly whipped cream into the finished buttercream just before using it, and serve the cake chilled. A walnut praline, made by setting caramelised walnuts on parchment and crushing them, can replace the plain walnut topping for extra crunch. If you prefer a single-layer cake, bake the batter in one deep 20 cm tin for 35 to 40 minutes and reduce the buttercream quantities by half.

Storage and Reheating

Store the cake in an airtight container at cool room temperature for up to 3 days, or in the fridge for up to 5 days. Bring refrigerated slices back to room temperature for about 30 minutes before serving, as cold buttercream tastes firmer and less sweet. The unfrosted sponges can be wrapped well and frozen for up to 2 months; thaw overnight in the fridge and frost once fully defrosted. Buttercream can be made up to 2 days ahead, kept covered in the fridge, and beaten briefly to soften before use. Do not reheat this cake in a microwave or oven, as the buttercream will split; it is served cold or at room temperature.

Frequently Asked Questions

Can I use brewed coffee instead of espresso powder?

It is possible but not ideal. Brewed coffee is mostly water, so it thins the batter and the buttercream, and you need a lot of it to taste the coffee. If you only have brewed coffee, reduce it gently in a pan to a concentrated syrup, cool it, and use 1 to 2 tablespoons in place of the dissolved espresso powder.

Why did my cake sink in the middle?

The usual causes are opening the oven door too early, underbaking, or too much liquid in the batter. Check the cake at the earliest stated time, keep the door closed for the first 20 minutes, and use an oven thermometer, since dials are often inaccurate. A sunken centre can still be used: level the top and cover it with buttercream.

Can I make this cake ahead of time?

Yes. Bake the sponges up to 2 days ahead and store them wrapped at room temperature, or freeze them for up to 2 months. Make the buttercream up to 2 days ahead and keep it covered in the fridge. Frost the cake on the day you plan to serve it for the best texture.

How do I stop the walnuts tasting bitter?

Walnuts turn bitter as they age, so check them before use: they should smell nutty, not sharp or paint-like. Toasting them for about 5 minutes in a dry pan improves the flavour, and storing them in the freezer keeps them fresh for longer. Discard any walnuts that taste harsh.

Can I make the buttercream without a stand mixer?

Yes. A hand-held electric whisk works well; beat the butter until smooth, then add the icing sugar gradually. If you only have a wooden spoon, soften the butter well first and add the sugar in small batches, which takes longer but gives the same result.