Desserts
This 5-layer rainbow cake recipe transforms baking day into a celebration of color and flavor. đ Each layerâvanilla, chocolate, strawberry, and citrusâcreates a stunning visual masterpiece while delivering melt-in-your-mouth texture and creamy fillings. The secret lies in precise leveling, smooth frosting, and vibrant food coloring that blends seamlessly for a professional finish every time.
The process begins with baking four identical cake layers, then adding fruit preserves or jam between each for natural sweetness and moisture. Cream cheese frosting ties it all together, its tangy richness cutting through the sugar while providing the perfect consistency for piping swirls. What makes this recipe foolproof is the step-by-step technique for achieving even layers and vibrant color transitionsâno artistic skills required.
By the time you're done, you'll have a showstopping centerpiece that's just as delicious as it is beautiful. The layers stay moist for days, the frosting holds its shape, and the colors pop with restaurant-quality precision. This cake isn't just dessertâit's an edible work of art that will impress at any celebration.
Perfect for birthdays, anniversaries, or simply treating yourself, this recipe scales beautifully for any occasion. The key to success is patience during assembly and attention to detail when blending colors. Let's create something extraordinary together.
Ingredients for 5 layer rainbow cake
Four vibrant layers, two creamy fillings, and one showstopping frostingâhereâs what transforms baking into edible art.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour đž | 6 cups | Sifted for even texture |
| Granulated Sugar đŹ | 3 cups | Divided for layers and frosting |
| Unsalted Butter đ§ | 2 cups | Room temperature for creaming |
| Large Eggs đĽ | 8 whole | Room temperature for best mixing |
| Vanilla Extract đż | 2 tbsp | Pure, high-quality extract |
| Baking Powder đ§ | 2 tbsp | Freshly measured for lift |
| Salt đ§ | ½ tsp | Fine sea salt preferred |
| Milk đĽ | 1 ½ cups | Room temperature for smooth batter |
| Natural Food Coloring đ¨ | 1 tbsp | Divided for vibrant layers (red, orange, yellow, green, blue) |
| Strawberry Preserves đ | 1 ½ cups | High-quality for moisture |
| Lemon Curd đ | 1 cup | Homemade or store-bought |
| Cream Cheese đ§ | 16 oz | Room temperature for frosting |
| Heavy Cream đĽ | 1 cup | Chilled for whipped consistency |
| Powdered Sugar đŹ | 4 cups | Sifted for smooth frosting |
| Lemon Juice đ | 1 tbsp | Freshly squeezed for tang |
The flour and sugar form the foundation, but King Arthur or Gold Medal brands ensure consistent texture. Butter should be room temperatureâpress a thumbprint that slowly fills back in. Eggs from pasture-raised hens yield richer flavor, though standard grocery eggs work fine. Food coloring matters: Wilton or Americolor gel dyes blend seamlessly without altering moisture. For the preserves, Smuckerâs or Bonne Maman deliver reliable textureâavoid chunky varieties that disrupt layering. The lemon curd should be homemade if possible for authentic brightness, but Bon AppĂŠtit brand works in a pinch.
No natural food coloring? Wilton liquid dyes or even fruit purees (raspberry, mango, beet) can create vibrant huesâthough they may slightly alter flavor. Short on cream cheese? Philidelphia brand is non-negotiable for tang, but Neufchatel works if youâre flexible. The heavy cream must be whipped to stiff peaksâuse a stand mixer for consistency. Powdered sugar should be sifted with flour to prevent graininess. For the citrus layers, fresh lemon juice brightens the lemon curd, but bottled works too if youâre in a bind. Prefer a different flavor profile? Swap lemon curd for raspberry jam or orange marmalade between layers.
Store cake layers at room temperature in an airtight container for up to 3 days, but frosting best within 24 hours for peak texture. The assembled cake keeps 5-7 days refrigerated, though colors may dull slightly. For long-term storage, freeze un-frosted layers for up to 3 monthsâthaw and refrost before serving. The frosting can be made a day ahead and stored in the fridge, then whipped back to smoothness. To maintain vibrant colors, avoid direct sunlight and cover with parchment when not serving.
Why You'll Love This Recipe
- No Baking Degree Needed: I swear, this cake is foolproofâjust mix, layer, and chill. The butter and sugar combo creates a tender crumb thatâs impossible to mess up, even if youâre not a pro.
- Vanilla Buttercream Bliss: That creamy, dreamy vanilla buttercream between layers? Itâs the star. Rich from the butter, lightly sweetened, and so smooth it disappears before you can say ârainbow.â
- Party in a Box: Birthdays, potlucks, or just becauseâthis cake looks stunning with zero effort. The layers stack like magic, and the colors pop without any fancy decorating.
- Budget-Friendly Magic: Flour, sugar, butter, eggsâthese are pantry staples. Youâll spend less than $10 for a cake that feeds a crowd, with leftovers that taste just as good the next day.
Step-by-step instructions for creating a 5 layer rainbow cake
Layering precision and vibrant colors create this showstopping cake.
đ¨âđł Step 1: Prepare the Cake Batter for All Layers
Preheat your oven to 350°F and grease five 6-inch round cake pans. In a large mixing bowl, combine the 6 cups all-purpose flour, 2 tbsp baking powder, and 0.5 tsp salt. Sift the mixture together to eliminate any lumps, ensuring an even texture for each layer.
In a separate large bowl, cream together the 2 cups unsalted butter and 1 cup granulated sugar (reserve the remaining 2 cups sugar for later) on medium speed until light and fluffy, about 3-4 minutes. Add the 8 whole large eggs, one at a time, mixing well after each addition. Incorporate the 2 tbsp vanilla extract and 1.5 cups milk, mixing until just combined.
Gradually add the dry ingredients to the wet mixture, mixing on low speed until just incorporated. Avoid overmixingâthis can lead to dense layers. Divide the batter evenly among five bowls, each designated for a different color layer.
đł Step 2: Add Food Coloring and Bake the Layers
Divide the 1 tbsp natural food coloring evenly among the five bowls, creating vibrant red, orange, yellow, green, and blue layers. Mix each color thoroughly into its respective batter until evenly distributed. Pour each colored batter into a prepared cake pan, filling each ž full.
Bake the layers for 20-25 minutes or until a toothpick inserted into the center comes out clean. Allow the cakes to cool in their pans for 10 minutes before transferring them to a wire rack to cool completely. This cooling step is crucial for even layering later.
đĽ Step 3: Assemble the Cake with Strawberry Preserves and Lemon Curd
Once all layers are completely cooled, level the tops if necessary. Place the first layer (red) on a cake stand or plate. Spread Âź cup strawberry preserves evenly over the top of the first layer, extending to the edges. Repeat this process with the remaining layers, alternating colors and using the remaining 1.25 cups strawberry preserves and 1 cup lemon curd for the filling.
For the lemon curd filling, spread Âź cup lemon curd over the fourth layer (green) before placing the final layer (blue) on top. This creates a balanced flavor profile with both sweet and tangy elements. Press down gently on each layer as you stack to ensure stability.
đ¨âđł Step 4: Prepare the Cream Cheese Frosting
In a large mixing bowl, beat the 16 oz cream cheese and 2 cups granulated sugar (remaining from earlier) on medium speed until smooth and creamy, about 2-3 minutes. Add the 1 cup heavy cream and 1 tbsp lemon juice, mixing until fully incorporated. Sift in the 4 cups powdered sugar and continue mixing until the frosting is light and fluffy.
Adjust the consistency with additional powdered sugar if needed. The frosting should be thick enough to hold its shape when spread but still pipeable for decorative swirls. Chill the frosting in the refrigerator for 15-20 minutes to firm up slightly before using.
đ˝ď¸ Step 5: Frost and Decorate the Cake
Spread a thin layer of frosting over the top and sides of the cake to create a smooth base. Use a piping bag fitted with a star tip to pipe additional frosting in swirls across the top of the cake. For extra flair, pipe small rosettes or borders around the edges. Use a small offset spatula to smooth any uneven areas.
Let the cake sit at room temperature for 30 minutes to allow the frosting to set. This step ensures the final presentation is flawless and the colors remain vibrant. Slice and serve immediately for the best texture and flavor combination.
Pro Tips For Making 5 Layer Rainbow Cake
- CHILL THE BOWLS: If your batter sits too long after mixingâespecially in warm kitchensâitâll turn gummy when baked. Pop the bowls in the fridge for 10-15 minutes before baking each layer. Trust me, the difference in texture is night and day.
- WEIGH THE FLOUR: Scooping flour straight from the bag packs it too tightly, and your cake layers will be dense. Use a kitchen scale or spoon-and-level method to get the exact 240g (2 cups) called forâno guessing. I learned this after my first rainbow cake collapsed under its own weight.
- BAKE ONE LAYER AT A TIME: Sure, itâs tempting to bake multiple layers at once, but your ovenâs heat will shift, and the last layer might end up underdone. Bake one, let it cool completely, then move to the next. Your frosting will thank youâno soggy bottoms here.
- USE ROOM-TEMP BUTTER: Cold butter creates pockets of air in the batter, leading to uneven layers. Let your butter sit out for 30-60 minutes before creamingâjust until itâs soft but not melted. This isnât the prettiest method, but itâs the tastiest.
Best sauces and condiments for these flavors
Cream Cheese Frosting
This tangy, velvety frosting is the star of your rainbow cake, binding layers with its signature creaminess. I always use Philadelphia cream cheese for its perfect balance of richness and tangâ16 oz ensures enough for generous swirls. For extra stability, chill the frosting for 15-20 minutes before piping, which prevents melting during warm weather. đ§
Strawberry Preserves
High-quality Smuckerâs or Bonne Maman preserves add moisture and natural sweetness between layers. Spread Âź cup evenly on each layer to prevent sogginess while keeping the cake tender. For a lighter touch, warm the preserves slightly to make spreading easier. Avoid chunky varietiesâthey disrupt the clean layers.
Lemon Curd Filling
Homemade lemon curd elevates the cake with its bright citrus flavor, but Bon AppĂŠtit brand works in a pinch. Spread Âź cup between the green and blue layers for a tangy contrast to the sweet frosting. If your curd is too thick, stir in 1 tsp lemon juice to loosen it before spreading. đ
Citrus Glaze Option
For a glossy finish, brush the top layer with a simple lemon glaze made from ½ cup powdered sugar, 2 tbsp lemon juice, and 1 tbsp heavy cream. This adds shine and extra zing. Apply just before serving to keep the frosting intact. The glaze sets quickly, so work fast!
Chocolate Ganache
Swap the cream cheese frosting for dark chocolate ganache by melting 12 oz dark chocolate with 1 cup heavy cream. Cool slightly before spreadingâthis pairs beautifully with the fruity layers. For extra flair, drizzle melted chocolate over the top after frosting. đŤ
Berry Compote Swirls
Replace preserves with raspberry or strawberry compote for a fruity twist. Simmer 1 cup frozen berries with 2 tbsp sugar and 1 tbsp lemon juice until thickened. Cool before spreadingâthis adds vibrant color and a burst of freshness between layers.
Nutrition facts
Frequently asked questions
Can I make this rainbow cake without food coloring?
Use natural ingredients like beet juice (red), turmeric (yellow), matcha powder (green), cocoa powder (brown), and blue spirulina for vibrant colors. Each adds subtle flavors tooâjust adjust measurements to avoid altering the cake's texture.
How do I prevent the layers from shifting when stacking?
Chill the cake layers for 10 minutes before assembling to firm them up. Use Âź cup frosting as "glue" between layersâspread it on the bottom layer, add the next layer, and press gently. For extra stability, place the cake in the fridge for 30 minutes before decorating.
Whatâs the best way to level uneven cake layers?
Use a serrated knife or cake leveler to trim the tops after cooling. Place the cake on a plate, then gently saw back and forth while holding the knife at a slight angle. For extra precision, use a laser level tool or a piece of string dipped in flour as a guide. Always level before frosting!
Can I bake the layers ahead of time?
Yes! Wrap cooled layers tightly in plastic wrap and store at room temperature for up to 3 days, or freeze for 3 months. Thaw overnight in the fridge before assembling. Frosting should be made fresh, thoughâitâs best when piped onto chilled layers for clean swirls.
How do I fix frosting thatâs too runny?
Add 1-2 tablespoons powdered sugar at a time while mixing until it reaches a pipeable consistency. If itâs still too thin, chill for 15 minutes to thicken naturally. For extra stability, add 1 teaspoon cornstarch or gelatin (dissolved in cold water) to the frosting mixture.
