The Mary Berry Rainbow Cake is a multi-layered sponge cake where each layer is tinted a different color of the rainbow. Sandwiched with a light, sweet buttercream and covered in a smooth vanilla frosting, it’s both a visual treat and a delicious dessert. Mary Berry’s version focuses on a tender sponge, even layers, and a buttercream that’s light and not overly sweet—making the cake as enjoyable to eat as it is to look at.
For the Cake Batter (makes six 8-inch layers):
Unsalted butter – 375g (softened)
Caster sugar – 375g
Self-raising flour – 375g
Baking powder – 1½ teaspoons
Eggs – 6 large
Milk – 4 tablespoons
Vanilla extract – 2 teaspoons
Gel food coloring – red, orange, yellow, green, blue, purple (use gel for vibrant color)
For the Buttercream Frosting:
Unsalted butter – 250g (softened)
Icing sugar – 500g (sifted)
Vanilla extract – 1 teaspoon
Milk – 2–3 tablespoons (as needed for consistency)
Preheat oven to 180°C (160°C fan) or 350°F.
Grease and line 6 cake tins (or bake in batches if you have fewer tins).
Cream butter and sugar: Beat until pale and fluffy.
Add eggs: One at a time, beating well after each.
Stir in vanilla and milk.
Fold in sifted flour and baking powder: Mix until just combined.
Divide batter evenly into 6 bowls.
Add a small amount of gel food coloring to each bowl. Stir gently to combine. Use enough to get bold colors.
Spoon each colored batter into a separate tin.
Bake for 15–18 minutes or until a skewer comes out clean.
Cool in tins for 5 minutes, then turn onto racks. Let cool completely.
Beat butter until smooth.
Gradually add icing sugar: Beat until light and fluffy.
Add vanilla and milk as needed for spreadable consistency.
Place the purple layer on your cake board or plate.
Spread a thin layer of buttercream.
Repeat layering in this order: purple, blue, green, yellow, orange, red—adding buttercream between each.
Cover the entire cake with a thin crumb coat of buttercream. Chill for 15–20 minutes.
Frost the outside of the cake smoothly using the remaining buttercream.
Optional: Add sprinkles, piped decorations, or a colored drip.
Slice to reveal the rainbow inside!