Classic Yellow Cake

10 servings
Prep Time 20 minutes
Cook Time 30 minutes
Total Time 50 minutes

Classic Yellow Cake is an old fashioned dessert recipe made with milk, flour, sugar, eggs, and butter, and flavored with vanilla extract, ready in under 60 minutes!

We know how important it is to have the best possible Cake Recipe when holidays or birthdays come around, and this yellow cake goes perfectly with Rich Chocolate Frosting, Easy Whipped Cream, or Chocolate Ganache.

Classic Yellow Cake sliced open on cake standCLASSIC YELLOW CAKE

Classic Yellow Cake is the perfect old-fashioned recipe, and a go-to for holidays and special occasions. We also love classic cakes like Red Velvet Cake and Easy Chocolate Cake instead of ordering cakes at the local bakery.

Yellow Cake prep steps in stand mixer

This cake is made from scratch using egg yolks, cake flour, granulated sugar, milk, and real butter, and traditionally coated with chocolate frosting or buttercream chocolate frosting. You can make this with all purpose flour with a few easy tweaks, but cake flour will give you the best texture.

This yellow cake recipe is perfect for making layer cakes or sheet cakes, and you can make as much or as little batter as you need. I like to pair this with chocolate frosting, but it goes well with vanilla frosting, whipped cream, or just about any other flavor you’d like. Decorate with a dusting of confectioners sugar, funfetti, fresh berries, semi-sweet chocolate chips, or even store-bought decorating icing to write on the cake.

Yellow Cake prep steps spreading frosting

Difference Between Yellow Cake and White Cake

Yellow cake and white cake have obvious differences in color, but the recipe comes down to the fat and flour in the ingredients. White cakes use a combo of shortening and butter, along with egg whites and clear vanilla extract to get the white color, while yellow cake uses egg yolks and butter, and regular vanilla.

More Classic Cake Recipes

What Makes Yellow Cake Yellow?

This yellow cake recipe calls for egg yolks instead of egg whites, and real butter, giving it that traditional yellow color similar to custard. The egg whites are protein, and can dry the cake out. The yolks are mostly fats, which adds a lot of moistness and fluffy texture to the cake, without making it too eggy.

Yellow Cake on cake stand

Making Sure the Cake Stays Moist

  • Be careful not to over-mix your Yellow Cake ingredients, which can work the batter too much and result in a dry cake. You also want to start and end with the flour to prevent this.
  • Don’t use margarine or a butter substitute, because to get a moist cake the fats and milk solids from real butter are best.
  • Make sure your cake isn’t over-baking and your oven is cooking at the temperature you set it to, using an oven-safe thermometer to measure it. This is a common problem, but you can adjust your set temperature up or down accordingly.
  • You can use half granulated sugar and half light brown sugar, because brown sugar adds a lot of moisture to baking. But keep in mind brown sugar has a molasses flavor that might affect the taste of the cake.
  • If possible, weigh your ingredients instead of measuring them with utensils. This will be more accurate, and the amount of flour in a recipe directly impacts the texture.
  • If your yellow cake still isn’t coming out right, try replacing the milk with buttermilk. The extra fat and acid in the buttermilk help the cake retain an incredibly moist texture.
  • Add more moisture by substituting part of the butter with vegetable oil.

Yellow Cake on cake stand

How to Make Yellow Cake into Lemon Cake
You can turn this yellow cake recipe into a lemon cake by adding a tablespoon of lemon zest and a teaspoon of lemon extract to the cake. This method goes perfectly with a Lemon Curd topping with fresh berries on top.

Tips for Making Yellow Cake

  • You can make this yellow cake recipe in round cake pans to make a layer cake, or in bundt pans for a decorative cake. If you use a bundt pan, you may need to add a few more minutes onto the cook time. Cook until a toothpick comes out clean.
  • Cake flour has a little bit less protein than all purpose flour, so it will give you a softer cake in the end. You can replace the cake flour in this yellow cake recipe with 1 cup (14 tablespoons) of all purpose flour, plus 2 tablespoons cornstarch.
  • Lighten this recipe up by substituting some of the butter with applesauce.
  • Use unsalted butter for this recipe because you can’t really control the amount of salt in the butter, and it can vary. If you are using salted butter, omit the salt in this yellow cake recipe.
  • You can use this recipe to make cupcakes, just reduce the cooking time by about half. Use cupcake liners if you don’t want to grease the cupcake tin.
  • Instead of chocolate frosting, use this yellow cake recipe to make a layer cake with whipped cream and strawberries, similar to a strawberry shortcake.
  • You can mix the dry ingredients together, then save them as a homemade cake mix for when you’re ready to make the cake.
  • This recipe calls for sifting the flour, baking soda, and salt together twice. Don’t skip this step, as it adds a light and fluffy texture to the cake, and makes sure all of the ingredients are evenly dispersed.
  • Dust a cup of chocolate chips with all purpose flour, then fold them into the cake batter at the last minute for a chocolate chip yellow cake recipe!
  • If you freeze this yellow cake recipe, let it completely come to room temperature before serving, or it may taste stale when it’s really just cold.
  • This yellow cake recipe calls for vanilla extract, but you can use almond extract instead.

