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
yellow layer cake with chocolate frosting

Yellow Cake

4.7 from 101 reviews
  • Author: Sally
  • Prep Time: 30 minutes
  • Cook Time: 28 minutes
  • Total Time: 4 hours
  • Yield: serves 12
  • Category: Dessert
  • Method: Baking
  • Cuisine: American

Description

For yellow cake success, follow this recipe closely and don’t make any ingredient substitutions.


Ingredients

  • 2 and 1/2 cups (285g) cake flour (spooned & leveled)*
  • 2 and 1/2 teaspoons baking powder
  • 1/4 teaspoon baking soda
  • 1/2 teaspoon salt
  • 1 cup (2 sticks; 230g) unsalted butter, softened to room temperature*
  • 1 and 3/4 cups (350g) granulated sugar
  • 4 large egg yolks, room temperature
  • 2 teaspoons pure vanilla extract
  • 1 cup (240ml) buttermilk, at room temperature*
  • 2 large egg whites, room temperature
  • 1/8 teaspoon cream of tartar*

Chocolate Buttercream

  • 1.25 cups (2.5 sticks or 290g) unsalted butter, softened to room temperature
  • 3 and 1/2 cups (420g) confectioners’ sugar
  • 3/4 cup (65g) unsweetened cocoa powder (natural or dutch process)
  • 35 Tablespoons (45-75ml) heavy cream (or half-and-half or milk), at room temperature
  • 1/4 teaspoon salt
  • 1 teaspoon pure vanilla extract
  • optional for decoration: sprinkles

Instructions

  1. Preheat oven to 350°F (177°C). Grease two 9-inch round cake pans, line with parchment paper rounds, then grease the parchment paper. Parchment paper helps the cakes seamlessly release from the pans. (If it’s helpful, see this parchment paper rounds for cakes video & post.) I recommend using nonstick spray for greasing.
  2. Start the cake batter with the dry ingredients: Whisk the cake flour, baking powder, baking soda, and salt together in a large bowl. Set aside.
  3. Using a handheld or stand mixer fitted with a paddle attachment, beat the butter and sugar together on high speed for 3 full minutes. The creamed butter and sugar will be extra creamy. Scrape down the sides and up the bottom of the bowl with a rubber spatula as needed. Turn the mixer down to medium-high speed and beat in the 4 egg yolks one at a time, letting each egg yolk fully mix into the batter before adding the next. Beat in the vanilla extract until combined.
  4. Add about 1/3 of the dry ingredients and 1/2 of the buttermilk and beat on low speed until combined. Add 1/3 more of the dry ingredients and the rest of the buttermilk and beat on low speed until combined. Add the rest of the dry ingredients and beat on low speed until combined. The batter is very thick. You may need to whisk it all by hand to make sure there are no lumps at the bottom of the bowl.
  5. Whip the egg whites: Using a handheld or stand mixer fitted with a whisk attachment, beat the egg whites and cream of tartar together on high speed until fluffy peaks form, about 3 minutes. See photo and video above for a visual. Slowly and gently fold the egg whites into the thick cake batter. Avoid over-mixing as you don’t want to deflate the egg whites.
  6. Pour/spoon batter evenly into cake pans.
  7. Bake: Bake for around 27-31 minutes or until the cakes are baked through. After about 18 minutes, tent the cakes with aluminum foil to prevent the tops and sides from over-browning. To test the cakes for doneness, insert a toothpick into the center of the cake. If it comes out clean, it’s done. The cakes may look a little spongey on top as a result of the whipped egg whites. (That’s normal!)
  8. Allow cakes to cool completely in the pans set on a wire rack. The cakes must be completely cool before frosting and assembling.
  9. Make the buttercream: With a handheld or stand mixer fitted with a paddle attachment, beat the butter on medium speed until creamy, about 2 minutes. Add confectioners’ sugar, cocoa powder, 3 Tablespoons heavy cream, salt, and vanilla extract. Beat on low speed for 30 seconds, then increase to high speed and beat for 1 full minute. Do not over-whip. Add 1/4 cup more confectioners’ sugar or cocoa powder if frosting is too thin or 1-2 more Tablespoons of cream if frosting is too thick. (I usually add 1 more.) Taste. Add another pinch of salt if desired.
  10. Assemble and frost: If cooled cakes are domed on top, use a large serrated knife to slice a thin layer off the tops to create a flat surface. This is called “leveling” the cakes. Discard or crumble over finished cake (or on ice cream!). Place 1 cake layer on your cake turntable, cake stand, or serving plate. Evenly cover the top with frosting. Top with 2nd layer. (If desired, if the edges seem extra crumbly, apply a crumb coat which is a thin layer of frosting all over the cake. You can see I did this in the video tutorial above. Refrigerate the crumb coated cake for 15 minutes before adding the rest of the frosting.) Spread remaining frosting all over the top and sides. I always use an icing spatula and/or a bench scraper for the frosting. Garnish with sprinkles, if desired.
  11. For extra neat slices, refrigerate cake for 30-60 minutes before slicing. This helps the cake hold its shape when cutting.
  12. Cover leftover cake tightly and store at room temperature for up to 1 day or in the refrigerator for up to 5 days.

