Dinners

Funfetti Cake in a 9×9 Pan (Bake Time & Recipe)

Updated · By Stir & Share

Total timeincludes chilling, rising or resting
1 hr 15 min
Prep
20 min
hands-on
Cook
28 min
oven or stovetop
Serves
9
as written

Jump to recipe Save

Funfetti Cake in a 9x9 Pan (Bake Time & Recipe)

Funfetti cake in a 9×9 pan is a single-layer, tender vanilla cake studded with rainbow sprinkles, baked in a square pan instead of round layers. The batter relies on a higher ratio of fat and liquid to flour to stay moist in a thinner pan, and the sprinkles add a pop of color and a slight crunch. It’s an easy, cheerful dessert for birthdays, potlucks, or a simple weeknight treat.

Ingredients

  • 1 ½ cups (190 g) all-purpose flour
  • 1 ½ teaspoons baking powder
  • ¼ teaspoon salt
  • ½ cup (1 stick, 113 g) unsalted butter, softened
  • ¾ cup (150 g) granulated sugar
  • 2 large eggs, at room temperature
  • 1 teaspoon vanilla extract
  • ½ cup (120 ml) whole milk, at room temperature
  • ⅓ cup (60 g) rainbow sprinkles (jimmies, not nonpareils, to avoid color bleeding)

Instructions

  1. Heat the oven to 350°F (175°C). Grease a 9×9-inch (23×23 cm) square pan and line the bottom with parchment paper.
  2. In a medium bowl, whisk together the flour, baking powder, and salt.
  3. 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 sides.
  4. Add the eggs one at a time, beating well after each, then beat in the vanilla.
  5. With the mixer on low, add the flour mixture in three additions, alternating with the milk in two additions, starting and ending with flour. Beat just until combined; do not overmix.
  6. Gently fold in the sprinkles with a spatula. Pour the batter into the prepared pan and smooth the top.
  7. Bake for 25–30 minutes, until a toothpick inserted in the center comes out clean and the top is golden. The cake should spring back when lightly pressed.
  8. Cool in the pan on a wire rack for 15 minutes, then turn out onto the rack to cool completely before frosting or serving.

Why Did My Cake Come Out Dry, Dense, or Soggy?

Dry: Overbaking is the most common cause. Check at 25 minutes and pull the cake as soon as the toothpick is clean. Also, measure flour by spooning it into the cup and leveling; scooping can pack in extra flour. If your oven runs hot, reduce the temperature to 325°F (165°C) and bake a few minutes longer.

Dense: Overmixing the batter after adding flour develops gluten, which makes the cake tough and heavy. Mix only until no dry streaks remain. Also, make sure your baking powder is fresh—test by stirring a teaspoon into hot water; it should bubble vigorously.

Soggy or sunken middle: Opening the oven door during the first 20 minutes of baking lets in cold air and can cause the center to collapse. If the center is still wet when the edges are done, your oven may be running low; bake at 350°F (175°C) for the full 30 minutes and test the center only after that.

How to Frost and Serve This Cake

Once the cake is completely cool, you can frost it with vanilla buttercream, cream cheese frosting, or a simple glaze. For a classic funfetti look, spread a thin layer of frosting on top and sprinkle extra jimmies over it. Cut into 9 squares (3×3) for neat servings. This cake pairs well with a scoop of vanilla ice cream or fresh strawberries. It’s also sturdy enough to be a base for a trifle—just cube it and layer with whipped cream and fruit.

Substitutions and Variations

  • Butter: Use ½ cup (113 g) plain Greek yogurt or ½ cup (120 ml) vegetable oil instead of butter. Oil makes the cake moister but slightly less fluffy; yogurt adds tang and reduces fat.
  • Milk: Use buttermilk or a non-dairy milk (like oat or almond) in the same amount. Buttermilk adds a slight tang and helps tenderize; non-dairy milk may make the cake slightly less rich.
  • Eggs: For an egg-free version, use 2 tablespoons (30 ml) water + 1 tablespoon (15 ml) oil + 2 teaspoons baking powder per egg (this is a common flax egg substitute). The cake will be a bit denser.
  • Sprinkles: Use rainbow jimmies (long, thin) for best color. Nonpareils (tiny round balls) can bleed color into the batter. If using nonpareils, toss them in a tablespoon of flour before folding in.
  • Flavor: Add ½ teaspoon almond extract along with the vanilla for a cherry-almond twist, or 1 teaspoon lemon zest for a citrus note.

How Long Does Funfetti Cake Keep?

Store the unfrosted cake in an airtight container at room temperature for up to 3 days. If frosted with a dairy-based frosting, refrigerate it for up to 4 days; bring to room temperature before serving. The cake can be frozen for up to 2 months: wrap tightly in plastic wrap and then foil. Thaw overnight in the refrigerator or at room temperature for a few hours. Do not freeze frosted cake with a soft frosting unless you expect a slightly different texture after thawing.

Can I Make This as a Layer Cake or Cupcakes?

Yes. For a two-layer 8-inch (20 cm) round cake, double the recipe and bake in two 8-inch pans for 25–30 minutes. For cupcakes, use the same batter and fill paper liners two-thirds full; bake at 350°F (175°C) for 18–22 minutes, until a toothpick comes out clean. This recipe makes about 12 cupcakes.

Why Do My Sprinkles Bleed or Sink?

Some sprinkles, especially nonpareils, can bleed their color into the batter, turning it gray or pink. Use jimmies (long, rod-shaped) and fold them in gently at the last moment. To prevent sinking, toss the sprinkles in a teaspoon of flour before folding—this adds a tiny bit of coating that helps them stay suspended. Also, avoid overmixing after adding them.

What’s the Best Way to Get the Cake Out of the Pan?

Let the cake cool in the pan for 15 minutes, then run a thin knife around the edges. Place a wire rack over the pan and invert the cake onto the rack. If you lined the bottom with parchment, peel it off after inverting. For a completely smooth top, you can flip the cake right-side up onto another rack once it’s cool enough to handle.

Related

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).