This vibrant vanilla layer cake brings the fun of funfetti to gluten-free baking. The batter combines butter, oil, and eggs for exceptional moisture, while rainbow sprinkles are folded throughout for festive color bursts. After baking to golden perfection, the cakes are cooled completely before being layered and generously frosted with a classic buttercream frosting.
The result is a tender, celebratory dessert that tastes just as indulgent as traditional birthday cake. Top with extra sprinkles for maximum festive flair.
Last spring, my niece Emma turned seven and announced she needed a birthday cake that looked like happiness itself. We stood in my kitchen, flour dusting our aprons, while she carefully picked out which sprinkles made it into the batter. Her eyes went wide when the cakes came out of the oven, soft as clouds and freckled with rainbow dots. That afternoon taught me that celebrations taste sweeter when everyone at the table can actually eat the cake.
My friend Sarah had gone years without eating birthday cake at parties until I brought this to her summer gathering. Watching her take that first bite, not asking about ingredients or小心翼翼 picking around the edges, that moment stuck with me. Later she told me it was the first time in ages she felt genuinely included in the celebration. Now I make this cake whenever I want to make sure nobody gets left out of the joy.
Ingredients
- Gluten-free flour blend: The xanthan gum already included is non-negotiable here, it mimics the stretch gluten normally provides
- Baking powder and baking soda: Both work together to give the cake lift without making it taste metallic or dense
- Fine salt: A tiny pinch wakes up all the vanilla sweetness hiding in the batter
- Granulated sugar: Creates that tender crumb structure while keeping everything sweet and balanced
- Unsalted butter: Brings the rich flavor that makes this taste like a real birthday cake, not a diet substitute
- Vegetable oil: The secret weapon for moisture, keeping the cake fresh longer than butter alone ever could
- Room temperature eggs: They incorporate into the batter more evenly, preventing those weird eggy pockets
- Pure vanilla extract: Do not skimp here, this is the backbone of everything good about this cake
- Whole milk: Adds richness and helps activate the baking powder properly
- Rainbow sprinkles: Skip the tiny nonpareils which bleed into gray streaks, look for the jimmies style instead
- Butter for frosting: Needs to be genuinely softened, not just sitting out for five minutes
- Powdered sugar: Sifting first saves you from those frustrating lumpy patches in your frosting
- Extra milk for frosting: Start with two tablespoons and add more only if the frosting feels like a struggle to spread
Instructions
- Getting your oven ready:
- Rack in the middle position, then let that oven come up to 350°F while you grease your pans with butter and line the bottoms with parchment circles
- Whisking the dry team together:
- In a medium bowl, combine the flour blend with baking powder, baking soda, and salt until everything looks evenly distributed
- Creaming the butter mixture:
- Beat the sugar, butter, and oil on medium speed for about three minutes until the mixture turns pale and fluffy like whipped cream
- Adding eggs one by one:
- Crack each egg separately and beat thoroughly after each one, then pour in the vanilla and let it run for another minute
- Bringing batter together:
- Add the flour mixture in three parts, alternating with milk in two additions, stopping the mixer the moment streaks disappear
- Folding in the magic:
- Sprinkle in those rainbow jimmies and gently fold with a spatula until they are evenly distributed throughout
- Baking to perfection:
- Divide between your prepared pans and bake for 28 to 32 minutes until a toothpick comes out clean or with just a few moist crumbs
- The patience part:
- Let the cakes rest in their pans for exactly ten minutes, then flip onto a wire rack until completely cool
- Making the frosting:
- Beat the butter until creamy, then gradually sift in powdered sugar before adding vanilla, salt, and enough milk for spreadable perfection
- Assembly time:
- Place one layer down, spread frosting generously, top with the second cake, then cover everything and finish with more sprinkles
Last month I made three of these cakes in one weekend for different parties, and each time someone asked me for the recipe while licking frosting off their fork. The best part was watching people who usually skip dessert go back for seconds without hesitation. Something about those sprinkles scattered through every bite makes people feel like kids again.
Making It Dairy-Free
Swapping in plant-based butter and milk works beautifully here, I have done it multiple times for my sister-in-law. The trick is finding a butter alternative that does not have too much water content, or your cakes might take longer to bake through. Vegan butter sticks tend to behave more predictably than tub spreads.
Sprinkle Wisdom
After one unfortunate incident with gray streaked batter, I learned that not all sprinkles are created equal in the oven. The tiny ball nonpareils look cute in the container but will bleed color everywhere once baked. Stick to the long rod-shaped jimmies for that perfect confetti look without the mess.
Storage Secrets
This cake actually gets better after sitting for a day, letting the moisture redistribute and flavors meld together. Keep it covered at room temperature for up to two days, or move it to the refrigerator if your kitchen runs warm. The oil in the recipe keeps everything tender longer than you would expect.
- Freeze unfrosted layers wrapped tightly in plastic for up to three months
- Let refrigerated cake come to room temperature for that just-baked texture
- Press extra sprinkles gently into the sides so they actually stick
There is something about a homemade birthday cake that says I care enough to spend my afternoon making something just for you. Whether you are celebrating a big milestone or just a regular Tuesday that needs brightening, this cake turns any moment into a party.
Frequently asked questions about this recipe
- → Can I make this cake dairy-free?
-
Yes, substitute plant-based butter for both the cake and frosting, and use dairy-free milk. Many gluten-free flour blends work well with these substitutions.
- → Why should I avoid nonpareil sprinkles?
-
Nonpareils (tiny ball sprinkles) tend to bleed their color into the batter during baking, creating gray streaks. Use standard rainbow jimmies or confetti sprinkles instead for vibrant results.
- → How should I store the finished cake?
-
Keep the cake covered at room temperature for up to 2 days. For longer storage, refrigerate for up to 5 days. Bring to room temperature before serving for the best texture and flavor.
- → Can I bake this as a sheet cake instead of layers?
-
Yes, pour the batter into a 9x13 inch pan and bake for approximately 35-40 minutes. The baking time may vary slightly, so check for doneness with a toothpick.
- → What makes gluten-free flour blends different?
-
Gluten-free blends typically combine rice flour, potato starch, and xanthan gum to mimic the structure gluten provides. Using a blend with xanthan gum already included ensures the best texture and rise.