Featured Article

"Rainbow Magic in Every Slice: A Step-by-Step Guide to Making a Stunning Rainbow Cake"

Alan Jun 16, 2026

Create a Vibrant Rainbow Cake: A Step-by-Step Guide

How To Make A Rainbow Cake
How To Make A Rainbow Cake

Unleash your inner baker and create a stunning rainbow cake that's sure to impress. This delightful dessert is perfect for birthdays, pride celebrations, or any day you want to add a pop of color to your table. Here's a comprehensive, step-by-step guide to help you make a rainbow cake at home.

a slice of rainbow cake on a plate with the words easy rainbow cake made from scratch
a slice of rainbow cake on a plate with the words easy rainbow cake made from scratch

Gather Your Ingredients

Before you start, ensure you have all the necessary ingredients. For the cake, you'll need:

How to make rainbow frosting
How to make rainbow frosting
  • 225g (1 cup) unsalted butter, softened
  • 225g (1 cup) caster sugar
  • 4 medium eggs
  • 225g (1¾ cups) self-raising flour
  • 2 tsp baking powder
  • 4 tbsp milk
  • 1 tsp vanilla extract
  • Food coloring in red, orange, yellow, green, blue, and purple

For the buttercream frosting, you'll need:

How to Make Rainbow Cake
How to Make Rainbow Cake
  • 200g (¾ cup) unsalted butter, softened
  • 400g (3 cups) icing sugar
  • 2-3 tbsp milk
  • 1 tsp vanilla extract

Prepare Your Cake Pans

To create a smooth, even cake, it's essential to prepare your pans correctly. Grease and line six 15cm (6in) round cake tins with baking parchment. This will ensure your cakes don't stick and are easy to remove.

The best rainbow cake ever!
The best rainbow cake ever!

Make the Rainbow Cake Batter

Preheat your oven to 180°C (160°C fan) or 350°F. In a large mixing bowl, cream together the butter and caster sugar until light and fluffy. Add the eggs one at a time, mixing well after each addition.

Sift in the flour and baking powder, then gently fold into the mixture. Add the milk and vanilla extract, and mix until just combined. Be careful not to overmix, as this can lead to a tough cake.

How to Make a Rainbow Cake! - MomOf6
How to Make a Rainbow Cake! - MomOf6

Divide the batter evenly into six bowls. Add a few drops of food coloring to each bowl, mixing well to create vibrant red, orange, yellow, green, blue, and purple batters.

Bake the Rainbow Layers

How to Make Rainbow Cake | Birthday Cake Recipes
How to Make Rainbow Cake | Birthday Cake Recipes
“Pretty Rainbow” cake 🌈✨ #cakedecorating #cake
“Pretty Rainbow” cake 🌈✨ #cakedecorating #cake
a slice of rainbow swirl cake on a plate with a fork and knife next to it
a slice of rainbow swirl cake on a plate with a fork and knife next to it
Can a Rainbow Cake Brighten Your Special Celebration?
Can a Rainbow Cake Brighten Your Special Celebration?
How to Make a Funfetti Rainbow Cake – Perfect for Every Celebration! | Cutefetti
How to Make a Funfetti Rainbow Cake – Perfect for Every Celebration! | Cutefetti
How Do You Bake A Towering Rainbow Cake Cream Fast?
How Do You Bake A Towering Rainbow Cake Cream Fast?
Rainbow Bundt Cake Recipe -
Rainbow Bundt Cake Recipe -
a close up of a rainbow cake with the words easy fondant rainbow on it
a close up of a rainbow cake with the words easy fondant rainbow on it
someone is cutting into a cake with rainbows on it
someone is cutting into a cake with rainbows on it
how to make a rainbow cake!
how to make a rainbow cake!
homemade rainbow cake on a plate with the title overlay reads, homemade rainbow cake
homemade rainbow cake on a plate with the title overlay reads, homemade rainbow cake
Easy Layered Swirl Rainbow Cake: Only ONE Pan Needed! 🌈🍰
Easy Layered Swirl Rainbow Cake: Only ONE Pan Needed! 🌈🍰
Why Is This Rainbow Layer Cake Vanilla Recipe Ready In 30 Minutes?
Why Is This Rainbow Layer Cake Vanilla Recipe Ready In 30 Minutes?
Rainbow Tie Dye Cake Recipe
Rainbow Tie Dye Cake Recipe
a rainbow cake with sprinkles and the words how to make rainbow cake
a rainbow cake with sprinkles and the words how to make rainbow cake
Delightful Pastel Rainbow Cake Recipe for Any Occasion
Delightful Pastel Rainbow Cake Recipe for Any Occasion
cake decoration ideas
cake decoration ideas
Easy Homemade Rainbow Cake (Vegan!)
Easy Homemade Rainbow Cake (Vegan!)

Spoon the colored batters into the prepared cake tins, one color per tin. Use a small offset spatula to smooth the tops. Bake for 15-20 minutes or until a skewer inserted into the center of each cake comes out clean.

Allow the cakes to cool in the tins for 5 minutes, then transfer them to a wire rack to cool completely.

Prepare the Buttercream Frosting

While the cakes are cooling, make the buttercream frosting. Beat the butter until soft, then gradually add the icing sugar, mixing well after each addition. Add the milk and vanilla extract, and beat until smooth and creamy.

Assemble the Rainbow Cake

Once the cakes are completely cool, it's time to assemble your rainbow masterpiece. Place the red cake on a serving plate or cake stand, and spread a layer of buttercream on top. Repeat with the remaining cakes, ensuring each layer is stuck together with a generous helping of buttercream.

Spread a thin layer of buttercream over the top and sides of the cake to create a crumb coat. Chill the cake for 30 minutes, then apply a second, thicker layer of buttercream. Use a turntable or a lazy Susan to help you create smooth, even layers.

To create the rainbow effect on the outside of the cake, use a small offset spatula or a bench scraper to gently scrape away the excess buttercream, revealing the colored layers beneath. Start at the top of the cake and work your way down, using a light touch to avoid damaging the delicate layers.

Once you're happy with the rainbow effect, use any remaining buttercream to create a simple border around the top of the cake. Add rainbow sprinkles or edible glitter for an extra touch of sparkle.

Your stunning rainbow cake is now ready to serve and enjoy. Happy baking!