Homemade Yellow Cake Recipe & Easy Variations
In this article
This homemade yellow cake is a classic American layer cake with a tender, moist crumb and a rich, buttery flavor that comes from real butter and egg yolks. It is a dependable, from-scratch recipe that bakes up evenly and pairs perfectly with chocolate or vanilla frosting, making it the ideal base for birthdays, celebrations, or a simple weekend dessert.
Serves 12 · Prep 25 min · Cook 30 min · Total 55 min
Ingredients
- 2 1/2 cups (300 g) cake flour (or 2 1/4 cups all-purpose flour + 2 tbsp cornstarch)
- 2 1/2 tsp baking powder
- 1/2 tsp salt
- 3/4 cup (170 g) unsalted butter, softened
- 1 3/4 cups (350 g) granulated sugar
- 3 large eggs, room temperature
- 2 large egg yolks, room temperature
- 1 tbsp vanilla extract
- 1 cup (240 ml) buttermilk, room temperature
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
- In a medium bowl, whisk together the cake flour, baking powder, and salt. Set aside.
- In a large mixing bowl, beat the softened butter and sugar together with an electric mixer on medium speed until light and fluffy, about 3-4 minutes. Scrape down the sides of the bowl as needed.
- Add the eggs and egg yolks 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 buttermilk in two additions, starting and ending with the flour. Mix just until combined after each addition; do not overmix.
- Divide the batter evenly between the prepared pans. Smooth the tops with a spatula.
- Bake for 28-32 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs. The cakes should be golden brown and pull away slightly from the sides of the pans.
- Let the cakes cool in the pans on a wire rack for 10 minutes. Then, run a knife around the edges, invert onto the rack, and cool completely before frosting.
Tips
- Room temperature ingredients: Butter, eggs, and buttermilk should be at room temperature for a smooth, emulsified batter. Cold ingredients can cause the batter to curdle, resulting in a denser cake.
- Don't overmix: Once you add the flour, mix only until it disappears. Overmixing develops gluten, which makes the cake tough instead of tender.
- Buttermilk substitute: If you don't have buttermilk, add 1 tablespoon of lemon juice or white vinegar to 1 cup of milk and let it sit for 5-10 minutes until it thickens slightly.
- Even layers: For perfectly even layers, weigh the batter in each pan using a kitchen scale. This ensures they bake at the same rate.
Serving Suggestions
This yellow cake is delicious with a classic chocolate buttercream, vanilla buttercream, or a tangy cream cheese frosting. For a nostalgic treat, top it with a simple whipped cream and fresh berries. It also makes an excellent base for a strawberry shortcake-style dessert.
Variations
- Chocolate Marble Cake: Divide the batter in half. Melt 3 ounces (85 g) of semisweet chocolate and stir it into one half. Spoon the two batters alternately into the pan, then swirl with a knife.
- Lemon Yellow Cake: Add 2 tablespoons of lemon zest and replace the vanilla extract with 1 teaspoon of lemon extract. This brightens the flavor beautifully.
- Cupcakes: Divide the batter among 24 lined muffin cups. Bake at 350°F (175°C) for 18-20 minutes, or until a toothpick comes out clean.
- Funfetti: Gently fold 1/2 cup (80 g) of rainbow sprinkles into the batter before baking. Use a light hand to keep the colors from bleeding.
Storage and Reheating
Frosted cake can be stored in an airtight container at room temperature for up to 3 days, or in the refrigerator for up to 5 days. Unfrosted layers can be wrapped tightly in plastic wrap and frozen for up to 2 months. Thaw overnight in the refrigerator before frosting. To refresh a slice, microwave for 10-15 seconds until just warm.
Frequently Asked Questions
Can I use all-purpose flour instead of cake flour? Yes. For every cup of cake flour, use 1 cup of all-purpose flour minus 2 tablespoons, and add 2 tablespoons of cornstarch. Sift together before using. The texture will be slightly less tender but still good.
Why did my cake sink in the middle? The most common causes are overmixing the batter, opening the oven door too early, or underbaking. Make sure your baking powder is fresh and bake for the full time before testing.
Can I make this cake without buttermilk? Yes, use the lemon juice and milk substitute mentioned in the tips. Or, you can use plain yogurt thinned with a little milk to reach 1 cup.
How do I know when the cake is done? A toothpick inserted into the center should come out clean or with a few moist crumbs. The cake should also spring back when lightly pressed in the center.
Can I double this recipe? Absolutely. This recipe doubles well for a 3-layer cake or a large sheet cake. Just make sure to use a large enough bowl and increase the baking time slightly for a sheet cake.
Why is my cake dry? Overbaking is the usual culprit. Check the cake a few minutes before the suggested time. Also, be sure to measure your flour correctly by spooning it into the measuring cup and leveling it off, rather than scooping directly from the bag.