The Best Yellow Cake I’ve Ever Had

Soft and buttery with an extra moist crumb, this is the best yellow cake I’ve ever had. After several rounds of recipe testing, I found the secret to the most delicious yellow birthday cake is a combination of cake flour, extra egg yolks, whipped egg whites, and buttermilk. Cover this cake with my rich and creamy chocolate buttercream for the ultimate celebratory birthday cake!

yellow layer cake with chocolate frosting

If there was one supreme birthday cake to reign over all other birthday cakes, it would be… Piñata Cake. But this yellow cake comes in a close second!


This is the Best Yellow Cake I’ve Ever Had

After marble cake, zebra cake, yellow sheet cake, white cake, vanilla cake, yellow birthday cupcakes, and all of the other recipes in between, I’ve been trying to perfect this quintessential layer cake for years on end. I’ve tasted cake mixes and restaurant-quality yellow cakes, bakery cakes and professional’s homemade variations, and I can honestly say that this is the best yellow cake I’ve ever had.

Using a careful mix of cake flour, fluffy egg whites, extra egg yolks, and buttermilk, as well as starting with an extra creamy base of butter and sugar, this yellow cake is soft and buttery with an extra moist crumb. If cakes could talk, this one would brag.

slice of yellow cake

I spent the better part of this past winter testing this yellow cake recipe. We can’t achieve perfection for free, so there’s a few careful steps involved and power ingredients that you don’t want to substitute. If baking could withstand shortcuts, I’d take them, but we don’t want to mess around here. Remember, baking is a science.


Power Ingredients

  • Cake Flour: Cake flour produces that bakery-style cakey structure. Since it’s so light, the attention remains on the butter. (A stand-out flavor in yellow cake.) All-purpose flour is simply too heavy for this recipe; the cake will be heavy. If needed, use this homemade cake flour substitute.
  • Baking Powder & Baking Soda: My biggest struggle was finding the perfect amount of baking powder and baking soda. This balanced combination provides plenty of lift. It even inspired me to change/improve the leaveners in yellow sheet cake, too.
  • Butter: I tested this recipe with melted butter, just to see if I could enhance the buttery flavor while still maintaining a fluffy crumb, but my efforts were worthless. The cakes were heavy no matter how I played around with the other ingredients. For best results, stick with creamed room temperature butter and sugar. If you’re interested, review Here’s What Room Temperature Butter Really Means.
  • Eggs & Extra Egg Yolks: Eggs play a big role in this cake recipe. You need 4 eggs total– 2 whole eggs plus an additional 2 egg yolks. This equals 4 egg yolks and 2 egg whites. (You will have 2 egg whites leftover. Here are some recipes using only egg whites.) Additional egg yolks add richness, tenderness, and flavor.
  • Whipped Egg Whites: There are 2 egg whites in this recipe. Take them a step further to help fluff up the cake’s structure. Afterall, this is a butter and egg yolk heavy cake. Beat the egg whites separately, just as we do in red velvet cake, then fold them in. There’s no other way to land on a velvety rich cake texture.
  • Cream of Tartar: Whip the egg whites with cream of tartar. Cream of tartar keeps the air in the egg whites suspended so they hold their shape when mixed into the heavy cake batter and again when baked in the oven. You can skip it if needed and whip the egg whites by themselves, but the cake layers will taste denser.
  • Buttermilk: I tried a mix of sour cream and whole milk, but taste testers enjoyed the buttermilk version better. Adding flavor and moisture, buttermilk is used in many baking recipes. See recipe note about a DIY buttermilk substitute.

yellow birthday cake

Video Tutorial: How to Make Perfect Yellow Cake


Step-by-Step Yellow Cake Photos

Watch the video tutorial above and use these pictures to help guide you, too.

Make sure the butter and sugar are extra creamy. I recommend 3 full minutes of creaming:

creamed butter and sugar on a mixer flat beater attachment

Whip the egg whites and cream of tartar together, then fold them into the cake batter. The cake batter will be thick, but the fluffy egg whites lighten it up.