Notes

  1. Make Ahead & Freezing Instructions: Prepare cake through step 8. Wrap the individual baked and cooled cake layers tightly and keep at room temperature for 1 day or freeze up to 3 months. Bring to room temperature (if frozen) then continue with step 9. Frosting can also be made 1 day ahead of time. Cover tightly and refrigerate overnight. Bring frosting to room temperature, then beat the frosting on medium speed for a few seconds so it’s creamy again. Adding a splash of cream/milk will help thin the frosting out, if needed. Frosted cake freezes well, up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature or serve cold. See How to Freeze Cakes.
  2. Special Tools (affiliate links): 9-inch Round Cake Pans | Glass Mixing Bowls | Whisk | Electric Mixer (Handheld or Stand) | Rubber Spatula | Cooling Rack | Cake Turntable | Icing Spatula | Bench Scraper | Cake Carrier (for storage)
  3. Update in 2022: After further testing, this recipe now includes a little extra cake flour and baking soda to help prevent the cakes from sinking and tasting gummy.
  4. Cake Flour: Cake flour is key in this recipe. Do not use any cake flour substitutes.
  5. Butter: If you only have salted butter, you can use that instead. Reduce the added salt in the cake to 1/4 teaspoon. You can use salted butter in the frosting, too. Taste the frosting before adding the 1/8 teaspoon of salt, then add a pinch if desired. It’s imperative to use room temperature butter in order to properly cream with the sugar and be the proper base for the buttercream.
  6. Eggs: You need 4 egg yolks and 2 egg whites in this cake batter. It’s easiest to separate eggs when they’re cold. The eggs must be at room temperature to whip properly, so after you separate the eggs, cover the 4 yolks and 2 whites and set aside for at least 20 minutes before starting.
  7. Buttermilk: Buttermilk is required for this recipe. You can make your own DIY version of buttermilk by measuring 1 Tablespoon of lemon juice or white vinegar in a measuring glass. Add enough milk (whole milk is best—lower fat or nondairy milks work in a pinch, but the cake won’t taste as moist or rich) in the same measuring glass to reach 1 cup. Stir it around and let sit for 5 minutes. The soured milk will be somewhat curdled and ready to use in your recipe.
  8. Cream of Tartar: This is an imperative ingredient that promises the egg whites will whip into lofty, fluffy peaks and hold their shape when mixed into the heavy cake batter and baked in the oven. You can skip it if needed and whip the egg whites by themselves, but the cakes will taste denser.
  9. Amount of Cake Batter: This recipe yields about 5-6 cups of batter, which is helpful if you need it for different Cake Pan Sizes & Conversions. This recipe is too large for 2 8-inch cake pans.
  10. 9×13 Inch Pan: You can bake this cake in a 9×13 inch baking pan, but I found it tasted on the heavier side. Instead, I recommend my Yellow Sheet Cake which uses mostly the same ingredients.
  11. 3 Layer Cake: You can also prepare this cake as a 3 layer cake. Divide batter between three 8-inch or 9-inch cake pans in step 1 and bake for 22-25 minutes or until a toothpick inserted in the center comes out clean. The frosting recipe written will be enough for thin layers of frosting, but you can double my chocolate buttercream recipe (simply double each ingredient) if you want a lot of frosting.
  12. Yellow Cupcakes: Here is my favorite yellow cupcakes recipe, which includes directions for mini cupcakes too. Same unbelievable texture as this cake! If you need more than 1 dozen yellow cupcakes, use this yellow cake recipe for between 2-3 dozen and follow the same baking instructions as my yellow cupcakes.