Yellow Cake

Servings: 12 Total Time: 4 hrs Difficulty: Intermediate
With its tender, buttery, and incredibly moist texture, this 'yellow cake' is one of the best cakes I have ever tasted. After testing the recipe several times, I’ve discovered that the secret to creating the most delicious 'yellow birthday cake' lies in the perfect combination of cake flour, extra egg yolks, beaten egg whites, and buttermilk. To make this cake even more enticing for birthday celebrations, frost it with my rich and creamy chocolate buttercream!
pinit

This Is the Best Yellow Cake I’ve Ever Had

After experimenting with everything from zebra cakes and 9×13-inch yellow cakes to white cakes and vanilla cakes, I have spent years perfecting this ideal layer cake. I have sampled them all—from boxed mixes and restaurant-style yellow cakes to bakery-bought versions and those crafted by professionals. And I can say, without a doubt, that this is the best yellow cake I have ever tasted.

Made with a precise blend of cake flour, whipped egg whites, extra egg yolks, and buttermilk—along with a combination of creamed butter, sugar, and a touch of oil—this cake turns out incredibly soft, buttery, and wonderfully moist and fluffy on the inside. If this cake could talk, it would surely sing its own praises!

Why This Recipe Works

This yellow layer cake has been developed through extensive testing; you can be confident that there is a specific reason behind every step and every ingredient.

I don’t recommend making any substitutions for this recipe.

If there were any shortcuts or easier ways to go about baking, I would certainly have taken them—but this is not the place to take risks. Remember, baking is a science!

Key Ingredients You Need & Why

  • Cake Flour: Cake flour is about 30 times finer than all-purpose flour. Using it results in a cake with an exceptionally soft and fluffy texture. While you can create a substitute for cake flour by mixing all-purpose flour with cornstarch, that mixture tends to be too heavy for this specific recipe. Therefore, authentic cake flour is essential for making this ‘yellow cake.’
  • Baking Powder and Baking Soda: A balanced blend of these two leavening agents helps the cake rise properly. I have refined the combination of these ingredients specifically for this 9×13-inch yellow cake recipe.
  • Butter: You simply cannot achieve the authentic flavor of a yellow cake without real butter! At the start of the preparation, the butter—brought to room temperature—must be thoroughly creamed together with the sugar.
  • Oil: Based on feedback from our readers, I have incorporated oil into this recipe. (We always value your input!) Since a high proportion of butter and eggs can sometimes make a cake too dense or dry, a portion of the butter has been replaced with vegetable (cooking) oil. While butter is indispensable for the flavor of a yellow cake, the oil helps keep the cake moist and creates a lighter texture.
  • Extra Egg Yolks: Eggs play a crucial role in this recipe. You will need a total of 4 eggs—2 whole eggs plus 2 additional egg yolks (meaning 4 yolks and 2 whites in total). The extra egg yolks make the cake richer, softer, and more flavorful; they also impart a beautiful, natural yellow hue! You will need to separate 4 eggs, which will leave you with 2 leftover egg whites—you can use these to make an omelet or for any other recipe that calls for egg whites.
  • Whipped Egg Whites: The egg whites from the two eggs used in the cake batter should be whipped separately; this ensures the cake has a lighter, fluffier texture. Since this cake contains a high proportion of butter and egg yolks, whipping the egg whites separately before folding them into the batter is essential.
  • Cream of Tartar: This is a dry acid that proves highly effective when whipping egg whites. It helps improve the cake’s stability and volume, while also helping to retain the air incorporated into the egg whites—ensuring the structure holds even after being folded into the dense cake batter.
  • Buttermilk: I experimented with a mixture of sour cream and whole milk, but taste testers overwhelmingly preferred the version made with buttermilk. Buttermilk is used in many baking recipes—including this confetti cake—to enhance both flavor and moisture. Please refer to the recipe notes for instructions on how to make a homemade buttermilk substitute.

The list of ingredients is rounded out with granulated sugar, salt, and pure vanilla extract. If you have vanilla bean paste on hand, feel free to use that instead.

Let’s Make a Perfect Yellow Cake

