This gluten-free vanilla cupcake recipe was created to rise evenly, stay light and fluffy, and avoid the dense, gummy texture that often occurs with gluten-free cupcakes. It is made with simple ingredients, including gluten free flour, sugar, butter, vanilla, and milk. The crumb is soft and delicate, with a pure vanilla flavor that makes a great cupcake base for any frosting. There is also a dairy-free version.
This post may contain affiliate links. Please read our Disclosure Policy.

❤️ Sandi’s Recipe Summary
The Quick Bite: These gluten-free vanilla cupcakes bake up light and fluffy with a soft crumb. I share includes specific mixing and resting guidance to help gluten-free flour blends hydrate properly, which helps prevent dense or gummy cupcakes. This recipe works as a reliable cupcake base for any frosting, with a dairy-free option included.
Cupcakes have always been one of my family’s favorite desserts. They are individually portioned and made with simple gluten-free ingredients. I have tested this recipe multiple times to make sure it consistently yields cupcakes that rise beautifully and remain light and airy, whether you are baking for a birthday, a party, or simply because you are in the mood.
Vanilla cupcakes may seem simple to make, and I tested this cupcake recipe multiple times to remove that guesswork so you get fluffy cupcakes every time.
Want more delicious gluten-free cupcakes? Curious about what other flavors of cupcakes I have on the blog? You can find 20 different gluten-free cupcake flavors. Top your cupcakes with my creamy gluten-free frosting recipe, or choose another flavor. I share lots of options!


(Here are photos of the cupcakes when I first created this recipe in 2018.)
Ingredient Notes:
For the full list of ingredients and amounts, please go to the recipe card below.
- Gluten-Free Flour Blend – I tested this recipe using Bob’s Red Mill 1:1 Blend and King Arthur Measure for Measure. Other gluten-free flour blends will work, but gluten-free cupcakes are sensitive to flour blend differences. If you use a different blend, you may need to adjust the moisture slightly by adding additional milk or flour, depending on the batter consistency.
- Xanthan Gum – If your gluten free flour blend doesn’t contain Xanthan Gum or Guar Gum, please add 3/4 teaspoon. Read more about why binders are important in gluten-free baking to learn more.
- Baking Powder – Use aluminum-free for the best rise and no metallic aftertaste.
- Eggs – Use large eggs.
- Dairy-Free Milk – I used almond milk when testing this recipe; other types of plant-based milk and regular milk also work. I do not recommend canned coconut milk because it can make the cupcakes denser.
- Butter – Use unsalted butter or light oil if you are dairy-free.
- Pure Vanilla Extract – I do not recommend using imitation vanilla. Because this is a vanilla-forward recipe, the quality of the vanilla makes a noticeable difference in flavor.

A Note From My Kitchen
I tested this gluten-free vanilla cupcake recipe with both Bob’s Red Mill 1:1 and King Arthur Measure for Measure, and both produced light, fluffy cupcakes.
Resting the batter for 15 to 20 minutes is an important step. This allows the rice flour in gluten-free blends time to hydrate and soften, which helps prevent a gritty texture in the finished cupcakes.
If your batter looks slightly thicker or thinner than the photos, you may need to make a minor adjustment. Gluten-free flour blends vary depending on the starch-to-grain ratio. You can easily make small adjustments with milk or flour, one tablespoon at a time, to add more liquid or flour. Focus on a smooth, spoonable batter rather than exact visual matching.
How to Make Gluten-Free Vanilla Cupcakes (Step-By-Step)

Email This Recipe To Me!
Step 1: Whisk the dry ingredients together. Whisking helps distribute the leavening evenly, so you get a consistent rise.
Step 2: Mix the wet ingredients. If you use butter or coconut oil that is solid, heat it in the microwave for 15-20 seconds to partially melt it.
Step 3: Combine the wet and dry ingredients. Don’t overmix the batter; your cupcakes will turn out dense. (For this reason, I do not recommend using a stand mixer to make this cupcake recipe.)
Step 4: Your batter should have a smooth consistency, as shown in the photo above. The batter should be smooth and spoonable, not stiff or runny. Small adjustments with milk or flour are normal.
Sandi’s tip to avoid gritty cupcakes: Let the batter rest for 15 to 20 minutes. This step allows the gluten-free flour to hydrate fully and helps prevent a gritty texture.

