This post may contain affiliate links. Please read our disclosure policy.

The impossibly light, moist and tender crumb of this cake makes it (yes, really) the very best gluten free vanilla cake you've ever had.

This cake is so light and airy, it proves, once and for all, that gluten free baked goods can be just as good, if not better, than conventional gluten cakes.

round yellow gluten free cake on white plate with a fork
Want to save this recipe?
Enter your email and weโ€™ll send it to you! Plus, get new recipes every week.
Please enable JavaScript in your browser to complete this form.

What makes this the best gluten free vanilla cake recipe?

It may be bold, but this cake isn't just the best gluten free vanilla cake. It's the cake that you serve to people who can eat as much gluten as they want, and they ask if they can make it at home with their conventional flour.

I tell them that they can have the recipe, since it's right here on the blog. But they can't make this cake without our gluten free all purpose flour. They have their recipes; leave us ours.

Please realize you must use one of my recommended all purpose gluten free flour blends for this recipe to work. Please click through for complete information on brands (usually, Better Batter or Cup4Cup), my “mock” recipes to make those blends yourself at home, and information on why they work and why others don't.

The secret to gluten free cake success

The secret to the very best vanilla cake recipe, gluten free, is in the balance of ingredients at the proper temperatureโ€”and in the method. Read the recipe through carefully first, follow it closely, and you'll know you can make a vanilla cake, gluten free, with an open crumb and tons of delicate flavor any time. If you'd like to save on time, combine the dry ingredients in step 2 in the recipe below in a sealed container for a sort of dry cake mix to make later.

The most important parts of the method are using one of my recommended gf flour blends, sifting it well, and beating the butter and sugar together until they're light and fluffy. And your ingredients must be at room temperature before you begin, or they won't combine properly no matter what you do.

For more general tips before you begin to assemble your ingredients for this amazing, tender gluten free cake, try reading our beginner's guide to gluten free baking. For a desserts overview, including a guide to the top 20 recipes on the blog, our gluten free desserts guide.

You may notice some negative reviews sprinkled in among the positive ones commenting on this recipe. They were left by people who used the wrong gf flour blend, didn't measure by weight, didn't sift, didn't combine the dry and wet ingredients separately first, beat the butter and sugar for long enough, etc.

In other words, they didn't follow the recipe as written! I wish it were as simple to make a perfect gluten free vanilla cake as it is to make, say, a one bowl gluten free banana bread.

I can only tell it like it isโ€”and happily I can guide you through each step toward complete recipe success. It's all worth it!

yellow gluten free cake batter being beaten in a stand mixer with paddle attachment

Simple pantry ingredients for a yummy gluten free cake

This cake doesn't call for super specialized ingredients; instead you'll only need classic gluten free pantry ingredients. It's made with basic vanilla cake ingredients like butter, sugar, eggs, vanilla, and buttermilk.

Unlike our one bowl gluten free chocolate cake, to get the best vanilla cake youโ€™re going to have sift the dry ingredients. Yes, you really do have to if you want that super tender, non-grainy crumb.

Then, beat the heck out of the butter and sugar before you even think about adding anything else. A stand mixer is great, but a handheld mixer works just as well provided youโ€™re willing to stand there, beating and beating for at least 3 minutes.

Two round cake pans with gluten free cake batter and an offset spatula on top of one

Choosing cake pans for this easy gluten free vanilla cake

I like to bake these cakes in 2 aluminum 8-inch round cake pans to make a layer cake They bake evenly in about 30 minutes at 350ยฐF, and never dome even if my oven has some hot spots (which all ovens do).

If you'd rather bake the cake in 9-inch cake pans, just reduce the baking time accordingly. You'll have to watch it carefully after the initial 20 minutes. And your layer cake will be wider, and a bit less tall.

Don't bake in a dark colored pan or in a glass pan. They attract and conduct too much heat, so your cake may burn on the bottom or the edges before it's baked all the way through to the center.

If you'd like, you can also use 8-inch square pans. The baking time should be the same as with 8-inch round cake pans.

Overhead image of 2 yellow gluten free cakes in round metal baking pans on wire rack

Choosing the right gluten free flour blend for a perfect vanilla cake

I'm partial to Better Batter gluten free flour's original blend for nearly all of my gluten free recipes. If you can't buy it online, you can always use my mock Better Batter blend recipe to make your own.

If you are using a higher starch all purpose gluten free flour blend like Cup4Cup (or my mock Cup4Cup), replace the cornstarch in this recipe with an additional 54 grams of your flour blend.

