Gluten Free Vanilla Cake
This gluten free vanilla cake taste just like the classic! It has a moist and tender crumb, rich buttery vanilla flavor and finished off with a creamy vanilla buttercream. Dairy free friendly and made in one bowl!

This gluten free vanilla cake has been a long time in the making. But vanilla cakes are one of my favorite desserts (plus gluten free lemon cake of course), so I had to get it exactly perfectly right.
And I did! This cake is moist, tender, soft with a sweet buttery vanilla flavor and undetectably gluten free.
I promise, you can fool absolutely anyone with this recipe. And did I mention it’s also dairy free?! Even the buttercream. But again, you’d never know! There are a lot of gluten free cake mixes on the market, but homemade versions are SO much better.
This recipe isn’t vegan since it uses eggs, but don’t worry, I already have you covered with my gluten free AND vegan vanilla funfetti cake. If you love this recipe, try my strawberry cake, gluten free cookie cake or orange cake next!
Before we get started…
- You need gluten free all purpose flour with xanthan gum. I like and used the Bob’s Red Mill 1:1 Baking Flour.
- Room temperature eggs and milk work best!
- Be sure to let the cake cool completely before frosting.

How to make gluten free vanilla cake
PREP PANS. Spray and line two 9 inch round cake pans with parchment paper. You can also use two 8 inch but see notes about bake time etc.
BEAT WET. In a large mixing bowl or bowl of a stand mixer, beat together all wet ingredients. For best results, keep your eggs and milk at room temperature and melt your butter, then let it cool slightly.
BEAT IN DRY. Beat in the dry ingredients until a smooth batter forms, making sure to spoon and level the flour.
Add the batter to the prepared pans, trying to keep them as even as possible.

BAKE. Bake for 28-32 minutes or until a toothpick comes out clean. 30 minutes is usually perfect in my oven, but all ovens are different.
COOL. Remove from the oven and let cool in the pans for 15 minutes, then carefully flip onto a cooling rack to finish cooling.
FROST. If you want to frost it quickly, add the cakes to the fridge for an hour, otherwise just let cool at room temperature, then frost & enjoy! Try my gluten free sheet cake or gluten free chantilly cake next!

Why did it sink in the middle?
Cakes sink in the middle usually because of one of three main reasons. The first is that the cake was over-beaten.
This forces too much air into the batter which causes it to rise and then fall when it cools because the structure isn’t supported, it’s just airy.
The second is because of too much moisture. While no one wants a dry cake, a cake that is too moist is also problematic, especially when no gluten is involved.
WANT TO SAVE THIS RECIPE?
This can happen because of an overly moist batter, but also if you live in a humid climate and moisture collects naturally in ingredients like flour.
The final reason a cake can sink is because of too much leavening agent. This cake only uses baking powder, no baking soda, so we use a generous amount, but not so much that the cake structure won’t be able to support itself.

How to store and freeze
Once made and frosted, this gluten free vanilla cake will keep for about 3 days at room temperature or 1 week in the fridge.
Store in an air tight container for best results. The cake can be prepped 24 hours ahead of time, just let cool, wrap in plastic wrap and place in the fridge before frosting.
You can make the cakes in advance, let cool, wrap tightly in plastic wrap, then place in a freezer safe bag for a few days before serving.
You can decorate the cake while it is frozen, and then let it sit at room temperature before serving.

Make it funfetti!
If you’re making this for a birthday, celebration or just want a little more color, feel free to add some sprinkles to the batter and make this a funfetti cake!
I suggest about 1/3-1/2 cup of sprinkles for the batter. The bake time will be the same.
How do you keep gluten free cake moist?
This vanilla cake is made very moist thanks to the butter, oil, eggs and milk. Be sure to keep it covered, either with a cake stand, in a container or covered with foil to ensure it stays moist once it is sliced.
Other than that, the main tip is to not over bake. Bake just until a toothpick comes out clean with a few moist crumbs.

My favorite flour
There are so many gluten free flours on the market these days. Maybe too many! But, you probably know by now that when it comes to gluten free all purpose flour, I am very loyal to the Bob’s Red Mill 1:1 Baking Flour.
You are welcome to use whatever flour you like, but keep in mind there may be some variation in the final result since all blends are different.
Whichever you decide to use, make sure it has xanthan gum in the mix to help bind everything together.

Try these next!
- Gluten Free Red Velvet Cake
- Paleo Chocolate Cake
- Gluten Free Banana Cake
- Oreo Cake
- Gluten Free Donuts
- Red Velvet Marble Cake
- Apple Bundt Cake
Lastly, if you want more recipes straight to your inbox, be sure to subscribe to my email list. If you make this recipe, be sure to tag me on instagram and leave a comment below!