Step 5: Line a muffin tin with parchment paper cupcake liners and fill each cup with cake batter. Parchment liners help prevent sticking and make cupcakes easier to remove after baking.
Step 6: Bake the gluten free vanilla cupcakes. Remove the cupcakes from the oven and let them sit in the pan for 5 minutes. After, use a knife to gently lift each cupcake out of the pan onto a cooling rack. Do not frost the cupcakes until they are cool!
Step 7: Mix the frosting ingredients in a stand mixer with a whisk attachment. I like to make the frosting while the cupcakes are cooling. If you want to add color or flavor to your frosting, check out my Gluten-Free Frosting Guide for instructions and tips! Be sure to use one of these gluten-free sprinkles brands!
If you genuinely love vanilla, you MUST give this Gluten-Free Vanilla Cake a try. It makes a great birthday cake or even a wedding cake! Or, if you also love chocolate, you can make these delicious Gluten-Free Chocolate Cupcakes and serve both flavors!!
Tips for Fluffy Cupcakes:
- 1. Do not overmix the cupcake batter. I do not recommend using a stand mixer to make gluten-free cake or cupcakes. Overmixing the batter will lead to denser cupcakes.
2. Use these parchment paper cupcake liners to prevent the cupcakes from sticking to the paper.
3. Have patience…don’t frost the cupcakes until they are fully cooled!
4. I recommend using the bake oven setting and not the convection setting for a more even bake.
Frequently Asked Questions:
Cupcakes usually sink if the oven door is opened too early or if the batter contains too much liquid. Gluten-free batters rely on a precise moisture balance, so even small changes in flour blend or milk amount can affect structure. Be sure to bake them fully and avoid opening the oven until the cupcakes are set.
This usually happens if you didn’t bake the cupcakes long enough or if you didn’t use enough flour. Every gluten-free flour blend has a different starch-to-grain ratio, affecting the liquid levels.
Dense cupcakes are most often caused by overmixing or using a flour blend that doesn’t hydrate properly. Mix the batter gently and allow it to rest before baking so the gluten-free flour has time to absorb moisture and soften.
A gritty texture usually means the rice flour in the blend did not have enough time to hydrate. Resting the batter for 15 to 20 minutes before baking helps prevent this issue and improves the overall crumb.
Store frosted or unfrosted cupcakes in an airtight container at room temperature for short storage, or freeze unfrosted cupcakes for longer storage. Gluten-free cupcakes tend to dry out faster than regular cupcakes, so airtight storage is important.
Need more baking help? I wrote up all of my gluten-free baking tips to help you! Read my Gluten-Free Cake Troubleshooting Guide. It applies to cupcakes as well! You can also learn a lot from my Gluten-Free Muffin Troubleshooting Guide.

Easy Gluten-Free Cake Recipes:
If you need more baking ideas, I have lots of fun gluten-free cake recipes you can use to make cupcakes. Here are some favorites:
- The ultimate cake, we made this Gluten-Free Chocolate Cake with Raspberries for Mr. Fearless Dining’s birthday!
- One of the best cake recipes, this Gluten-Free Lemon Bundt Cake is perfect for a party.
- This fluffy Gluten-Free Carrot Cake is delicious with cream cheese frosting.
Love This Recipe?
💬 Did you make this gluten-free vanilla cupcake recipe? I would love to hear how it turned out, and which pan or flour blend you used! Your feedback helps others (and helps me keep improving these recipes for you).⭐⭐⭐⭐⭐

