Back to Biscuits

Coffee and Walnut Traybake Recipe

Coffee and Walnut Traybake Recipe
Dessert Recipes Kitchen 24 February 2026

Coffee and walnut is one of the great British tea-room combinations, and it works particularly well as a traybake. A soft coffee sponge studded with toasted walnuts, spread with coffee buttercream and topped with walnut halves, cut into twenty squares. It is easier than the layer cake version and just as good, and the flavour improves slightly after a day.

Which coffee should you use?

Instant coffee granules or instant espresso powder dissolved in a small amount of boiling water give the strongest flavour for the least liquid, which matters in both the sponge and the buttercream. Freshly brewed coffee is too weak unless you use a great deal, which would make the batter wet. Decaffeinated instant coffee tastes the same and is a sensible choice for an evening event.

What ingredients do you need?

Makes 20 squares.

For the sponge

  • 350g unsalted butter, very soft
  • 350g light brown soft sugar
  • 6 large eggs
  • 350g self-raising flour
  • 2 tsp baking powder
  • 3 tbsp instant coffee dissolved in 3 tbsp boiling water, cooled
  • 125g walnuts, toasted and chopped

For the buttercream

  • 250g unsalted butter, softened
  • 500g icing sugar
  • 2 tbsp instant coffee dissolved in 2 tbsp boiling water, cooled
  • 20 walnut halves, to decorate

How do you make it?

  1. Heat the oven to 180°C (160°C fan), gas 4. Line a 30 by 23cm traybake tin with baking paper.
  2. Toast the walnuts at 180°C for eight minutes, cool, then chop, keeping the halves back for decorating.
  3. Beat the butter and brown sugar together until light, then beat in the eggs one at a time.
  4. Fold in the flour, baking powder and the cooled coffee.
  5. Fold in the chopped toasted walnuts.
  6. Spread into the tin and bake for 30 to 35 minutes, until springy and a skewer comes out clean.
  7. Cool completely in the tin.
  8. Beat the butter until pale, then beat in the icing sugar and the coffee until smooth.
  9. Spread over the sponge, mark into twenty squares and top each with a walnut half.

Cool the coffee before adding it: hot coffee starts to melt the butter in the batter and can make the sponge greasy. A few minutes standing is enough.

Why toast the walnuts?

Toasting deepens their flavour, makes them crunchier and loosens the papery skins, which are the bitter part. Eight minutes at 180°C is enough, and they should smell fragrant rather than dark. Let them cool completely before chopping, or they turn oily and clump together.

Why has my sponge turned slightly grey?

Walnut skins contain natural tannins that can react with the raising agents in the batter, tinting the sponge a faint grey or purple around the nuts. It is harmless and does not affect the flavour. Toasting the walnuts and rubbing off the loose skins in a clean tea towel reduces it, and the coffee colour usually disguises it.

Can you leave out the walnuts?

Yes, and it makes a very good plain coffee traybake, which is useful if you are baking for someone with a nut allergy. Leave them out of both the sponge and the decoration, and add a little extra coffee if you want a stronger flavour. Chocolate-covered coffee beans make a good nut-free decoration.

Why use brown sugar?

Light brown soft sugar has a gentle caramel note that suits coffee far better than caster sugar, and it keeps the sponge moist. Caster sugar gives a paler, lighter crumb, which some people prefer for a more delicate tea-room look. Either works; the brown sugar version tastes richer.

How long does it keep?

It keeps for four days in an airtight container at room temperature, and the coffee flavour deepens overnight. The un-iced sponge freezes for three months, and the buttercream keeps in the fridge for a week; bring it back to room temperature and beat again before spreading.

Can you make it as a layer cake?

Yes. Divide the batter between two 20cm round tins and bake for 25 to 30 minutes, then sandwich and cover with the buttercream and arrange walnut halves around the edge. The traybake version is easier to portion and transport, but the round cake is the traditional tea-room presentation.