whipped egg whites for cake batter

two photos of yellow cake batter

If your cakes are domed on top, level them after they cool. I use a serrated knife:

leveled off yellow cake layers

Other Size Cakes

This cake batter is best for a 2 layer 9-inch cake. This recipe yields about 5 cups of batter, which is helpful if you need it for different Cake Pan Sizes & Conversions. You can bake this yellow cake in a 9×13 inch baking pan, but I found it tasted on the heavier side. Instead, I recommend my Yellow Sheet Cake.

And for cupcakes? Here is my favorite yellow cupcakes recipe, which includes directions for mini cupcakes too. Same unbelievable texture as this cake!


Chocolate Frosting for Yellow Birthday Cake

Like my triple chocolate cake, I use my favorite chocolate buttercream. I slightly increase the amount of each ingredient to produce extra frosting. If you prefer a thinner layer of frosting, use the chocolate buttercream recipe. Because there is no leavening occurring, you can use either dutch-process or natural cocoa powder in the buttercream. Heavy cream provides an extra creamy frosting, but milk can be substituted if needed.

This frosting is a little fluffier than the chocolate fudge frosting on the yellow sheet cake. Feel free to swap frostings or use the the vanilla buttercream in my white cake recipe!

chocolate frosting in a bowl and on a cake

chocolate frosting and sprinkles on a yellow cake

Print
yellow layer cake with chocolate frosting

Yellow Birthday Cake

  • 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. Review my video tutorial above and recipe notes below before beginning.


Ingredients

  • 2 and 1/4 cups (260g) cake flour (spoon & leveled)*
  • 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
  • 2 large eggs + 2 additional egg yolks, room temperature and separated (see note)*
  • 2 teaspoons pure vanilla extract
  • 1 cup (240ml) buttermilk*
  • 1/8 teaspoon cream of tartar*

