Dinners

Yellow Cake in a Half Sheet Pan: Easy Sheet Cake Recipe

Updated · By Stir & Share

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

Jump to recipe Save

Yellow Cake in a Half Sheet Pan: Easy Sheet Cake Recipe

A yellow cake baked in a half sheet pan is the easiest way to feed a crowd—it bakes flat and even, stays moist, and needs no layering or stacking. The thin, tender crumb works perfectly for birthdays, potlucks, or a simple weeknight dessert. The key difference from a round layer cake is baking time: a half sheet pan bakes faster and more evenly, so you must watch it closely to avoid a dry edge.

What Size Pan and What Equipment Do You Need?

Use a true half sheet pan that measures 18 by 13 inches (46 by 33 cm) with a 1-inch (2.5 cm) rim. This size holds about 12 cups (2.8 L) of batter, which is exactly what this recipe makes. A quarter sheet pan (13 by 9 inches / 33 by 23 cm) will work, but the cake will be thicker and need about 10–15 minutes more baking time.

You will need a stand mixer or hand mixer, a large mixing bowl, a rubber spatula, and a wire rack for cooling. Line the pan with parchment paper so the cake lifts out cleanly; grease the pan lightly first so the parchment stays put.

Ingredients

This recipe makes one 18×13-inch sheet cake, about 24 servings.

  • 3 cups (360 g) all-purpose flour
  • 2 teaspoons baking powder
  • 1/2 teaspoon baking soda
  • 1 teaspoon salt
  • 1 cup (226 g) unsalted butter, softened
  • 2 cups (400 g) granulated sugar
  • 4 large eggs, at room temperature
  • 1 cup (240 ml) buttermilk, at room temperature
  • 1/2 cup (120 ml) whole milk, at room temperature
  • 2 teaspoons vanilla extract

Instructions

  1. Preheat the oven to 350°F (175°C). Grease the half sheet pan lightly and line it with parchment paper, leaving a little overhang on two opposite sides to help lift the cake out.
  2. In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
  3. In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 3–4 minutes. Scrape down the sides as needed.
  4. Add the eggs one at a time, beating well after each addition. Beat in the vanilla extract.
  5. With the mixer on low speed, add the flour mixture in three additions, alternating with the buttermilk and milk, starting and ending with the flour. Mix just until combined—do not overmix. The batter will be thick and smooth.
  6. Pour the batter into the prepared pan and spread it evenly with a spatula to the edges.
  7. Bake for 22–28 minutes, until the top is golden brown and a toothpick inserted in the center comes out clean or with a few moist crumbs. The cake should spring back lightly when touched. Rotate the pan halfway through baking for even color.
  8. Cool the cake 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 frosting.

How to Frost and Serve a Sheet Cake

This cake is delicious with a simple chocolate buttercream, vanilla buttercream, or a cream cheese frosting. For a classic birthday look, spread a thin layer of frosting over the top and add sprinkles. Because the cake is only about 1 inch (2.5 cm) tall, you can frost the top only—no need to frost the sides.

For clean slices, chill the frosted cake for 30 minutes before cutting. Use a sharp knife and wipe it clean between cuts. Serve directly from the pan or transfer to a cutting board. This cake pairs well with fresh berries, a scoop of vanilla ice cream, or a drizzle of caramel sauce.

Scaling the Recipe for Different Pan Sizes

You can adjust this recipe to fit other common pans. The table below gives the ingredient amounts for a quarter sheet pan (13×9 inches) and a 9×13-inch baking dish, which are similar in volume.

Pan Size Flour Sugar Butter Eggs Buttermilk Milk Baking Time
Half sheet (18×13 in) 3 cups (360 g) 2 cups (400 g) 1 cup (226 g) 4 1 cup (240 ml) 1/2 cup (120 ml) 22–28 min
Quarter sheet (13×9 in) 2 cups (240 g) 1 1/3 cups (267 g) 2/3 cup (150 g) 3 2/3 cup (160 ml) 1/3 cup (80 ml) 25–32 min
9×13-inch baking dish 2 cups (240 g) 1 1/3 cups (267 g) 2/3 cup (150 g) 3 2/3 cup (160 ml) 1/3 cup (80 ml) 25–32 min

For a 9×13-inch pan, the cake will be about 1.5 inches (4 cm) thick. Always test for doneness with a toothpick, as ovens vary.

How Long Does Sheet Cake Keep?

Frosted or unfrosted, the cake keeps at room temperature for up to 2 days when covered tightly with plastic wrap or in an airtight container. For longer storage, refrigerate for up to 5 days—bring to room temperature before serving for the best texture. You can also freeze the unfrosted cake for up to 3 months: wrap it tightly in plastic wrap and then foil. Thaw overnight in the refrigerator before frosting. Frosted cake freezes well too, but the frosting may soften slightly on thawing.

What Goes Wrong and How to Fix It

The cake is dry or crumbly

Overbaking is the usual cause. Start checking at 22 minutes and pull the cake when a toothpick comes out with a few moist crumbs, not completely clean. Also, measure flour by spooning it into the cup and leveling it—scooping packs the flour and makes the cake dry.

The cake sinks in the middle

This happens if the batter is overmixed, which develops too much gluten and deflates the air you beat in. Mix just until the flour disappears. Also, make sure your baking powder is fresh—test it by stirring a teaspoon into hot water; it should bubble vigorously.

The cake sticks to the pan

Even with parchment, the cake can stick if the pan is not greased first. Grease the pan before laying the parchment, and let the cake cool for 15 minutes before lifting it out. If it still sticks, run a thin spatula around the edges to release it.

Can You Make This Cake Ahead of Time?

Yes. Bake the cake a day ahead and keep it unfrosted at room temperature, wrapped tightly. Frost it the next day. Or bake and freeze it up to 3 months ahead. The cake stays moist and tender, so it is a great make-ahead dessert for parties.

Can You Use a Different Liquid Instead of Buttermilk?

If you don’t have buttermilk, you can make a quick substitute: add 1 tablespoon of lemon juice or white vinegar to 1 cup of milk and let it sit for 5 minutes. This will make the cake slightly less tangy but still tender. Or use plain yogurt thinned with milk to equal 1 cup. Each swap will change the flavor slightly, but the texture will remain close.

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