Zimt

Classic Yellow Cake Recipe That Never Goes Out of Style

· 5 min read · Cakes

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

This classic yellow cake is the kind of dessert that shows up at birthdays, potlucks, and Sunday dinners—and for good reason. It’s tender, moist, and rich with butter and vanilla, with a crumb that’s sturdy enough to hold frosting but soft enough to melt in your mouth. The method is straightforward: cream the butter and sugar, alternate dry and wet ingredients, and bake until golden. No fancy equipment or hard-to-find ingredients—just a reliable, crowd-pleasing cake you’ll make again and again.

Ingredients

  • 2 1/2 cups (300g) all-purpose flour
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon salt
  • 3/4 cup (170g) unsalted butter, softened
  • 1 3/4 cups (350g) granulated sugar
  • 3 large eggs, at room temperature
  • 1 tablespoon vanilla extract
  • 1 1/4 cups (300ml) whole milk, at room temperature

Instructions

  1. Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
  2. In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
  3. In a large bowl, beat the softened butter and sugar with an electric mixer on medium speed until light and fluffy, about 3–4 minutes. Scrape down the sides of the bowl 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 milk in two additions, starting and ending with the flour. Mix just until combined—do not overmix. Scrape the bowl once more and give it a final gentle stir by hand.
  6. Divide the batter evenly between the prepared pans and smooth the tops with a spatula.
  7. Bake for 28–33 minutes, or until a toothpick inserted into the center comes out clean and the tops are golden brown. The cakes should start to pull away from the sides of the pans.
  8. Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely before frosting.

Tips

  • Room temperature ingredients matter. Cold butter won’t cream properly, and cold milk can make the batter curdle. Take the butter, eggs, and milk out of the fridge about 30–60 minutes before you start.
  • Don’t overmix the batter. Once you add the flour, mix just until no streaks remain. Overmixing develops gluten, which makes the cake tough and dense.
  • Use a kitchen scale for accuracy. If you have one, weigh the flour and sugar—it’s more reliable than cup measures, especially for flour, which can compact.
  • If the cake domes too much, you can level it with a serrated knife after it cools. Or, to get a flatter top, reduce the oven temperature to 325°F (165°C) and bake a few minutes longer.

Serving Suggestions

This yellow cake is perfect with a classic chocolate buttercream, a simple vanilla glaze, or a whipped cream and fresh berries. For a nostalgic touch, top with a fluffy seven-minute frosting or a dusting of powdered sugar. It also pairs beautifully with a scoop of vanilla ice cream and a drizzle of warm chocolate sauce.

Variations

  • Chocolate layer cake: Replace 1/4 cup (30g) of the flour with unsweetened cocoa powder for a chocolate version.
  • Lemon yellow cake: Add the zest of one lemon to the butter-sugar mixture, and replace the vanilla with 1 teaspoon of lemon extract.
  • Cupcakes: Divide the batter into 12–14 lined muffin cups and bake at 350°F (175°C) for 18–22 minutes.
  • Sheet cake: Pour the batter into a greased 9x13-inch pan and bake for 30–35 minutes.

Storage and Reheating

Store frosted or unfrosted cake in an airtight container at room temperature for up to 3 days. If you’ve frosted it with a dairy-based frosting (like buttercream), it can also be refrigerated for up to 5 days—just bring it to room temperature before serving for the best flavor. To freeze, wrap unfrosted layers tightly in plastic wrap and then foil; freeze for up to 3 months. Thaw overnight in the fridge or at room temperature for a few hours. To reheat individual slices, microwave for 10–15 seconds to soften the crumb, but avoid reheating frosted cake—it will melt the frosting.

Frequently Asked Questions

Can I use salted butter instead of unsalted?

Yes, but reduce the added salt to 1/4 teaspoon to avoid an overly salty cake. If you only have salted butter, you can also just omit the salt entirely.

Can I substitute buttermilk for the whole milk?

Yes, you can use buttermilk for a slightly tangier flavor and a more tender crumb. If you do, add 1/2 teaspoon of baking soda to the dry ingredients to balance the acidity.

Why did my cake sink in the middle?

A sunken center usually means the cake was underbaked or the batter was overmixed. Make sure your oven is at the right temperature (use an oven thermometer) and don’t open the oven door during the first 20 minutes of baking.

Can I make this cake gluten-free?

Yes, you can substitute a 1:1 gluten-free baking flour blend. The texture may be slightly more crumbly, but it will still work. Add an extra egg or 2 tablespoons of milk if the batter seems too thick.

How do I know when the cake is done?

Insert a toothpick into the center—if it comes out clean or with just a few moist crumbs, it’s done. The top should be golden and spring back when lightly pressed.

Can I use this recipe for a three-layer cake?

Yes, divide the batter among three 8-inch pans and bake for 22–26 minutes. You’ll have slightly thinner layers, which is perfect for a taller, more elegant cake.