Back to Biscuits

Carrot Cake Traybake Recipe

Carrot Cake Traybake Recipe
Dessert Recipes Kitchen 31 March 2026

A carrot cake traybake gives you all the flavour of a layered carrot cake with none of the stacking, levelling or crumb coating. One tin of moist, spiced sponge, one layer of tangy cream cheese frosting, and twenty squares that travel well. The oil and grated carrot keep it soft for days, which makes it one of the best traybakes for a bake sale or a party.

What ingredients do you need?

Makes 20 squares.

For the sponge

  • 300ml sunflower oil
  • 350g light brown soft sugar
  • 4 large eggs
  • 400g grated carrot, about 6 medium carrots
  • Finely grated zest of 1 orange
  • 350g self-raising flour
  • 1 tsp bicarbonate of soda
  • 3 tsp ground cinnamon
  • 2 tsp mixed spice
  • 150g sultanas
  • 100g chopped walnuts

For the frosting

  • 200g full-fat cream cheese, cold
  • 75g unsalted butter, softened
  • 350g icing sugar
  • 1 tsp vanilla extract

How do you make a carrot cake traybake?

  1. Heat the oven to 180°C (160°C fan), gas 4. Line a 30 by 23cm traybake tin with baking paper.
  2. Whisk the oil, brown sugar and eggs together in a large bowl until smooth.
  3. Stir in the grated carrot and orange zest.
  4. Sift in the flour, bicarbonate of soda, cinnamon and mixed spice, and fold together.
  5. Fold in the sultanas and chopped walnuts.
  6. Spread into the tin and bake for 35 to 40 minutes, until risen and a skewer comes out clean.
  7. Cool completely in the tin.
  8. Beat the butter and icing sugar until smooth, then beat in the cold cream cheese and vanilla only until thick.
  9. Spread over the cooled sponge and cut into squares.

Add the cream cheese last and briefly: overbeating cream cheese frosting turns it runny, and it cannot be rescued. Beat the butter and sugar first, then fold the cheese in at the end.

How should you grate the carrots?

Use the medium holes of a box grater, or the grating disc of a food processor. Very fine grating turns the carrot to wet pulp, while coarse grating leaves strands that stay firm. There is no need to peel young carrots, and no need to squeeze out the moisture, as it helps keep the sponge soft.

Why use oil rather than butter?

Oil stays liquid at room temperature, so the sponge feels moist and tender for days, where a butter cake firms up as it cools. Sunflower or vegetable oil has a neutral flavour that lets the spices and carrot come through. This is why nearly every carrot cake recipe uses oil rather than creamed butter.

Can you leave out the nuts?

Yes. Leave the walnuts out entirely for a nut-free traybake, and add an extra 50g of sultanas or some desiccated coconut instead. If you are baking for someone with a nut allergy, check the labels on your dried fruit and spices too, as some are packed in facilities that handle nuts.

How do you stop the frosting sliding off?

Make sure the sponge is completely cold, which takes at least two hours in the tin. Use full-fat cream cheese rather than a reduced-fat version, which contains more water. If the frosting still seems soft, chill it for 20 minutes before spreading, and keep the finished traybake in a cool place.

How long does it keep?

Because of the cream cheese frosting, keep it in the fridge in an airtight container for up to four days, and bring squares back to room temperature before serving. The un-iced sponge keeps for three days at room temperature and freezes for three months.

Can you make it as a layer cake instead?

Yes. Divide the batter between two 20cm round tins and bake for 30 to 35 minutes, then sandwich and cover with the frosting. The traybake is easier to transport and portion, but a round layer cake looks more like a birthday cake if that is what the occasion calls for.

Should you add pineapple or coconut?

Both are common additions in carrot cake recipes. Drained tinned pineapple, about 100g finely chopped, adds sweetness and moisture. Desiccated coconut, around 50g, adds texture. If you add either, reduce the sultanas slightly so the batter is not overloaded with fruit.