The Perfect White Cake

This is the PERFECT white cake with a soft texture, moist crumb, and wonderful vanilla flavor; plus, it tastes incredible with creamy vanilla buttercream. Cake flour, egg whites, and sour cream are the secrets to the best texture. The cake batter is my gold standard and I use it as the base for many other cake flavors including strawberry cake, coconut cake, pistachio cake, burnt sugar caramel cake, and more.

slices of white cake with vanilla frosting on assorted plates on light pink gingham linen.

I originally published this recipe in 2017 and have since added new photos and a few more success tips.

One reader, Shandra, commented:This. Cake. Is. Excellent! Thank you, Sally, for such a delicious recipe. For my preference, this hit the spot on tenderness, fluffiness, and taste (which to me means non-eggy). And the frosting is excellent as well! Archived as my #1 white cake recipe. Yum! โ˜…โ˜…โ˜…โ˜…โ˜…

Why This Is My Best White Cake Recipe

This white cake recipe is adapted from my perfect vanilla cupcakes, a longtime reader favorite. The cake is my definition of *cake perfection* and has become one of the most popular cake recipes on my website. This recipe is such a fan favorite, that it deserved a spot in print! You’ll also find it printed in my cookbook, Sally’s Baking 101 (which is now a New York Times Best Seller!). Here’s why:

  • Soft & airy crumb
  • Fluffy, but not eggy
  • Pure sweet flavor
  • Stick-to-your-fork moist & tender
  • Completely from scratch
  • Easy & approachable dessert recipe

I love this cake so much that I used it as the base for several other cake recipes I have published including espresso chocolate chip cake, pineapple coconut cake, cookies and cream cake, chocolate chip cake, plus more listed below. I even reduced the quantity of cake batter down to make the perfect 1-layer pineapple upside down cake.

It’s my flagship cake recipe, and I crown it with the smoothest, creamiest vanilla buttercream. Rainbow sprinkles add a little glitz and glamour because… what’s cake without sprinkles?

slice of white cake being taken away from cake stand.

In the past 7 years, I’ve made this cake so frequently that I have the recipe memorized. I’m talking birthday parties, baby showers, summer parties, anniversaries, and even a couple bake sales. There are several success tips I’ve picked up along the way, and I’m thrilled to share them with you so you can enjoy cake perfection on your 1st try.

White Cake Success Tips

  1. Cream the Butter: To achieve a good rise, properly cream the butter and sugar together. You have the crutch of baking powder and baking soda, but the cake’s crumb truly sings when that creaming process steps in. If you’re new to this technique, this quick tutorial and video walk you through how to cream butter and sugar.
  2. Use Only Egg Whites: Do not use egg yolks. Using only egg whites not only gives you a pristine white cake, but also it ensures that the crumb is not weighed down by the fat in egg yolks. Think about it: lighter confections such as marshmallows and angel food cake require only the egg whites. It’s the same story here. You need 5 large egg whites in this cake.
  3. Use Pure Vanilla: You need pure vanilla extract for this cake, and a full Tablespoon in the cake batter. You’ll really taste it, so don’t skimp on the amount. If you have a vanilla bean, go ahead and scrape the beans from half of it into the batter for extra flavor, or you can swap the extract for the same amount of vanilla bean paste.
  4. Sour Cream Instead of Egg Yolks: Sour cream is the cake’s security blanket. While it contains fat like the egg yolks would, it doesn’t really weigh down the crumb. It’s pure moisture and adds the most creamy, tender texture to every bite. It plays the same important role in coffee cake, too.
  5. You Need Cake Flour: Cake flour is almost 30x finer than all-purpose flour. Using it is a surefire way to achieve a delicate, soft-as-a-pillow texture. It’s sold in the baking aisle and you can use the rest of the box in any of these recipes that use cake flour including my popular confetti cake.
  6. Room Temperature: Make sure all of your ingredients are at room temperature. When ingredients are the same temperature, they bind together more readily than if you had some cold and some warmer ingredients. Colder ingredients, especially egg whites, will produce a thicker batter and, since it’s cold, will take longer to bake. This changes everything.

Room-Temperature Ingredients

If a recipe calls for room-temperature eggs orย any other ingredient such as milk or sour cream, make sure you follow suit. Recipes donโ€™t do that for funโ€”room-temperature ingredients emulsify much easier into batter, which creates a uniform texture throughout your baked good. Think of cold, hard butter. Itโ€™s impossible to cream cold butter into a soft consistency. Same goes for eggsโ€”they add much more volume to the batter when theyโ€™re at room temperature. Place your eggs in a glass of warm water for 10 minutes, and you can briefly warm the milk and sour cream (separately) on the stove or in the microwave to bring up the temperature. Here’s my trick for bringing butter to room temperature quickly.

