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.

Gluten free vanilla cupcake in brown liner with white swirl of frosting on small white plate on purple cloth
Want to save this recipe?
Enter your email and we’ll send it to you! Plus, get new recipes every week.

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.
One gluten free vanilla cupcake with swirled white frosting cut in two pieces on brown paper liner on a small white plate above a white cloth

Cupcake ingredients

gluten free vanilla cupcakes ingredients in small bowls with names of ingredients in black type
  • 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.
Yellow cupcakes with frosting in paper liners on round wire rack above purple cloth

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.

Baked gluten free vanilla cupcakes in 6 well cupcake tin in brown liners on purple cloth

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.

6 baked vanilla cupcakes in a muffin tin one with frosting swirl and hand holding piping bag on top of second cupcake in background
Go Ad-Free

Vanilla Gluten Free Cupcakes Recipe

4.97 from 157 votes
Prep Time: 15 minutes
Cook Time: 20 minutes
Yield: 16 cupcakes
Light, tender gluten free cupcakes with rich vanilla flavor and classic buttercream frosting. Bring them to any celebration so everyone can enjoy the same sweet treat—no one misses out.

Equipment

  • Stand mixer or handheld mixer
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

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

Gluten free flour blend:
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

Serving: 1cupcake | Calories: 162kcal | Carbohydrates: 24g | Protein: 1g | Fat: 6g | Saturated Fat: 4g | Polyunsaturated Fat: 0.3g | Monounsaturated Fat: 2g | Trans Fat: 0.2g | Cholesterol: 27mg | Sodium: 156mg | Potassium: 25mg | Fiber: 1g | Sugar: 13g | Vitamin A: 206IU | Calcium: 31mg | Iron: 0.1mg

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

Like this? Leave a comment below!
Words perfect gluten free vanilla cupcakes on top of image of vanilla cupcakes in brown liners in metal muffin tin one with vanilla frosting one being frosted
cupcake liners with gluten free vanilla cupcake batter in 6 well metal muffin tin

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

ingredients for vanilla buttercream frosting in small bowls with names of ingredients in black type
  • 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

Can I use vanilla bean paste instead of vanilla extract?

Yes, vanilla bean paste works well and has a stronger flavor than extract. Use the same amount as you would vanilla extract.

Can I use this recipe to make mini cupcakes?

Yes—just reduce the baking time. They’re ready when the tops spring back when lightly pressed.

Why did my cupcakes rise and then sink?

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.

Can I make these cupcakes ahead of time?

Yes! Freeze them (unfrosted or frosted) as soon as they’re completely cool. Defrost at room temperature for best results.

Can I double the recipe?

You can—just divide the batter evenly across more tins, and rotate them during baking for even results.

Can I skip the frosting?

Definitely. These cupcakes are delicious on their own or with a light dusting of powdered sugar.

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





