This post may contain affiliate links. Please read our disclosure policy.
These gluten free vanilla cupcakes are tender, moist, and packed with classic vanilla flavor. With a soft crumb and bakery-style texture, they’re perfect for birthdays, weddings, baby showers—any celebration where no one should miss out.
Bring these to a party, and no one has to settle for a second-best treat. Everyone gets to eat the same thing—and love it.

“Just made these cupcakes today for a wedding. I received nothing but praise. Everyone questioned whether they were gluten free or not!”
My take
Why you'll love these cupcakes
- Soft and fluffy crumb: Soft and fluffy crumb: Moist and tender, with a light, melt-in-your-mouth feel.
- Easy recipe: No sifting—just mix, scoop, and bake.
- Flat tops for frosting: No dome means perfect for decorating.
- Versatile for any crowd: Frost with vanilla or chocolate, add sprinkles or not.
- Freezer-friendly: Make ahead and freeze plain cupcakes for up to 3 months.

Cupcake ingredients

- Gluten free flour blend – The base of the recipe. Be sure to use a blend without too much xanthan gum (see Recipe Notes in the recipe card).
- Baking powder + baking soda – Help the cupcakes rise and stay light and airy.
- Salt – Enhances flavor and balances sweetness.
- Butter – Adds richness and helps create that soft, tender crumb.
- Granulated sugar – Sweetens the cupcakes and keeps them moist.
- Egg + egg white – Give structure and help the cupcakes rise evenly.
- Vanilla extract – Brings that classic birthday cake flavor.
- Buttermilk – Makes the most tender crumb. You can also use regular milk, but buttermilk gives the best results.
- Frosting included below! Learn how to make a classic vanilla buttercream with just butter, sugar, and vanilla.

How to make gluten free cupcakes
Making these gluten free cupcakes is as simple as whisking, creaming, and alternating the wet and dry ingredients. Here’s how it’s done:
1. Whisk the dry ingredients: Combine the gluten free flour blend, xanthan gum (if using), baking powder, baking soda, and salt.
2. Cream the butter and sugar: Beat them together with the egg, egg white, and vanilla until fluffy and well-combined.



3. Combine the wet and dry ingredients: Mix in the dry ingredients in three parts, alternating with buttermilk or milk. Start and end with dry.




4. Portion the batter: Scoop into a lined muffin tin, filling each well about 2/3 full.
5. Bake at 325°F: Bake for about 20 minutes, or until the tops spring back when gently pressed.
6. Cool completely: Let cupcakes cool in the pan for 5 minutes, then transfer to a wire rack before frosting.


Expert tips
Use room-temperature ingredients: Cold butter, eggs, or milk won’t mix evenly and can cause texture issues.
Don’t overmix: Mix just until the batter is smooth. Overmixing adds too much air and can create tunnels.
Scoop evenly: Fill cupcake wells about 2/3 full to prevent overflow and ensure even baking.
Bake just until done: At 325°F, bake until the tops spring back when lightly pressed. Skip the toothpick—it can be misleading.
Cool completely before frosting: Warm cupcakes will melt your frosting. Let them cool fully for best results.
Measure by weight: For reliable results, use a digital kitchen scale instead of measuring cups—especially for the flour.

