This delightful vanilla celebration cake brings together moist tender crumbs with bursts of rainbow color throughout. The secret lies in using a quality gluten-free flour blend with xanthan gum, which creates structure while keeping everything wonderfully soft.
You'll cream together butter, oil, and sugar until light and fluffy, then add eggs and vanilla for richness. The batter alternates between flour mixture and milk, ending with a gentle fold of rainbow sprinkles that create those signature confetti-like spots in every slice.
The creamy vanilla butter frosting pairs perfectly with the tender cake layers. Spread generously between layers and all over the exterior, then finish with a shower of additional sprinkles for that festive birthday look.
The entire process takes just under an hour from start to finish. Most of that time is hands-off while the layers bake, leaving you plenty of time to prepare the frosting and set up your decorating station.
Last summer my niece announced she could no longer eat gluten and I immediately thought birthdays would never be the same. Then I discovered the magic of properly blended gluten-free flour with just enough xanthan gum to hold everything together. Now this cake has become the one everyone actually requests first, even the people who can eat whatever they want.
I made three versions of this cake before getting it right for her birthday party. The first attempt sank in the middle, the second was slightly grainy, but the third had everyone arguing over who got the last piece. Now I keep a sealed jar of the pre-measured dry ingredients in my pantry for emergency celebrations.
Ingredients
- Gluten-free all-purpose flour blend: Using a blend with xanthan gum already included eliminates the guesswork and provides the structure gluten normally would
- Gluten-free rainbow sprinkles: Read the labels carefully because many sprinkles contain wheat-based stabilizers that we completely want to avoid
- Unsalted butter: Room temperature butter incorporates air into your batter creating that tender crumb structure we all love
- Powdered sugar: Sifting before measuring prevents lumps in your frosting and ensures silky smooth results every single time
Instructions
- Prep your pans and oven:
- Preheat to 350°F and line your cake pans with parchment paper greased with butter so nothing sticks later
- Whisk the dry team:
- Combine the flour blend with baking powder, baking soda, and salt in a medium bowl until everything is evenly distributed
- Cream the butter mixture:
- Beat sugar, softened butter, and oil together until light and fluffy which usually takes about three full minutes
- Add the wet ingredients:
- Beat in eggs one at a time, then mix in vanilla extract until fully incorporated and smooth
- Combine everything carefully:
- Alternate adding the flour mixture and milk, starting and ending with the flour mixture while mixing only until just combined
- Gently fold in sprinkles:
- Use a spatula to carefully fold in your rainbow sprinkles so they stay suspended throughout the batter without breaking down
- Bake until perfect:
- Divide between your prepared pans and bake for 28 to 32 minutes until a toothpick comes out clean from the center
- Cool completely before frosting:
- Let the cakes rest in pans for 10 minutes, then turn them onto a wire rack until completely cool to the touch
- Make the frosting:
- Beat softened butter until creamy, gradually add sifted powdered sugar, then mix in vanilla, salt, and enough milk for spreadable consistency
- Assemble your masterpiece:
- Frost between the layers first, then cover the top and sides before adding extra sprinkles for that celebration finish
My friend Sarah cried when she tasted this at her birthday dinner after years of avoiding cake at parties. Watching her go back for seconds without asking about ingredients was the moment I knew we had something special worth keeping.
Making It Dairy-Free
Plant-based butter works remarkably well in both the cake and frosting. I have found that brands with higher fat content create better structure and flavor than lower-fat alternatives.
Storage Secrets
This cake actually tastes better on day two as the flavors meld together. Keep it covered at room temperature for up to two days, though refrigerating extends the life to five days if needed.
Serving Suggestions
A cold glass of milk cuts through the sweetness perfectly. For adult celebrations, try pairing with sparkling wine or a dry prosecco that complements the vanilla.
- Bring the cake to room temperature before serving if refrigerated
- Use a warm knife for clean slices that show off the colorful specks
- Top with fresh berries for a contrast to the sweet frosting
Every celebration deserves a cake that everyone can actually enjoy eating together.
Recipe Q&A
- → Can I make this cake ahead of time?
-
Yes, bake the layers up to 24 hours in advance. Wrap cooled layers tightly in plastic and store at room temperature. Frost on the day you plan to serve for the freshest taste and texture.
- → What type of gluten-free flour works best?
-
Use a gluten-free all-purpose blend that contains xanthan gum. Brands like Cup4Cup, King Arthur, or Bob's Red Mill 1-to-1 work well. The xanthan gum is essential for proper texture and structure.
- → Why should I avoid nonpareil sprinkles?
-
Nonpareils (the tiny ball sprinkles) tend to bleed their color into the batter during baking, creating gray or brown streaks instead of bright confetti spots. Look for rainbow jimmies or elongated sprinkles labeled gluten-free.
- → Can I freeze the unfrosted layers?
-
Absolutely. Wrap each cooled layer completely in plastic wrap, then again in foil. Freeze for up to 3 months. Thaw overnight at room temperature before frosting and serving.
- → Why use both butter and oil in the cake?
-
Butter provides rich flavor while oil keeps the cake exceptionally moist and tender. The combination gives you the best of both worlds—delicious taste and soft texture that lasts for days.
- → How do I know when the cake is done baking?
-
Insert a toothpick into the center of each layer. If it comes out clean or with just a few moist crumbs, the layers are ready. The tops should spring back lightly when touched gently.