This two layer yellow cake is a classic American layer cake: tender, moist, and buttery, with a fine crumb that holds up to frosting and stacking. It suits birthdays, potlucks, and any dessert table where a dependable, from-scratch cake is wanted. The cake gets its structure and tenderness from the creaming method, where butter and sugar are beaten together to trap air, then flour is added gently to keep the crumb soft.
Ingredients
- 2 1/2 cups (300 g) cake flour (or 2 1/4 cups/280 g all-purpose flour plus 2 tbsp cornstarch)
- 2 1/2 tsp baking powder
- 1/2 tsp salt
- 3/4 cup (170 g) unsalted butter, softened
- 1 1/2 cups (300 g) granulated sugar
- 3 large eggs, room temperature
- 2 tsp vanilla extract
- 1 cup (240 ml) buttermilk, room temperature
Instructions
- Preheat oven to 350°F (175°C). Grease two 9-inch (23 cm) round pans, line bottoms with parchment, and grease the parchment.
- In a medium bowl, whisk together flour, baking powder, and salt.
- In a large bowl, beat butter and sugar with an electric mixer on medium-high until light and fluffy, about 3 minutes. Scrape down the bowl.
- Add eggs one at a time, beating well after each. Beat in vanilla.
- With mixer on low, add flour mixture in three additions, alternating with buttermilk in two additions, starting and ending with flour. Mix until just combined; do not overmix.
- Divide batter evenly between pans. Bake 25–30 minutes, until a toothpick inserted in the center comes out clean and the tops spring back when lightly pressed.
- Cool in pans on a rack for 10 minutes, then turn out onto racks to cool completely, about 1 hour.
Frosting and Assembly
For a classic finish, use a chocolate buttercream or a simple vanilla buttercream. The cake is fully cooled before frosting; any warmth will melt the frosting and slide the layers.
- 1 batch of your favorite buttercream (about 3 cups)
- Optional: 1/2 cup (120 ml) raspberry jam for filling
- Place one cake layer on a serving plate, flat side up. Spread with about 1 cup of frosting (or a thin layer of jam plus 1/2 cup frosting).
- Top with the second layer, flat side down. Frost the top and sides with the remaining frosting.
- For a crumb coat, spread a thin layer of frosting over the entire cake, chill for 15 minutes, then apply the final coat.
Baking Times and Doneness
Bake at 350°F (175°C) for 25–30 minutes. The cake is done when a toothpick inserted in the center comes out clean and the top springs back when lightly pressed. Ovens vary, so start checking at 25 minutes.
Variations
Chocolate Layer Cake
Replace 1/4 cup (30 g) of the flour with 1/4 cup (25 g) unsweetened cocoa powder. Add it to the dry ingredients; the cake will be darker and taste of chocolate.
Lemon Yellow Cake
Add 1 tbsp finely grated lemon zest to the sugar at the creaming step. Replace the vanilla with 1 tsp lemon extract. The cake will have a bright citrus flavor.
Serving and Pairing
Serve at room temperature. Pair with vanilla ice cream or fresh berries. For a birthday, add sprinkles or candles. This cake is also good with a simple powdered sugar dusting if you skip the frosting.
Storing and Freezing
Store frosted cake in an airtight container at room temperature for up to 2 days, or refrigerate for up to 4 days. Bring to room temperature before serving. Unfrosted layers can be wrapped tightly in plastic wrap and frozen for up to 3 months; thaw overnight in the refrigerator before frosting.
Common Problems and Fixes
If the cake domes too much, your oven may run hot or you overmixed the batter. Use a serrated knife to level the tops. If the cake is dry, you likely overbaked it or used too much flour; check your oven temperature with an oven thermometer. If the cake sticks to the pan, let it cool longer before turning out, and make sure you greased the parchment.
Raw Flour and Egg Safety
This cake is baked, so the flour and eggs are fully cooked. If you taste the batter, note that raw flour and raw eggs carry a risk of foodborne illness; heat-treat the flour to 160°F (71°C) and use pasteurized eggs if you plan to eat raw batter. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw flour and raw eggs.
Related
- Chocolate Mousse Layer Cake Recipe
- Fourth of July Layer Cake Recipe
- Yellow Squash Casserole with Cottage Cheese
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).