Homemade Gluten-Free Vanilla Cupcakes
Ingredients
- 1 ¾ cups gluten free flour blend * see note
- 1 cup sugar
- 1 teaspoon baking powder aluminum-free
- ½ teaspoon baking soda
- ⅛ teaspoon salt
- ½ cup unsalted butter (or coconut oil)
- 2 large eggs
- 2 teaspoons pure vanilla extract
- ¾ cups milk or non-dairy milk * see note
For Chocolate Frosting
- 3 cups powdered sugar
- ½ cup unsalted butter softened
- 1 teaspoon pure vanilla extract
- ½ cup cocoa powder
- 4-5 tablespoons milk or non-dairy milk Add 1 tablespoon more if your frosting is too thick.
For Vanilla Frosting
- 3 cups powdered sugar
- ½ cup unsalted butter softened
- 1 ½ teaspoons pure vanilla extract
- 2-3 tablespoons milk or non-dairy milk
Instructions
- Preheat the oven to bake 350º F and make sure the oven rack is in the middle of the oven so the cupcakes bake evenly. I recommend using the bake oven setting and not the convection setting for an even bake.
- Combine 1 3/4 cups gluten free flour blendhe flour, sugar, baking powder, baking soda, and salt in a large mixing bowl and whisk to blend. I prefer to use a whisk to blend the dry ingredients because it mixes them more thoroughly.
- Add the partially melted butter, eggs, vanilla extract, and milk to a separate mixing bowl and whisk to combine. If you use butter or coconut oil and they are solid, heat them in the microwave for 20 seconds to partially melt them.
- Pour the wet ingredients into the dry ingredients and mix until the batter is "just barely mixed." If you overmix the batter, your cupcakes will turn out dense.
- Optional: Some flour blends are grainier than others. If you use a grainy flour blend, let the batter sit for 15 minutes so the rice flour can absorb the liquid.
- Line a muffin tin with parchment paper cupcake liners and fill each cup 3/4 full with the cake batter. You can use a large cookie or batter scoop to add the cupcake batter evenly.
- Bake the gluten free vanilla cupcakes at 350º F for 25-30 minutes. The best way to test whether cupcakes are baked is to insert a toothpick into the middle of one. If the toothpick comes back clean, the cupcakes are finished baking. If you see batter or crumbs, they must be baked a little longer.
- Cool the cupcakes on a cooling rack. Do not frost them until they are finished baking.
Make the Frosting:
- Add the powdered sugar, butter, vanilla, and milk to a stand mixer bowl. Mix the frosting ingredients in a stand mixer with a whisk attachment for 3-4 minutes until the buttercream frosting is fluffy. I like to make the frosting while the cupcakes are cooling.
- Put the frosting into a frosting pastry bag with a frosting tip. Fold the top edge of the bag over 2-3 inches and add the frosting with a large spoon to the bag. Unfold the top edge and twist the open end of the bag. Squeeze the bag to pipe frosting onto each cupcake.
- Store them in the refrigerator until you are ready to serve them.
Notes
- I have tested this recipe with King Arthur Measure for Measure GF and Bob’s Red Mill 1 to 1 GF blend. Other blends will work, but every blend has a different grain-to-starch ratio, and you may need to adjust the moisture level by adding additional flour or liquid.
- If your gluten free flour blend does not contain Xanthan Gum or Guar Gum, please add 3/4 teaspoon.
- I used almond milk, but other dairy-free kinds of milk will work. I do not recommend canned coconut milk.
- Be very careful not to overmix the batter. Overmixing will make your cupcakes turn out heavy and dense. I do not recommend a stand mixer.
- Use parchment paper cupcake liners to prevent the cupcakes from sticking to the paper.
- These cupcakes will keep fresh for up to 4 days in an airtight container or up to 4 months in the freezer. I recommend freezing the cupcakes without frosting and adding frosting when they are thawed.
Email This Recipe To Me!
SPECIAL NOTE
Please know that every gluten free flour blend has a different starch to grain ratio. If you use a blend I didn’t test, my rule of thumb is to add more flour if your dough or batter is wet and add more liquid if the dough or batter is too dry!
Nutrition
Nutrition Disclaimer
Nutritional information is an estimate provided to you as a courtesy. You should calculate the actual nutritional information with the products and brands you are using with your preferred nutritional calculator.
I truly hope you enjoy this recipe. I have been testing and creating gluten-free recipes for over 15 years. Creating gluten-free recipes that do not taste gluten-free is my goal for every recipe. Sometimes I only have to test a new recipe a couple of times, and others it takes multiple times. I do this so you get reliable, delicious results every time!


What egg substitute would you use for this recipe? Thanks!
Hi Queenie, I have not tested this recipe with any egg substitutes. Maybe someone will chime in if they have?
Made these in a mini muffin pan sprayed with avocado oil and filled with a raspberry fruit spread thinned with a little lemon juice for my daughter’s baby shower. Everyone loved them and the majority of folks did not know they were gluten free. I would like to reduce the sugar a bit. Any thoughts on doing so?
I am so glad everyone loved the cupcakes! I think you could reduce the sugar by 1/4 cup. Especially if you are frosting them.
I just made the vanilla cupcakes but used Earth Balance Butter sticks and Rice Milk. I also didn’t frost them and they are yummy!
I am so glad you enjoyed them, Karen. Thank you for coming back to rate the recipe 🙂
Is there any sweetener in the batter?
I am not sure if I understand your question. There is 1 cup of sugar in the batter.
Made these for our daughters 7th birthday party, they were perfect!!!
I am so glad you liked them!!!
Does the butter for the cupcake part need to be softened or melted??
Hi Alli, I usually melt the butter for baking. Thanks for reaching out :-).
This looks like a good recipe to use, and I was wondering, is a flour blend the same as just flour? Thanks!?
Hi Clara, a gluten free blend includes several gluten free flours, starch, and a gum for binding. One single gluten free flour will not work in recipes very well. I tend to use King Arthur, Bob’s Red Mill 1 to 1 GF Blend and Authentic Foods MultiBlend mixes mostly
Hello ? this recipe looks great! Can I ask – is it ok to use normal cow’s milk rather than non-dairy milk? Thank you!
Hi Katie, I haven’t tested this recipe with cow’s milk. If you try it, please come back and let everyone know. Thank you!!
I needed a gluten free dessert for a party and I made these. They were so delicious and no one could tell they were gluten free! Thank you!
I am so glad everyone liked them Julie. Thank you for letting me know 🙂
These look like so much fun to make! I love little hidden surprises in cupcakes. I made one with a hershey kiss in it once and I like the idea of M&Ms for my grandson as those are his favorite. I’m always searching for great tasting gluten-free recipes and this one looks like a keeper.
I love the idea of filling these with M&Ms 🙂