Moist Gluten Free Dairy Free Cupcakes That Actually Taste Good
These gluten free dairy free cupcakes are soft, fluffy, and taste just like a classic vanilla cupcake. No one will believe they’re allergy-friendly.

Made with a simple gluten-free flour blend and everyday pantry ingredients, they come together in one bowl and bake up with a tender crumb and golden top.
Why These Cupcakes Are So Good
Most allergy-friendly cupcakes turn out dry or dense. This recipe uses a one-to-one gluten-free flour blend that already contains xanthan gum, so you get a light, springy crumb without any guesswork.
The combination of oil and a splash of vinegar in the dairy-free milk creates a tender texture that stays soft for days. A simple vanilla buttercream made with dairy-free butter finishes them off, and it’s just as creamy as the traditional version.
Ingredients

- 1½ cups (210 g) 1-to-1 gluten-free flour blend: I use Bob’s Red Mill in the blue bag; it contains xanthan gum
- 1 tsp baking powder: gives the cupcakes their lift
- ½ tsp baking soda: reacts with the vinegar for extra tenderness
- ½ tsp fine sea salt: enhances the vanilla flavor
- ¾ cup (150 g) granulated sugar: regular cane sugar works best here
- ½ cup (120 ml) unsweetened almond milk: any plain plant milk will do
- 2 tsp apple cider vinegar: you can also use white vinegar
- ⅓ cup (80 ml) melted refined coconut oil: measured after melting, then cooled slightly
- 2 large eggs: room temperature for the smoothest batter
- 2 tsp pure vanilla extract: the real stuff, not imitation
For the dairy-free buttercream
- ½ cup (113 g) dairy-free butter sticks: choose a brand labeled “for baking,” like Earth Balance sticks
- 2½ cups (300 g) powdered sugar: sift if it’s clumpy
- 1 tsp vanilla extract
- 1 to 2 tbsp unsweetened almond milk: just enough to reach a spreadable consistency
Variations / Substitutions
- Make them vegan: replace the 2 eggs with 2 flax eggs (2 tbsp ground flaxseed whisked with 5 tbsp water, rested 5 minutes). The crumb will be a bit more delicate, but still tender.
- Chocolate cupcake version: swap 2 tbsp of the gluten-free flour for 2 tbsp unsweetened cocoa powder, and add an extra tablespoon of milk.
- Use a different oil: melted refined coconut oil keeps the cupcakes neutral tasting; you can use avocado oil or any light vegetable oil instead.
- Nut-free: choose oat milk or rice milk and use a soy-free dairy-free butter stick for the frosting.
- If you like the flavor, try my Gluten Free Lemon Blueberry Muffins next—they use a similar base and come out just as moist.
How To Make Gluten Free Dairy Free Cupcakes
Step 1: Mix the Dry Ingredients

Preheat the oven to 350°F (175°C) and line a standard 12-cup muffin tin with paper liners. In a medium bowl, whisk together the 1½ cups gluten-free flour blend, 1 tsp baking powder, ½ tsp baking soda, and ½ tsp salt until evenly distributed.
Step 2: Whisk the Wet Mixture

Pour the ½ cup almond milk into a liquid measuring cup and stir in the 2 tsp apple cider vinegar. Let it sit for a couple of minutes while you gather the rest of the ingredients—it will thicken slightly and look a little curdled, which is exactly what you want. In a large bowl, whisk the ¾ cup sugar, ⅓ cup melted coconut oil, 2 eggs, and 2 tsp vanilla until the mixture is smooth and slightly paler, about 1 minute. Pour in the milk mixture and whisk again to combine.
Step 3: Fold the Batter Together

Add the dry ingredients to the wet mixture all at once. Use a rubber spatula to fold everything together gently, scraping the bottom of the bowl. Stop as soon as no dry flour remains—the batter will be thick and a little sticky, with no streaks. A few small lumps are fine; overmixing makes the cupcakes tough.
Step 4: Scoop and Bake the Cupcakes

