The Perfect Gluten Free White Cake

The Perfect Gluten Free White Cake

This bakery-style gluten free white cake, made without any egg yolks, is the perfect moist and tender blank canvas to dress up for any occasion.

This bakery-style gluten free white cake, made without any egg yolks, is the perfect moist and tender blank canvas to dress up for any occasion.

What is a white cake & how do you make it?

A white cake is simply a yellow cake made with only egg whites and no egg yolks. Egg yolks add a more yellow tinge to a vanilla cake and give it more of a custard-like texture.

A white cake is perfect for dressing up with food coloring to make a fancier-looking cake. And it’s also a great cake for adding sprinkles, nonpareils, or edible confetti to for a funfetti-style cake. It also makes more of a dramatic presentation than a yellow cake.

But this white cake is not just our very best gluten free yellow cake simply made without any yolks. When I decided to make a white cake, I tried just replacing the whole egg with more egg whites, without changing anything else and it works “okay.” But that cake is generally amazing, and “okay” just isn’t good enough!

The batter was really just too thick, and the cake became stale way too quickly. That means it wasn’t moist enough to start. An egg yolk is not just a yellow egg white. It has the fat of the egg in it, and fat is a tenderizer in baking. 

This bakery-style gluten free white cake, made without any egg yolks, is the perfect moist and tender blank canvas to dress up for any occasion.

I tried increasing the amount of sugar in the recipe since sugar is also a tenderizer, but again the batter was too thick. The cake was also too pale for most of the baking time and then browned too much at the end once the sugars caramelized. No good. 

Finally, I added more butter (1 more tablespoon of butter per cake, so 2 more tablespoons total in the recipe), and mixed the egg whites into the butter and sugar mixture at the start of the batter. That made a world of difference since it allowed for a vigorous beating of the egg whites without overbeating the cake batter once the flours were added.

For a truly white cake, you’ll also want to replace the pure vanilla extract, which is brown in color, with a clear vanilla flavoring. I use McCormick brand clear vanilla flavoring since I trust that their extracts and spices have clear labeling that will indicate anything gluten-containing right there on the label. 

Since the price of pure vanilla extract has gone sky high lately, I’ve been using quite a lot of vanilla flavoring in place of extract, in fact. I also sometimes like to replace some of the clear vanilla with some butter flavoring, which really gives this cake that fresh-from-the-bakery flavor and smell.

A note about the egg whites

I made this cake recipe using egg whites from the carton, and egg whites from organic eggs that I separated myself. I found that the carton egg whites worked just as well as the fresh egg whites, and of course using them was much easier. 

This bakery-style gluten free white cake, made without any egg yolks, is the perfect moist and tender blank canvas to dress up for any occasion.

The crumb coat

In the photo just above, you’ll notice that I have the cakes layered and filled, with a nice thin crumb coat on the top and sides. Whether you’re serving a layer cake to your family, the Queen of England, or just yourself, you’ll want to begin with a crumb coat.

Once you refrigerate a layer cake with a super thin layer of frosting on the top and sides, the “crumbs” really are sealed in and they won’t migrate to the frosting on the outside of the cake. Whether you’re making a messy frosting or going for a really smooth finish, crumbs just ruin the effect.

This bakery-style gluten free white cake, made without any egg yolks, is the perfect moist and tender blank canvas to dress up for any occasion.

How about that frosting?

I nearly used my recipe for ermine frosting on this cake, since it strikes such a nice balance between lightness and sturdiness. Plus, it’s not too sweet. But I do really love Swiss meringue buttercream, so I thought about making that, too. 

Since this simple recipe took so much recipe-testing to get juuuust right, though, I was too pressed for time to make any sort of multi-step frosting. I started googling an “easier Swiss meringue” frosting, and I stumbled upon this Super Easy Swiss Meringue Buttercream. There’s no heating of the egg whites, and no beating them separately, either.

The SugarHero recipe linked above begins with a mix of pasteurized egg whites (from a carton) and confectioners’ sugar. Then, you add softened butter and vanilla, and beat the heck out of it.

I made absolutely no changes to the recipe, as it’s perfect as written. It’s a bit lighter and less achingly sweet than a traditional buttercream, but it was still so easy to make. 