Mix the dry ingredients together according to the instructions below. Next, beat the butter and sugar thoroughly—a process known as ‘creaming.’ If you would like a refresher.

Then, add the remaining wet ingredients (excluding the egg whites) to the mixture.

Beat the egg whites together with the cream of tartar, and then gently fold them into the cake batter. The batter will be thick, but the beaten egg whites will give it a light, airy texture.

Divide the batter between two round cake pans. For this recipe, you will need two 9-inch cake pans. Grease the pans with oil or butter, line the bottoms with circular pieces of parchment paper, and then lightly grease the parchment paper as well. Bake the cakes, then place the pans on a cooling rack and allow them to cool for 1 hour.

Chocolate Frosting for Yellow Birthday Cake

I use my go-to chocolate buttercream, though I increase the quantity slightly. Since no leavening agents are involved here, you can use either Dutch-processed or natural cocoa powder in the buttercream. Heavy cream makes the frosting extra creamy, but you can substitute it with milk if needed.

This frosting is a bit fluffier than the chocolate fudge frosting typically used for yellow sheet cakes. Feel free to swap the frostings, or even use the vanilla buttercream from this white cake recipe instead!

How to Assemble & Frost a Layer Cake

Once the cakes have cooled, use a knife to loosen the edges from the pan so they can be removed easily.

If the tops of the cakes have domed (puffed up), trim them level once they have cooled. I use a serrated knife for this.

Applying a “crumb coat” is essential to ensure that a layer cake remains sturdy. A crumb coat is a thin layer of frosting applied to the outside of the cake; it traps any loose crumbs or cake particles and helps stabilize the cake layers. Since the edges of the cake layers in this recipe tend to be a bit crumbly, a crumb coat is particularly useful here.

If you need further guidance and would like to see a visual demonstration,

Place frosting between the two cake layers and stack them. Then, cover the top and sides of the entire cake with a very thin layer of frosting (approximately 1 cup). You can use a bench scraper to help make this layer even and smooth.

At this stage, place the cake in the refrigerator for at least 20 minutes—and up to 1 hour—to allow this initial layer of frosting (known as a “crumb coat”) to set properly. Afterward, use the remaining frosting to completely cover the top and sides of the cake.

Yellow Cake Success Tips

  1. Use room-temperature ingredients: Ensure that all your ingredients are at room temperature. When ingredients are at the same temperature, they blend together much more easily—something that is difficult to achieve when mixing cold and warm components. Since eggs are easier to separate when cold, separate the yolks from the whites beforehand, then let them reach room temperature before you begin.
  2. Prepare the baking pan: Grease the cake pan with oil or butter and line it with parchment paper; this ensures the cake can be removed from the pan easily and neatly. If you are considering purchasing a round cake pan, my personal recommendations are those from the brands ‘Fat Daddio’s’ or ‘Wilton.’
  3. Apply a ‘crumb coat: The edges of this cake can be somewhat crumbly, so it is essential to apply a thin layer of frosting—known as a ‘crumb coat’—over the cake!

Yellow Cake

Difficulty: Intermediate Prep Time 30 mins Cook Time 30 mins Rest Time 3 hrs Total Time 4 hrs
Servings: 12
Best Season: Christmas

Description

After experimenting with various recipes over many years, this is the best 'yellow cake' I have come across. Soft, buttery, and incredibly moist, this cake is made using cake flour, beaten egg whites, extra egg yolks, and buttermilk. It is the perfect choice for a homemade birthday cake. Please refer to the section above for options regarding the use of different types of baking pans. For the best results, follow this recipe precisely and do not substitute any of the ingredients.

Ingredients

Chocolate Buttercream