Divide the batter evenly among the 12 liners, filling each about two-thirds full. An ice cream scoop works well here and keeps the sizes uniform. Bake on the center rack for 18 to 20 minutes, until the tops are golden and a toothpick inserted in the middle comes out clean or with a few moist crumbs. Let the cupcakes rest in the pan for 5 minutes, then transfer them to a wire rack to cool completely before you frost them.
Step 5: Whip and Swirl the Frosting

Beat the ½ cup dairy-free butter with an electric mixer on medium speed until creamy and smooth, about 2 minutes. With the mixer on low, gradually add the 2½ cups powdered sugar, 1 tsp vanilla, and 1 tbsp of almond milk. Once the sugar is incorporated, increase the speed to medium-high and beat another full minute. If the frosting feels too stiff, add the remaining tablespoon of milk, a tiny splash at a time, until it’s light and spreadable. Pipe or spread the frosting onto the cooled cupcakes and serve them right away, with the creamy swirls sitting tall on each one.
How to Get Tender, Bakery-Style Cupcakes
- Let your eggs and milk come to room temperature before you start—cold ingredients can make the batter seize and result in a denser cupcake.
- Spoon the flour blend into your measuring cup and level it with the back of a knife instead of scooping straight from the bag. Too much flour is the fastest way to a dry crumb.
- Cool the cupcakes completely before you add any frosting. Even a hint of warmth will melt the dairy-free butter and turn your buttercream into a puddle.
- For the fluffiest frosting, beat the dairy-free butter alone for the full 2 minutes before adding the sugar. It should look pale and whipped before anything else goes in.
Bake times by pan:
| Pan Type | Time |
|---|---|
| Standard 12-cup muffin tin | 18 to 20 mins |
| Mini cupcake tin | 10 to 12 mins |
Keeping Leftover Cupcakes Fresh
- Store: Unfrosted cupcakes keep at room temperature in an airtight container for up to 2 days. Once frosted, they’re best the same day, but you can refrigerate them covered for up to 4 days. Bring them back to cool room temperature before serving so the frosting softens.
Frequently Asked Questions
Can I make these cupcakes vegan?
Yes. Substitute each egg with a flax egg (1 tbsp ground flaxseed plus 2½ tbsp water, rested 5 minutes). The cupcakes will be slightly more delicate but still moist and tender.
My cupcakes sank in the middle. What went wrong?
Overmixing the batter or opening the oven door too early are the most common culprits. Mix just until the flour disappears and wait until the 18-minute mark before peeking.
Can I use coconut flour instead of a gluten-free blend?
No, coconut flour absorbs far more liquid and will completely change the texture. Stick with a one-to-one gluten-free flour blend that already contains xanthan gum for the best results.
Can I freeze the cupcakes?
Yes. Freeze unfrosted, cooled cupcakes in a single layer inside a zip-top bag for up to 3 months. Thaw at room temperature and frost before serving.

Gluten Free Dairy Free Cupcakes Recipe
Ingredients
Method
- Preheat oven to 350°F (175°C) and line a 12-cup muffin tin with paper liners. Whisk gluten-free flour, baking powder, baking soda, and salt in a bowl.
- Stir almond milk and vinegar together and let sit briefly. In a large bowl, whisk sugar, melted coconut oil, eggs, and vanilla until smooth, then whisk in the milk mixture.
- Add dry ingredients to wet and fold with a spatula until no flour streaks remain. Batter will be thick.
- Divide batter evenly into liners and bake 18 to 20 minutes, until a toothpick comes out clean. Cool in pan 5 minutes, then transfer to a wire rack to cool completely.
- Beat dairy-free butter until creamy. Gradually add powdered sugar, vanilla, and 1 tbsp almond milk, then beat until fluffy, adding more milk as needed. Frost cooled cupcakes and serve.
