*This post may contain affiliate links. Please see my disclosure for more details!*

A delicious and bright rainbow cake with vanilla buttercream frosting, a pink drip and sprinkles! 

Rainbow cake

Oh hellooo most requested recipe OF ALL TIME. I am not even joking, this recipe has been requested over and over again and I am ~finally~ posting it on to my blog! It’s taken a fair old time as I wanted to get it right!

I love all things cake, we all know this, but a rainbow cake is something else. The absolutely insanely bright colours, the sweet taste, and all things cute take it to a different level entirely! It is just glorious.

Disclaimer

So… I will say from the beginning that this recipe uses lots and lots of ingredients, and it is a humongous cake! Like, its 6 layers of cake, and all the buttercream in-between the layers, and all the decor on top! 

And I will also say from the beginning… YES I KNOW THE RAINBOW HAS SEVEN COLOURS. This cake, is only six. When baking this cake, I just find making 6 colours so much easier, and you can see the obvious differences. I am not bothered about the seventh! 

Red, orange, yellow, green, blue and purple… the main colours you need in your life. I did slightly compensate for the lack of seven colours by adding in a pink drip on the outside but we will get to that later. 

Sponge

For this cake, I did make probably the biggest one tier cake ever. It’s about 8-9” in height, and uses so many ingredients. Because it is a six layer cake I decided to make it in two batches. So three layers at a time, so therefore you still only need three tins! 

I made the cake a 600g mix, so that it’s super easy to split into two batches. The best way is to weigh 5-6 medium eggs, and get as close to 300g as you can, for example 312g, and then match the butter, sugar and flour to that weight.

Colour 

Then, you mix it all together like normal, and then split into three bowls. It doesn’t matter which colours you do first, but I did red, orange, and yellow together, and then green, blue and purple.

The oven temperature is a bit lower than normal, as I don’t want the sponges to brown too much. This also comes somewhat from the brands of colours that you use! Red food colouring, orange food colouring, yellow food colouring, green food colouring, blue food colouring and purple food colouring. for the sponge mixtures!

Buttercream

Once my sponges are baked, I leave them to cool completely and freeze them wrapped in clingfilm over night so that they are easier to decorate the next day – but this bit is completely optional of course!! 

For the buttercream, you do use 750g unsalted butter and 1500g icing sugar, which technically is a little obscene but the amount of servings from this cake is huge so please don’t be a negative Nelly about the sugar content! 

I make my buttercream like normal by beating room temperature unsalted butter on its own for several minutes to make it really loose and supple, and then I gradually add in the icing sugar! I make sure to beat this for quite a long time. 

White food colouring 

You can do several methods to get whiter buttercream, by beating the butter on its own for a lot longer, or using a smidge of purple buttercream to counter act the yellow, but I love using this white food colouring! It looks amazing on my white chocolate drip cake and I haven’t looked back since.

I add a little at a time and keep beating it very well to make sure its really white and bright to contrast against the colours of the sponge! Making the buttercream whiter is completely optional of course though. 

Decoration

When I am starting to decorate the cake, I dollop a few tablespoons of buttercream onto each sponge and smooth over, making sure to get the order of the colours in the sponges correct of course…! 

Once you have layered each sponge you need to do a crumb coat by using as little buttercream as possible around the edges to seal in the spare crumbs from the sponges! I then chill the cake for a while to firm it up before adding another layer of buttercream on top. 

I use a large metal scraper to decorate the sides of the cake, and a small angled spatula to also help cover the sponges – and its much easier and you are going to get a smoother finish using these as well! 

 

Sprinkles and drip

Just as I have finished the buttercream I carefully press in some rainbow sprinkles to the bottom of the cake for a bit of colour and I just love the design – be warned, sprinkles will fall off at this point so beware! After this, I chill the cake again! 

For the pink drip, I use white chocolate ganache with this pink food colouring added in. Its a super bright colour so you don’t need add too much and it means you get the best coloured drip ever! 

Finishing touches and tips

I then pipe on the leftover buttercream and add on some more rainbow sprinkles and the best cake ever is finished! I am in love with the sponges and how bright and pretty it is – but the key point to make, YOU NEED TO USE GOOD QUALITY COLOURS.

Using supermarket colourings, will NOT work as well, or maybe at all… so please don’t waste ingredients by doing this! The colourings are 100% worth the investment as they last for so long! Any questions, leave them below in the comments and happy baking! x

Rainbow Cake!

A delicious and bright rainbow cake with vanilla buttercream frosting, a pink drip and sprinkles! 
Print Pin Rate
Category: Cake
Type: Cake
Keyword: Rainbow
Prep Time: 1 hour
Cook Time: 30 minutes
Decorating Time: 3 hours 30 minutes
Total Time: 5 hours
Servings: 20 Slices
Author: Jane's Patisserie

Ingredients

Cake

  • 600 g eggs (weigh eggs in shell) (about 10-12 medium eggs)
  • 600* g unsalted butter
  • 600* g caster sugar
  • 600* g self raising flour
  • 1/2 tsp red, orange, yellow, green, blue, purple food cololuring

Buttercream

  • 750 g unsalted butter (room temp, not stork)
  • 1500 g icing sugar
  • 1 tsp vanilla extract
  • 1-2 tsp white food colouring

Decoration

  • 180 g white chocolate
  • 75 ml double cream
  • 1/2 tsp pink food colouring
  • Rainbow sprinkles

Instructions