ingredients on marble counter including vanilla, sour cream, egg whites, cake flour, and butter.
cake batter in glass bowl.
cake batter spread into 2 9-inch round cake pans.

This Is a 2-Layer 9-Inch Cake

You need two 9-inch round cake pans for this batter. This batter does not fit into two 8-inch cake pans (it’s too much). Three 8-inch pans work, as seen here in my fresh berry cream cake, but the layers are thin. If you want to make a 6-inch cake, use this 6-inch cake recipe, which is scaled down from today’s batter. Feel free to visit my cake pans & conversions page if you have any questions about changing the pan size.

Make sure you line your cake pans with parchment paper rounds, to help the cakes seamlessly release from the pan. If you need recommendations for round cake pans, I really like Fat Daddio’s pans and these Wilton cake pans.


White Cake Decoration

While the ingredients in the cake batter don’t leave any room for substitutions, we can have some fun with a variety of frostings. I prefer vanilla frosting, which I include in the recipe below. But I encourage you to play around with chocolate buttercream, rainbow chip frosting, or chocolate cream cheese frosting (also delicious on this zebra cake!). For a lighter, less sweet option, I love pairing this cake with whipped frosting. Each of these frostings are absolutely remarkable on this lovely cake. The vanilla frosting makes a lot, so expect a thick layer between the cakes.

*Crumb Coat Details*

To ensure the layer cake is stable, it’s important to apply a crumb coat. A crumb coat is a thin layer of frosting on the exterior of the cake that locks in any loose crumbs and helps stabilize the layers. After you stack the 2 layers with frosting in between, cover the top and sides of the layered cake with a very thin layer of frosting (about 1 cup). If desired, run a bench scraper around the cake to help smooth out the frosting. Refrigerate the uncovered cake for at least 20 minutes and up to 1 hour to โ€œsetโ€ the crumb coat. Then cover the top and sides with the remaining frosting. This detailed how to assemble and decorate a layer cake post is a great guide!

spreading frosting on white cake layer and cake shown again with crumb coat.
vanilla frosted cake with rainbow sprinkles on white ruffled cake stand.
slice of white cake with forkful taken out on ruffled ceramic plate.

Here Are All the Cake Flavors Made From This Perfect Batter

It’s impressive that this combination of ingredients can produce so many cakes. I will ALWAYS turn to this recipe.

To Change the Cake Pan Size:

Can I use 8-inch pans?

This batter does not fit into two 8-inch cake pans (it’s too much). Three 8-inch pans work at the same oven temperature, as seen here in my fresh berry cream cake, but the layers are thin.

Can I make this into a 6-inch cake?

If you want to make a 6-inch cake, use this 6-inch cake recipe, which is scaled down from this batter.

Can I make this into a Bundt cake?

Yes. Same oven temperature. This batter will fit into a 10 to 12-inch Bundt pan. I’m unsure of the exact bake time, so use a toothpick to test for doneness.

Can I make this into a 9×13-inch cake?

Yes. Same oven temperature. Simply pour the batter into a greased and lightly floured 9×13-inch pan and bake for 38 minutes, or until a toothpick inserted in the center comes out clean.

Can I use this for a tiered cake?

I recommend following my Homemade Wedding Cake recipe as a guide for a tiered cake, and it will be best to use cake dowels and boards for support. The bottom tier of that cake is sturdier than this white cake, though the flavor is pretty identical.

Can I make this into cupcakes?

My vanilla cupcakes recipe is essentially this same recipe, only halved. If you want more cupcakes, you can follow this white cake batter recipe and use the baking instructions for the cupcakes.

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
slice of white cake being taken away from cake stand.

The Perfect White Cake

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.8 from 253 reviews
  • Author: Sally
  • Prep Time: 30 minutes
  • Cook Time: 24 minutes
  • Total Time: 4 hours
  • Yield: serves 10-12
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

This is the PERFECT white cake with a soft texture, moist crumb, and wonderful vanilla flavor; plus, it tastes incredible with creamy vanilla buttercream. See various flavors above and all of my recipe Notes below. This recipe is also in my New York Times best-selling cookbook, Sally’s Baking 101.


Ingredients

  • 2 and 1/2 cups (295g) cake flourย (spooned & leveled)
  • 2 teaspoons baking powder
  • 1/2 teaspoon baking soda
  • 1 teaspoon salt
  • 3/4 cup (12 Tbsp; 170g) unsalted butter, softened to room temperature
  • 1 and 3/4 cups (350g) granulated sugar
  • 5 large egg whites, at room temperature
  • 1/2 cup (120g) full-fat sour cream, at room temperature*
  • 1 Tablespoon pure vanilla extract (yes, Tbsp!)
  • 1 cup (240ml) whole milk, at room temperature*

