Vanilla Sheet Cake With Chocolate Frosting Recipe
In this article
A vanilla sheet cake with chocolate frosting is a single-layer, 9x13-inch (23x33 cm) cake with a tender vanilla crumb and a glossy cocoa buttercream spread over the top. The cake is mild and buttery, the frosting is deep and chocolaty, and the whole thing goes from mixing bowl to cooled cake in under an hour of active work. It suits a potluck, a birthday, a bake sale, or a weeknight dessert because it serves a crowd from one pan and needs no stacking or decorating skill.
Serves 16 · Prep 20 min · Cook 30 min · Total 1 hr 20 min
Ingredients for the Vanilla Sheet Cake and Chocolate Frosting
- 2 1/4 cups (280 g) all-purpose flour
- 1 1/2 cups (300 g) granulated sugar
- 2 1/2 tsp (10 g) baking powder
- 1/2 tsp (3 g) fine salt
- 1/2 cup (113 g) unsalted butter, softened
- 1/2 cup (120 ml) neutral oil, such as canola or vegetable
- 3 large eggs, room temperature
- 1 tbsp (15 ml) vanilla extract
- 1 cup (240 ml) whole milk, room temperature
- For the frosting: 1/2 cup (113 g) unsalted butter, softened
- 1/3 cup (30 g) unsweetened cocoa powder
- 2 1/2 cups (300 g) powdered sugar
- 1/4 cup (60 ml) whole milk, plus 1-2 tbsp (15-30 ml) if needed
- 1 tsp (5 ml) vanilla extract
- 1/4 tsp (1.5 g) fine salt
Mix and Bake the Vanilla Sheet Cake
- Heat the oven to 350°F (175°C). Grease a 9x13-inch (23x33 cm) metal pan and line the bottom with parchment paper, leaving a 1-inch (2.5 cm) overhang on the long sides. A glass or ceramic pan works but browns the edges faster, so check 5 minutes early.
- Whisk the flour, baking powder and salt in a medium bowl for 30 seconds so the leavening is evenly distributed.
- Beat the softened butter and sugar in a large bowl with an electric mixer on medium-high for 3 minutes, until pale and fluffy. Scrape the bowl once.
- Add the oil and beat 1 minute. Add the eggs one at a time, mixing 20 seconds after each, then beat in the vanilla. The batter should look smooth and glossy.
- Add the flour mixture in three additions, alternating with the milk in two additions, starting and ending with flour. Mix on low just until each addition disappears, about 15 seconds each time. Overmixing develops gluten and makes the crumb tough.
- Scrape the batter into the pan and spread it level with a spatula. Bake at 350°F (175°C) for 25-30 minutes, until the top springs back when pressed lightly and a toothpick inserted in the center comes out with a few moist crumbs, not wet batter. The cake pulls away from the pan sides by 1/8 inch (3 mm) when done.
- Cool in the pan on a wire rack for 20 minutes, then lift the cake out using the parchment overhang and cool completely, about 40 minutes more. Frosting a warm cake melts the buttercream and makes it slide.
Whip the Chocolate Frosting and Finish the Cake
- Beat the softened butter with the cocoa powder and salt on low for 30 seconds, then on medium for 1 minute, until the mixture is uniform and slightly lightened. Starting with cocoa prevents lumps.
- Add the powdered sugar in three additions on low, alternating with the 1/4 cup (60 ml) milk, then add the vanilla. Beat on medium-high for 2 minutes, until the frosting is fluffy and holds a soft peak.
- Check the consistency: it should spread with a spatula without tearing the cake. If it is stiff, beat in milk 1 tsp (5 ml) at a time. If it is loose, beat in powdered sugar 1 tbsp (8 g) at a time. The frosting makes about 2 cups (480 ml), enough for a 1/4-inch (6 mm) layer.
- Spread the frosting over the completely cooled cake with an offset spatula, working from the center outward. Leave the sides bare or frost them thinly; a sheet cake does not need a crumb coat.
- Let the frosted cake set at room temperature for 20 minutes before slicing so the frosting firms slightly. Cut into 16 pieces with a long knife dipped in hot water and wiped dry between cuts.
Swaps That Keep the Vanilla Cake and Chocolate Frosting Working
Butter can be replaced with an equal weight of softened margarine or coconut oil, but coconut oil adds a faint coconut flavor and makes the crumb slightly denser. Whole milk can be swapped for 2% milk or oat milk at the same volume; skim milk thins the batter and gives a drier crumb. For a dairy-free version, use a neutral oil in place of the butter and a plant milk, and expect a looser frosting that needs 2-3 extra tablespoons (16-24 g) of powdered sugar.
Unsweetened cocoa powder can be natural or Dutch-process. Dutch-process is darker and less acidic, so it tastes rounder; natural cocoa is sharper and slightly fruitier. Do not substitute hot cocoa mix, which contains sugar and milk solids and will make the frosting grainy and too sweet. If the frosting tastes bitter, add 1 tbsp (8 g) powdered sugar; if it tastes flat, add a pinch more salt rather than more sugar.
For a half batch, use an 8x8-inch (20x20 cm) pan and bake at 350°F (175°C) for 22-26 minutes, until the center springs back. For a double batch, use two 9x13-inch (23x33 cm) pans and keep the oven racks in the middle and lower-middle positions, rotating the pans after 15 minutes. A single deep 9x13-inch pan cannot hold a double batch without overflowing.
Scaling the Vanilla Sheet Cake
| Batch | Pan | Bake time at 350°F (175°C) | Frosting |
|---|---|---|---|
| Half | 8x8-inch (20x20 cm) | 22-26 min | 1 cup (240 ml) |
| Single | 9x13-inch (23x33 cm) | 25-30 min | 2 cups (480 ml) |
| Double | Two 9x13-inch (23x33 cm) | 25-30 min | 4 cups (960 ml) |
Serve the Sheet Cake and Keep It Fresh
Serve slices at room temperature with a scoop of vanilla ice cream or a spoon of whipped cream. The cake fits a lunchbox as a wrapped square, a potluck as the pan itself, and a birthday with candles pressed into the frosting just before serving. Pair it with cold milk, coffee, or a glass of cold brew. Cut slices travel better than warm cake, so let the frosted cake set for at least 20 minutes before packing.
Store the frosted cake covered at room temperature for up to 2 days, or refrigerate it for up to 4 days in an airtight container. Refrigeration firms the frosting and dries the crumb slightly, so bring slices to room temperature for 20 minutes before serving. Freeze unfrosted cake layers wrapped in plastic and foil for up to 3 months; thaw at room temperature for 2 hours before frosting. Freeze frosted slices individually wrapped for up to 2 months and thaw in the refrigerator overnight. Discard any cake left out above 90°F (32°C) for more than 1 hour, or at room temperature for more than 2 hours.
The cake contains eggs and wheat flour, so it is not safe for anyone with an egg allergy or celiac disease as written. A gluten-free all-purpose blend can replace the flour at the same weight, but add 1/2 tsp (2 g) xanthan gum if the blend does not include it, and expect a slightly crumblier texture. Raw batter contains raw flour and raw eggs; do not eat it. If you want to nibble the batter, heat-treat the flour to 160°F (71°C) and use pasteurized eggs, and keep the mixture refrigerated.