For the Cake

  • Preheat your oven to 160ºC/140ºC fan and line three 8"/20cm springform tins with parchment paper and leave to the side for now.
  • Weigh 5-6 medium eggs in their shells and get as close to 300g as possible (e.g. 312g)
  • Then add 312g of butter and caster sugar to a bowl and beat until light and fluffy.
  • Add in the eggs, and 312g of self raising flour and beat again until smooth.
  • Split the mixture evenly into three bowls, and add three of the colours each (for example, red, yellow and orange.)
  • Bake the cakes in the oven for 30 minutes (or until baked - test with a skewer).
  • Once baked, leave the cakes to cool in the tin for 10 minutes before removing to a wire rack to cool fully.
  • Repeat this process again and use the other three colours (for example, green, blue and purple!). Once all the cakes are baked, leave them all to cool fully.
  • (You can wrap the sponges in clingfilm once they have cooled and freeze over night to make decoratin easier but this is optional!)

Buttercream

  • Once all of your cakes are cooled, you can make the buttercream.
  • Beat the room temperature unsalted butter on its own for a few minutes to soften it and make it supple.
  • Gradually add the icing sugar beating very well each time until its all mixed in.
  • Keep beating and add the white food colouring and vanilla extract and beat for a few minutes.

Buttercream Decoration

  • Using a 10" cake board, add your first sponge. I start with purple as its the bottom colour.
  • Add a couple tablespoons of the buttercream on to the sponge and smooth over. Repeat this with blue sponge, then green, yellow, orange and finally red at the top.
  • Using a small amount of buttercream, smooth over the sides of the cakes and fill in any gaps and create a crumb coat.
  • Refrigerate or freeze the cake on the board for an hour or so to chill and firm to make the next stage of decorating easier.
  • Once chilled, add on lots more buttercream around the sides of the cake with a small angled spatula, and smooth over using a large metal scraper until the sides of the cake are smooth like in the photos!
  • Carefully press some of the sprinkles into the bottom of the cake using the palm of your hand to create the sprinkle effect!
  • Once this has been done, refrigerate again whilst you make the drip!

Decoration

  • Add the white chocolate and double cream to a bowl and heat in a microwave in short 10 second bursts stiring well each time.
  • Once melted and combined, add the pink food colouring and mix until smooth!
  • Add the pink ganache to a piping bag and carefully cut off the end and drip down the sides of the cake. The more you push over the side of the cake with the piping bag, the further it will drip!
  • Add the leftover buttercream to a piping bag with your favourite piping tip and pipe swirls of buttercream onto the top of the cake (like I have done in the photos)
  • Finally sprinkle on some etra sprinkles and leave the cake to set in the fridge fully.
  • In the hot weather I store the cake in the fridge until it has been portioned.

Notes

ENJOY!

Find my other Recipes on my Recipes Page!

You can find me on:
Instagram
Facebook
Pinterest
Twitter
Youtube

J x

© Jane’s Patisserie. All images & content are copyright protected. Do not use my images without prior permission. If you want to republish this recipe, please re-write the recipe in your own words and credit me, or link back to this post for the recipe.

148 Comments

  1. Janet on February 6, 2026 at 11:48 am

    Hi Jane,

    I’m planning on using this recipe for a gender reveal. Can I add the colour after the flour whilst beating if making it all the same colour?

  2. Jenny on August 10, 2025 at 11:32 am

    5 stars
    This recipe worked perfectly for my little boys first birthday! Really chuffed with it. Fairly simple too but very impressive!

  3. Leah on December 11, 2024 at 9:33 am

    5 stars
    I’ve just made this for my daughter’s 9th Birthday…it was incredible!! So much to go round. Thank you for the recipe.

  4. Emma on June 17, 2024 at 8:42 am

    Hi Jane, are you able to give me the adjusted quantities if I was using a 15cm tin, want to down size it a little!

  5. Lisa Blake on June 6, 2024 at 12:37 pm

    What white good colouring is used? The link sends me to Amazon and a page that just says “ugh oh”

    • Jane's Patisserie on June 20, 2024 at 9:36 am

      The correct one is linked but if it is out of stock amazon won’t show it at the moment! Any work really, but sometimes white colours aren’t brilliant x



  6. Katy B on May 13, 2024 at 1:59 pm

    5 stars
    I made this cake for my son’s 3rd birthday and it was amazing and people couldn’t believe I had made it. Really great recipe!

  7. Sam on April 6, 2024 at 6:38 pm

    Hi Jane, love this recipe it’s tried and tested

    Just wondering if it’s possible to make it dairy free using a baking spread in the sponge and a plant based butter for the buttercream?

    Thanks 😊

    • Jane's Patisserie on April 11, 2024 at 12:11 pm

      It would work, but plant based butter is softer so just keep an eye on it during hot weather as it won’t be as sturdy, and it’s a big cake! x



    • Jess on April 18, 2024 at 7:54 am

      Hi Sam, I’ve found Morrisons has a baking block, it’s their own brand, it’s dairy free, and solid like butter.
      I use it in all my bakes and works amazingly



  8. Brenda Griffiths on April 3, 2024 at 6:18 am

    5 stars
    Hi Jane my daughter in law has asked me to make a coloured cake but with only 3 colours but six layers. Would I use the same quantities in your recipe and use 3 deep 8 inch cakes ?

    Thanks Brenda

  9. Gabriella Swan on March 7, 2024 at 3:31 pm

    Can this be adapted to be gluten free?
    Thanks

  10. Amy Boghurst on February 1, 2024 at 8:23 pm

    Hi, I’m looking into making this cake for my daughter’s birthday. I see that your cake tins are 8 inches but how high are they? I have 8 ” tins but they are around 4.5- 5cm high, they seem too high, cake would be huge! Did you trim them? I do have some 9″ tins that are 2.5 cm in height. Just wondering which tins to use. Any advice would be great!

  11. Inga on January 5, 2024 at 10:36 am

    Hi Jane, could I use baking spread istead of butter for sponges? Thank you 🙂

Leave a Comment

Recipe Rating








This site uses Akismet to reduce spam. Learn how your comment data is processed.