Erin’s Recipe Rundown

Texture: Light and airy crumb with creamy frosting.
Taste: Buttermilk + vanilla = sweet, flavorful cupcakes.
Ease: Easy to make bakery-quality cupcakes — perfect for birthday parties and events!
Top Tip: Several of the ingredients need to be at room temperature when added to the mixture. Don’t forget to prep these ingredients before you’re ready to bake!
Recommended GF Flour: Use a high-quality flour that contains xanthan gum. Both King Arthur Gluten-Free Measure-for-Measure Flour and Bob’s Red Mill Gluten-Free 1:1 Baking Flour work well!
Would I make these again? Absolutely! These cupcakes are moist, airy, and packed full of flavor. They’re topped with the creamiest buttercream frosting — perfection in every bite!
xoxo erin

This post was originally published in August 2023. It was updated with new photos and instructions in May 2025.
These gluten-free vanilla cupcakes check all the boxes for bakery-style treats that are sure to impress! They’re light and airy, with perfectly domed tops, and topped with the smoothest buttercream frosting.
There’s really so much to love about these cupcakes — that’s why they’re my go-to for birthday parties, special occasions, class parties, and more!
Featured Comment
From Tessa: “Incredible! Easy to follow, so so delicious, and those who can eat gluten didn’t even realize they were gluten free!”
Table of Contents
- Erin’s Recipe Rundown
- Ingredients You’ll Need
- Gluten-Free Cake Flour
- Frosting Tip
- How to Make Gluten-Free Vanilla Cupcakes
- Make-Ahead/Storage/Freezing Instructions
- Can these gluten-free vanilla cupcakes be made dairy-free? What about nut-free?
- What does filling every other cupcake well do?
- What is the best way to frost them?
- Gluten-Free Cupcake Tips
- More Gluten-Free Cupcake Recipes
- Gluten-Free Vanilla Cupcakes (BEST EVER!) Recipe
Ingredients You’ll Need
Here are a few notes on some of the key ingredients to make these gluten-free vanilla cupcakes. Jump to the recipe card below for the exact measurements

- Gluten-free flour: It’s important to use a high-quality gluten-free flour blend that contains xanthan gum for this recipe. For these cupcakes, both Bob’s Red Mill Gluten-Free 1:1 Baking Flour and King Arthur Gluten-Free Measure-for-Measure Flour work well!
- Cornstarch: Adding a little cornstarch to the gluten-free flour is a trick to create easy gluten-free cake flour that lightens the gluten-free flour blend for the best crumb.
- Baking powder: Baking powder helps create a light, fluffy cupcake with the perfect rise.
- Buttermilk: Buttermilk is a key ingredient that helps set these cupcakes apart from the rest. It creates an ultra-moist, fluffy cupcake! For dairy-free, use unsweetened dairy-free milk mixed with 2 teaspoons of lemon juice.
- Butter/Oil: A combination of oil and butter are crucial for achieving the ideal texture. I like to use salted butter for all of my gluten-free baking. It has more depth of flavor than unsalted! For dairy-free, use vegan butter.
- Eggs: This gluten-free vanilla cupcake recipe requires four large, room-temperature eggs. By adding them in one at a time and beating them on high, lots of air gets incorporated into the batter for a light, airy crumb.
- Vanilla: I always recommend using real vanilla extract for cupcakes. Vanilla bean paste is another great option!
For more gluten-free cake recipes, try this gluten-free lemon cake, gluten-free pound cake and gluten-free angel food cake. You might also like this 7-minute frosting recipe.
Gluten-Free Cake Flour
Use a combination of gluten-free flour and cornstarch to create your own gluten-free cake flour. The cornstarch helps to lighten the gluten-free flour.

- Powdered sugar: The fine texture of the powdered sugar helps create a light and smooth buttercream.
- Milk: I like to use regular milk for this frosting, but dairy-free options will work too! The milk thins out the consistency enough so that the frosting is spreadable.
- Butter: I prefer salted butter since it creates more depth of flavor. For dairy-free, you can use vegan butter in its place.
- Salt: I love adding a pinch of salt to my frosting recipes. It adds the perfect bit of complexity and really brings out the flavor.
Frosting Tip
A pinch of kosher salt makes the frosting extra delicious! It helps to cut the sweetness and bring out the flavor.
How to Make Gluten-Free Vanilla Cupcakes
Here’s an overview of how to make these cupcakes. You can jump to the recipe for the full instructions!