Gluten Free Vanilla Cake
by: claire cary
Ingredients
Wet
- ½ cup butter melted then cooled slightly
- ⅓ cup oil refined avocado, vegetable etc.
- 1 ½ cups + 2 tablespoons white sugar
- 4 large eggs room temperature
- 4 teaspoons vanilla extract
- 1 ¼ cups room temperature milk dairy or non-dairy
Dry
- 3 cups gluten free all purpose baking flour spoon and level to measure
- 1 tablespoon baking powder
- ½ teaspoon salt
Buttercream
- 1 batch buttercream frosting
Instructions
- Preheat the oven to 350 degrees Fahrenheit.
- Spray and line two 8 or 9 inch round cake pans with parchment paper. I like to use these parchment rounds for convenience.
- In a large mixing bowl or bowl of a stand mixer, beat together all wet ingredients. For best results, keep your eggs and milk at room temperature and melt your butter, then let it cool slightly.
- Beat in the dry ingredients until a smooth batter forms, making sure to spoon and level the flour.
- Add the batter to the prepared pans, trying to keep them as even as possible.
- For 9 inch cakes, bake for 28-32 minutes or until a toothpick comes out clean. 30 minutes is usually perfect in my oven, but all ovens are different. For 8 inch cakes, bake for 30-36 minutes or until a toothpick comes out clean.
- Remove from the oven and let cool in the pans for 15 minutes, then carefully flip onto a cooling rack to finish cooling.
- If you want to frost it quickly, add the cakes to the fridge for an hour, otherwise just let cool at room temperature until completely cool.
- You can also let the cakes cool, wrap them in plastic wrap, place in the fridge and frost the next day.
- Prep the buttercream if you haven’t done so already.
- When the cakes are cool, frost the cake, I like about 1 cup of frosting between each layer, and then 2 cups to cover the outside.
- The cakes will be slightly rounded in the middle, so I used a cake leveler to make them flat, but you definitely don’t have to, they will still look great even with slightly domed tops!
Notes
Comments
-
Hi, itโs my first time trying a gluten free recipe. This looks AMAZING, but I was wondering if I could bake it in a Bundt pan? If so, any recommendations for time adjustments?
-
Should be fine! Bake time will be about 10 or so minutes longer depending on the pan.
-
-
If I would like to make this into a sheet cake, what temp and how long should I cook it for? Thanks so much
-
350, I’d start with about 35-40 minutes and adjust from there!
-
-
can I add melted vegan butter?
-
You can sub the butter for vegan butter!
-
-
Loved your chocolate cake recipe! I am trying to make a pistachio cake and was wondering how well you think it would work to use this recipe as a base and just add 2/3 of a cup of ground pistachios to it? Thanks!
-
I have a pistachio cake on the blog! Just do a quick search ๐
-
-
do you not add xanthan gum? I see on the flour is gives you the chart amount to use on the back of the bag
-
What flour are you using? If you are using one that doesn’t have xanthan gum, I’d add about 1 1/2 teaspoons.
-
-
Best gluten free birthday cake ever!!! It made my birthday special.
-
Thank you Julia, happy birthday!
-
-
Hello! I’d love to try making this but into a 3 layered cake – any ideas on how long to bake each 9 inch pan?
Thanks! Big fan of your blog!
-
If you aren’t scaling the recipe at all (meaning you’re using the ingredients in the quantity listed) then I would start with about only 20-25 minutes or so since the layers will be much thinner.
-
-
Hi Claire, can I add white chocolate successfully to this recipe, and if so, what do you recommend? Love love all your recipes
-
Are you trying to just add white chocolate chips or melted white chocolate? You could also try a white chocolate frosting!
-
-
Hi! I made this recipe and found that the texture of the cake was a bit gummy? I made a half batch and baked in 6 inch pans for ~20 mins, not sure if i did something wrong here or if that is expected?
-
Definitely shouldn’t be gummy! What flour did you use? Did it seem underbaked at all or just gummy?
-
I used bobs red mill 1:1 as recommended! I think it was gummy and not underbaked as toothpicks were coming out clean. I did slice off a little to see the inside and when i noticed the โgummyโ texture I threw it back in just in case and it didnt really change in texture ๐
-
Baking times with gluten free cakes are tricky, sometimes even a couple extra minutes of baking after a toothpick comes out clean can prevent it from being gummy. But also definitely don’t slice until it is 100% cool, it will definitely be gummy that way! The texture really sets as it cools. Did you make any other subs?
-
Can I use Bob Red Mills egg replacer instead of eggs?
-
I would try my vegan gluten free cake instead!
-
-
-
-
-
Can I use King Arthur all purpose flour or King Arthur Measure for Measure flour?
Thank you for the help.
-
That should work!
-
-
Can this be made into. Up cakes. If so, how would the baking time change. Thank you
-
Yes! I’d start with 18 minutes and go from there.
-
-
Hello,
What brand of gluten free flour do you use for this? I clicked the link buy it just takes me to the main page on Amazon. Thank you!
-
Bob’s Red Mill Gluten Free Baking Flour!
-
-
Hi, can I use coconut milk instead of almond milk for this recipe? Also, I was wondering if itโs okay to skip xanthan gum and use psyllium husk instead.
-
You can use coconut milk, but the kind from the carton, not the can. I don’t recommend leaving out the xanthan gum!
-
Xanthan gum can bother my stomach a bit. I read that psyllium husk can be used as a substitute for it. Would you recommend that?
-
You can try that! You would probably need about 2 tablespoons of psyllium, but I have not tested it myself and cannot guarantee the result.
-
Hi,
Almond milk works well in this recipe! Also, I used Psyllium Husk Powder instead of Xanthan Gum and Monkfruit Sweeter instead of Sugar.
-
-
-
-
-
This cake was soft, delicious and moist. It’s for keeps forever!! Thank you โค๏ธ
-
Thank you Sadia!
-
-
Iโd like to make this cake and I have Bobโs Red Mill All-Purpose Baking Flour but Iโm not seeing that it has xanthan gum. Is that a problem?
-
Is it the flour in the red bag or blue? If it’s the blue one, it does have xanthan gum, so you’re fine. I don’t recommend using the red bag all purpose GF flour because the cake will be dry as the flours are very different.
-






leave a comment and rating