Rainbow cake
Six coloured sponge layers stack with vanilla buttercream for a bright celebration cake. Bake the layers in batches and let them cool fully before assembling.
- Prep
- 50 minutes
- Cook
- 1 h 15 min
- Rest
- 1 hour
- Total
- 3 h 5 min
- Difficulty
- Medium
- Servings
- Makes 48 slices
Nutrition per serving
- Energy
- 380 kcal
- Protein
- 3 g
- Carbohydrate
- 46 g
- Fat
- 21 g
Estimated from USDA FoodData Central for the listed ingredients.

Contains: Gluten, eggs, soy, and milk
Check the labels: some brands of sprinkles are made or processed with animal products (such as fining agents, lard or gelatine).
Check the labels (allergen: Gluten): some brands of baking powder and sprinkles may contain it.
Allergens are worked out from the ingredients. Always check the labels of the products you use.
You need: Oven and cake tin
Ingredients
48 servings · Metric
- Cake675 gunsalted butter, softened, plus extra for greasing
- 675 gcaster sugar
- 1 tbspvanilla extract
- 10eggs, large
- 675 gself-raising flour
- 1 tspbaking powder
- ½ tspfood colouring, red
- ½ tspfood colouring, orange
- ½ tspfood colouring, yellow
- ½ tspfood colouring, green
- ½ tspfood colouring, blue
- ½ tspfood colouring, purple
- Icing500 gunsalted butter, softened
- 1 kgicing sugar
- 3 tbspmilk
- 1 tbspvanilla extract
- 2 tbspsprinklesoptional
What you're missing
Add your ingredients on the home page to see what you're missing.
Method
Heat the oven to 175 °C. Grease and line six 20 cm round cake tins with baking paper.
Beat the cake butter, caster sugar and vanilla in a large bowl until pale and fluffy.
8:00
Beat in the eggs one at a time, scraping down the bowl between additions until smooth.
5:00
Whisk the self-raising flour with the baking powder, then fold the dry mixture gently into the batter.
2:00
Divide the batter evenly among six bowls, then stir a different food colouring into each until uniform.
5:00
Spoon each coloured batter into its prepared tin and smooth it into an even layer.
Bake the layers in three batches of two for about 25 minutes each, until a skewer comes out clean.
25:00
Leave each sponge in its tin for 5 minutes, then turn it onto a rack and cool completely.
5:00
Beat the icing butter until soft, then gradually mix in the icing sugar until smooth.
8:00
Beat the milk and vanilla into the buttercream until it is smooth and spreadable.
2:00
Set the purple sponge on a serving plate, spread buttercream over it and place the blue sponge on top.
Stack the green, yellow, orange and red sponges in turn, spreading buttercream between each layer.
Cover the top and sides of the stacked cake with the remaining buttercream.
Scatter optional sprinkles over the cake, then cut it into 48 slices to serve.
Swaps
- milk: soy milk. Use soy milk in the buttercream if preferred (adds soy).
Tips
- Use concentrated gel colouring to add strong colour without much extra liquid.
- Chill the cooled layers briefly if they feel too soft to stack.
Storing leftovers
Keep covered in the fridge for up to 3 days; bring to room temperature before serving.



