Funfetti cake baked in an 8×8 pan is a small-batch celebration cake that works for birthdays, potlucks, or a weekend treat. It has a tender, buttery crumb studded with rainbow sprinkles, and it bakes in about 30 minutes. Serve it plain, with a simple vanilla glaze, or with a thick layer of buttercream for a more festive finish.
Ingredients
- 1 1/2 cups (190 g) all-purpose flour
- 1 1/2 teaspoons baking powder
- 1/4 teaspoon salt
- 1/2 cup (113 g) unsalted butter, softened
- 3/4 cup (150 g) granulated sugar
- 2 large eggs, at room temperature
- 1 1/2 teaspoons vanilla extract
- 1/2 cup (120 ml) whole milk, at room temperature
- 1/3 cup (60 g) rainbow sprinkles (jimmies, not nonpareils)
For the vanilla glaze (optional)
- 1 cup (120 g) powdered sugar
- 2 tablespoons (30 ml) milk or cream
- 1/2 teaspoon vanilla extract
Instructions
- Heat the oven to 350°F (177°C). Grease an 8×8-inch (20×20 cm) baking pan and line it with parchment paper, leaving overhang on two sides for easy lifting.
- In a medium bowl, whisk the flour, baking powder, and salt together.
- In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 2 minutes. Scrape down the bowl.
- Add the eggs one at a time, beating well after each. Beat in the vanilla.
- With the mixer on low, add the flour mixture in three additions, alternating with the milk in two additions, beginning and ending with the flour. Mix just until combined; do not overmix.
- Fold in the sprinkles with a spatula. Be gentle—overmixing can make the colors bleed.
- Pour the batter into the prepared pan and smooth the top. Bake for 28–32 minutes, until a toothpick inserted in the center comes out clean and the top springs back when lightly pressed.
- Let the cake cool in the pan on a wire rack for 15 minutes, then lift it out using the parchment overhang and cool completely on the rack before glazing or frosting.
- If using the glaze, whisk the powdered sugar, milk, and vanilla in a small bowl until smooth. Drizzle over the cooled cake and let set for 15 minutes before slicing.
Pick the Right Sprinkles for a Clean Crumb
Use rainbow jimmies—the long, thin rods—not nonpareils (the tiny round balls). Nonpareils tend to bleed their color into the batter and create a gray streaked effect. If you only have nonpareils, toss them in 1 teaspoon of flour before folding them in; this helps keep them suspended and reduces bleeding.
For a classic funfetti look, use a mix of red, yellow, green, blue, and orange. The color will soften slightly during baking, which is normal.
Swap Ingredients Without Changing the Bake
- Butter: Use salted butter and reduce the added salt to 1/8 teaspoon. Margarine or a plant-based butter substitute works in equal measure, but the crumb may be slightly less tender.
- Milk: Any milk with 1–3% fat works. Buttermilk adds a tang and a slightly denser crumb; use it in the same amount and add 1/4 teaspoon baking soda to the dry ingredients.
- Eggs: For an egg-free version, use 1/4 cup (60 g) unsweetened applesauce plus 1/2 teaspoon baking powder extra. The cake will be a bit more moist and less tall.
- Vanilla: Use 1 teaspoon vanilla extract plus 1/2 teaspoon almond extract for a nuttier flavor. Or use 1 1/2 teaspoons vanilla bean paste for more visible specks.
- Gluten-free: Use a 1:1 gluten-free flour blend that contains xanthan gum. The texture will be slightly more crumbly; do not overmix.
Scale the Recipe for a 9×13 Pan or a Half Batch
This recipe fits an 8×8 pan perfectly. For a 9×13-inch (23×33 cm) pan, double all ingredients and bake at 350°F (177°C) for 30–35 minutes, until a toothpick comes out clean. For a half batch, use a loaf pan (8.5×4.5 inches / 21×11 cm) and bake for 25–30 minutes.
| Batch | Pan size | Bake time at 350°F (177°C) | Yield |
|---|---|---|---|
| Half | 8.5×4.5 in (21×11 cm) loaf | 25–30 min | 4–6 servings |
| Single | 8×8 in (20×20 cm) | 28–32 min | 9 servings |
| Double | 9×13 in (23×33 cm) | 30–35 min | 18 servings |
When doubling, mix the batter in a large bowl and use a whisk instead of a hand mixer if needed. The baking time increases only slightly because the pan is larger.
Serve It Warm or Frosted
This cake is delicious warm with a scoop of vanilla ice cream or a drizzle of melted white chocolate. For a classic birthday look, frost with a simple buttercream: beat 1/2 cup (113 g) softened butter with 2 cups (240 g) powdered sugar, 2 tablespoons milk, and 1 teaspoon vanilla until fluffy. Spread over the cooled cake and top with extra sprinkles.
If you frost, chill the cake for 20 minutes before slicing to get clean edges. Use a serrated knife and wipe it between cuts.
Store Leftovers and Keep Them Moist
Cover the cake tightly with plastic wrap or keep it in an airtight container at room temperature for up to 3 days. The glaze may soften slightly; that’s fine. For longer storage, wrap unfrosted cake slices in plastic wrap, then foil, and freeze for up to 3 months. Thaw overnight in the refrigerator before serving.
Do not refrigerate the unfrosted cake; it dries out faster in the fridge. If you’ve already frosted it, refrigerate for up to 3 days, but bring to room temperature before serving for best texture.
Why the Cake Sinks in the Middle and How to Avoid It
A sunken center usually comes from opening the oven door too early or underbaking. Wait until the cake has baked for at least 25 minutes before checking. The toothpick test is the best cue: insert it into the center, and it should come out with just a few moist crumbs, not wet batter.
Overmixing the batter can also cause a dense, slightly sunken middle. Mix just until the flour disappears. If the cake still sinks, check your oven temperature with an oven thermometer—many ovens run cooler than the dial shows.
If you’re at high altitude (above 3,000 feet / 900 m), reduce the sugar by 1 tablespoon and increase the milk by 1 tablespoon. Bake at 350°F (177°C) for the same time.
Related
- Sheet Pan Lemon Garlic Butter Salmon Recipe
- Honey Garlic Sausage and Sweet Potatoes Sheet Pan Dinner
- Pumpkin Earthquake Cake With Spice Cake Mix
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).
