This 8-inch yellow cake bakes up tender, moist, and golden with a classic buttery flavor that works for birthdays, layer cakes, or a simple weeknight dessert. The recipe is scaled precisely for a standard 8×2-inch round pan, so the batter fills it to the right depth (about two-thirds full) and bakes evenly without spilling over. With basic pantry ingredients and a straightforward creaming method, you get a dependable cake that slices cleanly and pairs with just about any frosting.
Ingredients
- 1 1/2 cups (180 g) all-purpose flour
- 1 1/2 teaspoons baking powder
- 1/4 teaspoon salt
- 1/2 cup (1 stick / 113 g) unsalted butter, softened
- 3/4 cup (150 g) granulated sugar
- 2 large eggs, room temperature
- 1 teaspoon vanilla extract
- 1/2 cup (120 ml) whole milk, room temperature
Instructions
- Preheat your oven to 350°F (175°C). Grease an 8×2-inch round cake pan with butter or nonstick spray, then dust with flour and tap out the excess. You can also line the bottom with a parchment paper circle for easy release.
- In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
- In a large bowl, beat the softened butter and sugar together with an electric mixer on medium speed until light and fluffy, about 2-3 minutes. Scrape down the sides of the bowl 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 dry ingredients in three additions, alternating with the milk in two additions, starting and ending with the dry ingredients. Mix just until combined after each addition – do not overmix. The batter should be smooth and slightly thick.
- Scrape the batter into the prepared pan and smooth the top with a spatula.
- Bake for 28-33 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs (not wet batter) and the top springs back when lightly pressed. The internal temperature should read about 205-210°F (96-99°C) if using an instant-read thermometer.
- Let the cake cool in the pan on a wire rack for 10-15 minutes. Then run a knife around the edge, invert onto a rack, and cool completely before frosting or serving.
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 30-60 minutes before starting.
- Don’t overmix the batter: Once you add the flour, mix only until no streaks remain. Overmixing develops gluten, which makes the cake tough and dense instead of tender.
- Check for doneness early: Ovens vary, so start checking at 25 minutes. If the top is browning too quickly but the center isn’t done, loosely tent the pan with foil.
- For a two-layer cake: Double this recipe and bake in two 8-inch pans. The bake time will be similar, but check both layers at the same time.
Serving Suggestions
This yellow cake is delicious plain with a dusting of powdered sugar, or dressed up with chocolate buttercream, vanilla frosting, or a simple whipped cream and fresh berries. For a classic birthday cake, fill and frost with your favorite chocolate or vanilla buttercream and top with sprinkles. It also works well as a base for trifle or as a coffee cake with a crumb topping.
Variations
- Lemon Yellow Cake: Add 1 tablespoon of lemon zest and replace the vanilla extract with 1 teaspoon of lemon extract.
- Buttermilk Yellow Cake: Substitute the whole milk with 1/2 cup buttermilk and add 1/4 teaspoon of baking soda to the dry ingredients. The cake will be slightly more tangy and tender.
- Marble Cake: Divide the batter in half. Stir 2 tablespoons of unsweetened cocoa powder and 2 tablespoons of milk into one half. Spoon the two batters alternately into the pan, then swirl with a knife.
- Cupcakes: This batter makes about 12 cupcakes. Bake at 350°F (175°C) for 18-22 minutes.
Storage and Reheating
Store the unfrosted cake in an airtight container at room temperature for up to 3 days. If frosted, keep it in the fridge if the frosting is perishable (like cream cheese), but bring it to room temperature before serving for the best flavor. The cake can also be wrapped tightly in plastic wrap and frozen for up to 3 months; thaw overnight in the fridge before frosting. To refresh a slightly stale cake, microwave a slice for 10-15 seconds – it will taste like it just came out of the oven.
Frequently Asked Questions
Can I use salted butter instead of unsalted? Yes, just reduce the added salt to a pinch (about 1/8 teaspoon) to avoid a too-salty cake.
Can I make this cake gluten-free? You can substitute a 1:1 gluten-free flour blend, but the texture may be slightly denser. Add 1/4 teaspoon xanthan gum if your blend doesn’t already include it.
Why did my cake sink in the middle? This usually happens if the batter is overmixed, the oven door was opened too early, or the cake was underbaked. Make sure your oven is fully preheated and don’t open the door until the minimum bake time has passed.
Can I use a 9-inch pan instead? Yes, but the batter will be thinner and bake faster. Start checking at 20-22 minutes. The cake will be shorter, so you may want to double the recipe for a taller layer.
How do I get the cake out of the pan cleanly? Let it cool in the pan for 10-15 minutes, then run a thin knife around the edge. Invert onto a wire rack, then flip it right-side up to cool completely. Using a parchment circle on the bottom also helps.
Can I use oil instead of butter? Yes, substitute 1/2 cup (120 ml) of neutral oil like canola or vegetable for the butter. The cake will be slightly more moist but less flavorful.