Rainbow Cake In A Jar Recipe

The ideal-sized serving of cake for those times you don't want to overdo it (or share)!

General info

Serves: 1
Preparation Time: 20 mins, plus cooling
Cooking Time: 20 - 25 mins


This one is for when it’s just you and you can’t trust yourself with a whole cake in the house! Baked individually in a jar, it’s soon ready to enjoy and there’s no need to share it.

  • 75g unsalted butter, softened, plus extra for greasing
  • 75g caster sugar
  • 1 large egg
  • 75g self-raising flour
  • pinch of fine salt
  • 1/4 teaspoon vanilla extract
  • food colouring pastes (purple, blue, green, yellow, orange and red)

For the icing

  • 50ml double cream
  • 1 teaspoon icing sugar, sifted
  • 1/4 teaspoon vanilla extract
  • 1 teaspoon rainbow sprinkles/edible confetti

You will need

  • 1 x 400ml thick or sturdy ovenproof jar


  1. Preheat the oven to 180 C/gas mark 4.
  2. Using an electric hand whisk, beat the butter and caster sugar together in a medium bowl until light and fluffy. Add the egg, beating well, then sift in the flour and salt and fold through evenly with a spoon. Stir in the vanilla extract until combined.
  3. Divide the mixture between six small bowls. Stir a little food colouring paste into each portion. Spoon the coloured cake mixtures into the prepared jar, spooning them one on top of the other and working your way through the rainbow – purple, blue, green, yellow, orange and red.
  4. Bake for 20–25 minutes, or until a skewer inserted into the centre comes out clean. Set the jar aside to cool completely.
  5. For the icing, whip the cream, icing sugar and vanilla extract together in a small bowl until soft peaks form. Once the cake is cold, spoon the icing over the cake and scatter with rainbow sprinkles before serving.


ALSO SEE: Naked Rainbow Tier Cake Recipe

PLUS: Mima’s Rainbow Fudge Recipe

Rainbow Bakes by Mima Sinclair.

Send this to a friend