- In a medium bowl: Whisk together all of the dry ingredients (gluten-free flour, cornstarch, baking powder, and salt).
- In the bowl of a stand mixer: Use a whisk attachment to beat the softened butter and oil until they’re completely blended (about 3 minutes). You can also use a hand mixer with a large bowl!

- With the mixer on medium-low: Slowly add the sugar into the butter/oil mixture, then beat on high until it becomes light and fluffy (about 3 minutes). You’re looking for it to turn a very pale yellow.
- Incorporate in air: Add the eggs one at a time. It helps to scrape down the bowl in between each egg. Add in the vanilla and beat on high (2 minutes). This adds a lot of air to the batter for light and fluffy cupcakes!

- With the mixer on low: Add half of the dry mixture, then half of the buttermilk. Mix until they’re fully combined, then repeat the process by adding the rest of the dry mixture followed by the rest of the buttermilk.
- In a prepared cupcake tin: Place liners in every other cup and pour batter into the liners, filling them 3/4 of the way full. Bake (18-30 minutes) until a toothpick inserted into the center comes out mostly clean (a few moist crumbs are okay). You can refrigerate any extra batter, if needing to bake in batches! Let the cupcakes cool for 5 minutes, then transfer them to a wire rack to cool the rest of the way.

- In the bowl of a stand mixer: On medium-high, beat the butter (2 minutes). Add 4 cups of powdered sugar plus the milk, vanilla, and salt. Mix them together on low (30 seconds), then up the mixer to medium-high (2 minutes). You can also use a hand mixer and a large bowl!
- Frost: If the frosting seems too thick, you can add a little more milk. If too thin, add a little more powdered sugar. You want it to be a spreadable consistency. Frost and enjoy!
You also might like these family-favorite recipes for gluten-free banana cake, gluten-free mug cake, gluten-free carrot cake and gluten-free german chocolate cake!
Make-Ahead/Storage/Freezing Instructions
To Make-Ahead: Unfrosted cupcakes can be made up to 2 days in advance and stored in an airtight container at room temperature. The frosting can be made up to 3 days in advance and stored in an airtight container in the refrigerator. Briefly re-whip it before frosting the cupcakes.
To Store: Store frosted cupcakes in an airtight container in the fridge for up to 5 days.
To Freeze: Unfrosted cupcakes can be frozen for up to 2 months if individually wrapped in plastic wrap and then stored in a freezer bag or airtight container. Thaw at room temperature for 1-2 hours before frosting. The frosting can also be frozen for 2 months if stored in an airtight container. Thaw in the fridge overnight and then re-whip before use.
Can these gluten-free vanilla cupcakes be made dairy-free? What about nut-free?
Yes! For the cupcakes, you can use 1⅓ cups unsweetened dairy-free milk mixed with 2 teaspoons of lemon juice to replace the buttermilk. Dairy-free butter will work in place of the regular butter too. For the frosting, use dairy-free butter and unsweetened dairy-free milk.
These vanilla cupcakes are naturally nut-free!
What does filling every other cupcake well do?
Spacing out the cupcakes by only filling every other cup allows for better air circulation which helps them to bake more evenly. This helps to create the perfect rise for bakery-style domed cupcakes!
What is the best way to frost them?
Once you get the frosting to a spreadable consistency, scoop the frosting into a piping bag or even just a Ziploc bag. The piping bag can be fitted with different tips, like a classic star tip. For the Ziploc bag, cut one corner off to create a circle opening. Gently pipe the frosting in a circular motion onto the cupcakes. There’s always the option to decorate with sprinkles and other toppings too!
Gluten-Free Cupcake Tips
- I use these cupcake liners. They never stick!
- Be sure the butter is completely at room temperature! It won’t whip up with the oil correctly if it is too cold.
- Use a combination of gluten-free flour and cornstarch to create your own gluten-free cake flour. King Arthur Gluten-Free Measure-for-Measure Flour or Bob’s Red Mill Gluten-Free 1-to-1 Baking Flour both work equally well.
- A combination of oil and butter makes for the perfect texture. I highly recommend using both!
- This batter requires a secret ingredient – AIR! Whipping the cupcakes helps add lots of air to the cupcakes and creates a light, fluffy texture.
- Adding a pinch of kosher salt to the frosting helps to cut the sweetness and bring out the flavor.

