Go Back
+ servings
rainbow layer cake with sprinkles with a slice

Rainbow Layer Cake with Sprinkles

Jen Sim
A beautiful, bright, show-stopping, delicious rainbow layer cake with sprinkles. Nothing beats slicing into this cake and seeing the vibrant colors of the rainbow! This cake is perfect for birthdays and other special occasions.
5 from 14 votes
Print Pin
Course: cake, Dessert
Keyword: Rainbow cake
Prep Time: 45 minutes
Bake Time: 30 minutes
Servings: 20 people
Author: Jen Sim


  • 6" cake tin
  • Electric whisk or stand mix


Rainbow Cake

  • 700 g unsalted butter room temperature
  • 700 g caster sugar sifted
  • 2 tsp vanilla extract
  • 700 g eggs room temperature
  • 700 g self-raising flour sifted
  • 4-6 tbsp milk room temperature
  • 1/8-1/4 tsp of red, orange, yellow, green, blue, violet food colouring gel

How to Make Buttercream

  • 900 g unsalted butter room temperature
  • 1700 g icing sugar sifted
  • 2 tsp vanilla extract
  • 1/2 to 3/4 cup of double cream

How to Assemble the Rainbow Layered Cake with Sprinkles

  • 3-5 cups multi colored sprinkles


  • Start by greasing 6 non-stick 6" cake tins with butter or oil and line them with baking paper if necessary.
  • Next, add 700g of room temperature butter to a large bowl.
  • Add 700g of sifted caster sugar.
  • Whisk for 3-5 minutes or until pale yellow.
  • Add 1 tsp of vanilla extract to the mixture. Then measure 700g of room temperature eggs. Add one into the bowl and whisk until the egg is no longer visible. Repeat the previous step for the remaining eggs. If you add all of the eggs at once the mixture may split and curdle. The mixture should look smooth and silky.
  • Add 350g of sifted self-raising flour to the mixture and 2-3 tbsp of room temperature milk and mix. Repeat the previous step with the remaining 350g of self-raising flour and milk then mix.
  • You will need red, orange, yellow, green, blue and violet food colouring. I suggest you use gel as the colours come out a lot more vibrant. Add equal amounts of the cake batter to six different bowls and add 1/8-1/4 tsp of each food colouring and mix until well combined.
  • Add each colored cake batter into the greased 6" tins and bake for 30 minutes or until done. To test if your cake is ready stick a knife into the cake. If it comes out clean then it is done but if it is wet with cake batter then it's not ready. Once the cakes are ready leave them to cool completely on a cooling rack before decorating.

How to Make Buttercream

  • Add 900 g of room temperature unsalted butter to a large bowl and whisk on a low speed for 1 minute. Then add 850 g of the sifted icing sugar and whisk on a medium speed for 3 minutes.
  • Add the remaining 850 g of sifted icing sugar, 2 tsp of vanilla extract, and 1/2 to 3/4 cup of double cream. Whisk for 3-5 minutes or until spreadable. Click here for my detailed vanilla buttercream recipe and video.

How to Assemble the Rainbow Layered Cake with Sprinkles

  • Make sure you stack the cakes in the correctorder once it's time to decorate.
  • Add buttercream 1/2 a tbsp of buttercream to the center of an 8" cake board. Then place the violet cake on the board. Option to add homemade syrup to the cake to keep it moist. (see notes). Then add buttercream. Repeat this step for the rest of the cakes.
  • Then add buttercream to a piping bag and cover the cake in buttercream. Use a smoother to smooth the cake. Then refrigerate the cake for 30 minutes.
  • Next, you have the option to add a second layer ofbuttercream or skip this and add sprinkles to the entire body of the cake usingyour hands or a spoon.
  • Finally, add a star nozzle to a piping bag, add buttercream and add swirls around the rim of the cake.
  • Now get ready to serve this show-stopping rainbow cake! Cut into the cake, take your first slice and take a look at the beautiful rainbow colors!


Batter: Do not overmix the cake batter as you still need to mix in food coloring. Overmixing will result in a tough cake.
Cake: Don't worry this is perfectly normal because most cakes get burnt on the outside. All you need to do is use a knife to shave off the burnt bits and the color will come through.
Syrup Recipe: Heat a 1:1 ratio of water and sugar in a saucepan to create a syrup. Bring to a boil, simmer for 10 minutes and leave to cool.