Vanilla Buttercream

  • 1 and 1/4 cups (282g) unsalted butter, softened to room temperature
  • 5 cups (600g) confectioners’ sugar
  • 1/3 cup (80ml) heavy cream
  • 2ย teaspoons pure vanilla extract (or use clear imitation vanilla for stark white frosting)
  • 1/8 teaspoon salt, as needed
  • optional: sprinkles, for garnish


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.)
  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 egg whites and beat on high speed until combined, about 2 minutes. Scrape down the sides and bottom of the bowl as needed. Add the sour cream and vanilla extract, and beat on medium-high speed until combined, about 1 minute.ย  Add the dry ingredients and then, with the mixer running on low speed,ย  slowly pour in the milk and beat just until combined. Do not overmix. You may need to whisk it all by hand to make sure there are no lumps at the bottom of the bowl. The batter will be slightly thick. Pour the batter evenly into the prepared pans.ย 
  4. Bake for 24โ€“25 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 pan, peel off the parchment, and place on the rack to finish cooling. The cakes must be completely cool before frosting and assembling.
  5. Make the frosting: In a large bowl using a handheld mixer or stand mixer fitted with a paddle attachment, beat the butter on medium speed until creamy, about 2 minutes. Sift in the confectioners’ sugar and then add the cream and vanilla extract. Beat on low speed for 30 seconds, then gradually increase to medium-high speed and beat for 2 full minutes. Taste; beat in the salt if the frosting is too sweet. Add more confectioners’ sugar if frosting is too thin, more cream if frosting is too thick, or a pinch more salt if frosting is too sweet.ย 
  6. 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 3/4 to 1 cup 3/4โ€“1 cup (180โ€“240g) of vanilla buttercream in an even layer on top. Top with the second cake layer, upside down, and spread the top and sides with 1 cup of buttercream (240g) in a very thin layer 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.
  7. Slice and serve immediately or keep at room temperature for a few hours before serving. Cover leftover cake tightly and store in the refrigerator for up to 5 days.

Notes

  1. Make Ahead & Freezing Instructions: The cake layers can be baked, cooled, and covered tightly at room temperature overnight. Likewise, the frosting can be prepared and then covered and refrigerated overnight. Assemble and frost the cake the next day when you are ready to serve. See this post & video on how to freeze cakes for information on freezing.
  2. Special Tools (affiliate links): 9-inch Round Fat Daddio’s Cake Pans or Wilton Cake Pans | Glass Mixing Bowl | Whisk | Electric Mixer (Handheld orย Stand) | Silicone Spatula | Cooling Rack | Cake Turntable | Straight Spatula and Bench Scraper (for frosting) | Round Cake Carrier (for storage)
  3. Amount of Batter: If it’s helpful for using different size cake pan sizes and conversions, this recipe yields about 7 cups (about 1680g) of cake batter.
  4. Cake Flour: If you can’t find cake flour, here is a DIY homemade cake flour substitute you can use instead.
  5. Carton Egg Whites: You can use carton egg whites. The carton should give measurements for substituting for fresh egg whites.
  6. Milk, Sour Cream, Substituting Buttermilk: Whole milk and sour cream are strongly recommended for the best taste and texture. A full-fat plain yogurt would work instead, though the cake may not be as light. Same goes for a lower-fat milk. If you want to use buttermilk, the best way to do so is to have it replace both the sour cream AND milk in this recipe. Use 1 and 1/2 cups of buttermilk, then leave out the sour cream and whole milk.
  7. Other Cake Sizes (6-inch, 8-inch, 9×13-inch, tiered cake, Bundt cake, cupcakes): Please see FAQ above the recipe.
  8. Almond Cake: If you want to add almond flavoring, I recommend using 1.5 teaspoons almond extract and 1.5 teaspoons vanilla extract for an almond cake. I usually just do this to the cake, but you could certainly swap some of the vanilla extract in the frosting for almond extract for an even deeper almond flavor. Decorate the cake with sliced almonds, if desired.
sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sallyโ€™s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Leave a Comment

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

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

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