More Gluten-Free Cupcake Recipes

Gluten-Free Vanilla Cupcakes (BEST EVER!)
Video
Ingredients
Dry Ingredients
- 2 ¼ cups (337g) gluten-free measure-for-measure flour
- ½ cup (64g) cornstarch
- 2 1/2 teaspoons baking powder
- 1 teaspoon kosher salt
Other Ingredients
- 1/2 cup (113g) butter at room temperature
- 1/2 cup (120ml) neutral oil
- 1 1/2 cups (300g) granulated sugar
- 4 large eggs at room temperature
- 2 tablespoons vanilla extract
- 1 1/3 cups (320ml) buttermilk at room temperature
Frosting Ingredients
- 1 cup (226g) butter at room temperature
- 4-5 cups (480-600g) powdered sugar
- 1/4 cup (60ml) milk of choice
- 2 teaspoons vanilla extract
- pinch of kosher salt
Instructions
Make the Cupcakes
- Preheat the oven to 350°F. Place paper liners in every other cup of two cupcake tins. Set aside.
- In a medium bowl, whisk together the gluten-free flour, cornstarch, baking powder and salt.
- In the bowl of a stand mixer fitted with a whisk attachment (or use a large bowl with a hand mixer), beat the softened butter and oil together until blended well, about 3 minutes.
- With the mixer running on medium-low, slowly add the granulated sugar to the oil and butter. Beat on high until the mixture is light and fluffy and turns a very pale yellow, about 3 minutes.
- Add the eggs in one at a time, scraping down the bowl in between each addition. Mix in the vanilla extract, then beat on high for another 2 minutes. You want to incorporate lots of air!
- With the mixer running on low, add ½ of the dry ingredients followed by ½ of the buttermilk, mixing until fully combined. Repeat with the remaining dry ingredients and buttermilk.
- Using a kitchen scoop or large spoon, fill each baking cup ¾ of the way up. Bake for 18-20 minutes, until a toothpick inserted in the center comes out mostly clean with a few moist crumbs. Repeat with the remaining batter if needed.
- Let the cupcakes cool in their pan for 5 minutes, then transfer to awire rack to cool completely.
Make the Frosting
- In the bowl of a stand mixer, or using a hand mixer, beat the butter on medium-high speed until creamy, about 2 minutes.
- Add 4 cups powdered sugar along with the milk, vanilla and salt. Mix on low speed for 30 seconds, then increase to medium-high speed and whip for a full 2 minutes.
- If the frosting is too thick, add a little more cream/milk. If the frosting is too thin, add more powdered sugar to make a spreadable consistency. Frost the cupcakes as desired.




