This bakery-style gluten free white cake, made without any egg yolks, is the perfect moist and tender blank canvas to dress up for any occasion.

Ingredients and substitutions

This is actually a rather simple recipe, and it relies heavily on dairy (butter; buttermilk) and eggs (6 egg whites!). If you make any changes, you are going to have a different cake. Here is the best advice I can give you, but you’ll have to experiment as I haven’t made the cake successfully with any substitutions:

Dairy/Butter: For a white cake, for appearances, it’s better to use Spectrum nonhydrogenated vegetable shortening in place of butter, since it’s pure white in color. However, shortening does not have any moisture, and butter has some moisture. 

If you’d like to replace the butter in this cake recipe with shortening, I’d recommend using butter-flavored Spectrum shortening as a substitute by weight (that would mean 14 tablespoons, since shortening weighs less than butter).

Watch the video, though, and pay particular attention to the appearance of the batter. I think you’ll need to add more buttermilk (I’d say about 1 1/2 tablespoons?) to get the proper consistency but go slowly. Speaking of buttermilk…

Dairy/Buttermilk: I don’t like “souring” regular milk (or almond milk) with some lemon juice or another acid as a buttermilk substitute since it doesn’t truly sour the milk. Plus, buttermilk is considerably thicker than regular milk.

Instead, if I don’t have buttermilk on hand (which I often don’t), I like to use whole milk (or for nondairy, unsweetened almond milk or cashew milk) in place of half the volume called for in the recipe. For the other half, I use plain whole milk yogurt (or plain nondairy yogurt). Whisk well, and you’ve got a perfect replica for buttermilk.

Egg-free: Since this recipe only calls for egg whites, and they’re not beaten until stiff like in a meringue, I think aquafaba (the brine from a can of no-salt-added garbanzo beans/chickpeas) would make a seamless substitute for the egg whites in the cake.

I think aquafaba would also work in the frosting recipe, but it will definitely call for some experimentation on your part.

Corn-free: If you can’t have corn, try replacing the cornstarch with arrowroot or potato starch, by weight.

A quick note about sifting flours

Okay, yes, you really do have to sift the flour with the cornstarch and the baking powder and baking soda. I hate to sift, and I rarely do it. But it makes an enormous difference in the final baked cake.

If you watch the video, you’ll see that I used a sifter. It’s this fast-and-efficient sifter from OXO (affiliate link, but shop around) and it’s been worth having.


This bakery-style gluten free white cake, made without any egg yolks, is the perfect moist and tender blank canvas to dress up for any occasion. #glutenfree #gf #cake #dessert

Like this recipe?

Prep time: Cook time: Yield: 2 8-inch round cakes


2 cups (280 g) all purpose gluten free flour (I used Better Batter)

1 teaspoon xanthan gum (omit if your blend already contains it)

1/4 cup + 2 tablespoons (54 g) cornstarch

2 teaspoons baking powder

1/2 teaspoon baking soda

1/2 teaspoon kosher salt

12 tablespoons (168 g) unsalted butter, at room temperature

1 1/2 cups (300 g) granulated sugar

1 tablespoon clear vanilla flavoring (I used McCormick brand)

6 egg whites (150 g), at room temperature

