Time: 1 hr 45 min (active 45 min) · Serves: 12 · The key step: Use cake flour and reverse-cream the butter for a tender, fine crumb. This homemade version of the famous Milk Bar funfetti cake layers vanilla buttermilk cake with rainbow sprinkles and a tangy cream cheese frosting. It’s a birthday-party centerpiece that feeds a crowd.
Serves 12 · Prep 45 min · Cook 30 min · Total 1 hr 45 min
Ingredients
- 2 1/2 cups (300 g) cake flour (not all-purpose)
- 1 1/2 cups (300 g) granulated sugar
- 1 tbsp (12 g) baking powder
- 1/2 tsp fine salt
- 3/4 cup (170 g) unsalted butter, softened but still cool
- 1 cup (240 ml) buttermilk, room temperature
- 1/4 cup (60 ml) neutral oil (canola or vegetable)
- 2 large eggs, room temperature
- 2 tsp vanilla extract
- 1/2 cup (80 g) rainbow jimmies sprinkles (not nonpareils)
- For the frosting: 8 oz (225 g) cream cheese, softened
- 1/2 cup (115 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar
- 1 tsp vanilla extract
- Pinch salt
Instructions
- Heat oven to 350°F (175°C). Grease two 9-inch (23 cm) round pans and line the bottoms with parchment.
- In a large bowl, whisk cake flour, sugar, baking powder, and salt. Add the 3/4 cup butter and beat on low speed until the mixture looks like damp sand, about 2 minutes.
- In a separate bowl, whisk buttermilk, oil, eggs, and vanilla. Pour into the flour mixture and beat on medium speed for 2 minutes, scraping the sides once. Fold in the sprinkles with a spatula.
- Divide batter between pans. Bake 25–30 minutes, until a toothpick inserted in the center comes out clean and the top springs back when pressed.
- Cool in pans on a rack for 10 minutes, then turn out and cool completely, at least 1 hour.
- For the frosting: beat cream cheese and butter until smooth. Gradually add powdered sugar, then vanilla and salt. Beat on medium-high for 2 minutes until fluffy.
- Assemble: place one cake layer on a plate, spread with about 1/2 cup frosting, top with the second layer, and frost the top and sides. Decorate with extra sprinkles if desired.
Why the Cake Can Turn Out Dry
Dry crumb usually comes from overbaking or using all-purpose flour. Cake flour has lower protein, so it forms less gluten and stays tender. If you only have all-purpose, replace 2 tablespoons of flour per cup with cornstarch (for 2 1/2 cups, use 2 1/4 cups all-purpose + 2 tbsp cornstarch). Bake just until the toothpick comes out with a few moist crumbs, not completely clean.
Why the Cake Can Be Too Dense
Dense texture happens when the batter is overmixed after adding the wet ingredients, which develops gluten. Mix only until smooth, about 2 minutes on medium speed. Also, make sure your baking powder is fresh—test by stirring 1 tsp into 1/3 cup hot water; it should bubble vigorously. If not, replace it.
Why the Sprinkles Bleed or Sink
Nonpareils (tiny round sprinkles) bleed color into the batter and sink to the bottom. Use rainbow jimmies (long, rod-shaped) and toss them with 1 tablespoon of cake flour before folding in—this keeps them suspended. Fold gently, no more than 10 strokes.
Scaling the Recipe
| Batch | Flour | Sugar | Butter | Buttermilk | Eggs | Bake time |
|---|---|---|---|---|---|---|
| Half (6-in/15 cm pan) | 1 1/4 cups (150 g) | 3/4 cup (150 g) | 6 tbsp (85 g) | 1/2 cup (120 ml) | 1 | 20–25 min |
| Full (9-in/23 cm pan) | 2 1/2 cups (300 g) | 1 1/2 cups (300 g) | 3/4 cup (170 g) | 1 cup (240 ml) | 2 | 25–30 min |
| Double (two 9-in/23 cm layers) | 5 cups (600 g) | 3 cups (600 g) | 1 1/2 cups (340 g) | 2 cups (480 ml) | 4 | 30–35 min |
For a half batch, use one 6-inch pan and halve the frosting. For a double batch, make two full layers and double the frosting.
Storing and Making Ahead
Frosted cake keeps refrigerated for up to 4 days. Unfrosted layers can be wrapped tightly in plastic and frozen for up to 2 months; thaw overnight in the fridge before frosting. Frosting can be made 2 days ahead and refrigerated—bring to room temperature and re-beat before using. Perishable cream cheese frosting means the cake should not sit out more than 2 hours at room temperature (1 hour if above 90°F/32°C).
Swaps That Work
Buttermilk: mix 1 cup (240 ml) milk with 1 tbsp lemon juice or white vinegar, let stand 5 minutes. This changes the tang slightly but keeps the crumb tender. Oil: use melted coconut oil, but the cake may be slightly less tender. Sprinkles: use any jimmies, but avoid chocolate or colored ones that contain cocoa, as they can make the batter gray.
Raw Flour and Egg Safety
The cake is fully baked, so no raw flour or egg risk. If you taste the batter, note that raw flour and eggs carry a risk of foodborne illness. Heat-treat flour in a 350°F (175°C) oven for 5 minutes and use pasteurized eggs if you must sample, and refrigerate any leftover batter immediately.