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.
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. I’m even publishing it in my 2025 cookbook. 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, 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?
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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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. 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.
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.
- Elmo Cake & Cookie Monster Cake
- Cookies & Cream Sheet Cake
- Espresso Chocolate Chip Cake
- Pineapple Coconut Cake
- Fresh Berry Cream Cake
- Burnt Sugar Caramel Cake
- Coconut Cake
- Pistachio Cake
- Strawberry Cake (very popular recipe)
- Reduced batter for 1 layer: Pineapple Upside Down Cake & 1-Layer Sprinkle Cake
To Change the Cake Pan Size:
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.
If you want to make a 6-inch cake, use this 6-inch cake recipe, which is scaled down from this batter.
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.
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.
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.
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.
The Perfect White Cake
- Prep Time: 30 minutes
- Cook Time: 24 minutes
- Total Time: 4 hours
- Yield: serves 10-12
- Category: Dessert
- Method: Baking
- Cuisine: American
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. By following the recipe below and all of my success tips, you’ll enjoy an ultra-light cake, just like the kind you find at a bakery or from a box mix. But it’s all made from scratch in your very own kitchen. See various flavors above and all of my recipe Notes below.
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 extract for stark white frosting)
- 1/8 teaspoon salt
- optional: sprinkles, for garnish
Instructions
- 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.)
- Whisk the cake flour, baking powder, baking soda, and salt together. Set aside.
- Using a handheld or stand mixer fitted with a paddle or whisk attachment, beat the butter on high speed until smooth and creamy—about 1 minute. Add the sugar and beat on high speed for 2 minutes until creamed together. Scrape down the sides and up the bottom of the bowl with a silicone spatula as needed. Add the egg whites. (At this point, it’s best to use the whisk attachment.) Beat on high speed until combined, about 2 minutes. Then beat in the sour cream and vanilla extract. Scrape down the sides and bottom of the bowl as needed. Add the dry ingredients and mix on low speed until just incorporated. With the mixer still running on low, slowly pour in the milk 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 batter evenly into cake pans. Bake for around 24–25 minutes or until the cakes are baked through. To test for doneness, insert a toothpick into the center of the cake. If it comes out clean, it is done. Allow cakes to cool completely in the pans set on a wire rack. The cakes must be completely cool before frosting and assembling.
- Make the frosting: In a large bowl using a handheld mixer or stand mixer fitted with a whisk or paddle attachment, beat the butter on medium speed until creamy—about 2 minutes. Add confectioners’ sugar, cream, vanilla extract, and salt with the mixer running on low speed. Increase to high speed and beat for 3 full minutes. 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.
- Assemble and frost: 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 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 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 top of cake with sprinkles, if desired.
- 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
- 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. Frosted cake can be frozen up to 2 months if you have room in the freezer. Thaw overnight in the refrigerator and bring to room temperature before serving.
- 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 (for frosting) | Round Cake Carrier (for storage)
- Amount of Batter: If it’s helpful for using different size cake pan sizes and conversions, this recipe yields about 7 cups of cake batter.
- Cake Flour: If you can’t find cake flour, here is a DIY homemade cake flour substitute you can use instead.
- Carton Egg Whites: You can use carton egg whites. The carton should give measurements for substituting for fresh egg whites.
- 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.
- Other Cake Sizes (6-inch, 8-inch, 9×13-inch, tiered cake, Bundt cake, cupcakes): Please see FAQ above the recipe.
- 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 in the frosting for almond for an even deeper almond flavor. Decorate the cake with sliced almonds, if desired.
Just remembered this recipe, which I made at the end of August. It was a hit with my relatives and I personally loved it, too. It was not too heavy or filling, just right, with excellent taste and texture. It didn’t last long in the fridge, haha.
However, for health reasons and taste preferences, I slightly altered the recipe, using just under a cup of sugar for the cake. Instead of frosting, I used whipping cream. Between the layers, I put strawberry slices.
I recommend this recipe, and will be using this recipe if I need a good vanilla cake in the future.
This cake was absolutely delicious and so much better than the box! Thanks!
Excellent white cake and frosting. Regarding Make Ahead & Freezing Instructions, it states, frosted cake can be frozen up to 2 months if you have room in the freezer. Can the cake layers be frozen without frosting?
Hi Zoe, yes, absolutely! Cake layers can be frozen for up to 3 months.
Mine took longer than time shown and sunk in the middle
Hi Markelle, when cakes sink in the middle, it usually means that they’re slightly underbaked. How much longer did you bake them? Were your baking powder and baking soda fresh? We find they start to lose their power after about 3 months, even if not technically expired. Be careful not to overmix the batter either, which can cause cakes to bake up squat and dense. You might find these posts on top cake baking tips and how to prevent a dry and dense cake helpful to review. Thank you for giving this recipe a try!
Love the recipes hate the website. Too many ads, constantly reloading and jumpy.
Hello! Is it possible to 1.5x this recipe to make a 3-layer cake? I am asking because my daughter wants the inside of her birthday cake to have both frosting and strawberry filling. Curious if you would recommend a third layer, or should I stick with 2 layers and put the strawberry filling in with the frosting? Thank you!
Hi Lisa, you can 1.5x this recipe for a 3-layer cake, or use our vanilla cake instead. Very similar recipe! See this post for raspberry cake filling for some helpful tips on layering filling with frosting. It’s helpful to do a layer of frosting, then pipe a “dam” around the perimeter, then add your filling. Hope your cake turns out great!
Thank you so much! I followed your recipes for this cake, strawberry filling and cream cheese frosting. It was perfect!
Are you supposed to whip the egg whites first? I think not, but thought I’d double check.
No, you do not have to whip them separately before using.
I tried a variation of your strawberry cake recipe at a friend’s party yesterday. She said she pureed strawberries and mixed with a yellow cake mix — an idea she got from your blog. I’d love to make your “perfect white cake,” but I can’t seem to find out the substitutes you used. You said you reduced some of the wet ingredients for the perfect white cake to make room for the puree. What wet ingredients did you specifically reduce?
Hi Jessika! From this recipe, I reduced the sour cream and vanilla extract. This left some room for the reduced strawberry in the strawberry cake.
Hi Sally & Team!
Hi Sally & Team! Can I add sprinkles to this specific white cake recipe? I prefer these ingredients vs the Confetti cake recipe
Hi JR, You can fold in 1/2 -2/3 cup of sprinkles (jimmies, not nonpareils) to this batter for a confetti cake. Enjoy!
Im sorry for the bad review but its so dense and way too sweet. Really a disappointment for an otherwise would have been perfect birthday celebration
CAN I USE REGULAR FLOUR FOR THIS CAKE
Hi Deb, you really do need cake flour and not plain or 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.
So good! My husband wanted a classic white cake for his birthday this year. He usually asks for your carrot cake recipe every year! But this cake was so perfect. Great texture, not too sweet, just right!
I personally found this cake too buttery/oily
This will be my first time making this recipe. I need to make vanilla & some chocolate cupcakes for my grandson’s birthday this weekend. How would I change this same recipe into chocolate?
Hi Tamika, it’s best to use our chocolate cupcakes recipe instead. Hope it’s a hit!
Hi, thanks a lot for the recipe. Can you help me with a question? I am always getting a dark circle in the center that deflates and is less fluffy than the edges. Is this normal or what is it due to?
Hi I wanted to ask about adding a touch of lemon flavouring to the cake? What would you suggest?
Hi Kara, you can certainly experiment with adding lemon to this cake. You can add zest with no other changes. You can also try replacing a bit of the milk with lemon juice (but we have not tested this) or add lemon extract with no other changes. Otherwise this Lemon Cake is always a hit!
This cake is SO good! I made it with vanilla frosting the first time. Do you think chocolate frosting would be good with it too?
Hi Catherine, absolutely! You could try it with chocolate buttercream or chocolate cream cheese frosting. We’d love to know what you try!
Is there a recipe to go by to make a little more of this frosting to have enough for decorating & piping?
Thanks
Hi Whitney, you can 1.5x the recipe for a bit more frosting as needed. Enjoy!
For this recipe for the 9 by 13 pan is it for one that is 2 inch or 3 inch deep pan?
Hi Courtney, we use a 9×13-inch pan that is 2 inches deep.
Can I double this recipe for a 3 inch 9 by 13 pan?
Hi Courtney, see FAQ above the written recipe for details about a 9×13-inch cake. Enjoy!
When you say grease the pan is that just with butter of butter and flour?
Hi Sheree, we prefer to grease the pans with cooking spray, but butter would work as well. No need to add flour.
Hi Sally.
I want to make this for my daughter’s birthday & put jimmies in it to make a confetti cake. Will this do ok on this recipe?how much & should I do anything special or just fold in?
Thanks.
Love you recipes!
Hi Whitney, You can fold in 1/2 -2/3 cup of sprinkles (jimmies, not nonpareils) to this batter for a confetti cake. Enjoy!
Super urgent question since I will be using this recipe for a birthday cake this week!! What type of sour cream should I use? The recipe doesn’t specify whether it’s regular or full-fat sour cream. Thank you!
Use full fat sour cream in the cake batter.
This is the BEST cake recipe! I wish I could show how well this held up in a 6 tier cake for my kiddo’s party but it still has a wonderful fluffy texture. The frosting was perfection and my we all were fighting for the spatula. I’m adding this to my personal cook book for every birthday cake going forward. Thanks Sally and Team! <3
This recipe is indeed PERFECTION. I can’t believe it took me this long to find a good vanilla cake with just the right tenderness and sweetness. It’s not dry or too dense like other recipes. THANK YOU!!!
So glad you love it, Kathy!
This cake is amazing.
I made it for my brother in law and plan to make again next week for my husband’s birthday.
Is there a way I can incorporate biscoff to it?
Hi Debra, thank you so much! I’m sure you can use a biscoff frosting. Try this Nutella frosting, but substitute Biscoff spread.
Thank you so much Sally, your recipes are amazing.
I’ve tried so many of your recipes and have had great success each time 🙂
Is this recipe in your cookbook? If so which one? I need a cookbook with basic recipes to start??
Oh my goodness! Your recipe title is on point! I have finally found the perfect white cake recipe after trying several recipes for the past few years! Light and fluffy and so good!! Thank you!
So happy to hear you enjoyed this cake, Lili!
I have been baking from your blog. Yum!! I wonder is this cake in your cookbook? I want to order your cookbook but I need this recipe in it for a go-to! Which cookbook has it if so?
Hi Carey, thank you! (Also I saw your other comments; they were not deleted. They first appear when you leave the comment and then if you refresh the page, they will appear after they have been approved or replied to!) This recipe will be in my upcoming cookbook next year, yes! It is not in any of my current books.
I made this cake yesterday and wrapped it in saran wrap overnight at room temperature. Will it be okay to frost tomorrow, or should I bake another one?
Hi Scarlett, it should be fine tightly wrapped.
I love this recipe so much! I use it every opportunity I get. I have a large birthday party coming up and I need to make a double layer sheet cake (15.4 x 10.5 x 2). Should I just make the recipe twice? Once for each layer? Please let me know soon as the party is coming up. Thank you
Hi Joyce, here’s everything you need to know about cake pan sizes and conversions. We do recommend making separate batches rather than doubling, etc. Enjoy!
I know you’re already calling this the “perfect” white cake but it really is the PERFECT white cake. It tastes bakery quality every time I make it, almost like a luscious wedding cake. Thanks so much!