1 1/3 cups (10 2/3 fluid ounces) buttermilk, at room temperature


  • Preheat your oven to 350°F. Grease 2 8-inch round cake pans and line the bottom of each with a round of parchment paper. Set the pans aside. Into a medium-size bowl, sift (yes, you have to sift!) the flour, xanthan gum, cornstarch, baking powder, and baking soda. Add the salt, and whisk to combine well. Set the dry ingredients aside.

  • In the bowl of a stand mixer fitted with the paddle attachment or a large bowl with a handheld mixer, beat the butter until it’s pale in color. Add the sugar, vanilla flavoring and egg whites, and beat on medium-high speed for about a minute or until light and fluffy, stopping at least once to scrape the entire mixture off the sides and bottom of the bowl. To the large bowl with the butter and sugar mixture, add the dry ingredients in 3 equal portions, alternating with the buttermilk in 2 parts, beginning and ending with the dry ingredients and mixing to combine in between additions. Once all of the ingredients have been added, beat with the mixer until mostly combined, then turn over the batter a few times by hand with a spatula. It should be very thickly pourable and relatively smooth.

  • Divide the batter evenly between the two prepared baking pans and smooth each into an even layer with an offset spatula. Smack each pan flat on the counter a few times to break up any large pockets of air. Place the baking pans in the center of the preheated oven and bake for 20 minutes. Rotate the pans, and continue to bake until the cakes are lightly golden brown all over, have begun to pull away from the sides of the pan (about another 10 minutes). If the cakes have domed in the oven, place a clean oven mitt on top of each of the pans and press down gently to help flatten the tops. Allow the cakes to cool in the pans for 15 minutes before turning out onto a wire rack (and removing the parchment paper liners) to cool completely before frosting and serving.