Reader Comments and Reviews

  1. Nancy says:
    November 23, 2025

    I made this wonderful recipe for my MIL and everyone loved it! I would like to make it again for Thanksgiving but my son will be attending and he has a corn allergy. Iโ€™m thinking of using King Arthur flour and potato starch instead of corn starch. I realize the cake crumb may be different but I donโ€™t have a choice. Can you please give me the conversion?

    Thanks

    Reply
    1. Trina @ Sally's Baking says:
      November 23, 2025

      Hi Nancy! We haven’t tested it ourselves, but would try the same ratios detailed in our cake flour substitute.

      Reply
  2. Sarah says:
    November 11, 2025

    This did not cook all the way through at 25 minutes. I should have went with my gut and cooked it for 35 but the toothpick came out clean. I should have used a butter knife for the test. I do not live in high elevation areas either so it doesnโ€™t affect the time. I tried to salvage it and put it back in but it over cooked the edges too much. Threw the entire cake away.

    Reply
  3. Laura says:
    November 7, 2025

    Hello!

    Can I use regular flour if no cake flour nor cornstarch to make cake flour? Will it still turn out ok and or more overriding concern, delicious?

    Many thanks!

    L โ˜บ๏ธ

    Reply
    1. Lexi @ Sally's Baking says:
      November 7, 2025

      Hi Laura! You really do need cake flour and not all purpose flour in this (and any cake recipe calling for it). Cake flour is much lighter. You can read more about it and also how to make your own if you donโ€™t have any in this post on Homemade Cake Flour Substitute.

      Reply
  4. Ann says:
    November 5, 2025

    Is this cake like a sponge cake? Grandson has requested a sponge cake for his birthday.

    Reply
    1. Trina @ Sally's Baking says:
      November 5, 2025

      Hi Ann! A sponge cake would be a little lighter than this recipe, with a base of whipped eggs. You can always search for a sponge cake recipe with good reviews!

      Reply
  5. Anna says:
    November 3, 2025

    So good!! Love all of Sallyโ€™s cake recipes. Next time Iโ€™d tent the cake halfway through baking. The edges got a little crispy for my liking. Delicious nonetheless

    Reply
  6. Pamela says:
    November 2, 2025

    What am I doing wrong? Iโ€™ve made this cake twice and itโ€™s not cooked in the middle after the 25 mins? Like, runny still. Iโ€™ve kept it in longer to try and cook through. I love all your recipes but I just canโ€™t get this one

    Reply
    1. Sally @ Sally's Baking says:
      November 6, 2025

      Hi Pamela, thanks so much for giving this recipe a try. Iโ€™m sorry youโ€™re having trouble with it not baking through in the center. A few things can cause this: the cake pans may be slightly smaller or filled higher than mine, which will require a longer bake time; also, an oven running a bit cool can keep the middle from setting, so itโ€™s always worth checking with an oven thermometer if you can. Be sure to place the pans on the center rack and avoid opening the oven early, as that can cause sinking. If youโ€™re able, let me know your pan size and Iโ€™m happy to help troubleshoot further!

      Reply
  7. Pat says:
    October 28, 2025

    Can this cake be used to make jello cake

    Reply
    1. Trina @ Sally's Baking says:
      October 28, 2025

      We haven’t tested that, Pat, but can imagine it would work well. Let us know if you try!

      Reply
  8. Cheryl says:
    October 28, 2025

    Oh my goodness. I made your Perfect White Cake for a co-workerโ€™s birthday today (he had requested a white or red velvet cake). Itโ€™s 8:00 AM and the cake is already half gone. It was absolutely delicious! Iโ€™m a chocolate girl myself, but this cake made me question that. I canโ€™t wait to try more of your recipes!

    Reply
  9. Jenaye says:
    October 22, 2025

    Hi! I made your Layered Berry version of this cake for the 4th and it was SUBLIME. Would you alter the recipe at all for cupcakes? Less time in the oven, for sure, but anything beyond that?

    Reply
    1. Lexi @ Sally's Baking says:
      October 22, 2025

      Hi Jenaye! Our vanilla cupcakes recipe is essentially this same recipe, only halved. If you want more cupcakes, you can follow this white cake batter recipe and use the baking instructions for the cupcakes.

      Reply
    2. Reem says:
      October 27, 2025

      Made this cake for my sons first birthday. I’ve never baked a cake before, only ever baked cookies and brownies. It turned out perfect! Everyone love it! It was my sons first taste of cake and safe to say he loved it too!

      Reply
  10. Courtney says:
    October 21, 2025

    Iโ€™ve made this before and added fresh raspberries and white chocolate chips and worked well! Just wondering if you think adding frozen raspberries would be okay ?

    Reply
    1. Trina @ Sally's Baking says:
      October 21, 2025

      Hi Courtney! We fear frozen raspberries would add too much moisture to the batter.

      Reply