Buttery vanilla layer cake filled to the brim with rainbow sprinkles and finished off with sweet vanilla frosting. Pictured cake is 9 inches; for thicker cakes, use 8-inch pans. Review the recipe notes and bring all ingredients to room temperature before you begin.
Recipe by Sally on September 19, 2022
Prep time: PT45M
Cook time: PT25M
Total time: PT4H
Rating
4.7 stars ( reviews)
Keywords
confetti birthday cake
Ingredients
3 and 3/4 cups (443g) cake flour (spooned & leveled)
1 teaspoon baking powder
1 teaspoon baking soda
1 teaspoon salt
1 and 1/4 cups (282g) unsalted butter, softened to room temperature
2 cups (400g) granulated sugar
1/3 cup (80ml) vegetable oil
4 large eggs, at room temperature*
2 large egg whites, at room temperature*
3 teaspoons (15ml) pure vanilla extract
1 and 1/2 cups (360ml) buttermilk, at room temperature*
3/4 cup (135g) rainbow sprinkles*
1 and 1/2 cups (340g) unsalted butter, softened to room temperature
5 and 1/2 cups (650g) confectioners’ sugar
1/3 cup (80ml) heavy cream, at room temperature
3 teaspoons (15ml) pure vanilla extract (or use clear imitation vanilla extract for stark white frosting)
1/8 teaspoon salt
optional: additional sprinkles for garnish
Categories
Cake
Cuisine
American
Steps
Preheat oven to 350°F (177°C). Grease three 8-inch or 9-inch cake pans, line with parchment paper rounds, then grease the parchment paper. Parchment paper helps the cakes seamlessly release from the pans. (If it’s helpful, see this parchment paper rounds for cakes video & post.)
Whisk the cake flour, baking powder, baking soda, and salt together in a large bowl. Set aside.
Using a handheld or stand mixer fitted with a paddle attachment, beat the butter and sugar together on high speed for 5 full minutes until completely creamed together and fluffy. Scrape down the sides and up the bottom of the bowl with a silicone spatula as needed. (Here’s a helpful tutorial if you need guidance on how to cream butter and sugar.) Add the oil and beat for 1 minute until combined. Add the eggs, egg whites, and vanilla extract and beat on medium-high speed until combined. Scrape down the sides and up the bottom of the bowl with a silicone spatula as needed.
Add dry ingredients and buttermilk in three additions, mixing after each addition just until incorporated. Do not over-mix this batter. The batter will be velvety and thick. Gently fold in the sprinkles. Pour and spread the batter evenly into each cake pan.
Bake for around 25–26 minutes or until the cakes are baked through. (8-inch cakes may take about 27–28 minutes.) Tent the cakes with foil after about 15 minutes to prevent the sides and top from over-browning. To test for doneness, insert a toothpick into the center of the cake. If it comes out clean, it’s done.
Allow cakes to cool in the pans set on a wire rack for 20 minutes. Run a knife around the edges and then remove cakes from pans. Place cakes directly on wire racks to cool completely. The cakes must be completely cool before frosting and assembling.
In a large bowl using a handheld mixer or stand mixer fitted with a whisk or paddle attachment, beat the butter on medium speed until creamy, about 2 minutes. Add confectioners’ sugar, cream, vanilla extract, and salt. Beat on low speed for 30 seconds and then switch to high speed and beat for 2 minutes. Add more confectioners’ sugar if frosting seems too thin; more cream if frosting is too thick; or an extra pinch of salt if frosting is too sweet.
First, using a large serrated knife, slice a thin layer off the tops of the cakes to create a flat surface. Discard (or crumble over ice cream!). Place one cake layer on your cake stand, cake turntable, or serving plate. Using a flat icing spatula or small offset spatula, evenly cover the top with about 1 cup (about 250g) of frosting. Repeat with second cake layer, 1 more cup of frosting, and then the top cake layer. Spread a thin layer of frosting on the top and around the sides as a crumb coat. Run a bench scraper around the cake to smooth out crumb coat. Chill uncovered in the refrigerator for at least 30 minutes and up to 3 hours to set the crumb coat.
Spread the remaining frosting all over the top and sides. Garnish with extra sprinkles, if desired.
Serve cake immediately, or if you need to store it for a few hours, place it in a cake carrier at room temperature for up to 4 hours. For longer storage, refrigerate covered cake for up to 1 day. Cake is best served at room temperature, though, so if it’s been refrigerated, let it sit out at room temperature for 30 minutes before serving.
Cover leftover cake tightly and store it in the refrigerator for 5 days. Again, I like using a cake carrier for storing and transporting.
Reviews
Marina on 2026-05-21 (5 stars): I have made this cake many times and it’s delicious and a hit every time! My only modification is using a cream cheese frosting on the inside layers and crumb coat just to break up the sweetness a touch. Thank you so much for this great recipe!
Stephanie P on 2026-06-07 (5 stars): Made this for a gathering. Everyone loved it!! So moist and not even overly sweet which was perfect. I paired it with Sally’s Swiss meringue buttercream recipe and it was delicious!
Emily Lucas on 2026-06-09 (5 stars): I really need to be able to frost this cake on a Thursday to serve it on a Saturday...we are camping and to frost it at the campsite would require a lot of logistics. Do you think it can last in a cake carrier for 48 hours frosted? Thank you for any help! I have made this before and its great!
Ryan F on 2026-06-10 (5 stars): My wife request this recipe for her birthday every single year, and she raves about it every time. I usually always find mysself altering recipes, but this one is golden. With the exception of more vanilla. You can always have more vanilla. Haha
Hope Smith on 2026-06-24 (5 stars): I’ve made this recipe before but I have a question! Why is this recipe and the one for funfetti cupcakes so different?