Comments are closed.

  • Susan
    February 8, 2019 at 11:09 AM

    Can Bobs Re Mill 1 to 1 gluten free flour be substituted in place of the Better Batter flour?

    • Nicole Hunn
      February 8, 2019 at 12:13 PM

      I’m afraid not, Susan. You don’t have to use Better Batter, but you do have to use one of my recommended flour blends for the recipe to work. Sorry!

  • Kristi
    February 5, 2019 at 10:29 AM

    Could you use coconut oil in place of the butter?

    • Nicole Hunn
      February 5, 2019 at 4:09 PM

      I’m afraid not, Kristi. Please see the Ingredients and Substitutions section in the blog post for all of the information I have on how to replace the butter in this recipe.

  • Tara
    February 5, 2019 at 9:17 AM

    I made this cake last night. The batter was more like a dough consistency. It smells wonderful but feels really dense. What did I do wrong? Over mix maybe? I used real vanilla but I’m not sure that would matter. Thank you in advance for your help. I have to make another cake for Friday. Tara

    • Nicole Hunn
      February 5, 2019 at 4:10 PM

      I’m afraid I really can’t know where you deviated from the recipe as written without being there with you, Tara, but my first guesses are whether you made any ingredient substitutions (like used a flour blend that isn’t one of those I recommend (follow the link in the recipe)), measured by volume instead of by weight (it does sound like you perhaps overmeasured your flour or used an unbalanced blend), didn’t use ingredients at the proper temperature, and/or didn’t beat the wet ingredients enough before adding the flour mixture. I’m afraid that’s all I can guess without being there!

  • Mary
    February 2, 2019 at 7:47 AM

    Made this using King Arthur Gf flour. Filled with Trader Joe’s Low Sugar Raspberry Jam and frosted with vanilla buttercream frosting with white chocolate. Excellent tasted like a jelly filled donut! Thank you for the best GF cake ever!

  • Cynthia Nagy
    January 31, 2019 at 7:33 PM

    Could you PLEASE tell me what the equivalent to 12 tablespoons of butter in CUPS. …..?.THANK YOU

    • Nicole Hunn
      February 1, 2019 at 11:34 AM

      Hi, Cynthia, tablespoons and cups are both volume measurements. 1 cup = 16 tablespoons, so 12 tablespoons = 3/4 cup.

  • Connie
    January 29, 2019 at 8:14 PM

    I would love to make this for my daughter’s wedding anniversary. Do you have a suggestion on a frosting/decoration that would make this look more like a wedding cake? Can you pipe this frosting?

    • Nicole Hunn
      January 30, 2019 at 11:38 AM

      I’m afraid I’m really not a cake decorator, Connie! The frosting that I used can be piped, yes. Maybe ask the author of that recipe for more help!

  • Halli Fleener
    January 29, 2019 at 1:32 PM

    I remember a cake recipe of yours that said it should not be used for cup cakes. Would this recipe work alright in cup cake form? So appreciate your work for us!!

    • Nicole Hunn
      January 29, 2019 at 2:23 PM

      Hi, Halli, please see my reply about this to Tara just below! Hope that helps.

  • Christine
    January 29, 2019 at 11:34 AM

    Can I use Cup 4 Cup GF flour instead? Would I replace the cornstarch with more flour?

    • Nicole Hunn
      January 29, 2019 at 2:22 PM

      Sure that would work, Christine, just as you described. Replace the cornstarch with more flour, gram for gram.

  • Rachel Vaillancourt Methot
    January 28, 2019 at 9:56 AM

    I can’t have cane sugar and I would love to have a white or yellow cake that I can eat..Stevia is so bitter too, the only sweeteners I use are honey, maple syrup, maple sugar, and agave…could I replace the sugar with agave and cut back on the liquids..? Too much honey and the cake doesn’t rise right, very dense..maybe a combo? Could you help me out please?

    • Nicole Hunn
      January 28, 2019 at 10:18 AM

      I’m afraid you can’t make this cake with any of those sugars, Rachel. I’d have a look at my Paleo recipes since they all contain only unrefined sugars.

  • Tara
    January 27, 2019 at 1:38 PM

    How long should I bake them if I use the batter for cupcakes? Any idea how many I would get or do you recommend I use a different recipe for cupcakes? Thank you!

    • Nicole Hunn
      January 28, 2019 at 10:17 AM

      Hi, Tara, I actually do recommend using my recipe for vanilla cupcakes instead. I haven’t tried this recipe as cupcakes and I am of the general opinion that not every cake recipe is successful as cupcakes and vice versa!

  • Margarita Ilyin
    January 27, 2019 at 1:07 PM

    Have you tried freezing it? Just the cake without the frosting. I’m just wondering if I can make it ahead and save myself some time and leave some room for errors/ remakes

    • Nicole Hunn
      January 28, 2019 at 10:15 AM

      Hi, Margarita, yes! I have. Please see my response just below to April. Hope that helps!

  • april
    January 27, 2019 at 9:50 AM

    Hi Nicole,
    How does this beauty hold up if made in advance and what is the best way to store it?

    • Nicole Hunn
      January 28, 2019 at 10:15 AM

      Hi, April,
      Yes! This cake freezes really well. Just make sure that it’s completely cool, then wrap very tightly (I really like Glad Press n Seal for this purpose, and they at least used to have a “freezer” variety that’s a little thicker) and freeze then defrost at room temperature before frosting.

  • Nadia
    January 27, 2019 at 9:01 AM

    Hi Nicole: Can this be made dairy free and what would you suggest?

    • Nicole Hunn
      January 28, 2019 at 10:12 AM

      I discuss dairy-free ideas in the Ingredients and substitutions section in the post, Nadia!

  • Vasu Reddy
    January 26, 2019 at 12:19 PM

    What a lovely cake and recipe!

  • Alison McCullough
    January 26, 2019 at 12:31 AM

    I’m trying to go gluten free so this would be a good idea to try. Thank you

  • Mary
    January 25, 2019 at 9:18 PM

    Looks beautiful!

  • Kay R
    January 25, 2019 at 2:58 PM

    Thanks Nicole! This looks amazing. Can it possibly be as good as your best ever vanilla cake – which really is just this best ever…. ? think I’m going to have to find out and happily (?) will be requiring a birthday cake for next week. Oh – is it also strong enough to hold up too many candles?! :-)

    • Nicole Hunn
      January 26, 2019 at 1:50 PM

      This cake is a little lighter, I’d say, than the very best vanilla (yellow) cake. It’s hard to publish another cake recipe when you go out on a limb and call one the best. ?
      If it’s your birthday, hope it’s a really happy one, Kay! I refuse to make my own birthday cake, since I do all the baking around here, so my husband buys a few different GF cupcakes from a gluten free bakery in Manhattan on my birthday. They’re not usually nearly as good, but since I didn’t make them myself, they taste better!

  • Tammy Ellis
    January 25, 2019 at 2:45 PM

    Does better batter have xanthan gum in it or do l add it to this recipe? Thank you

    • Nicole Hunn
      January 26, 2019 at 1:48 PM

      Hi, Tammy, Better Batter already has xanthan gum in the ingredients list, so you don’t have to add any to use it in this recipe!

Where should I send your free guide?

By entering your email, you're agreeing to our Privacy Policy. We respect your email privacy, and will never share your information.