Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
A slice of yellow layer cake with chocolate frosting on a gold spatula

Yellow Layer Cake

5 Stars 4 Stars 3 Stars 2 Stars 1 Star No reviews
  • Author: Julianne Dell
  • Prep Time: 45 minutes
  • Cook Time: 24 minutes
  • Total Time: 1 hour 9 minutes
  • Yield: 12 slices
  • Category: Cake
  • Method: Baked
  • Cuisine: American

Description

Skip the boxed cake mix, this homemade yellow layer cake is easy to make from scratch! It’s a classic birthday cake recipe decorated with fudgy chocolate frosting and showered with sprinkles.


Ingredients

For the cake:

  • 2 cups (380g) granulated sugar
  • ½ cup (118 ml) vegetable oil
  • 2 large eggs, at room temperature
  • 2 egg yolks, at room temperature
  • 2 teaspoons (10ml) vanilla extract
  • ¼ cup (59g) sour cream, at room temperature
  • 2 cups (280g) all-purpose flour, sifted 
  • 3 teaspoons (11.2 g) baking powder
  • 1 teaspoon (5g) salt
  • 1 ¼ cup (295ml) buttermilk, at room temperature 

For the frosting

  • 3 cups (680g) unsalted butter, cold
  • 1 ½ cup (167g) cocoa powder
  • 8 cups (1041g)) powdered sugar
  • 1 tablespoon (15ml) pure vanilla extract
  • 4 tablespoons (60ml) heavy whipping cream (or milk)
  • Pinch of salt

Instructions

  • For the cake: 
  1. Preheat the oven to 350°F. Prepare three 8-inch round baking pans, line the bottom with parchment paper, and grease the sides. 
  2. In a large mixing bowl, combine the sugar, vegetable oil, eggs, egg yolks and vanilla extract. Beat on medium speed until the eggs and oil are well incorporated. Next mix in the sour cream and beat until well combined.
  3. In a separate bowl, combine and sift the remaining dry ingredients. Alternate adding half the dry ingredients and half the buttermilk at a time and mix at a low speed just until the flour starts to incorporate. Then add the remaining dry ingredients and buttermilk, beating until well combined. Use a spatula to scrape down the sides of the bowl and stir the batter from the bottom to the top to ensure it’s well mixed.
  4. Divide the batter evenly between the three pans, about 1 2/3 cups of batter per pan. Bake at 350°F for 23-25 minutes. Test the cake for doneness by inserting a toothpick into the center of the cake. If the toothpick comes out clean, your cake is done. Cool completely. Remove from the oven and allow to cool completely.

For the frosting: 

  1. Cut the butter into pieces (about 1 tablespoon in size). Using the paddle attachment, whip  the butter at a high speed for 5-7 minutes, scraping down the bowl occasionally. Beat until the butter is light, fluffy and easily spreadable. Next, beat the cocoa powder into the butter until well-mixed.
  2. Alternate adding 2 cups of powdered sugar at a time with the liquid ingredients: vanilla extract & heavy cream. Ensure the powdered sugar is well combined, and whip for 1-2 minutes before adding more powdered sugar. Finally, add the pinch of salt, increase the speed to medium-high and beat for another 2-3 minutes to whip additional air into the frosting.

To assemble:

  1. Level the cake layers by removing any domes. Place a dollop of frosting on a cake board and place the bottom layer of cake over that.
  2. Using a large piping bag that is half filled, pipe the first layer of frosting. Pipe in circles working outside edge to the middle. Spread evenly with an offset spatula. Add the second layer of cake and repeat. Place the third layer of cake on top.
  3. Use an offset spatula to press any excess frosting onto the edges of the cake. To finish, pipe the frosting along the outside edge of the cake using a large open round tip or a cake icer tip. Then use an offset spatula or icing smoother to create a smooth the edges.
  4. Decorate the top with a 1M piping tip and sprinkles. You’ll need about 2 cups of frosting for the border on top of the cake. To press sprinkles into the sides of the cake, do this right away, and place a large baking sheet under the cake to catch extra sprinkles.


Notes

Substitutions

  • Sour cream, you can use a nonfat Greek yogurt. T
  • Buttermilk, you can make homemade buttermilk by adding 1 tablespoon of lemon juice or white vinegar to a 1-cup measure and filling the rest of the cup with milk. Allow it to sit for at least 5 minutes until it starts to appear curdled. Then, stir it before adding it to the cake batter.

For the Frosting:

  • This is a large batch of chocolate frosting as you can see there are thick layers of frosting between each cake layer plus plenty to decorate the top. With a regular 5qt stand mixer, you might consider breaking it up into two batches. Leftover frosting can be refrigerated for 1 week or stored in the freezer for 1 month in an airtight container.
  • The frosting will set to a thicker, fudge-like consistency.
  • 8 cups of powdered sugar is equal to 1- 2lb bag.

Storing:

  • Storing Frosted Cakes: Store in an airtight container, either in a cake box or a cake carrier. This cake is fine to store at room temperature for 1-3 days, or you can keep it in the fridge and take it out to let it come back to room temperature for serving.
  • Freezing: Once frosted, place the cake into a cake box and double-wrap tightly with plastic wrap. Freeze for up to one month: Defrost the cake in the fridge and serve at room temperature.

Alternative cake sizes

  • For 2-layer cakes. To make a two-layer 8-inch yellow layer cake, bake the individual cakes at 350ºF for 33-35 minutes.
  • Only have 9-inch pans? For 9-inch cakes, you can still make 2 or 3 layers, but you’ll need to adjust the baking time accordingly. Just note that the centers may dome a bit more. In both cases, you’ll need to reduce the frosting by ½ if you don’t want a ton left over.

  • Sheet cake (9×13 inch). The recipe for the cake can also be baked in a 9×13 inch pan, but you’ll only need a fraction of the frosting, about 1/3 of it, so you’ll need to reduce accordingly.

  • 6-inch cake. A full recipe will make four 6-inch layers. Or you can easily cut the recipe in half for two 6-inch layers to make a mini cake.
  • Cupcakes. The batter will make 24 cupcakes. See my blog post for yellow cupcakes for additional details.


Nutrition

  • Serving Size: 1 slice
  • Calories: 1095
  • Sugar: 113.5g
  • Sodium: 251.5mg
  • Fat: 61.6g
  • Saturated Fat: 39.5g
  • Carbohydrates: 138.6g
  • Fiber: 3.8g
  • Protein: 7.4g
  • Cholesterol: 193.8mg