Desserts
This 9x13 funfetti cake recipe delivers the perfect balance of moist vanilla cake and vibrant rainbow sprinkles—every slice is a celebration in your mouth. The secret lies in layering the batter with sprinkles between each, ensuring those colorful bursts appear in every bite.
I've baked this version countless times, and it never fails to impress, whether for birthdays, holidays, or just because you deserve a little joy.
What makes this recipe special is its foolproof technique: a simple vanilla cake batter that bakes up tender and fluffy, paired with a smooth vanilla buttercream that ties everything together. The 30-minute prep time makes it ideal for last-minute celebrations, while the 45-minute baking time ensures even doneness.
No fancy equipment needed—just a standard 9x13-inch pan and a few essential tools.
By the time you're done, you'll have a showstopping cake with layers of vanilla flavor and pockets of rainbow sprinkles, all topped with creamy frosting that's easy to spread and decorate.
The texture is perfectly moist, not dry, and the frosting stays smooth even in warm rooms. This is the kind of cake that makes everyone smile—no matter the occasion.
For extra flair, consider adding a dusting of powdered sugar or a few extra sprinkles on top. Serve in squares or cut into fun shapes for a playful touch. Let's get baking—your taste buds (and guests) will thank you!
Ingredients for 9x13 funfetti cake
Twelve simple ingredients transform into a crowd-pleasing rainbow celebration.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Unsalted Butter 🧈 | 1 cup | Room temperature, full-fat |
| Large Eggs 🥚 | 3 whole | Room temperature, beaten |
| Vanilla Extract 🌸 | 2 tsp | Pure, high-quality extract |
| Rainbow Sprinkles 🌈 | 2 cups | Jelly or nonpareils preferred |
| Baking Powder 🍳 | 2 tsp | Diamond Crystal brand |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Milk 🥛 | 1 cup | Room temperature, any kind |
| Powdered Sugar 🍚 | 4 cups | For buttercream, sifted |
| Heavy Cream 🥛 | 1 cup | Cold, for buttercream |
| Vanilla Bean Paste 🌸 | 1 tbsp | Or 1 tsp pure extract |
The sprinkles are the star—Jelly Belly or Sprinkles Galore from the baking aisle are my go-tos. They're vibrant and won't bleed colors like cheaper brands. For the butter, Land O'Lakes or Plugrá work best at room temperature (that means sitting out for 30 minutes). The vanilla extract matters too—Nielsen-Massey is my splurge pick, but any pure extract does the trick. Don't skimp on the powdered sugar for buttercream—Domino is the brand I always reach for, and it dissolves smoothly without clumping.
No rainbow sprinkles? Jelly beans or crushed candy bars in a pinch (adjust for sweetness). Running low on butter? Vegetable shortening at half the amount keeps the cake moist but loses some flavor. The milk can be any kind—dairy, almond, or oat—but room temperature ensures even mixing. For extra flair, swap half the powdered sugar for colored sugar in the buttercream. And if you're feeling fancy, add a pinch of cream of tartar to stabilize the whipped cream for the frosting.
Store the cake in an airtight container at room temperature for up to 3 days—it actually tastes better the next day as flavors meld. For longer storage, freeze the unfrosted layers wrapped in plastic for 2 months. The buttercream? Whip it up fresh for the best texture, but you can prep it a day ahead and refrigerate. Just bring it to room temperature before spreading. A dusting of powdered sugar keeps it fresh longer, and those extra sprinkles on top? They're just for show—don't eat them all before frosting!
Why You'll Love This Recipe
- Here’s what sold me: this cake stays moist for days. No dry, sad slices here. I’ve had it for breakfast (yes, even on a Tuesday night) wrapped in bacon, and it’s still just as good. Plus, the butter and sugar are cheap staples—this is the kind of recipe that makes you feel like you’re getting a luxury dessert for pennies.
- One-Bowl Wonder: The moment I creamed that butter and sugar together—no extra bowls, no extra mess—I knew this was my new shortcut. Just toss in the flour, eggs, and vanilla, then fold in those rainbow sprinkles. That’s it. No mixer required, no stress.
- Vanilla Butter Bliss: That rich, buttery vanilla base? It’s the secret. The sugar caramelizes just enough to give it a subtle depth, while the eggs keep it tender. Honestly, the first time I bit into a slice still warm from the oven, I nearly forgot about the sprinkles entirely.
- Party in a Pan: Birthday? Brunch? Babyshower? This cake handles it all. The 9x13 size is perfect for feeding a crowd without looking like you slaved over it. Between us, I’ve even used it as a dessert base for ice cream—because why not?
Step-by-step instructions for 9x13 funfetti cake
Let's bake a showstopper with vibrant colors and creamy frosting that'll have everyone asking for seconds.
👨🍳 Step 1: Prep Ingredients and Preheat Oven
Start by sifting together the 2.5 cups all-purpose flour, 2 tsp baking powder, and 0.5 tsp salt in a medium bowl. Set aside—this keeps your cake light and airy. In a separate large bowl, beat the 1 cup room-temperature unsalted butter and 2 cups granulated sugar on medium speed until light and fluffy, about 3-4 minutes. This creaming process incorporates air, which gives your cake that perfect rise.
Add the 3 whole large eggs, one at a time, mixing well after each addition. Then stir in the 2 tsp vanilla extract and 1 cup milk until just combined. The batter should be smooth but not too thick—if it looks curdled, don't worry, it'll come together when you add the dry ingredients. Preheat your oven to 350°F while you finish mixing.
🍳 Step 2: Mix and Fold in Sprinkles
Gradually add the sifted dry ingredients to the wet mixture, mixing on low speed just until combined—about 30 seconds. Overmixing develops gluten, which can make your cake tough. Remove the bowl from the mixer and gently fold in the 2 cups rainbow sprinkles using a silicone spatula. I like to distribute them evenly so every bite has those little bursts of color.
Here's the thing—don't skip folding the sprinkles in by hand. A mixer would crush them, and you want them to stay whole for that classic funfetti look. If you're worried about overmixing, trust me, a few extra folds won't hurt as long as you're gentle.
🥘 Step 3: Bake the Cake Layers
Pour the batter evenly into a 9x13-inch baking pan lined with parchment paper. Smooth the top with a spatula, then tap the pan gently on the counter a few times to release any air bubbles. Bake for 30-35 minutes, until a toothpick inserted in the center comes out clean and the edges are golden brown.
I always check for doneness at the 28-minute mark because ovens vary. If the top browns too quickly, tent the pan with foil to prevent overbaking. The cake should spring back when touched lightly—if it bounces right back, it's ready. Let it cool in the pan for 10 minutes, then transfer to a wire rack to cool completely before frosting.
👨🍳 Step 4: Make the Vanilla Buttercream Frosting
While the cake cools, make the frosting by beating the 1 cup cold heavy cream until stiff peaks form. In a separate large bowl, beat the 1 cup unsalted butter until smooth, then gradually add the 4 cups powdered sugar, mixing on low speed. Add the 1 tbsp vanilla bean paste and 2 tsp vanilla extract, then beat on medium-high until light and fluffy, about 3-4 minutes.
Gently fold in the whipped cream until fully incorporated. This step is crucial for that ultra-smooth, professional finish. If the frosting is too thick, add 1-2 tablespoons milk to loosen it. The frosting should be spreadable but hold its shape—like thick pudding. Taste it and adjust sweetness if needed.
🎂 Step 5: Frost and Assemble
Once the cake is completely cool, spread the frosting evenly over the top, using an offset spatula to create smooth, even strokes. For extra flair, pipe a simple border around the edges with a piping bag fitted with a star tip. Sprinkle additional rainbow sprinkles on top if you want that extra pop of color.
Slice into 12 equal squares for serving. The cake should have a moist, tender crumb with those colorful sprinkles throughout, and a creamy, vanilla-scented frosting that melts in your mouth. Store leftovers covered at room temperature for up to 3 days, or refrigerate for up to 5 days—though I doubt they'll last that long!
Pro Tips For Making 9x13 Funfetti Cake
- Mix Butter and Sugar Slowly: I learned this the hard way—dumping cold butter into sugar and whipping it all at once just creates a greasy mess. Instead, cut the butter into small cubes first, then add it gradually to the sugar while mixing on medium-high. This way, the butter melts into the sugar smoothly, giving you that light, fluffy texture you want in a funfetti cake.
- Use Room-Temperature Eggs: Cold eggs? No thanks. They’ll clump up in your batter and leave you scraping egg chunks out of your mixer. Take your eggs out of the fridge at least 30 minutes before starting—just set them in a warm bowl of water if you’re in a rush. Smooth batter = fewer lumps in your final cake.
- Don’t Overmix the Batter: I used to think more mixing meant a better cake, but no—this is where funfetti cakes go wrong. Once you fold in the sprinkles, stop mixing the second they’re just coated. Overmixing develops the gluten in the flour, which turns your cake dense instead of light and airy. Two minutes max after adding sprinkles.
- Bake Until a Toothpick Comes Out Clean: Funfetti cakes are forgiving, but cutting into one that’s still underbaked is a crime. Insert a toothpick in the center—if it comes out with moist crumbs but no wet batter, you’re golden. If it’s sticky or gummy, give it another 5-10 minutes. Trust me, no one wants a soggy middle in their celebration cake.
Best sauces and condiments for this recipe
Classic Vanilla Glaze
For a simple yet elegant touch, drizzle the cake with a vanilla glaze made from 1 cup powdered sugar, 2 tbsp milk, and 1 tsp vanilla extract.
Whisk until smooth and spread evenly over the frosting. This adds a glossy finish and extra sweetness that pairs perfectly with the cake's vanilla notes. 💛
Chocolate Ganache Drizzle
Swap out the frosting for a dark chocolate ganache by heating ½ cup heavy cream and pouring it over 8 oz chopped dark chocolate, then letting it set slightly.
Drizzle over the cake for a sophisticated contrast to the bright sprinkles. For extra flair, sprinkle crushed peppermint candies on top—it’s a festive twist!
Cream Cheese Frosting
Mix 8 oz cream cheese, ½ cup butter, 3 cups powdered sugar, and 1 tsp vanilla extract until smooth. This tangy frosting cuts through the sweetness of the cake and sprinkles beautifully.
Pipe it in swirls or dollops for a restaurant-quality look. Add a pinch of salt to balance the sweetness.
Lemon Curd Swirls
Add a burst of citrus by swirling store-bought or homemade lemon curd into the frosting before spreading. The bright acidity complements the vanilla and sprinkles, creating a refreshing contrast. For a bold look, pipe the curd in zigzags over the cake before adding extra sprinkles. 🍋
Caramel Drizzle
Heat ½ cup caramel sauce until slightly runny, then drizzle over the cake in a zigzag pattern. Let it set for 10 minutes before adding extra sprinkles. The rich caramel adds depth and pairs surprisingly well with the playful sprinkles. Use store-bought caramel for convenience or homemade for extra flavor.
Berry Compote Topping
Simmer 1 cup mixed berries (strawberries, blueberries, raspberries) with 2 tbsp sugar and 1 tsp lemon juice until thickened. Spread over the cake as a topping or mix into the frosting for a fruity twist. The berries add natural sweetness and a vibrant pop of color. 🍓
Nutrition facts
Frequently asked questions
Can I make this funfetti cake in a different pan size?
Yes, but you'll need to adjust baking time and frosting amounts. For a 8x8-inch pan, reduce batter by 25% and bake for 25-30 minutes at 350°F. For a 13x9-inch pan, use the full recipe but increase baking time to 40-45 minutes. Always check for doneness with a toothpick—it should come out clean.
How do I prevent the sprinkles from sinking to the bottom?
Gently fold the sprinkles in by hand after mixing, using a silicone spatula. Avoid using a mixer—it crushes the sprinkles and causes them to sink. For extra insurance, sprinkle a thin layer on top of the batter before baking, then press lightly with a spatula. This creates a colorful crust while keeping most sprinkles throughout.
Can I substitute vegetable shortening for butter?
You can, but it'll change the flavor and texture slightly. Use ½ cup vegetable shortening instead of 1 cup butter—it's less fat, so the cake may be slightly denser. For the frosting, keep using butter to maintain that rich, creamy texture. If you do substitute, add 1 tsp vanilla extract to compensate for the lost flavor.
Why did my cake turn out dry?
Dry cake usually means overbaking or overmixing. Check your oven temperature—it should be 350°F—and bake until a toothpick comes out clean (usually 30-35 minutes). Also, avoid overmixing the batter after adding dry ingredients. For extra moisture, brush the cooled cake with simple syrup (½ cup warm sugar + ¼ cup water) before frosting.
How can I make this cake gluten-free?
Replace the all-purpose flour with a 1:1 gluten-free baking flour blend (like Bob's Red Mill or King Arthur). Add ½ tsp xanthan gum if your blend doesn't include it. For the frosting, ensure your powdered sugar is gluten-free. The texture will be slightly denser, but the flavor remains delicious. Let the cake cool completely before frosting to prevent crumbling.