106 Comments

  1. Stephanie says:

    5 stars
    Loved this recipe!! Using it again for my son’s birthday party. I wasn’t able to find Better Batter but used King Arthur measure for measure. I think the trick was weighing the dry ingredients because it seems to be a denser flour than better batter, when I weighed it out 1.5cups would have been way too much but in grams it was perfect! Moist, not crumbly at all. My favorite is always when my husband asks “this is gluten free?” Thank you!

  2. Heather says:

    I’ve never had cupcakes crumble apart the way these did. Also, the batch did not make 16 cupcakes. It made 14. I needed 16, and now I have to remake a whole different recipe because I have 14 crumbly cupcakes rather than 16 decent ones.

    1. Nicole Hunn says:

      Heather, that sounds frustrating, and my first guess is that you used an inferior gluten free flour blend. Perhaps you also didn’t use any xanthan gum? Since you didn’t give any details about how you proceeded, I’m only able to guess. Please see the all purpose gluten free flour blends page on the blog, which is linked in this recipe and every other that calls for that ingredient, for full information on appropriate blends, including calls outs of a few blends that are the worst. The flour blend is the most important part of the recipe, as we’re replacing wheat flour, and that’s why the text of the post references that ingredient again and again.

  3. j iveson says:

    2 stars
    hi,
    i just made your gluten free cupcakes using and im so dissappointed as theyve turned out awful..im trying to work out what ive done wrong.
    i do bake quite a bit so felt confident theyd turn out well and the batter looked fantastic.
    im in australia and used Yesyoucan gluten and dairy free plain flour which has xanthen gum added.
    i added cornstarch as per the recipe.
    the cupcakes did overflow so im guessing that i did overfill slightly also.
    ill try again another day.

    kind regards.
    jayne

    1. Nicole Hunn says:

      Jayne, frankly, I’m confused by a 2 star rating. As I discuss extensively on the blog, you can’t use just any gluten free flour blend and get the expected results. Please click the link in the recipe that is connected to the “all purpose gluten free flour blends” ingredient for full information on appropriate blends. And overfilling the wells is, of course, user error.

  4. Sarah says:

    5 stars
    I’m little unsure if I’m understanding step 4 for the cupcakes correctly. The way it reads to me is that I’m supposed to divide the dry ingredients into three parts, then add part 1 and beat it in lightly, add half the milk/buttermilk and beat that in, add part 2 of the dry and beat it in, add the rest of the milk and beat it in, then finish with part 3 of the dry ingredients.

    That’s how I understood the recipe and how I did it, but as I was in the middle of doing so, I was second guessing myself. I thought that maybe I was supposed to add half the dry (part 1), then add the milk (part 2), then add the rest of the dry ingredients (part 3).

    The way I did it turned out great. I just thought I’d reach out for clarification, since I intend to make this again and want to make sure everything is right. Because if I did it wrong the first time but it just worked in spite of me, maybe I won’t get so lucky the second time.

    These are lovely, and I intend to use them for my wedding.

    1. Nicole Hunn says:

      You did everything fine, Sarah. Don’t worry and enjoy the cupcakes!

  5. Kayla says:

    I’m so sad! I was so invested in making these for my friend who has Celiac, but I am in Canada and I can’t seem to get my hands on Better Batter flour without having to pay $100+ for 5Lbs of flour. But I also don’t know the cost of trying to make your Mock Better Batter.

    1. Nicole Hunn says:

      Kayla please follow the link to the all purpose gluten free flour blends page that is linked in this and every recipe that calls for one. You’ll find information on how to blend your own “mock” Better Batter.

  6. Nina says:

    Hi, how can I make these sugar-free using monkfruit sweetener?

    1. Nicole Hunn says:

      I’ve never tried this recipe with an alternative sweetener, Nina, but they do tend to be drying so the cupcakes will need more moisture. You’d have to experiment.

  7. Gwen says:

    4 stars
    My cupcakes tasted like cornbread?? But they were very fluffy and delicious just don’t a sweet cupcake. Any suggestions?

    1. Nicole Hunn says:

      That’s your flour blend, Gwen. It’s not one of my recommended brands.

      1. Vic says:

        5 stars
        Umm Nicole, I know that this was a response to an older comment, but I actually had this exact same issue today using Better Batter gluten free flour with all ingredients measured with a high precision food scale and followed the instructions to the letter; since Gwen did not name the type of flour that she used, I’m not sure that one can assume that she did not use an appropriate flour blend for your recipe?

        Might you know of any other factors that could have caused these results? Over mixing? Under baking? Over baking? Of note, I did not use dairy. I made buttermilk using oat milk and an unsweetened plain coconut yogurt.

        I am actually over the moon with the results of this recipe aside from the slight cornbreadish taste. I’ve been attempting to bake gluten free goods for almost a decade now and today was the first time I’ve ever managed to get the crumb and texture of a gluten free baked good to the point of it being good enough for me to eat myself and also be willing to serve it to others who are able to eat gluten.

        I had actually tried at least one of your recipes before, but I don’t think I was ever as meticulous at following all of the instructions as I was today.

        I have never ever even purchased a gluten free baked good that I’ve ever liked, whether a prepackaged commercial item from the grocery store or at a fancy bakery. All of these gluten free items have tasted terrible and have a gritty, chalky mouth feel. Blech!

        All that said, I hope to try this recipe again since it was basically 95% successful as far as I’m concerned. It’d just be nice if I could perfect it and get rid of that cornbread taste? Please do let me know if you have any thoughts and/or suggestions that could help. Thank you!

      2. Nicole Hunn says:

        Generally, when a crumb it tighter than you’d expect, it’s due to overmixing and/or baking in a too-hot oven, which causes the rise to happen too quickly and the baked goods fall as they cool. That’s all I can really offer!

  8. Daisy says:

    I want to make a Donauwelle cake. How do you think this recipe would do with adding some cocoa and a little milk to half of it to make the swirls? I also think the cherries might add a little extra liquid, would you adjust for that or just dry them off as much as possible? Thanks!

    1. Nicole Hunn says:

      I’m afraid I would not recommend using this recipe in that way, no. You can’t make vanilla batter into a chocolate swirl that simply. You’d really need a recipe for just that. Sorry!

  9. Cora Hordes says:

    5 stars
    Amazing recipe!! I had to make some cupcakes for Church so I thought to make some GF ones and these were a hit! One little kid said they were the best, and you know what that means when a kid says that!

    1. Nicole Hunn says:

      Indeed I do know how hard it is to get that sort of positive response from a kid. No filter! So glad you loved them (as did that child!)

  10. Taylor Leigh-Jones says:

    5 stars
    I made these today, they came out perfectly. Incredibly moist, risen and delicious. I used butter milk in the batter and a white chocolate butter cream and it complimented them perfectly. They are not dry and are very pretty without the wrapper on. I found hitting them on the bench and shaking them to make a world of difference :)
    Perfect texture to pipe some ganache in the middle also. Yum!