
This 5-layer rainbow cake recipe transforms any celebration into a showstopper with its vibrant, swirling frosting rivers and fondant crown magic. 🌈 The secret lies in baking perfectly level layers—vanilla, chocolate, citrus, and berry—each infused with distinct flavors that complement the colorful fillings. I’ve perfected this technique over years of baking competitions, ensuring every slice reveals that stunning rainbow effect without collapsing.
The foundation starts with foolproof layering: chilling cakes between each frosting application prevents sogginess, while precise leveling with a serrated knife guarantees clean, even surfaces. Buttercream or cream cheese frosting creates the signature “rivers” when spread in diagonal strokes, while fondant crowns add that professional bakery touch. Each layer gets its own filling—strawberry, raspberry, blueberry, and lemon—to enhance both color and flavor.
What you’ll achieve is a visually stunning dessert that tastes as incredible as it looks—moist layers, creamy fillings, and a glossy finish that makes guests believe you spent hours decorating. The frosting rivers create natural dividers between colors, while the fondant crown adds height and elegance. This isn’t just a cake; it’s a centerpiece that will have everyone asking for the recipe.
Perfect for birthdays, weddings, or any special occasion, this cake requires patience but delivers restaurant-quality results with minimal fuss. The key is timing—chilling between layers and frosting—so you can focus on the fun part: watching the rainbow reveal itself with every slice. Let’s create something magical together.
Ingredients for 5 layer rainbow cake
Sixteen ingredients to create a showstopping rainbow cake with restaurant-quality magic.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 6 cups | Sifted for light texture |
| Granulated Sugar 🍚 | 3 cups | Divided for layers and frosting |
| Unsalted Butter 🧈 | 2 ½ cups | Room temperature, softened |
| Large Eggs 🥚 | 12 whole | Room temperature, separated |
| Vanilla Extract 🌿 | 2 tbsp | Pure, high-quality extract |
| Baking Powder 🧂 | 2 ½ tbsp | Diamond Crystal preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Milk 🥛 | 2 cups | Whole milk for richness |
| Cocoa Powder 🍫 | ½ cup | Dutch-processed for smoothness |
| Lemon Zest 🍋 | 1 tbsp | Freshly grated |
| Strawberry Jam 🍓 | 1 ½ cups | High-quality, unsweetened |
| Raspberry Jam 🍇 | 1 cup | Seeded for smooth texture |
| Blueberry Jam 🫐 | 1 cup | Whole berries preferred |
| Lemon Curd 🍋 | 1 ½ cups | Homemade preferred |
| Powdered Sugar 🍚 | 8 cups | For buttercream frosting |
| Heavy Cream 🥛 | 2 cups | Cold, for whipped buttercream |
| White Chocolate Chips 🍫 | ½ cup | For fondant crown |
| Food Coloring 🎨 | 1 tbsp | Gel-based, vibrant colors |
| Fondant 🎂 | 2 lbs | White, for crown |
The flour and sugar are your foundation—King Arthur flour if you want to splurge, but any all-purpose will work. Butter needs to be room temperature—stick it in the fridge for 10 minutes if it’s too soft. Eggs should be separated carefully (room temp prevents curdling). For the jams, Mott’s or Bonne Maman are my go-tos—they’re thick, flavorful, and won’t bleed colors. The cocoa powder? Dutch-processed is a must for that smooth, velvety chocolate layer. If you’re making this for a crowd, grab extra jam—you’ll want to fill the gaps between layers generously.
No Dutch-processed cocoa? Natural cocoa plus 1 tbsp extra sugar works, but the flavor won’t be as refined. Short on time? Store-bought lemon curd is fine (check for no added gelatin), but homemade has that professional touch. For the fondant crown, Wilton or Smooth-On brands are foolproof—avoid the cheap stuff that cracks. Need to adjust colors? Gel food coloring lets you control intensity without thinning the frosting. The buttercream should be pipeable but not runny—if it’s too stiff, microwave the butter 10 seconds at a time until smooth. Pro tip: Chill your piping bags between colors to keep the frosting rivers sharp.
Store the cake layers in the fridge between frosting sessions—up to 24 hours if needed. The fondant crown can be made a day ahead and kept at room temp in an airtight container. For the jams and curd, transfer to small jars and refrigerate—they’ll keep for up to 2 weeks. If you’re prepping ahead, assemble the entire cake (without crown) and freeze it—thaw overnight before adding the fondant. The crown goes on last, so keep it separate until serving. This cake is a statement piece, so serve at room temperature—the colors pop more when everything’s the same temp.
Why You’ll Love This Recipe
- No Baking Math Stress: I swear by this recipe because it’s forgiving—no precise egg counts or temperature checks. The butter and sugar cream so easily (thanks to room temp prep), and the vanilla extract cuts through the richness just enough to keep it light. Even if I rush, it still turns out tender, not dry.
- Vanilla Butter Magic: That simple vanilla extract? It’s the secret weapon. The layers stay moist for days, and the butter’s richness balances the sugar without tipping into cloying sweetness. (Yes, even my picky nephew asks for seconds.)
- Party in a Box: Between us—this cake is the crowd-pleaser. Birthdays, potlucks, or just because? The layers hold their shape when sliced, and the colors pop without needing fancy decorating. Honestly, I’ve used it for everything from baby showers to my own lazy Sundays.
- Budget-Friendly Luxury: Five layers for the cost of one store-bought cake? That’s the win. The ingredients are pantry staples, and the leftovers? Perfect for lunchboxes or late-night cravings. I’ve even repurposed scraps into trifles—zero waste, all flavor.
Step-by-step instructions for creating a stunning 5-Layer rainbow cake
Let’s build this showstopper layer by layer—each step brings us closer to that dreamy rainbow effect.
👨🍳 Step 1: Bake the Five Signature Layers
Preheat your oven to 350°F and prepare five 8-inch round cake pans by greasing them thoroughly with softened butter and lining the bottoms with parchment paper. Sift together 1½ cups all-purpose flour, ½ cup granulated sugar, ½ tbsp baking powder, and ⅛ tsp salt for each layer into separate bowls.
In another bowl, whisk together 2 egg yolks, ¼ cup milk, and 1 tsp vanilla extract for each layer. Gently fold these wet ingredients into the dry ingredients until just combined—don’t overmix or your layers will be tough. Divide the batter evenly among the prepared pans, spreading it smoothly.
Bake each layer for 25-30 minutes until a toothpick inserted into the center comes out clean. Let the cakes cool in their pans for 10 minutes before transferring to a wire rack to cool completely. This cooling step is crucial—warm layers will crumble when you try to frost them later.
🍳 Step 2: Create the Rainbow Buttercream Rivers
In a stand mixer fitted with the paddle attachment, beat ½ cup softened butter and 1 cup powdered sugar together on medium speed for 2 minutes until light and fluffy. Add 1 tbsp milk and ½ tsp vanilla extract to create the base buttercream. Divide this base into five separate bowls.
To each bowl, add ½ tsp food coloring (using different vibrant colors) and mix until evenly distributed. You’ll create one bowl each of red, orange, yellow, green, and blue buttercream. For the rainbow effect, we’ll use these colors in order from bottom to top—red at the base, then orange, yellow, green, and finally blue at the top.
Spread each color of buttercream evenly between the layers, creating a ½-inch thick layer on each cake. Use an offset spatula to smooth the buttercream completely, ensuring no gaps where filling might leak out. Chill the assembled cake in the refrigerator for 30 minutes to firm up the buttercream before adding the fondant crown.
🥘 Step 3: Assemble the Jam and Curd Filling Layers
Once the cakes are completely cooled, it’s time to fill them with flavor. Spread 3 tbsp strawberry jam evenly over the first layer (red buttercream side down). Place the second layer on top, buttercream side up, and spread 3 tbsp raspberry jam over it. Continue this process, adding 3 tbsp blueberry jam between the third and fourth layers, and 3 tbsp lemon curd between the fourth and fifth layers.
For the final touch, spread a thin layer of the remaining blue buttercream over the top layer. This creates a smooth surface for the fondant crown and ensures the colors blend beautifully at the edges. Press gently to smooth any air bubbles or uneven spots—this is where attention to detail makes all the difference.
🎨 Step 4: Craft the Fondant Crown and Chocolate Accents
Roll out 1 lb of the white fondant on a lightly floured surface to create a ¼-inch thick sheet large enough to wrap around the entire cake. Use a sharp knife to cut a rectangle slightly larger than your cake’s circumference. Gently drape the fondant over the top of the cake, smoothing it down with your hands to create a seamless cover.
For the chocolate accents, melt ½ cup white chocolate chips in a double boiler or microwave-safe bowl. Use a piping bag fitted with a small round tip to pipe delicate swirls and dots along the edges of the fondant crown. Let the chocolate set completely before transferring the cake to a serving platter.
⏰ Step 5: Final Touches and Presentation
Let the cake rest at room temperature for 1 hour before slicing to allow the fondant to set completely. Use a long serrated knife dipped in hot water and wiped clean between slices to create clean, professional cuts. Serve each slice with a dollop of the remaining buttercream on the side for dipping.
This cake is a true centerpiece—each layer reveals a new flavor and color surprise. The strawberry jam base gives way to raspberry, then blueberry, and finally the bright lemon curd at the heart. Every bite is a celebration of color and taste, making it perfect for birthdays, anniversaries, or just because you deserve something magical.
Pro Tips For Making 5 Layer Rainbow Cake
- CHILL THE BATTER BETWEEN LAYERS: I learned this the hard way—pouring warm batter onto cooled layers makes a soggy mess. Let each batter sit in the fridge for 10-15 minutes before spreading. The layers stay distinct, and your cake won’t collapse under the weight of frosting.
- CREAM BUTTER AND SUGAR UNTIL PALE: Your grandmother was right: this isn’t just about mixing. Beat the butter and sugar until it’s light, fluffy, and actually pale yellow—not just “mixed.” That extra 2-3 minutes aerates the batter, giving each layer that perfect, tender crumb instead of a dense brick.
- DON’T OVERMIX THE FLOUR: I used to think more mixing = better cake. Wrong. Fold the dry ingredients into the wet just until combined—lumpy is fine. Overmixing develops gluten, and your layers will turn out tough instead of light. Stop when the flour streaks disappear, not when it’s smooth.
- USE ROOM-TEMP EGG WHITES: Cold egg whites whip up stiff and uneven, leading to uneven layers. Take them out 30 minutes before baking so they’re just warm to the touch. This ensures consistent volume in every layer—no one wants a lopsided rainbow. (Yes, even if you’re impatient like me.)
Storing and reheating this recipe
Fridge Storage Secrets
Store your fully assembled 5-layer rainbow cake in the fridge for up to 3 days when covered with plastic wrap and an airtight container lid. I always place it on a wire rack inside the container to prevent condensation from making the fondant soggy. The buttercream will firm up slightly in the cold, making it easier to slice cleanly later. 🌟
Freezer Prep Tips
For longer storage, freeze the cake (without the fondant crown) for up to 2 months. Wrap each layer individually in plastic wrap, then stack them with parchment paper between each layer in a ziplock freezer bag. When ready to serve, thaw overnight in the fridge and reassemble with fresh frosting and fondant. The colors won’t bleed if you’ve used gel food coloring!
Room Temp Serving
Let the cake sit at room temperature for 1-2 hours before serving to soften the fondant and buttercream slightly. This makes each slice more tender and prevents the fondant from cracking. I always serve it on a marble cake stand—the cool surface helps keep the fondant from melting too quickly, especially in warm rooms. 💫
Reheating Slices
If you’ve stored individual slices in the fridge, warm them for 10-15 seconds in the microwave (covered with a damp paper towel) to restore the fondant’s shine. For extra warmth, place slices on a wire rack in a 200°F oven for 3-5 minutes. Never microwave uncovered—the fondant will dry out and lose its glossy finish. 🔥
Fondant Crown Care
Add the fondant crown last—it’s delicate and can melt if exposed to heat. If your kitchen is warm, chill the cake for 10 minutes before serving to keep the fondant crisp. Store any leftover cake (without crown) in the fridge and add a fresh fondant piece when serving. I keep extra fondant scraps in an airtight container at room temp for quick touch-ups. ✨
Jam Layer Preservation
The jam fillings stay fresh for 3 days in the fridge, but the cake’s structure weakens after that. If you’re making this ahead, assemble everything except the fondant crown and freeze it. When ready to serve, thaw overnight and add fresh fondant. The buttercream rivers will still look vibrant, and the flavors remain bright—no soggy surprises here! 🌈
Nutrition facts
Frequently asked questions
Can I make this 5-layer cake with fewer layers?
You can easily adapt this recipe to 3 or 4 layers by reducing the number of cake pans and adjusting the jam/filling quantities proportionally. For a 3-layer version, use vanilla, chocolate, and citrus layers with matching fillings. The frosting rivers technique will still create that stunning visual effect—just scale down the buttercream to 3 colors instead of 5.
What if I don’t have gel food coloring?
Liquid food coloring works too, but you’ll need to use less (¼ tsp per color) since it’s more concentrated. The key is to tint the buttercream lightly—overdoing it can make the frosting too thin or cause bleeding between layers. For a more natural look, try natural extracts: beet juice for red, turmeric for yellow, and blue spirulina powder for blue (all available at health stores).
How do I fix uneven cake layers?
Use a serrated knife or cake leveler to trim the tops after baking—rotate the pan while cutting to keep the diameter even. For already-baked layers, place them on a cake stand and gently scrape off the domed top with a long knife. Chill the trimmed layers for 10 minutes before frosting to prevent crumbling. Pro tip: Weigh your layers to ensure they’re similar in thickness before assembling.
Can I substitute the fondant crown with something easier?
Yes! For a simpler look, try these alternatives: Chocolate ganache drips (melt ½ cup white chocolate with 2 tbsp cream, drizzle over the cake), colored sugar sprinkles (press into the buttercream), or a marzipan sheet (easier to work with than fondant). If you want height without fuss, stack 3-4 thin cake layers on top instead of using fondant.
Why did my buttercream rivers bleed colors?
This happens when using liquid food coloring (not gel) or when the buttercream isn’t properly chilled between colors. To fix it: Chill your mixing bowls for 10 minutes between colors, use gel coloring, and work quickly. For a quick fix, pipe a fresh layer of white buttercream over the top and let it set before adding the fondant crown. The bleeding will be less noticeable in the final cake!
- 1 Egg Cookie Dough Recipe: No-Bake, Flourless Joy in Minutes - October 1, 2026
- 3 Bean Hotdish Recipe: Hearty Harvest Bowl With Smoky Paprika Depth - October 1, 2026
- 12 Lb Oven Turkey Recipe: Golden Skin and Juicy Pink Center Guaranteed - October 1, 2026