Yellow Cake bite on fork

What’s the Best Frosting for Yellow Cake?

Yellow cake goes well with just about any frosting you have, but is classically served with chocolate frosting. You can also use chocolate buttercream, or chocolate cream cheese frosting. You could also serve it with fresh fruit and Whipped Cream for a lighter version.

Great Toppings for Yellow Cake


  • Serve: Refrigerate Yellow Cake within two hours of frosting it. Unfrosted, the sheet cake can be at room temperature for up to 3 days if sealed with saran wrap.
  • Store: Store Yellow Cake in an airtight container in the fridge for up to 1 week. Bring to room temperature to serve for best taste.
  • Freeze: Freeze a frosted or unfrosted Yellow Cake for up to 3 months. Cover pan tightly with plastic wrap and aluminum foil to store. Thaw overnight in the refrigerator before bringing to room temperature to serve.

Yellow Cake slice on plate

Pin this recipe now to remember it later

Pin Recipe

Classic Yellow Cake

Classic Yellow Cake is an old fashioned dessert recipe made with milk, flour, sugar, eggs, and butter, and flavored with vanilla extract, ready in under 60 minutes!
Yield 10 servings
Prep Time 20 minutes
Cook Time 30 minutes
Total Time 50 minutes
Course Dessert
Cuisine American
Author Sabrina Snyder


  • 2 cups cake flour*
  • 2 teaspoons baking powder
  • 1/2 teaspoon salt
  • 1 cup unsalted butter , softened
  • 1 1/2 cups sugar
  • 8 large egg yolks
  • 3/4 cup whole milk
  • 2 teaspoons vanilla extract
  • chocolate frosting (for frosting)


  • Preheat oven to 350 degrees and butter and lightly flour two 9 inch cake pans.
  • Sift your flour, baking powder and salt together in a medium sized bowl together twice.
  • In a stand mixer cream your butter and sugar together until lightened in color and fluffy (about 2-3 minutes) before adding in the vanilla and egg yolks one at a time making sure the egg is fully incorporated before adding in the next one.
  • Add in the baking powder, salt, then ½ cup batches of the flour at a time alternating with ¼ cups of milk until just combined (beginning and ending with flour - do not over beat, this will make a dry cake - beat only until the flour is JUST combined).
  • Pour into the cake pans evenly and bake for 18-30 minutes until a toothpick comes out clean.



* or 1 cup + 14 tablespoons all purpose flour mixed with 2 tablespoons cornstarch
Note: click on times in the instructions to start a kitchen timer while cooking.


Calories: 429kcal | Carbohydrates: 50g | Protein: 6g | Fat: 23g | Saturated Fat: 13g | Cholesterol: 206mg | Sodium: 135mg | Potassium: 151mg | Sugar: 31g | Vitamin A: 805IU | Calcium: 83mg | Iron: 0.7mg
Keyword: yellow cake

Classic Yellow Cake collage

About the Author: Sabrina Snyder

Sabrina is a professionally trained Private Chef of over 10 years with ServSafe Manager certification in food safety. She creates all the recipes here on Dinner, then Dessert, fueled in no small part by her love for bacon.

Sabrina Snyder is a professionally trained personal and private chef of over 10 years who is the creator and developer of all the recipes on Dinner, then Dessert.

She is also the author of the cookbook Dinner, then Dessert – Satisfying Meals Using Only 3, 5 or 7 Ingredients, published by Harper Collins.

She started Dinner, then Dessert as a business in her office as a lunch service for her coworkers who admired her lunches before going to culinary school and becoming a full time personal chef and private chef.

As a personal chef Sabrina would cook for families one day a week and cook their entire week of dinners. All grocery shopping, cooking and cleaning was done along with instructions on reheating. As a private chef she cooked for private parties and cooked in family homes in the evenings for families on a nightly basis after working as a personal chef during the day.

