Go Back
Homemade Basic Yellow Cake Recipe (Cakes and Cupcakes) image

Basic Yellow Cake Recipe (Cakes and Cupcakes)

When it comes to baking, few things are as comforting and versatile as a classic yellow…
Prep Time 30 minutes
Cook Time 30 minutes
Total Time 1 hour 30 minutes
Course Dessert
Servings 24 servings

Equipment

  • Oven
  • Mixing Bowl
  • Stand mixer or hand mixer
  • cake pans or cupcake pans
  • Measuring cups and spoons

Ingredients
  

Ingredients

  • 1/2 teaspoonsalt
  • 3 teaspoonsbaking powder
  • 2 1/2 cups 310 g all-purpose flour
  • 1 cup 227 g unsalted butter, melted
  • 1 1/2 cups 297 g granulated sugar
  • 4 large eggs
  • 1 teaspoon 5 ml vanilla extract
  • 1 1/4 cups 296 ml buttermilk
  • 1/2 cup 40 g unsweetened cocoa powder
  • 3 1/2 cups 396 g powdered sugar
  • 1/4 teaspoonsalt
  • 1 cup 226 g unsalted butter, softened
  • 1 teaspoonvanilla extract
  • 2-3 tablespoons 30-45 ml heavy whipping cream
  • 1 cup 227 g unsalted butter, softened
  • 4 cups 452 g powdered sugar
  • 1/2 teaspoonsalt
  • 1 teaspoon 5 ml vanilla extract
  • 2-3 tablespoons 30-45 ml heavy whipping cream

Instructions
 

Instructions

  • Preheat oven to 350°F (175°C). Prepare cupcake pans with liners or grease and flour cake pan(s).
  • In a medium bowl, whisk together ½ teaspoon salt, 3 teaspoons baking powder, and 2 ½ cups (310 g) all-purpose flour. Set aside.
  • In a large bowl, combine 1 cup (227 g) unsalted butter, melted, and 1 ½ cups (297 g) granulated sugar. Using a hand mixer or stand mixer, beat until smooth.
  • Add 4 large eggs, one at a time, beating briefly after each egg until incorporated. Mix in 1 teaspoon (5 ml) vanilla extract.
  • Add the dry ingredients alternately with 1 ¼ cups (296 ml) buttermilk, beginning and ending with the flour mixture (i.e., dry–liquid–dry–liquid–dry). Mix gently between additions and stop as soon as the batter is just combined. Scrape the sides and bottom of the bowl as needed.
  • Divide batter into prepared pans and bake according to pan size/yield: - 24 cupcakes: 14–17 minutes - Two 9-inch round pans: 24–27 minutes - Two 8-inch round pans: 25–33 minutes - 9×13-inch pan: 30–40 minutes
  • Remove cakes from oven and let cool completely before removing from pans and before frosting.
  • Chocolate frosting (optional) — dry mix: In a large bowl, whisk 3 ½ cups (396 g) powdered sugar, ½ cup (40 g) unsweetened cocoa powder, and ¼ teaspoon salt until no lumps remain.
  • Chocolate frosting — base: Beat 1 cup (226 g) unsalted butter, softened, in a mixer until smooth. (If using a hand mixer, use a very large bowl to avoid powdered sugar dusting.)
  • Chocolate frosting — combine: Add the powdered sugar/cocoa mixture to the butter one cup at a time, beating on medium speed until the mixture is crumbly and combined. Mix in 1 teaspoon vanilla extract.
  • Chocolate frosting — finish: Add 2–3 tablespoons (30–45 ml) heavy whipping cream, 1 tablespoon at a time, mixing after each addition until the frosting is smooth and at the desired spreading consistency. Frost cake or cupcakes.
  • Vanilla frosting (optional) — dry mix: In a large bowl, whisk 4 cups (452 g) powdered sugar and ½ teaspoon salt until no lumps remain.
  • Vanilla frosting — base: Beat 1 cup (227 g) unsalted butter, softened, in a mixer until smooth. (If using a hand mixer, use a very large bowl.)
  • Vanilla frosting — combine: Add the powdered sugar to the butter one cup at a time, beating on medium speed until the mixture is crumbly and combined. Mix in 1 teaspoon (5 ml) vanilla extract.
  • Vanilla frosting — finish: Add 2–3 tablespoons (30–45 ml) heavy whipping cream, 1 tablespoon at a time, mixing after each addition until the frosting is smooth and at the desired consistency. Frost cake or cupcakes.

Notes

You can use a 9×13-inch pan, two 8-inch or 9-inch rounds, or make 24 cupcakes.
Store cake on counter for up to 3 days. Cake can be frozen (with or without frosting) for up to 2 months. Be sure to wrap it well in plastic wrap or an airtight container.