Do not try to make this recipe using one of the lower-quality flour blends that use gritty, poor quality rice flour. Bob's Red Mill is a particularly bad one, and your cake ingredients won't combine properlyโ€”and your cake will taste gritty.

I can't stress this enough. I want you to be successful! This cake may be a bit of a diva, but she's 100% worth it!

Overhead image of round gluten free yellow cake on wire rack

Deciding on a frosting for your gluten free vanilla cake

I usually frost this cake with a stiff vanilla buttercream frosting, especially when I make it into a layer cake. It holds its shape really well and protects the cake from drying out like a softer frosting but without wilting. If you'd really like to dive in, please see our full discussion of gluten free frosting recipes, tips, and FAQs.

The simplest way to a lovely, basic gf frosting is to just beat 10 to 12 tablespoons (140 to 168 grams) unsalted butter, at room temperature, until light and fluffy. Add vanilla extract and/or the seeds from the inside of a vanilla bean, and begin with 2 cups (230 grams) confectioners' sugar.

Beat until well-combined. Add more confectioners' sugar as necessary to make the frosting as stiff as you'd like it.

Test the consistency by running your finger through it, but only after beating the frosting really well. If it's stiff enough, it won't stick to your fingers very much.

2 layer gluten free vanilla cake with white frosting in center and on top on metal turntable

Storing your gluten free vanilla cake

I like the look of a “naked cake,” which just means that it's frosted fully in between the layers and on top. The sides have a very thin crumb coat, and that's enough to keep in the moisture.

If you'd like to serve a few slices of this perfect vanilla layer cake and then store it at room temperature for a few hours, just after taking a slice, use leftover frosting to cover the missing area, extending the cake's life in the fridge.

Tips for making the best gluten free vanilla cake

Beat the room temp butter and sugar well for an airy crumb in your gf cake

The buttermilk in this recipe tenderizes the crumb so it has a tender mouthfeel. But the airy, open tenderness you can see clearly in the photos and the video comes from air being incorporated into the batter at the start.

Make sure your gluten free vanilla cake is cool before frosting

When you first remove them from the oven, let the cakes cool in the pan for 15 minutes. This allows them to firm up enough that they won't fall apart when you move them.

After 15 minutes, turn the cakes over onto a wire rack to cool 100% before you handle or frost them at all. If your cake has any residual heat at all, your frosting will melt.

One slice of gluten free cake vanilla layer cake with white frosting in center on white plate with fork in corner of slice

FAQs

Is vanilla extract gluten free?

Yes, pure vanilla extract is gluten free because distilled alcohol is gluten free. See: Gluten Free Living Magazine.

Why did my cake sink as it cooled?

If your cake baked and appeared done, but sunk as it cooled, it wasn't baked properly all the way in the center. That is usually due to a too-hot oven that bakes the outside of the cake until well done before the inside is done.

Can I use this gf vanilla cake recipe to make cupcakes?

I don't recommend using this cake recipe to make cupcakes, since it's easier to make cupcake batter than it is cake batter. Use my recipe for the perfect gluten free vanilla cupcakes, which don't require any sifting, instead!

Can I use this easy gluten free vanilla cake recipe to make a sheet cake?

No, I don't recommend using this recipe to make a vanilla sheet cake. A sheet cake is a larger, rectangular cake that tends to burn on the bottom center.
Use our recipe for gluten free vanilla sheet cake instead. It's easy to make, easy to frost, and always makes for a great celebration!

Does this gluten free cake recipe need xanthan gum?

Yes, you must use xanthan gum or an all purpose gluten free flour blend that contains xanthan gum, to make this cake. Without any xanthan gum, the cake won't hold together properly, and it will go stale much more quickly, too.

Can you freeze this cake after it's baked?

Yes! To freeze the cake whole, wrap it very tightly and defrost at room temperature before slicing and serving. To freeze slices, wrap them tightly and freeze individually, then defrost at room temperature. It's always best to freeze the cake before it's frosted, but if you're storing leftover and they're already frosted, defrost slices in the refrigerator overnight.

Closeup image of one slice of vanilla gluten free cake with white frosting with fork with crumbs on small white plate

Ingredient substitutions

Iโ€™ve tried this cake every which way, and this is truly the best. If you need to modify the ingredients, of course the cake will be different.

Dairy free

