Zimt

Yellow Sheet Cake With Chocolate Frosting

· 5 min read · Cakes

In this article
  1. About the cake and frosting
  2. Ingredients
  3. Instructions
  4. Serving and pairing
  5. What goes wrong and why
  6. Storage and make-ahead
  7. Variations and swaps

Time 1 hr 10 min · Serves 16 · The key step Beat the butter and sugar until pale and fluffy, then add the eggs one at a time.

A yellow sheet cake is a tender, buttery single-layer cake baked in a 13×9-inch (33×23 cm) pan and topped with a glossy chocolate frosting. The crumb is soft and fine, the flavor is vanilla-rich, and the frosting is deep and fudgy. It suits a potluck, a birthday, a bake sale, or a weeknight dessert that feeds a crowd.

About the cake and frosting

Yellow cake gets its color and flavor from whole eggs and butter, not from yellow food coloring. The batter is a creamed butter cake: softened butter and sugar are beaten until light, eggs go in one at a time, and flour alternates with milk. That method gives a fine, even crumb that slices cleanly and stays moist for days.

The chocolate frosting here is a simple cocoa-and-powdered-sugar buttercream. It pipes well, spreads smoothly, and sets firm enough to stack cupcakes but soft enough to swirl with a spatula. If you prefer a poured glaze, see the variation below.

Ingredients

For the yellow cake

  • 2½ cups (300 g) all-purpose flour
  • 2½ tsp baking powder
  • ½ tsp fine salt
  • 1 cup (225 g) unsalted butter, softened
  • 1¾ cups (350 g) granulated sugar
  • 4 large eggs, room temperature
  • 1 tbsp vanilla extract
  • 1¼ cups (300 ml) whole milk, room temperature

For the chocolate frosting

  • ½ cup (115 g) unsalted butter, softened
  • 2¾ cups (330 g) powdered sugar
  • ½ cup (45 g) unsweetened cocoa powder
  • ¼ tsp fine salt
  • ⅓ cup (80 ml) whole milk or heavy cream
  • 1 tsp vanilla extract

Serves 16 · Prep 25 min · Cook 30 min · Total 1 hr 10 min

Instructions

  1. Heat the oven to 350°F (175°C). Grease a 13×9-inch (33×23 cm) metal pan with butter or nonstick spray, line the bottom with parchment, and grease the parchment.
  2. Whisk the flour, baking powder, and salt in a bowl for 30 seconds so the leavener is evenly distributed.
  3. Beat the softened butter and sugar in a stand mixer with the paddle, or with a hand mixer, on medium-high for 3–4 minutes, until pale and fluffy. Scrape the bowl.
  4. Add the eggs one at a time, beating 20–30 seconds after each and scraping down between additions. Beat in the vanilla.
  5. With the mixer on low, add the flour mixture in three additions, alternating with the milk in two, beginning and ending with flour. Mix only until the last streaks disappear, about 10 seconds after each addition.
  6. Spread the batter evenly in the pan and smooth the top. Bake at 350°F (175°C) for 28–32 minutes, until the cake is golden at the edges and a toothpick inserted in the center comes out clean or with a few moist crumbs.
  7. Cool in the pan on a wire rack for 15 minutes, then run a knife around the edge and turn out onto the rack, peel off the parchment, and cool completely, about 45 minutes.
  8. For the frosting, beat the softened butter on medium for 1 minute. Sift the powdered sugar and cocoa together, then add half to the butter with the salt and mix on low. Add the milk and vanilla, then the remaining sugar mixture, and beat on medium for 2 minutes, until smooth and spreadable.
  9. Spread the frosting over the cooled cake with an offset spatula, swirling the top. Let the frosting set for 20–30 minutes before slicing.

Serving and pairing

Cut the cake into 16 squares (about 3×3 inches / 8×8 cm) or 12 larger pieces. Serve at room temperature with a scoop of vanilla ice cream or a spoonful of whipped cream. A glass of cold milk or a cup of black coffee balances the sweetness. For a potluck, leave the cake in the pan and frost only the top; it travels better and slices neatly.

The cake also works as a base for strawberry shortcake: split a square, add macerated strawberries and a dollop of cream. For a lunchbox treat, wrap individual squares in plastic and freeze them; they thaw in about 2 hours at room temperature.

What goes wrong and why

Dry, crumbly cake

Overmixing after the flour goes in develops gluten and squeezes out moisture. Mix on low and stop as soon as the flour disappears. Also check your oven with an inexpensive thermometer; a 25°F (14°C) overshoot dries the edges before the center sets.

Sunken center

Opening the oven door in the first 20 minutes drops the temperature and collapses the structure. Use the oven light to check and keep the door closed until the cake has risen and set. Underbaking also causes a sunken middle; the toothpick should come out clean.

Grainy frosting

Powdered sugar and cocoa clump if not sifted. Sift both, add them gradually, and beat long enough to dissolve the sugar. If the frosting is too stiff, add milk 1 tsp at a time; if too soft, add powdered sugar 1 tbsp at a time.

Storage and make-ahead

Store the frosted cake covered at room temperature for up to 2 days, or refrigerate it for up to 4 days. Bring it to room temperature before serving so the crumb softens. The unfrosted cake can be wrapped tightly and frozen for up to 2 months; thaw at room temperature for 2–3 hours before frosting. Frosting can be made ahead and refrigerated for up to 1 week; let it sit at room temperature for 30 minutes and beat again before using.

For longer storage, freeze slices individually wrapped in plastic and then in a freezer bag for up to 3 months. Thaw at room temperature for 1–2 hours. Do not leave the cake in direct sun or near a hot oven; the frosting will slump.

Variations and swaps

For a chocolate glaze instead of buttercream, melt 4 oz (115 g) semisweet chocolate with 3 tbsp (45 ml) heavy cream and 1 tbsp (15 g) butter, then pour over the cooled cake and let set for 30 minutes. For a lemon version, add 1 tbsp lemon zest to the batter and replace 2 tbsp of the milk with lemon juice. For a coconut cake, use coconut milk in place of the whole milk and fold ½ cup (40 g) shredded coconut into the frosting.

If you are out of buttermilk, use whole milk with 1 tbsp lemon juice or white vinegar and let it stand 5 minutes. If you are out of cake flour, this recipe already uses all-purpose flour, so no swap is needed. For a dairy-free cake, use a plant butter and oat milk; the crumb will be slightly denser but still tender.