Yellow Sheet Cake From Scratch: Classic Recipe
In this article
This yellow sheet cake is a tender, buttery sponge that bakes up golden and perfect for any occasion. Its light crumb and subtle sweetness make it ideal for layering or serving simply with frosting. The recipe relies on basic pantry ingredients and straightforward techniques that yield a consistently moist cake when followed carefully.
Ingredients
- 2 1/2 cups (310g) all-purpose flour, spooned and leveled
- 1 1/2 teaspoons baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
- 1 cup (226g) unsalted butter, softened to 68°F (20°C)
- 1 1/2 cups (300g) granulated sugar
- 2 large eggs, at room temperature
- 1 teaspoon pure vanilla extract
- 1 cup (240ml) whole milk, warmed to 85°F (30°C)
- 1 teaspoon yellow food coloring (optional, for authentic hue)
Each measurement is critical: too much flour creates a dry crumb, while insufficient leavening causes a dense center. Room temperature butter and eggs emulsify properly, trapping air that expands during baking for a light texture.
Instructions
- Preheat the oven to 350°F (175°C). Place a rack in the center of the oven. Lightly grease a 13x9 inch (33x23 cm) sheet pan, then line it with parchment paper, leaving a 2 inch overhang on the two short sides. This overhang makes it easy to lift the cake out later without tearing.
- In a medium bowl, whisk together the flour, baking powder, baking soda, and salt until evenly combined. This ensures the leavening agents are distributed uniformly, preventing pockets of excess soda that could cause tunneling.
- In a large mixing bowl, beat the softened butter and sugar on medium speed for exactly 3 minutes and 30 seconds. The mixture should turn a pale yellow and feel light when the beaters are lifted. This creaming process incorporates air that later expands in the oven, giving the cake its rise.
- Add the eggs one at a time, beating for 20 seconds after each addition. The batter may look slightly curdled, but this is normal. Then mix in the vanilla extract for 10 seconds. Room temperature eggs blend more smoothly and help maintain the air bubbles created during creaming.
- With the mixer on low, add the dry ingredients in three additions, alternating with the warm milk, beginning and ending with the dry ingredients. Mix each addition just until no streaks remain; the batter should be smooth but not glossy. Overmixing develops gluten, which makes the cake tough.
- If using food coloring, add it now with the milk and stir gently until the color is uniform. The batter will appear a soft pastel yellow.
- Pour the batter into the prepared sheet pan. Use an offset spatula to spread it evenly, smoothing the surface. Tap the pan gently on the counter three times to release any large air bubbles near the surface.
- Bake for 20 to 25 minutes. Rotate the pan halfway through baking to ensure even browning, as most ovens have hot spots. The cake is done when the edges pull away slightly from the pan, the top springs back when lightly pressed with a fingertip, and a toothpick inserted 1 inch from the edge comes out clean with only a few moist crumbs.
- Allow the cake to cool in the pan on a wire rack for 15 minutes. Then, using the parchment overhang, lift the cake out and transfer it to the rack to cool completely, about 1 hour. Cooling fully on the rack prevents steam from softening the crust.
Tips
Use an oven thermometer to verify the actual temperature; many home ovens run 10-15°F (5-8°C) hotter or cooler than the dial indicates, which can affect rise and browning.
If you prefer a richer flavor, substitute half of the milk with buttermilk; the acidity reacts with the baking soda to create a finer crumb.
For a smoother top, run a clean knife around the edges of the cake immediately after removing it from the oven to release any steam pockets that could cause cracks.
When measuring flour, spoon it into the measuring cup and level it off with a straight edge. Scooping directly from the bag compacts the flour, adding up to 25% more than the recipe requires.
If the cake browns too quickly, tent it loosely with aluminum foil after 15 minutes of baking to prevent over-browning while the interior finishes cooking.
Serving Suggestions
Cut the cooled cake into squares or rectangles using a sharp knife dipped in hot water and wiped dry between cuts for clean edges. Serve each piece with a light dusting of powdered sugar, a dollop of freshly whipped cream, or a side of sliced strawberries for a classic presentation. A simple vanilla glaze made from 1 cup powdered sugar, 2 tablespoons milk, and 1/2 teaspoon vanilla extract can be drizzled over the top for added sweetness and visual appeal.
Variations
Replace the vanilla extract with 1 teaspoon almond extract for a nutty twist, or use lemon zest and 1 tablespoon lemon juice for a bright, citrusy version. Fold in 1/2 cup of rainbow sprinkles into the batter before baking for a festive funfetti cake. For a chocolate variation, substitute 1/2 cup of the flour with 1/2 cup of unsweetened cocoa powder and add 1/4 cup of chocolate chips.
Additional Variations
Make a marble effect by pouring half of the batter into the pan, then adding a few tablespoons of chocolate batter (made by mixing 1/4 cup cocoa powder with 2 tablespoons hot water), and spreading the remaining batter on top. Use a knife to swirl gently for a marbled pattern before baking.
For a dairy-free version, use a plant-based butter substitute that is 80% fat and replace the milk with an equal amount of oat milk or soy milk; the texture will remain tender.
Storage and Reheating
Store the completely cooled cake, wrapped tightly in plastic wrap, at room temperature for up to 3 days. For longer storage, place it in an airtight container and refrigerate for up to 5 days. To freeze, wrap the cake in two layers of plastic wrap and one layer of aluminum foil; it will keep for 2 months. Thaw overnight in the refrigerator before serving.
To reheat individual slices, place them on a microwave-safe plate and warm for 10 to 15 seconds on medium power. For a whole slice or larger portion, preheat the oven to 300°F (150°C), place the cake on a baking sheet, and heat for 5 to 8 minutes until warmed through. Reheating in the oven preserves the original texture better than the microwave.
Frequently Asked Questions
Can I use cake flour instead of all-purpose flour?
Yes, cake flour produces a more tender crumb. Use 2 1/2 cups plus 2 tablespoons of cake flour to replace the 2 1/2 cups of all-purpose flour, as it is lighter and has lower protein content.
Why did my cake sink in the middle?
This often happens if the oven temperature is too low, the leavening agents are old, or the cake is underbaked. Ensure your oven is properly calibrated and test the baking powder by adding a teaspoon to hot water; it should fizz vigorously.
Do I need to grease the pan if I use parchment paper?
Yes, lightly grease the pan before adding the parchment. This prevents the cake from sticking to the parchment edges, especially along the sides.
How can I tell if the butter is truly room temperature?
It should feel soft to the touch but not melted, around 68°F (20°C). If it is too cold, the batter will be lumpy; if too warm, the cake may become greasy. Cut a small piece and it should yield easily without resistance.
Can I add frosting before the cake cools completely?
No, applying frosting to a warm cake will cause it to melt and slide off. Wait until the cake is completely cool to the touch, about 1 hour after removing it from the pan.
Is it safe to eat the batter before baking?
It is not recommended to consume raw batter containing uncooked eggs or flour, as they may carry a risk of salmonella or E. coli. Heat-treat the flour by spreading it on a baking sheet and baking at 350°F (175°C) for 5 minutes before using, or use pasteurized eggs if you wish to taste the batter.