Sabrina has been certified as a ServSafe Manager since 2007 and was a longstanding member of the USPCA Personal Chef Association including being on the board of the Washington DC Chapter of Chefs in the US Personal Chef Association when they won Chapter of the year.

As a member of the community of food website creators Sabrina Snyder has spoken at many conferences regarding her experiences as a food writer including the Indulge Food Conference, Everything Food Conference, Haven Food Conference and IACP Annual Food Professionals Conference.

Sabrina lives with her family in sunny California.

Dinner, then Dessert, Inc. owns the copyright on all images and text and does not allow for its original recipes and pictures to be reproduced anywhere other than at this site unless authorization is given. If you enjoyed the recipe and would like to publish it on your own site, please re-write it in your own words, and link back to my site and recipe page. Read my disclosure and copyright policy. This post may contain affiliate links.


Leave a comment & rating

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

Recipe Rating

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


    1. It may take a bit longer to bake. Just use the “toothpick test” method and keep an eye on your cakes which will be a bit thicker. Let us know how they turn out!

  1. My husband’s favorite! I don’t need a box anymore because this texture is perfect 🙂

  2. I make this cake multiple times a year for birthdays and holidays. Every time I make it, everyone loves it!

  3. I make this cake on Sunday’s sometimes for my husband. He just ate a slice. He loves this cake. Such a easy recipe and good moist cake.
    Thanks for the recipe.

  4. I read a user was going to swap buttermilk instead of whole milk. Is the whole milk there for fat, liquid, and protein, or just for fat and liquid? I ask because with amount of eggs, I was thinking it might not be protein. I am considering modifying this to make an orange cake, using orange sugar, a smidge of orange extract or orange juice but if the milk is for protein purposes to, I need to be mindful of the juice versus extract. Your thoughts would be appreciated. I cannot wait to try this. The photo of your crumb on the cake looks like silk.

    1. I haven’t recipe tested any of those changes, and the fat in the whole milk definitely helps keep the cake moist. I don’t think anyone is eating cake for the protein! I don’t know how the orange sugar would affect this recipe but I’d love to hear how it turns out!

  5. Hi Sabrina,

    You mention weighing the ingredients but the amounts aren’t listed as such. Will you provide, please?

    1. Sure:) If you click on the metric conversion in the recipe card. It will show you the measurements in grams. Good luck!

  6. Can you substitute buttermilk or sour cream for the whole milk? I suppose I would need to add some soda, if buttermilk is okay to use. I made an angel food cake and I have a lot of egg yolks. This would be a good recipe to use for the egg yolks. I would appreciate your comments about using buttermilk or sour cream. Thanks!

  7. I made this for my dad for Father’s Day, it turned out great and I can’t wait to give it to him! Thanks so much!

  8. Hello I was wondering it it was possible to make this cake with all purpose because I don’t have any cake flour. If so about how much should I use?

    1. Yes, you can use all purpose flour. There is a note at the bottom of the recipe card with instructions for that substitution. Enjoy!

  9. If I’m making this a lemon cake, do I add 1 teaspoon of lemon extract as well as the vanilla or in place of? Also, do you think this would pair well with an orange buttercream frosting? I’m making it for a bridal shower this weekend and my friend has a sunset themed wedding so I thought a pretty orange frosting would be good 🙂

  10. Any idea why my cakes fell a little after I set them (still in the pans) on the cooling rack? I haven’t frosted them or tasted yet, but hoping for the best! Thanks for sharing.

    1. Oh no! A few things could have caused them to sink in a bit. Overbeating the batter, opening or closing the oven door too harshly while baking or even if it’s placed in a drafty place to cool can all lead to them falling a bit. Hope this helps for next time.

  11. Hey…you only list the amount of baking powder in the ingredients list, yet you say in the directions that baking soda gets added/sifted at one point…and the baking powder gets added later on.
    What gives? How much baking soda should be going in there?
    Planned on making this recipe for my son’s birthday cake…and now, because there is an error in the recipe, I’ve got to find another one that uses the same or similar ingredients.
    How in the heck did all these other people manage to make this cake without spotting this error?

    1. I’m so sorry. Thank you so much for catching that. I’ve edited the recipe card to read correctly now. It should just be baking powder used.

  12. Perfect! I’ve been on the hunt for a moist yellow cake recipe for a looong time. Can’t wait to give this one a try!

  13. Today was the first time making the Yellow Cake. I asked my husband to tell me how it tasted. He said, “Yeah, you can make that for me anytime.” It was a hit!