For dairy-free, I recommend vegan butter like Miyoko's Kitchen or Melt brands in place of butter. Try 1:1 by weight. You can also try Spectrum brand nonhydrogenated butter-flavored vegetable shortening.

You'll need a buttermilk substitute. Try half unsweetened almond milk by volume and half nondairy plain yogurt in place of the buttermilk.

I really don't like a simple milk + acid like lemon juice or vinegar as a buttermilk replacement. That only replaces the acid, but not the thickness of buttermilk. The half milk half yogurt swap is the best.

Maybe you'd like to make a white cake, instead of this yellow cake. My recipe for gluten free white cake is perfect for adding food coloring for a special occasion. If you're looking for a super light white cake, you might prefer our gluten free angel food cake, made without any egg yolks (only whites) and even without any butter.

If you'd like to turn this cake into a two-layer homemade Funfetti cake, we have a gluten free birthday cake recipe. That recipe also has recipes for chocolate sour cream frosting for the center of the cake, and chocolate icing for on top. *chefskiss*

Egg free

I have not tried this cake with an egg substitute. But I'm afraid I just can't see working out very well since this cake is very egg-dependent.

My typical egg replacement suggestion is a “chia egg” (1 tablespoon ground white chia seeds + 1 tablespoon lukewarm water, mixed and allowed to gel). But this cake calls for mostly egg whites, and a chia egg is not an egg white substitute.

If you're feeling adventuresome, you can try replacing the whole egg with a chia egg and the egg whites with slightly whipped aquafaba. Aquafaba is simply the brine from a can of chickpeas.

I'm working on a true vegan gluten free vanilla cake recipe because I really prefer a cake that is designed to be made egg-free, rather than one with an egg replacer. But, in the meantime, here we are.

Corn free

In place of cornstarch, try arrowroot or even potato starch. Either should work fine. We're really using cornstarch to make our all purpose gluten free flour blend into more of a gluten free cake flour.

If you are using a higher starch all purpose gluten free flour blend like Cup4Cup (or my mock Cup4Cup), replace the cornstarch in this recipe with an additional 54 grams of your flour blend.

Words the very best gluten free vanilla cake on a photo of single vanilla layer on brown paper with white frosting on top

Gluten Free Cake Recipe

4.99 from 869 votes
Prep Time: 25 minutes
Cook Time: 30 minutes
Yield: 8 people
This light, airy gluten free vanilla cake is for birthdays, special occasions, & everyday moments. Doesn't taste like gluten free cake!

