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 cake you've ever had.
It's 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. You've made it over the years for countless weddings, birthdays, and other events that mean the most to you. I'm so proud!

Why this recipe works
It may be bold, but this isn't just the best gluten free 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.
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 like our gluten free angel food cake, 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.
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 gluten free flour blend, didn't measure by weight, didn't sift, didn't combine the dry and wet ingredients separately first or didn't beat the butter and sugar for long enough.
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.
This cake may be a diva, but the results speak for themselves!


Recipe ingredients
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.
Choosing cake pans
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.


Choosing a frosting
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.

Expert tips
Cream butter and sugar properly
The buttermilk in this recipe softens the crumb so it has a tender mouthfeel. But the airy, open and soft crumb you can see clearly in the photos and the video comes from air being incorporated into the batter at the start by creaming together the butter and sugar for about 3 minutes, or until it turns creamy, lighter in color and begins to increase slightly in volume. That's due to the sugar crystals piercing the fat molecules in the butter.
Sift
Since this is cake has simple flavors, it shines due to the softness of the crumb. Sifting the flour blend and cornstarch ensures even distribution throughout the batter and introduces air into the mixture. That's what creates a professional quality, velvet-soft crumb. Don't skip this step, as much as you might not want to bother!
Only frost a cooled cake
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.
Choose the right gluten free flour blend
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. I also recommend Nicole's Best multipurpose gluten free flour blend with added xanthan gum as described in the recipe.
If you are using a higher starch all purpose gluten free flour blend like 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, like King Arthur Flour's Measure for Measure blend. Bob's Red Mill 1-to-1 in the blue bag has improved significantly and is no longer gritty, but it does have a slight unpleasant aftertaste. You can use, though, if you add 1/2 teaspoon extra xanthan gum, since it contains too little to be effective.

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, you can use my recipe for a super tender gluten free dairy free cake. But if you'd like to try making this cake recipe, 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.
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 my mock Cup4Cup, replace the cornstarch in this recipe with an additional 54 grams of your flour blend.

Storage instructions
If you'd like to serve a few slices of fully prepared 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.
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 wrap the cake tightly in plastic wrap and store it in the refrigerator for a couple days before completing the frosting. Since this is an all butter cake, it will taste dry when it's cold, so be sure to let it warm to room temperature before serving it.
I recommend against refrigerating the cake without the crumb coat and covering it tightly, as it will dry out.
For longer storage, you can make the cake layers ahead of time, let them cool fully, then wrap each tightly in plastic wrap and store in the freezer for up to 3 months. Defrost at room temperature while still wrapped in plastic, then unwrap, frost and serve.
Gluten Free Cake Recipe

Equipment
- Stand mixer or hand mixer
Ingredients
- 2 cups (280 g) all purpose gluten free flour blend, (See Recipe Notes)
- 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
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
FAQs
Yes, pure vanilla extract is gluten free because distilled alcohol is gluten free. See: Gluten Free Living Magazine.
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.
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!
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.















This cake is truly delicious. I use this recipe in my home bakery. I mix your Better Batter flour to save some money first. What I would like to ask: if I make the cakes and want to put buttercream the following day, how should I store the layers? Should I wrap them up and put them in the fridge? Should I wrap them up and leave in the cool room temperature? Any advice?
Hi, Anna, I’m so glad you love the cake and you’re able to make use of the recipe in your bakery. The short answer is that you should wrap them tightly in plastic wrap and freeze, even if it’s just for a couple days, never in the refrigerator. I just expanded the “Storage instructions” section just above the recipe card with full detail. I hope that helps!
Can this be made into cup cakes?
Hi, Michelle, I discuss this in the post, and recommend you use my gluten free vanilla cupcakes recipe instead, which is developed to be made that way.
Very happy with this recipe , followed directions as written . Used King Arthur 1:1 ratio, baked cake using 8 inch square pans.
And made an ice cream cake using them .
GF grandson request! He loved it !
I have been using this recipe among others from Gluten Free on a Shoestring for years and I absolutely love it! Every time I need a gluten free recipe I come here, and always find the best ones!
That’s so kind of you to say, Pia. Thank you for sharing how much you’ve loved this recipe for years and that you trust my recipes. That means so much to me!
I am new to baking Gluten Free items, as my child was just diagnosed with Celiac. I read every bit of her notes in their recipe and even bought the better batter brand flour. (Was a bit expensive but well worth it) This recipe was INCREDIBLE. I am not a good baker but with measuring everything with my scale, I couldnโt mess this up. Highly recommend this recipe, but ROOM TEMP YOUR STUFF and use the good GF flour.
So glad you enjoyed the cake, Chalina! You’ll be successful if you follow the recipe as written. “Room temp your stuff and use the good GF flour” is good advice!
This is truly a wonderful recipe. One of the best Iโve made. Have you tried to use it with cupcakes?
Hi, Carrie, so glad you enjoyed the cake! I recommend using my gluten free vanilla cupcakes recipe to make cupcakes.
I made this vegan, I use Chia egg and aqua fava for egg whites as well as a walnut milk yogurt mixture for buttermilk. I really didnโt think gluten-free could be this late. It came out amazing so happy, saving for future recipes and looking for a way to make a chocolate.
I’m so glad your vegan subs worked so well, Kim! Thank you so much for sharing that. For a chocolate cake, I recommend my gluten free chocolate cake recipe using the ingredient substitutions I suggest on that post, or my gluten free dairy free chocolate cake recipe with an egg substitute.
The recipe intimated me at first but if you follow it exactly it comes out perfect.
So glad you went for it, Cheri!