Ingredient substitutions
Dairy-Free
Use block-style vegan butter (like Melt or Miyoko's brands are best) or butter-flavored nonhydrogenated shortening in place of butter.
For the best texture, replace buttermilk with a mix of half plain yogurt and half nondairy milk by volume. You can also use just unsweetened, unflavored nondairy milk, but the crumb will be a little more condensed.
Egg-Free
Replace the egg with a chia egg, Bob’s Red Mill egg replacer, or Just Egg. Avoid flax eggs—they add a strong flavor that doesn’t work well here.

Vanilla Gluten Free Cupcakes Recipe

Equipment
- Stand mixer or handheld mixer
Ingredients
For the vanilla cupcakes.
- 1 ½ cups (210 g) all purpose gluten free flour blend, (See Recipe Notes) (Click thru for full info)
- ¾ teaspoon xanthan gum, omit if your blend already contains it
- 2 tablespoons (18 g) cornstarch
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- ½ teaspoon kosher salt
- 8 tablespoons (112 g) unsalted butter, at room temperature
- 1 cup (200 g) granulated sugar
- 1 (50 g, weighed out of shell) egg, at room temperature
- 1 (25 g) egg white, at room temperature
- 2 teaspoons pure vanilla extract
- ⅔ cup (5 ⅓ fluid ounces) milk or buttermilk, at room temperature
For vanilla buttercream frosting.
- 8 tablespoons unsalted butter, at room temperature
- 1 cup confectioners' sugar, plus more as necessary
- ⅛ teaspoon kosher salt
- ¼ teaspoon pure vanilla extract
- Milk by the teaspoon, as necessary
Instructions
For the cupcakes.
- Preheat your oven to 325°F. Line 16 wells of standard muffin tins with cupcake liners or grease the wells, and set the tins aside.
- In a small bowl, place the flour, xanthan gum, cornstarch, baking powder, baking soda, and salt, and whisk to combine well. Set the bowl of dry ingredients aside.
- In the bowl of a stand mixer fitted with the paddle attachment, or a large bowl with a handheld mixer, place the butter, sugar, egg, egg white and vanilla, and beat at medium-low speed to combine. Increase the mixer speed to medium-high and beat until it appears whipped (about 2 minutes).
- To the large bowl with the butter mixture, add the dry ingredients in 3 batches, alternating with the milk or buttermilk, beginning and ending with the dry ingredients. Beat lightly after each addition until just combined. Do not overmix. The batter should be light and fluffy.
- Fill the prepared wells of the muffin tin about 2/3 of the way full of the batter. Shake the tin back and forth to evenly distribute the batter in each of the wells.
- Place the tin in the center of the preheated oven and bake until the cupcakes are very lightly golden brown and spring back when pressed lightly in the center (about 20 minutes). Don’t over bake.
- Allow the cupcakes to cool for at least 5 minutes in the tin before transferring to a wire rack to cool completely. Repeat with the remaining cupcake batter. Cool the cupcakes completely before frosting and/or decorating.
For the frosting.
- In a large bowl with a hand mixer or the bowl of a stand mixer fitted with the paddle attachment, place the butter. Beat on medium speed until creamy (about 30 seconds).
- Add the 1 cup (115 g) of confectioners’ sugar, the salt, vanilla, and 1 teaspoonful of milk, and beat on medium speed until well-combined (about 1 minute).
- Beat in more confectioners’ sugar until the consistency is thick but not stiff. Turn up the mixer speed to high and beat for about 5 minutes or until light and fluffy.
- Transfer the frosting to a piping bag fitted with your favorite piping tip. Pipe the frosting on the cooled cupcakes, or use two spoons to scoop a dollop onto each cupcake.
Video
Notes
For best results, use Better Batter original blend or Nicole’s Best multipurpose blend with added xanthan gum. Bob’s Red Mill 1-to-1 also works well—just add ½ teaspoon xanthan gum to the dry ingredients to prevent crumbling. To make your own blend, see the All Purpose Gluten Free Flour Blends page. Nutrition information: Approximate nutrition information is per cupcake, excluding frosting.
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
Vanilla buttercream frosting (gluten free)
This classic vanilla buttercream is smooth, stable, and pipes beautifully. It’s naturally gluten free and the perfect match for these cupcakes—but works just as well on chocolate cupcakes or sugar cookies.
Key ingredients

- Butter – Room temperature for easy whipping and smooth texture.
- Confectioners' sugar – Sweetens and thickens; it also helps the frosting hold its shape.
- Vanilla extract – Adds depth of flavor.
- Milk (as needed) – Helps thin the frosting to piping consistency.
How to make the frosting
1. Cream the butter – Beat until smooth and creamy.
2. Add the sugar, vanilla, and a splash of milk – Mix on medium until combined.
3. Whip until fluffy – Turn the mixer to high and beat for about 5 minutes, or until the frosting is light and airy.
4. Adjust consistency – Add more sugar to thicken or a few drops of milk to loosen.
5. Frost your cooled cupcakes – Use a piping bag or just scoop with a spoon.




Storage suggestions
Room temperature: Store unfrosted or frosted cupcakes in an airtight container at room temperature for up to 2 days. Avoid the fridge—it dries them out.
Freezing unfrosted: Once completely cool, wrap each cupcake tightly in freezer-safe wrap, then place in a sealed container or zip-top freezer bag. Freeze for up to 3 months.
Freezing frosted cupcakes: You can freeze them fully frosted, too. Let them defrost at room temperature—don’t microwave or the frosting will melt.
To serve from frozen: Unwrap and let sit at room temperature until thawed, or microwave unfrosted cupcakes at 50% power in 20-second bursts.
FAQs
Yes, vanilla bean paste works well and has a stronger flavor than extract. Use the same amount as you would vanilla extract.
Yes—just reduce the baking time. They’re ready when the tops spring back when lightly pressed.
That usually means the oven was too hot, so the outside set before the inside had time to build structure. Use a standalone oven thermometer to be sure your oven temperature is accurate.
Yes! Freeze them (unfrosted or frosted) as soon as they’re completely cool. Defrost at room temperature for best results.
You can—just divide the batter evenly across more tins, and rotate them during baking for even results.
Definitely. These cupcakes are delicious on their own or with a light dusting of powdered sugar.
















Hello Nicole
I want to use the better cup4cup blend for this recipe is the cornstarch should I do or replace with the better cup4cup blend
Good question, Aya! If you’re using Better Than Cup4Cup, it’s not “too starchy,” since that blends corrects for the overabundance of starch in Cup4Cup, so you should use the cornstarch as directed.
This is not dairy free as it uses butter.
The recipe can be made dairy free with the substitution suggestions offered, Joan. It doesn’t claim to be dairy free as written.
Just made these cupcakes today for a wedding. I received nothing but praise. Everyone questioned whether they were gluten free or not. I assured them that they were. Thank you for the great recipe. This is the 8th recipe I tried trying to make gluten free that tasted good. I assure you, I won’t have to look any further. I will be looking on your site first going forward.
I’m so glad to hear that, Helen. Thank you so much for sharing your experience. You pleased the gluten eaters, and that is the holy grail of gluten free baking! Well done! Thank you so much for the kind words, and for your faith in my recipes. I work very hard on making the recipes just right, and it isn’t for everyone because it requires faith to the ingredients and method, but it’s very gratifying when someone sees that it’s so worth it! Thank you again for sharing.
My first try at gluten free and I have to be honest this is a win! light, fluffy, tasty and cake flaky! I will definitely keep this one in my ‘tried tested and true’ go to recipe folder. topped it with swiss merengue buttercream yum!
I’m so happy to hear that, Jasmine! That’s a good folder to be in. :)
I’m impressed with your thoroughness regarding gluten free flours! I’ve been asked to bake gf vanilla cupcakes for a special occasion, which will be my first gf baking attempt. Yikes! I can’t mess this up! So, I just need clarification as to specific flours that will produce the best results. Would that be Better Batter Original AP GF flour, or Cup4Cup Multipurpose GF flour as an alternative? No others from a grocery store? Your cupcake recipe is so well thought out that it seems like the best one for the occasion. 👌
Hi, Becky, I’m afraid that the only gluten free flour blend that is sold in grocery stores that I can recommend is Cup4Cup’s multipurpose flour. It would work well in these cupcakes. It’s not great for bread, but it will work. Cupcakes and pastry, it’s great. I wish that I liked any of the other readily available blends. If you’re willing to order online, I would recommend Better Batter. Actually, I have my own flour blend now, Nicole’s Best, which is available online but it’s out of stock right now as we are moving warehouses. I hope that’s helpful, and if you use Cup4Cup and measure by weight, you’ll do great!
I made these for my son’s 3rd birthday party. He’s gluten and dairy free as he has some health issues. These were INCREDIBLE! Everyone at the party raved about how good they were and wished I had made more! I made a dairy free “buttercream” to top them. They were moist and delicious! I’m not sure about some of the comments on here… if you didn’t follow the recipe and they didn’t turn out, that’s not really the recipe or the author’s fault! I followed the recipe exactly and used the recommended gf flour. Thank you so much!
I’m so glad to hear that, Bri! Thank you for your support of the recipe and yes, following the recipe closely and using one of my recommended flour blends are key ingredients to a successful outcome! Happy birthday to your little boy. :)
These were lovely. My first attempt at a gluten free recipe for my aunts birthday and everyone loved the turnout. I doubled the recipe and replaced .5 tsp of the vanilla extract with almond extract. I was not able to use the suggested flour so I used bobs red mills gluten free 1 to 1 baking flour. I measure my cupcakes and kept these in between 50-55 grams. The rise was perfect and the texture was soft and fluffy. I chose my own frosting recipe a vanilla bean buttercream. The only change I may make with my frosting pairing is a tiny bit less salt used in the cupcakes. No one else agreed with me, as everyone else said they were wonderful. we can definitely be our own worse critics. Thanks for sharing this recipe.
What an amazing recipe. I made these en mass for a charity baking event to fundraise for a local family undergoing a cancer battle. The feedback has been that these are the best gf cupcakes they’ve ever had. Whilst they did sink a little in the middle, the crumb was tender, full of flavour and adored by gf and non-gf customers. Thank you so much for a brilliant recipe that didn’t break the bank!
This recipe is so delicious but I can’t seem to get the cupcakes to stop shrinking while cooling. They puff up while cooking above the pan and then shrink to like half the size they should be when cool. I’ve made the recipe exactly as written, including weighing the ingredients. I am using cup 4 cup brand flour. After reading the above info on the oven temp I tried making them again last night. I’ve never had trouble with oven temp before but I will say I usually cook most things 1-2 minutes less than called for. The first batch I cooked at 315 degrees, rotating the pan half way through. The second batch I cooked at 300 degrees, rotating the pan half way through. Same result. Little shriveled cupcakes 😅. Please help! Any feedback appreciated!
It sounds like your cupcakes are consistently underbaked, and I’m afraid that guessing at how hot your oven is running isn’t working, which is why you need a standalone oven thermometer to gauge oven temperature. With an oven temperature of 300°F, you won’t get any oven spring, which would also lead to problems with your rise. Are you making any ingredient substitutions? Swapping out the egg and egg white for another combination or an egg replacer? Beating the butter mixture until it’s whipped? That’s how you incorporate air into the batter to make it light and fluffy. You may also be overmeasuring your milk. In addition, doneness is never a strict factor of baking time as there are so many variables. The center of the cupcakes should spring back when pressed lightly in the center. If not, they’re not done baking. In addition, your oven temperature is dropping when you rotate the pan, so I wouldn’t recommend that. There are so many factors and we all have habits in the kitchen that we don’t realize can affect the outcome but do. I hope this has given you some ideas!
Thank you for the quick reply. Most appreciated. The first time I used the recipe I cooked at 325 but they did the same thing so I thought I’d try the lower temp. I will have to get a thermometer and see what it is doing. I only rotated the pan because I saw that for this issue it can help with hot spots. I don’t normally do that. No substitution of ingredients. I did not weight the milk like I did the other ingredients but I will on the next batch. I feel like the butter is whipped well but I can let it go a little longer next time too. I will keep trying. I appreciate the feedback! When you bake yours does the batter rise at all above the cupcake liner? They look so perfect in the picture. Thanks!
I was wondering if it was the cup4cup flour. I can get that at my local store and it is about $10 cheaper than the better batter. But I will buy the better batter if I need to. Thanks.
I have tried so many cup cake recipes but this one is fabulous, the trick definitely is not to over cook soft and fluffy
by far my favourite 💜 Fran
I’m so glad you enjoyed the cupcakes, Fran. There’s nothing like a soft and fluffy vanilla cupcake. My favorite!