Equipment

  • Stand mixer or hand mixer
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Ingredients 

  • 2 cups (280 g) all purpose gluten free flour blend, (I used Better Batter; you must use one of my recommended blends, measure by weight, and sift or the recipe won't work)
  • 1 teaspoon xanthan gum, omit if your blend already contains it
  • 6 tablespoons (54 g) cornstarch, replace with 6 tablespoons additional Cup4Cup if Cup4Cup is your all purpose gluten free flour
  • ยฝ teaspoon baking soda
  • 2 teaspoons baking powder
  • ยฝ teaspoon kosher salt
  • 4 (100 g) egg whites, at room temperature
  • 1 egg (50 g (weighed out of shell)) at room temperature
  • 1 โ…“ cups (10 โ…” fluid ounces) buttermilk, at room temperature
  • 2 teaspoons pure vanilla extract
  • 10 tablespoons (140 g) unsalted butter, at room temperature
  • 1 ยฝ cups (300 g) granulated sugar

Instructions 

  • 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 (trace the perimeter of the cake pan on the parchment, then cut out the circle). Set the pans aside.
  • Into a medium-size bowl, sift (yes, you have to sift!) the gluten free flour blend, xanthan gum, and cornstarch. Add the baking soda, baking powder, and salt, and whisk to combine well. Set the dry ingredients aside.
  • In a large measuring cup or medium-size bowl, place the egg whites and egg, buttermilk, and vanilla. Whisk to combine very well. Set the wet 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 and sugar on medium-high speed for at least 3 minutes, stopping at least once to scrape the entire mixture off the sides and bottom of the bowl, or until very light and fluffy.
  • To the large bowl with the butter and sugar mixture, add the dry ingredients in 4 equal portions, alternating with the buttermilk and egg mixture in 3 parts, beginning and ending with the dry ingredients and mixing to combine in between additions.
  • The batter will sometimes look a bit curdled. That's normal and not a problem at all.
  • Once all the ingredients have been added, beat for another minute on medium speed to ensure that everything is combined, then turn over the batter a few times by hand.
  • The batter should be fluffy and relatively smooth, although a few lumps are fine. Do not overmix the batter in an attempt to make it perfectly smooth. It will be relatively thick.
  • Divide the batter evenly between the two prepared baking pans and smooth each into an even layer with an offset spatula. Bang the bottoms of the pans flat on the counter a few times to break any large air bubbles.
  • 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 and do not jiggle in the center at all (about another 10 minutes). These tests for doneness are more useful than the toothpick test. Do not overbake.
  • Remove the cakes from the oven and allow 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.

Video

Notes

Nutritional information is, at best, approximate. Please use your own calculations if you are relying on it for your health!
Originally published on the blog in 2016. Recipe unchanged; much of the text, most photos, and video are new.

Nutrition

Calories: 498kcal | Carbohydrates: 73g | Protein: 8g | Fat: 19g | Saturated Fat: 11g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 5g | Trans Fat: 1g | Cholesterol: 155mg | Sodium: 462mg | Potassium: 128mg | Fiber: 2g | Sugar: 40g | Vitamin A: 667IU | Calcium: 128mg | Iron: 1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!

About Nicole Hunn

Hi, Iโ€™m Nicole. I create gluten free recipes that really work and taste as good as you remember. No more making separate meals when someone is GF, or buying packaged foods that arenโ€™t good enough to justify the price. At Gluten Free on a Shoestring, โ€œgood, for gluten freeโ€ just isnโ€™t good enough!

Leave a comment

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.

387 Comments

  1. AMANDA Smith says:

    How do you use the same recipe to make cupcakes? What would you recommend for baking temperature in time for a cupcakes?

    1. Nicole Hunn says:

      I don’t recommend using this recipe, Amanda. I have a separate recipe for vanilla cupcakes that you can find by using the search function.

  2. Carol Barnhart says:

    I used 1 to 1 gf flour blend, and weighed everything as you had stated. Followed directions, and was disappointed at this cake. Very dense, and a big disappointment, considering all the labor I put into it. Unfortunately, this wonโ€™t be a keeper for me.

    1. Nicole Hunn says:

      You mentioned “1 to 1 flour blend,” which I assume is Bob’s Red Mill. It’s a poor quality blend that will not produce good results, which is why I recommend against it on the all purpose gluten free flour blends page here on the blog that is linked in every recipe that calls for one. And it’s also why the flour blend is discussed so extensively in the text of this post, Carol. You can’t make a great cake with poor ingredients, I’m afraid.

  3. Gabrielle La says:

    hi there, i just made your cake and wonโ€™t be serving until tomorrow, should i wait until tomorrow to frost? will it stay inside a cake stand with glass top or should i use a different method of storing?

    1. Nicole Hunn says:

      Hi, Gabrielle, I discuss storing the cake in the text of the post. It’s really up to you whether you frost now or later! Any baked goods at all wrapped tightly will always stay fresher than something exposed to any air.

  4. Guy says:

    4 stars
    Good recipe. The cake came out moist and flavorful, without a hint of graininess. I made a test layer (and iced it) yesterday. We are not gluten-insensitive here, but my daughter has just had to swear off gluten for life. So I needed a gf recipe for the family birthday cake in 2 weeks. My husband and I both were put off by the texture. We agreed we couldnโ€™t serve this at a party for 8 family members ~ only one of which being gluten-intolerant. We both said the same thing: โ€œitโ€™s good, for a gluten-free cake.โ€ It was curiously rubbery and resisted the knife when cutting. Never had a cake before that fought back! :)

    However ~ this morning, after it sat overnight under the glass dome of the cake plate, I took it to the trash can and at the last moment decided to take one more bite before discarding it: same great taste and a much improved texture ~ very nearly indistinguishable from a regular cake!! So, it definitely benefitted from an extended rest period.

    So, I just finished a 2nd trial: This time, I whipped the egg whites to soft peak AND poured the buttermilk/vanilla into my ISI whipper, and infused it with a cartridge of CO2. Everything else was exactly as before. I just folded the whites into the batter in 2 additions at the end and popped it in the oven. Out came the cake Iโ€™ll be serving at the birthday party. So tasty and now tender as well. It rose quite a bit higher, too.

    The recipe (as written) undoubtedly actually produces the cake as advertised. My hat is off to the Author and the Gluten-Free Warriors that can get amazing results without batting an eye! Thatโ€™s what talent and experience will do for you. Iโ€™m not new to gf baking, but this was only my first and second attempt at this particular recipe. Also, even though I have 4 different flour blends in the pantry, itโ€™s been a few years since Iโ€™ve made any gf baked goods. There could be any number of slight variations in my technique and kitchen that resulted in yesterdayโ€™s cake, in spite of my being extremely careful to follow the directions precisely. I take full responsibility for my results.

    Just for now, I need these two tweaks to achieve the perfection Iโ€™m after. Maybe after several more attempts (and there will be more ~ this recipe is a keeper), I can take off the training wheels and ride up front with the big dogs. :) Thanks for the recipe.

    1. Nicole Hunn says:

      Graininess is a result of a gritty rice flour, which is why superfine rice flour and a blend that is one I recommend are so essential.

  5. RuthAnn says:

    5 stars
    This is the best gluten-free cake recipe ever! I do have one question for you though, how long can you freeze a cake layer for it to still taste as good? I was thinking about making them on a Thursday and freezing them, but serving on the following Tuesday. Thanks for this awesome recipe!

    1. Nicole Hunn says:

      Yes, if you wrap the layer very tightly in freezer safe wrap and prevent freezer burn, you can freeze a layer. You’re very welcome and I’m glad you enjoyed it!

  6. Dona says:

    This is the first gluten free cake I have ever made and it is truly awesome. Lots of steps but worth it. I made strawberry mousse to go on top! Success! Thank you for sharing!

    1. Nicole Hunn says:

      I’m so glad you enjoyed it, Dona. There are lots of steps for sure, but you followed them and were rewarded!

  7. Joanne S says:

    5 stars
    I have never tried harder to follow a recipe and I am proud of the result! I don’t do much gluten free baking, but this was for a dear friend and I wanted her to have a special birthday cake. She recommended this recipe and I was extremely happy with the result. Thank you!

    1. Nicole Hunn says:

      You’re a good friend, Joanne! This is one instance where your efforts are essential, and will be richly rewarded. I’m so glad it turned out and I hope she had a happy birthday.

  8. Julie Lรฉvesque says:

    Hello,

    I’ve attempted this recipe a few times now and I just need some help troubleshooting. Every time I’ve made this cake, it seems to rise and then sink during the cooling process. I’ve baked for 40 mins instead of 30 and at 40 minutes, the cake seemed cooked, but it still sank. I’m wondering, could under mixing the batter cause the cake to sink? When I put the cake batter in the tins it seems like there are many air pockets. Is this normal??

    I hope you can provide me with some tips

    Thank you

    1. Nicole Hunn says:

      Julie, whenever baked goods rise and then fall upon cooling, they’re not properly baked all the way through. I recommend checking your oven temperature with a standalone oven thermometer, as most ovens run hot. The air pockets may be due to improper mixing of ingredients, particularly if the fat isn’t at proper room temperature. If you made any ingredient substitutions or changed my method at all, you risk not getting expected results.

  9. RuthAnn Re says:

    Hi! I am very excited to have found your recipe! I haven’t made it yet, but I was wondering if I could stack it into two tiers for a wedding cake. I’d like to use 9-in on the bottom, three layers, and 6-in on the top, three layers.
    Also, have you ever made half of a recipe? And you have any idea how long I would bake a 6-in cake?

    1. Nicole Hunn says:

      Hi, RuthAnn, Yes, you can definitely stack layers of this cake. Many have done so before you and really loved the results! As I explained below to Erin, here’s what I can tell you about baking a 6-inch layer: I wouldnโ€™t try using 6 inch pans unless they have very tall sides, Erin. Instead, Iโ€™d recommend reducing the recipe size to feed 6, rather than 8, people and youโ€™ll have the right amount of batter for two 6-inch baking pans instead of 8-inch. Youโ€™ll have to watch the cake carefully as Iโ€™m not sure of the baking time.

      1. Laurien says:

        Hi! Looks so good! Can this be used in a 9×13? I’m creating a base for a tres leches cake.

      2. Nicole Hunn says:

        I haven’t tried this in a large rectangular pan, Laurien, but I don’t think this is a proper base for a tres leches cake. If you’d like a vanilla sheet cake, please try my recipe for that.

  10. Tish says:

    Can you add lemon zest and juice to make this a lemon cake?

    1. Nicole Hunn says:

      You can’t add more liquid to this cake, no, Tish. I’d recommend you use my recipe for gluten free lemon cake if that’s what you’d like.