Hello,
Can u use liquid Just Egg in this recipe?
Hi there, we haven’t tried egg replacements, like Just Egg, in the vanilla cupcakes. If you decide to give it a try, we’d love to hear how it goes!
I love this recipe but want to make it in cake form. What do I adjust?
Hi Addisyn, we’re happy to hear you enjoyed the cupcakes! To make a cake out of this recipe, you can use the same batter and either two 8-inch rounds or one 9×13. The oven temperature will remain the same, but the bake time will need to increase. The cake(s) may take 30+ minutes to bake, but the best way to monitor doneness is to watch the cake’s rise and use a toothpick to test internal doneness. We also have a vanilla cake recipe you may be interested in trying. We hope this helps!
Has anyone tried to use butter or olive oil in place of the vegetable oil? We have a soy allergy here, so I do not use that.
Hi Tina, those substitutions should work in place of the vegetable oil. For neutral oils, we really love avocado and grapeseed oils. We hope this helps!
Hi, going to try this recipe but wanted to know first if you think the cupcakes would be sturdy enough for a jam filling. Thanks!
Hi Jill, that sounds delicious! We haven’t tried a jam filling in these ourselves, but it’s definitely worth a try. We’d love to hear how it goes!
Is there a non dairy substitute for the buttermilk?
My sister & my parents are gluten free/gluten sensitive, so I am always looking for a great gf cupcake for parties. Since this recipe said it would only make 20 cupcakes, I doubled the recipe. Doubling the recipe actually made 38 perfect cupcakes AND two 6″ cake rounds. So baker be aware, a single recipe will more than likely yield more than 20 cupcakes for you. Also, I just filled my cupcake pans without any gaps, and they are all really cute and well-domed. Will keep this recipe for future parties!
I also added gel coloring to the batter (my son loves green) and it worked great!
Ummmm… these were the absolute BEST cupcakes I’ve ever had.. GF or not! The texture, the taste.. everything.. wonderful!!! Is it the same recipe to make a cake?!
Hi Mariah, we’re happy to hear you enjoyed the cupcakes! To make a cake out of this recipe, you can use the same batter and either two 8-inch rounds or one 9×13. The oven temperature will remain the same, but the bake time will need to increase. We also have a vanilla cake recipe you may be interested in trying. We hope this helps!
Is there a milk alternative I can use instead of buttermilk?
Hi Lauren, you can try a non-dairy milk with apple cider vinegar or lemon juice in place of the buttermilk. It will need to sit for at least 5 minutes before adding it to the mixture. This alternative may impact the final results a bit. Thank you for your question!
Couldnt believe these were GF! Loved every bite!
They turned out light, fluffy, and delicious. They were not perfect domes but I’m still learning. Found the best recipe! Thanks for the tips!
I’m glad they turned out light and fluffy for you! That’s great news!
Why does my batter have a very odd aftertaste? Sort of like metal or even a bit fishy? None of my ingredients are expired and I triple checked the recipe and I did it exact. Just put it in the oven hoping this taste will go but…so odd! Anybody know what it could be?
Hi Miriam, we aren’t sure why your batter would have such an aftertaste if ingredients were not expired and measurements followed. We hope once baked, you enjoyed the vanilla cupcakes!
My sister in law is celiac so these were perfect! Also, I appreciate the photo descriptions!
I made these cupcakes, followed the recipe to the letter except for the sugar, I used one cup of sugar instead. They came out wonderfully. Best part they still tasted good the next day, not grainy. I frosted them and they were a so good. Next time I will put cooked apples or raisins in this recipe for variety.
I saved unused batter in the fridge, don’t know how long it will stay edible, we’ll see.
Thanks Janet, I discovered you today and now follow you on instagram.
I was looking for a gluten-free cupcake recipe and this was perfect! These cupcakes turned out so fluffy and delicious, thank you!!
I’m so happy you enjoyed them! 🙂
Amazing!! My fam and I made this for my birthday and they were absolutely perfect. Thank you so much!! Only change I made was using milk/lemon juice for the buttermilk and I halved the recipe. No one could tell they were gluten free!
I am guilt-free with these gluten-free cupcakes! They are so adorable and festive! kids helped me top them with some sprinkles!
I’m so glad you and your kids enjoyed them!
I love that you have the option to refrigerate the remaining batter. The cupcakes are very light and fluffy that made me want one more after the first one!
Hooray! I always want to eat more than one too – ha. Glad you enjoyed them!
Is there a replacement for the cornstarch in this recipe?
You can use potato starch (no potato flour) or tapioca starch!
Hi! I am just wondering if I could use this recipe to make a Layer cake?
They look delicious
Thanks so much
Hi Elizabeth, thank you for your question! To make a cake out of this recipe, you can use the same batter and either two 8-inch rounds or one 9×13. The oven temperature will remain the same, but the bake time will need to increase. The cake(s) may take 30+ minutes to bake, but the best way to monitor doneness is to watch the cake’s rise and use a toothpick to test internal doneness. We also have a vanilla cake recipe you may be interested in trying. We hope this helps!