Chocolate Buttercream

  • 1.25 cups (2.5 sticks or 290g) unsalted butter, softened to room temperature
  • 34 cups (360-480g) 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 cake pans, line with parchment paper rounds (see #6 in Cake Baking Tips), then grease the parchment paper. Parchment paper helps the cakes seamlessly release from the pans. 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. Set aside.
  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, 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 another Tablespoon of cream/milk if frosting is too thick. Taste. Add more salt if needed. (I usually add another pinch.)
  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 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. Cake Flour: Cake flour is key in this recipe. If you can’t get your hands on cake flour, use this cake flour substitute.
  3. 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 the butter is at room temperature in order to properly cream with the sugar and be the proper base for the buttercream. Read: Here’s What Room Temperature Butter Really Means.
  4. Eggs: You need 2 whole eggs (separated) plus an additional 2 egg yolks. This equals 4 egg yolks and 2 egg whites. (You will have 2 egg whites leftover. Here are some recipes using only egg whites.) 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 4 yolks and 2 whites, cover them and set aside for at least 20 minutes before starting.
  5. 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.
  6. 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.
  7. Amount of Cake Batter: This recipe yields about 5 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.
  8. 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.
  9. 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 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.
  10. 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: cake, yellow cake, birthday cake, chocolate frosting

For the sheet cake version, here is my yellow sheet cake recipe.

9x13 inch yellow sheet cake in pan

127 Comments

  1. Made this last week and it was unbelievable- the perfect balance of flavors! Your site has become my go-to place for baking recipes. Thank you!

    1. Made this today with Sally’s chocolate cream cheese frosting and it was absolutely perfect! The cake was light, airy, and moist with beautiful caramelized edges that reminded us of crème brûlée. I replaced the milk in the frosting with buttermilk and reduced the amount of powdered sugar to 2 cups. The cake was very sweet but the tang of the cream cheese frosting balanced it out perfectly. Thank you for the amazing recipe.

  2. Charlotte H says:

    This looks great – can I use Brodie self-raising cake flour and just omit the salt and baking powder?

    1. Hi Charlotte, The use of self rising flour would require additional recipe testing. Best to stick with cake flour (or homemade cake flour substitute).

  3. I made this recipe this week for my birthday. Yellow cake with chocolate frosting was always my birthday cake request when I was younger and I’ve never been able to make a version from scratch that tasted good AT ALL. This one is just as your title says: The BEST Yellow Cake I’ve Ever Had! Thank you for this! 🙂

  4. Hi Sally can I substitute oil for butter?

    1. Hi Monique, it’s not possible to cream oil. The creaming step is crucial to this cake’s texture. You’ll also lose a lot of flavor. You could try solid coconut oil instead, but I fear the texture will be greasy (and, of course, lacking butter flavor).

  5. Kaleigh McCullough says:

    I made this recipe for Father’s day and received so many compliments. I did not have one problem with this cake. It was the moistest cake I have ever made and eaten! So delicious!!

  6. Martha Martinez says:

    Hi Sally. I made this cake last week with Steve’s GF Cake Flour. It was, literally, the best yellow cake my family and I ever had. It was moist and beautiful, and if you didn’t know it was GF, you never would have guessed it. Thanks so much for the recipe.

  7. Tiffany Duncan says:

    Can this recipe be made into cupcakes? I noticed there were a few different ingredients in the cupcake recipe. So I’m curious on why the difference? Which would be the best route to take?

    1. Hilari @ Sally's Baking Addiction says:

      Hi Tiffany, to bake as cupcakes, see recipe note #10. In this layered cake, buttermilk creates a slightly lighter texture which is desirable for layer cakes since you’re stacking cakes on top of one another, weighing them down. Because there’s a lot of fat present (egg yolks), using buttermilk helps keep it slightly lighter. For the yellow cupcakes, we skip whipping the egg whites. Whipping the egg whites helps produce an extra fluffy texture in layer cakes that can otherwise become dense from being squished down. I don’t find that added step necessary for these cupcakes. Either way, you can’t go wrong! If you want a smaller batch of cupcakes, make the yellow cupcakes recipe, and for a larger batch (2-3 dozen), make this layered cake into cupcakes.

  8. I made this cake over the weekend for my birthday and we are still eating the leftovers of it three days later! I have been told multiple times this is the best yellow cake they have ever had!!!
    Thanks Sally for the great recipe!

  9. Thanks for the recipe! I had a little trouble – followed to a tee, but cakes were still very wet at 27min and had to go 35 total – after coming out the tops concaved a bit and the sides curved in – two ideas of mine is that I let the butter get too warm before creaming (it’s a warm day) and second that I used the convection oven which might have cooked the outsides too early? Any thoughts? Thanks again – it tastes great!-

    1. Stephanie @ Sally's Baking Addiction says:

      Hi Scott, You are likely right on both accounts. Butter that is too warm won’t cream properly. The creaming process is when butter traps air. While baking, that trapped air expands from the heat and produces a fluffy baked good. As far as your oven, I always recommend baking on conventional settings. Save the convection setting for savory items (like when roasting veggies or cooking meats). Things overbake quickly on convection setting but if you still wish to use it the general rule of thumb is to lower the temperature by 25 degrees.

  10. Fantastic recipe! Moist, rich, flavorful, The only thing I’d change is increasing the amount of frosting. It may be that the people I know are frosting hounds, but this was a big sparse.

1 2 3

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

With kitchen-tested quality recipes and step-by-step tutorials, my goal is to give you the confidence to bake and cook from scratch.

Sally's signature

Recipes You’ll Love

Archives

Categories

Join the community on the 1st of every month as we tackle a new challenge recipe. Review Sally's Baking Challenge FAQ page if you have any questions.

View More

A tradition since 2013, every December we countdown to Christmas with 10 new cookie recipes in a row!

View More

The first week of every November is all about Thanksgiving Pies.

View More

My Cookbooks

Sally's Cookbooks

About Sally

Welcome to my Kitchen!

I’m Sally, a cookbook author, photographer, and blogger. My goal is to give you the confidence and knowledge to cook and bake from scratch while providing quality recipes and plenty of pictures. Grab a cookie, take a seat, and have fun exploring! more about Sally

×