Classic Sheet Cake with Cream Cheese Frosting Recipe
In this article
This classic sheet cake is a tender, buttery vanilla cake baked in a large pan and topped with a rich, tangy cream cheese frosting. It's the perfect dessert for birthdays, potlucks, or any gathering because it serves a crowd with minimal fuss. The cake stays moist for days, and the frosting is thick enough to pipe or spread smoothly.
Ingredients
- 2 ¾ cups (350g) all-purpose flour
- 2 ½ teaspoons baking powder
- ½ teaspoon salt
- 1 cup (2 sticks / 226g) unsalted butter, softened
- 1 ¾ cups (350g) granulated sugar
- 4 large eggs, room temperature
- 1 tablespoon vanilla extract
- 1 cup (240ml) whole milk, room temperature
- For the cream cheese frosting:
- 8 oz (226g) cream cheese, softened
- ½ cup (1 stick / 113g) unsalted butter, softened
- 3 ½ cups (400g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- Pinch of salt
Instructions
- Preheat your oven to 350°F (175°C). Grease a 9x13-inch baking pan (or an 18x13-inch half-sheet pan for a thinner cake) and line the bottom with parchment paper.
- In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
- In a large bowl, beat the softened butter and sugar with an electric mixer on medium speed until light and fluffy, about 3 minutes. Scrape down the sides as needed.
- Add the eggs one at a time, beating well after each addition. Beat in the vanilla extract.
- With the mixer on low speed, add the flour mixture in three additions, alternating with the milk, starting and ending with the flour. Mix just until combined—do not overmix.
- Pour the batter into the prepared pan and spread it evenly. Bake for 25–30 minutes (for a 9x13 pan) or 18–22 minutes (for a half-sheet pan), or until a toothpick inserted in the center comes out clean. The cake should be golden on top and spring back when lightly touched.
- Let the cake cool in the pan on a wire rack for 15 minutes, then turn it out onto the rack to cool completely. If you plan to frost it in the pan, you can let it cool completely in the pan.
- While the cake cools, make the frosting: In a large bowl, beat the cream cheese and butter together until smooth and creamy, about 2 minutes. Add the powdered sugar, vanilla, and salt, and beat on low speed until incorporated, then increase to medium and beat for 2–3 minutes until light and fluffy.
- Once the cake is completely cool, spread the frosting evenly over the top. If you like, sprinkle with a little extra vanilla or a few fresh berries before serving.
Tips
- Room temperature ingredients: Make sure the butter, eggs, and milk are at room temperature before you start. This helps the batter emulsify properly, giving a lighter crumb.
- Don't overmix: Once you add the flour, mix just until it disappears. Overmixing develops gluten, which can make the cake tough.
- Cool completely before frosting: If the cake is even slightly warm, the frosting will melt and slide off. Patience is key.
- Substitutions: You can use buttermilk instead of whole milk for a slightly tangier flavor. For a dairy-free version, use plant-based butter and cream cheese, and use a non-dairy milk like oat or almond.
Serving Suggestions
Serve the sheet cake as-is, or dress it up with fresh berries, a dusting of cinnamon, or a drizzle of chocolate sauce. It pairs beautifully with a cup of coffee or a glass of cold milk. For a festive touch, pipe rosettes on top or add colorful sprinkles for a birthday celebration.
Variations
- Lemon Cream Cheese Frosting: Add 1 tablespoon of lemon zest and 2 tablespoons of lemon juice to the frosting, and reduce the vanilla to ½ teaspoon.
- Chocolate Sheet Cake: Replace ½ cup of the flour with ½ cup of unsweetened cocoa powder, and increase the milk to 1 ¼ cups. Bake as directed.
- Spice Cake: Add 1 teaspoon of cinnamon, ½ teaspoon of nutmeg, and ¼ teaspoon of cloves to the dry ingredients for a warm, spiced flavor.
- Berry Swirl: Before baking, drop spoonfuls of raspberry or strawberry jam onto the batter and swirl with a knife for a fruity streak.
Storage and Reheating
Store the frosted cake in an airtight container in the refrigerator for up to 5 days. Because of the cream cheese frosting, it should be kept chilled. Let it sit at room temperature for 15–20 minutes before serving to soften. You can also freeze the unfrosted cake (wrap tightly in plastic wrap and foil) for up to 3 months; thaw overnight in the fridge before frosting. To reheat individual slices, microwave for 10–15 seconds—but note that the frosting will melt if heated too long.
Frequently Asked Questions
Can I use a different pan size?
Yes, you can use a 9x9-inch square pan for a thicker cake; just increase the baking time to 35–40 minutes. For a half-sheet pan (18x13), the cake will be thinner and bake faster, around 18–22 minutes. Adjust the time and check for doneness with a toothpick.
Why did my cake sink in the middle?
This usually happens if the oven door is opened too early, or if the batter was overmixed. It can also occur if the baking powder is old or expired. Always preheat the oven fully and avoid opening the door until the minimum baking time has passed.
Can I make this cake ahead of time?
Absolutely. Bake the cake a day ahead, let it cool completely, and store it unfrosted in an airtight container at room temperature. Frost it the next day. The frosted cake can also be made a day ahead and refrigerated.
How do I get a smooth frosting on top?
Make sure the cake is completely cool. Use an offset spatula to spread the frosting in long, even strokes. If the frosting is too stiff, add a tablespoon of milk; if too runny, add more powdered sugar.
Can I use low-fat cream cheese?
Yes, but the frosting may be slightly less firm and a bit more tangy. Full-fat cream cheese gives the best texture and flavor. Avoid using cream cheese spread in a tub, as it has a higher water content and can make the frosting runny.
Is it safe to leave the cake out at room temperature?
Because the frosting contains cream cheese, it should not sit out for more than 2 hours (or 1 hour if the room is warm). Refrigerate any leftovers promptly to prevent spoilage.