This confetti cookie dough cake layers a tender, sprinkle-studded vanilla cake with a rich, egg-free cookie dough filling and a silky vanilla buttercream. It delivers all the nostalgia of raw cookie dough in a safe, baked form—no eggs in the dough, so it’s completely safe to eat. The cake is baked in a 9×2-inch round pan, then split and stacked for a showstopping dessert that tastes like a birthday party in every bite.
Ingredients
- For the cake:
- 2 1/2 cups (300g) all-purpose flour
- 2 1/2 teaspoons baking powder
- 1/2 teaspoon salt
- 3/4 cup (170g) unsalted butter, softened
- 1 3/4 cups (350g) granulated sugar
- 3 large eggs, room temperature
- 1 tablespoon vanilla extract
- 1 cup (240ml) whole milk, room temperature
- 1/2 cup (80g) rainbow sprinkles (jimmies, not nonpareils)
- For the cookie dough filling:
- 1/2 cup (113g) unsalted butter, softened
- 1/2 cup (100g) packed light brown sugar
- 1/4 cup (50g) granulated sugar
- 2 tablespoons milk
- 1 teaspoon vanilla extract
- 1 1/4 cups (150g) all-purpose flour, heat-treated (see Tips)
- 1/2 teaspoon salt
- 1/2 cup (80g) mini chocolate chips
- For the vanilla buttercream:
- 1 cup (226g) unsalted butter, softened
- 3 cups (360g) powdered sugar
- 2 tablespoons heavy cream or milk
- 1 teaspoon vanilla extract
- Pinch of salt
- Extra sprinkles for decorating
Instructions
- Heat-treat the flour for the filling: Spread 1 1/4 cups flour on a baking sheet and bake at 350°F (175°C) for 5–7 minutes, or until it reaches 160°F (71°C) on an instant-read thermometer. Let cool completely before using.
- Preheat and prep the pan: Preheat oven to 350°F (175°C). Grease a 9×2-inch round cake pan, line the bottom with parchment paper, and grease the paper.
- Make the cake batter: In a medium bowl, whisk together flour, baking powder, and salt. In a large bowl, beat butter and sugar until light and fluffy, about 3 minutes. Add eggs one at a time, beating well after each, then beat in vanilla. With mixer on low, add the flour mixture in three additions, alternating with the milk, beginning and ending with flour. Fold in the sprinkles gently.
- Bake the cake: Pour batter into the prepared pan and smooth the top. Bake for 35–40 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs. Cool in the pan for 15 minutes, then turn out onto a wire rack to cool completely.
- Make the cookie dough filling: In a medium bowl, beat the softened butter, brown sugar, and granulated sugar until creamy, about 2 minutes. Beat in milk and vanilla. Add the heat-treated flour and salt, beating until combined. Fold in the mini chocolate chips. Set aside.
- Make the buttercream: In a large bowl, beat the butter until smooth. Gradually add powdered sugar, beating until combined. Add cream, vanilla, and salt; beat on high for 2–3 minutes until light and fluffy.
- Assemble the cake: Once the cake is completely cool, use a serrated knife to slice it horizontally into two even layers. Place one layer on a serving plate. Spread the cookie dough filling over the top, leaving a small border. Place the second layer on top.
- Frost and decorate: Frost the top and sides with the vanilla buttercream. Press extra sprinkles onto the sides or top as desired. Slice and serve.
Tips
- Heat-treating flour is non-negotiable: Raw flour can carry bacteria, so always bake it to 160°F (71°C) before using in no-bake fillings. Spread it thin and let it cool completely to avoid melting the butter in the filling.
- Use jimmies, not nonpareils: Jimmies (the long, rod-shaped sprinkles) hold their color and don’t bleed into the batter. Nonpareils (tiny round balls) tend to dissolve and streak.
- Room-temperature ingredients matter: Cold eggs or milk can curdle the batter, resulting in a dense cake. Set them out 30 minutes before starting.
- For a cleaner slice: Chill the assembled cake for 30 minutes before slicing. Use a long, sharp knife and wipe it clean between cuts.
Serving Suggestions
Serve this cake at room temperature so the buttercream and filling are soft. It pairs beautifully with a tall glass of cold milk or a scoop of vanilla ice cream. For a birthday or celebration, add a few extra sprinkles on top and a candle.
Variations
- Chocolate cake base: Replace 1/4 cup (30g) of the flour with unsweetened cocoa powder for a chocolate-cookie-dough combo.
- Peanut butter cookie dough: Swap the butter in the filling for creamy peanut butter (use 1/2 cup peanut butter and reduce butter to 1/4 cup).
- Gluten-free: Use a 1:1 gluten-free all-purpose flour blend for both the cake and the filling. Heat-treat it the same way.
- Add chocolate chips to the cake batter: Fold in 1/2 cup mini chocolate chips along with the sprinkles for extra chocolate in every bite.
Storage and Reheating
Store the cake in an airtight container in the refrigerator for up to 4 days. Because of the buttercream and filling, it’s best to keep it chilled; let it sit at room temperature for 20–30 minutes before serving. You can freeze the unfrosted cake layers (wrapped tightly in plastic wrap and foil) for up to 2 months. The assembled cake can also be frozen for up to 1 month—thaw overnight in the fridge. Do not microwave the cake, as it will melt the frosting and make the cake gummy.
Frequently Asked Questions
Can I use a 9×13-inch pan instead? Yes, but the cake will be thinner and bake faster—check for doneness around 25 minutes. You’ll get a single-layer sheet cake; you can still spread the cookie dough filling on top and frost it as a sheet cake.
How do I know when the cake is done? Insert a toothpick into the center—it should come out with a few moist crumbs, not wet batter. The top should spring back when lightly pressed. If you have an instant-read thermometer, the center should read about 200°F (93°C).
Can I make the cookie dough filling without heat-treating the flour? It’s not recommended. Raw flour can carry E. coli and other pathogens. Heat-treating is quick and ensures the filling is safe to eat.
Why did my sprinkles bleed into the batter? This usually happens with nonpareils or low-quality sprinkles. Use jimmies from a trusted brand, and fold them in gently at the end. Overmixing can also cause color to leach.
Can I use a different frosting? Absolutely. Cream cheese frosting or a chocolate buttercream would both work well. If using a cream cheese frosting, keep the cake refrigerated and bring to room temp before serving.
Can I make this as cupcakes? Yes—fill cupcake liners 2/3 full and bake at 350°F (175°C) for 18–22 minutes. After cooling, core out the center and fill with the cookie dough, then frost.