Go Back
One piece yellow birthday cake fully frosted with chocolate buttercream, side view showing even layers

Moist Yellow Cake Recipe from Scratch

A buttery, golden yellow cake with a tender crumb, made from scratch with pantry staples. Pairs perfectly with chocolate buttercream frosting for birthdays and celebrations.
Prep Time 20 minutes
Cook Time 30 minutes
Cooling Time 30 minutes
Total Time 1 hour 20 minutes
Servings: 12 slices (two 9-inch round layers)
Course: Dessert
Cuisine: American

Ingredients
  

  • For the Cake:
  • 2 ½ cups 315g all-purpose flour
  • 2 ½ teaspoons baking powder
  • ½ teaspoon salt
  • 1 cup 225g unsalted butter, at room temperature
  • 2 cups 400g granulated sugar
  • 4 large eggs at room temperature
  • 2 teaspoons pure vanilla extract
  • 1 cup 240ml full-fat buttermilk, at room temperature
  • For the Chocolate Buttercream optional:
  • 1 cup 225g unsalted butter, softened
  • 3 cups 360g powdered sugar, sifted
  • ½ cup 45g unsweetened cocoa powder, sifted
  • 3 –4 tablespoons whole milk or cream
  • 1 teaspoon vanilla extract
  • Pinch of salt

Equipment

  • Two 9-inch round cake pans (at least 2 inches deep)
  • Stand mixer or electric hand mixer
  • Parchment paper
  • Wire cooling rack
  • Offset spatula

Method
 

  1. Preheat oven to 350°F (175°C). Grease two 9-inch round pans, line with parchment, and grease again.
  2. Whisk flour, baking powder, and salt together in a medium bowl. Set aside.
  3. Beat room-temperature butter on medium speed for 2 minutes. Add sugar and beat for 3 more minutes until pale and fluffy.
  4. Add eggs one at a time, mixing until just incorporated after each. Add vanilla with the last egg.
  5. On low speed, alternate adding the flour mixture (3 additions) and buttermilk (2 additions), beginning and ending with flour. Mix only until each addition is incorporated.
  6. Divide batter evenly between the two prepared pans.
  7. Bake for 28 to 32 minutes, until a toothpick inserted in the center comes out with a few moist crumbs and the edges pull from the pan.
  8. Cool in pans for 10 minutes, then invert onto a wire rack. Peel off parchment. Cool completely before frosting, at least 30 minutes.
  9. For the buttercream: beat softened butter for 3 minutes on medium-high. Add sifted powdered sugar and cocoa on low in two additions. Add vanilla, salt, and milk one tablespoon at a time until spreadable.
  10. Frost cooled layers. Apply a thin crumb coat, refrigerate 15 minutes, then apply the final layer of frosting.

Notes

  • Buttermilk substitute: 1 tablespoon white vinegar stirred into 1 cup whole milk, rested 5 minutes.
  • Measure flour by spooning into the cup and leveling, or use grams (315g) to avoid a dry cake.
  • Take butter and eggs out of the fridge at least 1 hour before baking.
  • For cupcakes: fill liners two-thirds full, bake 18 to 22 minutes at 350°F. Makes about 24.
  • For a 9×13 sheet cake: pour all batter in, bake 35 to 40 minutes.
Nutrition per serving (cake only, 1 of 12 slices, approximate):
  • Calories: ~380 kcal
  • Protein: 5g
  • Carbohydrates: 52g
  • Fat: 17g
  • Fiber: 1g
  • Sugar: 33g
  • Sodium: 190mg
  • Serving size: 1 slice
  • Servings per recipe: 12
  • Values are estimates. To be verified with a nutrition calculator before publishing.
Allergens: Contains dairy, eggs, gluten.