Instructions

  1. Preheat the 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. In a medium bowl, whisk the cake flour, baking powder, baking soda, and salt together. Set aside.
  3. In a large bowl using a handheld or stand mixer fitted with a paddle attachment, beat the butter and sugar together on medium-high speed until light and creamy, about 3 minutes. Scrape down the sides of the bowl with a silicone spatula as needed. (Here’s a helpful tutorial if you need guidance on how to cream butter and sugar.) Add the oil and beat for 1 minute until combined. Beat in the egg yolks until incorporated, then beat in the vanilla extract.
  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 will be very thick. You may need to whisk it all by hand to make sure there are no lumps at the bottom of the bowl. Set aside.
  5. In another large bowl 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, medium-stiff peaks form, about 3 minutes.
  6. Fold the whipped egg whites into the cake batter. Work slowly and gently, as you don’t want to deflate the egg whites. Pour/spoon the batter evenly into the prepared pans.
  7. Bake for 27–31 minutes or until a toothpick inserted in the center of the cake comes out clean. Cool the cakes in the pans set on a cooling rack for 1 hour. Run a knife around the edges to loosen the sides, remove the cakes from the pans, peel off the parchment, and place on the rack to finish cooling. The edges of the cakes can be crumbly; this is normal. The cakes must be completely cool before frosting and assembling.
  8. Make the frosting:

    In a large bowl 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, 4 Tablespoons of 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 (30g) more confectioners’ sugar if frosting is too thin or 1–2 more Tablespoons of cream if frosting is too thick. Taste. Add another pinch of salt if desired.

  9. Assemble and frost:

    (For additional help with this step, see this how to assemble a layer cake video & post.) First, using a large serrated knife, slice a thin layer off the tops of the cakes to create a flat surface. Discard (or crumble over ice cream!). Place one cake layer on your cake stand, cake turntable, or serving plate. Spread about 3/4–1 cup (180–240g) of frosting in an even layer on top. Top with the second cake layer and spread about 1 cup (240g) of buttercream in a very thin layer over the top and sides to make the crumb coat. If desired, run a bench scraper around the cake to help smooth out the frosting on the sides. Refrigerate the cake until the crumb coat has set, about 20 minutes. Finish by spreading the top and sides with the remaining buttercream. Decorate the cake with sprinkles, if desired. For extra neat slices, refrigerate the cake for 30–60 minutes before slicing. This helps the cake hold its shape when cutting.

  10. Cover leftover cake tightly and store at room temperature for up to 1 day or in the refrigerator for up to 5 days. If the cake has been stored in the refrigerator, let the cake sit out at room temperature for at least 30 minutes to soften up again before serving.

Note

  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 or 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 before serving. See How to Freeze Cakes.
  2. Special Tools (affiliate links): 9-inch Round Cake Pans | Glass Mixing Bowls | Whisk | Electric Mixer (Handheld or Stand) | Silicone Spatula | Cooling Rack | Cake Turntable | Icing Spatula | Bench Scraper | Cake Carrier (for storage)
  3. Update in 2026: The original recipe called for 1 cup (226g) of butter and no oil. We reduced the butter and added a little oil to lighten the crumb and help prevent the cake from becoming overly dense.
  4. Cake Flour: Cake flour is key in this recipe. Do not use any cake flour substitutes.
  5. Eggs: You need 4 egg yolks and 2 egg whites in this cake batter, which means you’ll start with 4 whole eggs and have 2 egg whites leftover for another use. 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 yolks and egg whites separately and let them sit at room temperature for at least 20 minutes before beginning the recipe.
  6. Buttermilk: Buttermilk is required for this recipe.
  7. Cream of Tartar: This is an important ingredient that helps the egg whites whip into lofty, fluffy peaks and hold their shape when folded into the heavy cake batter. You can skip it if needed and whip the egg whites by themselves, but the cake will be a little denser.
  8. 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 two 8-inch round cake pans.
  9. 9×13-Inch Pan: You can bake this batter in a 9×13-inch baking pan (bake time will be longer, around 30–35 minutes).
  10. 3-Layer Cake: You can also prepare this cake as a 3-layer cake. Divide the batter between three 8-inch or 9-inch cake pans 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; you can double my chocolate buttercream recipe (simply double each ingredient) if you want a lot of frosting.
  11. 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.
Keywords: Yellow Layer Cake

Leave A Comment

Your email address will not be published. Required fields are marked *

Get FREE recipes delivered straight to your inbox!

Get fresh recipes and dinner inspiration