Rainbow cake

Rainbow cake

  • 1
  • 2
  • 3
  • 4
  • 5
(137 ratings)

Prep: 2 hrs Cook: 1 hr

A challenge

Cuts into 18 slices
A stunning celebration cake of six or seven colourful layers and cream cheese frosting - an impressive showstopper.

Nutrition and extra info

  • Freeze un-iced sponges only

Nutrition: per slice

  • kcal601
  • fat29g
  • saturates18g
  • carbs73g
  • sugars47g
  • fibre2g
  • protein11g
  • salt0.6g
Save to My Good Food
Please sign in or register to save recipes.


    You'll need 3 x these ingredients for six sponges

    • 125g butter, softened, plus a little extra for greasing



      Butter is made when lactic-acid producing bacteria are added to cream and churned to make an…

    • 225g plain flour
    • 150g golden caster sugar
    • 3 medium eggs (very important to use the correct size)
    • 1 tsp baking powder
      Baking powder

      Baking powder

      bay-king pow-dah

      Baking powder is a raising agent that is commonly used in cake-making. It is made from an alkali…

    • pinch of salt
    • 1 tsp vanilla extract
    • edible food colouring - red, orange, yellow, green, blue and purple, plus optional pink (see below)

    For the icing

    • 1 tsp vanilla extract
    • 3 x 250g tubs cream cheese or mascarpone
    • 350g icing sugar


    1. Heat oven to 180C/160C fan/gas 4. Grease 2 x 20cm round sandwich tins and line the bases with baking parchment. Tip all the sponge ingredients, apart from the food colouring, into a mixing bowl, then beat with an electric whisk until smooth.

    2. Working quickly, weigh the mixture into another bowl to work out the total weight, then weigh exactly half the mixture back into the mixing bowl. Pick 2 of your colours and stir a little into each mix. Keep going until you are happy with the colour – the colour of the batter now will be very similar to the finished cake, so be brave! Scrape the different batters into the tins, trying to spread and smooth as much as possible – but try not to waste a drop of the batter – a rubber spatula will help you. Bake on the same oven shelf for 12 mins until a skewer poked into the middle comes out clean.

    3. Gently turn the cakes out onto a wire rack to cool. Wash the tins and bowls thoroughly, and start again from step 1 – this time using another 2 colours. Unless you’re making the optional pink layer, repeat one more time to get 6 sponges, all of different colours. Leave them all to cool.

    4. To make the icing, very briefly beat the vanilla and cream cheese or mascarpone with an electric whisk until smooth. Sift in the icing sugar and gently fold in with a spatula. Be careful – the more you work it, the runnier it will get, increasing the chance of splitting.

    5. Smear a little icing on your cake stand or plate – just a splodge to stick the first sponge. Start with the red, then spread with some icing right to the very edge. Repeat, sandwiching on top the orange, yellow, green, blue and finally purple sponges. Spread the remaining icing thickly all over the sides and top of the cake. For more tips and expert advice on how to create the perfect rainbow cake, check out our tips, below.

    You may also like

    Comments, questions and tips

    Sign in or create your My Good Food account to join the discussion.
    16th Jan, 2016
    I decided to make this cake as a surprise for my wife. I followed this recipe by the letter and wish I had read the comments beforehand. "Tip all the ingredients in, bake for 12 minutes". In my gut it didn't feel right but went along anyway. Cakes rose well but sank straight after coming out the oven. The cakes don't taste particularly appetising and are very dense. They're edible but you don't be l need a big piece to soon fill up! Mascarpone icing worked well in that it didn't turn runny and it set even better once the cake had 10 minutes in the fridge. It didn't look pretty though so covered it in ready to roll icing and added some decorative piped icing. It's quite a large cake and with it being so dense, it feels even bigger. I fear this one will be going in the bin. All in all, poor recipe with disappointing results.
    green cupboard
    3rd Nov, 2015
    It is good you should make it now
    31st Aug, 2015
    I'm having a go at a bit of this. I only want 2 layers so I'm going for green and pink. The sponges are out of the oven and I should have put more colouring in for a more vibrant colour - we are now going for a more pastel look. I also added chopped hazelnuts to the green layer and freeze dried strawberries to the pink layer. The mixture was very thick and I wonder if my eggs weren't the right size. It's reading all the comments that have prompted me to have a go (and it's another rainy Bank Holiday), hence adding more flavour to the sponges. I'm confused by those who complained that it's a big cake. With six or seven layers what did they envisage?
    3rd Jul, 2015
    Showstopper of a cake!!!! Made this for daughters 18th birthday buffet for family & friends and it was a great success. Having read the previous comments I was a bit nervous - I'm not very good with cakes usually. Followed cake recipe exactly and although it's a bit time consuming it's very straightforward. I used Wilton colouring gels from Lakeland and the colours were fabulous with no taste to them. Made the cakes the day before, wrapped them in clingfilm & stored in tins over night before assembling just before the party. I used mascarpone for the icing - absolutely delicious but could have done with a bit more. Also used full fat as have been advised that the low fat is more likely to split & get runny. The one thing I would suggest is that you ice the cake in 2 goes - by the time I had assembled it and covered the top, the icing was very soft for doing the sides. Could have done with re-chilling but I was running out of time. However, no-one but me seemed to notice the inexpert icing! The cake is denser than a victoria sponge - but it wasn't heavy or dry & the balance with the sweet creamy icing was perfect. Would have been a 5 with more icing! Don't be put off by bad reviews - this cake is a real winner!
    28th Jun, 2015
    I made a quicker version on my blog with ordinary buttercream. Looks and tastes great! http://www.curlyscooking.co.uk/?p=2308
    14th Jun, 2015
    I made this cake for my daughters 1st birthday party, & was absolutely thrilled with the results. It looked so impressive, and tasted lovely too. I only did 6 layers, but it still resulted I a tall cake! I used the Sugarflair gel colours which give wonderfully vibrant colours, but without needing to use too much of it. I will definitely make this cake again
    30th Mar, 2015
    My son made this without help, when I saw the plain flour out I thought he had made a mistake but no that's what the recipient says.... Self raising would make more sense . Then the timer went off ...said to bake for 12 mins ?? Not long enough,20 mins more like ! Made a very dense cake , not light and fluffy like a sponge should be . Would be better off coloring a Victoria sandwich recipe or ANY other recipie but this one to make a better cake .
    28th Feb, 2015
    I made this a couple of years ago, found it relatively easy, looked beautiful, but like many other reviews it tasted disgusting! My daughter is desperate for me to make it again, I used the Dr Oetker colouring gels last time, an am wondering if all of the bad reviews were because of this, and the Wilton colouring pastes don't cause the bad taste?!
    17th Feb, 2015
    Cakes worked well - colouring wasn't exactly as I was hoping, use more than you expect. Icing was an epic fail - I had two attempts, both of which failed and turned runny, despite being very careful when mixing it. Find an alternative! (Note every other cream cheese frosting recipe has butter in it).
    3rd Jan, 2015
    Not as difficult to make as I expected... I don't think the amounts for the icing were sufficient and I can still see the colours if the sponges through the the icing a wee bit - I'm going to add multi-coloured sprinkles to it, though, to hide it (don't have time to go to the shops to get more cream cheese!!).


    Be the first to ask a question about this recipe...Unsure about the cooking time or want to swap an ingredient? Ask us your questions and we’ll try and help you as soon as possible. Or if you want to offer a solution to another user’s question, feel free to get involved...
    Be the first to suggest a tip for this recipe...Got your own twist on this recipe? Or do you have suggestions for possible swaps and additions? We’d love to hear your ideas.
    Want to receive regular food and recipe web notifications from us?