Gluten-free chocolate cupcakes that are spongy and moist with creamy dairy free chocolate icing! These easy gluten free and dairy free chocolate cupcakes are delicious for all celebrations, from birthdays to holiday parties, and are great for anyone with dairy and wheat allergies.

Try my Gluten-Free Red Velvet Cupcakes and White Cupcakes next! For a no-oven treat at the same party, my muddy buddies are just as allergy flexible.
Quick Look
- 🕒 Prep Time: 15 minutes
- 🔥 Bake Time: 18 to 20 minutes
- 🍽️ Makes: 24 cupcakes
- ⚡ Calories: 306kcal per iced cupcake, per the recipe card
- 🥣 Ingredients: Cocoa powder, sweet white rice flour, almond meal, potato starch, xanthan gum, vegan butter, coconut sugar, maple syrup, eggs and dairy-free yogurt, plus a dairy-free chocolate icing
- 🌶️ Flavor Profile: Rich, moist and chocolatey
- ✋ Difficulty: Easy party baking
- 🥬 Diet: Gluten-free and dairy-free
Quick Answer
Whisk 1 cup cocoa powder, ¾ cup sweet white rice flour, ¾ cup almond meal, ½ cup potato starch, 1 tablespoon baking powder, 1 teaspoon baking soda, 1 ½ teaspoons xanthan gum and 1 teaspoon salt. Cream ½ cup vegan butter with 1 ½ cups coconut sugar and ¼ cup maple syrup, then beat in 5 eggs, 1 cup dairy-free yogurt, 2 teaspoons apple cider vinegar and 2 teaspoons vanilla. Mix in the dry ingredients, fill 24 lined cups and bake at 350 degrees F for 18 to 20 minutes. Cool completely before icing.
Jump to:
Welcome to the most decadent and moist gluten-free dairy-free chocolate cupcake recipe! These beautiful cupcakes will blow your mind how incredibly rich and soft they are without containing gluten and dairy.
We made these for my youngest son's 5th birthday. His favorite flavor is chocolate EVERYTHING and he wanted chocolate cupcakes with chocolate icing. Since we try to eat as little dairy as possible, I made his chocolate birthday cupcakes gluten free AND dairy free. Including the icing.
We had the grandparents over for the birthday dinner and these were such a popular dessert that we were diving in for seconds! My in-laws decided to share one cupcake together but after one bite they had to have more.

The Secret to Moist Gluten-Free Cupcakes
Click to see the technique science
- Plain dairy-free yogurt holds the moisture in and adds protein that most gluten-free baked goods lack.
- Rice flour, almond meal and potato starch work together with xanthan gum to bind the batter so the cupcakes don't crumble.
- Apple cider vinegar reacts with the baking soda for a light, spongy crumb.
- Vegan butter in the icing holds its shape better than coconut oil, which melts quickly in warm rooms.
Why These Cupcakes Work
- They don't crumble. Not at all! They are very spongy and moist. The gluten-free flours bind the batter and the secret ingredient keeps them spongy.
- Dairy-free for sensitive tummies. Nowadays there are dairy-free alternatives which are great if you have Celiac disease. In most Celiac cases, dairy is a problem since the gut is already damaged, and consuming dairy can become uncomfortable and cause gluten intolerance symptoms. These cupcakes let you have your cake and eat it too (in mini portions!).
- Make ahead. You can make these gluten free chocolate cupcakes in advance and freeze them for up to 1 month. I did it and they were still delicious!
- Party size. This batch makes 24 cupcakes, so it is perfect for birthday parties and holiday dessert tables.
Key Ingredients
- Dry ingredients - unsweetened cocoa, sweet white rice flour, almond meal, potato starch, baking powder, baking soda, xanthan gum and pink salt. Need a swap? See my potato starch substitute and almond flour substitute guides.
- Wet ingredients - vegan butter, coconut sugar, maple syrup, eggs, dairy-free yogurt (I prefer coconut yogurt), apple cider vinegar and vanilla.
- Icing - vegan butter, dairy-free milk, vanilla, confectioners' sugar and cocoa powder.
See recipe card for quantities.
Icing Consistency
I made the icing with ½ cup of milk and it was soft and melted a bit in warm air. Made again with ¼ to ⅓ cup of milk, it was thicker and easier for flowers, decorations and swirls. More liquid (⅓ to ½ cup) is easier to spread for a light layer or a layer cake. We took these cupcakes outside in 95 degree heat and the icing stayed pretty stable, considering!
Want a pourable topping instead? Try my dairy-free chocolate ganache.
How to Make This Recipe
1Mix the dry ingredients. Preheat the oven to 350 degrees F and line 2 muffin pans with cupcake liners. Combine the dry ingredients in a large bowl.
2Mix the wet ingredients. In another bowl, cream the vegan butter, coconut sugar and maple syrup with an electric mixer, then beat in the eggs, yogurt, apple cider vinegar and vanilla. Beat in the flour mixture until well blended.
3Bake. Pour into the prepared muffin cups and bake for 18-20 minutes, until a toothpick comes out clean. Cool 10 minutes, then move to a rack to cool completely.

4Ice. Beat the vegan butter, milk and vanilla until smooth, then beat in the confectioners' sugar and cocoa. Wait until the cupcakes are completely cooled before icing, otherwise the icing will melt on top.
As always, be sure to check out the full recipe details in the recipe card below.
Tips and Serving Ideas
- Freeze ahead for up to 1 month.
- Party dessert table. These cupcakes sit perfectly next to a scoopable Oreo dirt cake with gummy worms.
- Bigger celebration. Make my gluten-free chocolate mousse torte or healthy chocolate bundt cake.
- Breakfast version. Bake my flourless chocolate muffins.
Chocolate Cupcake FAQs
Not at all. They are very spongy and moist. The gluten-free flours bind the batter and the dairy-free yogurt keeps them moist.
Plain dairy-free yogurt. It holds the moisture in and adds protein that most gluten-free baked goods lack.
Yes. Make them in advance and freeze them for up to 1 month.
24 cupcakes, so it is perfect for parties.
Use ¼ to ⅓ cup dairy-free milk. More milk makes a softer icing for spreading.
Only after they are completely cooled, or the icing will melt.

Gluten-Free Dairy-Free Chocolate Cupcakes
Would you like to save this?
Plus get latest recipes and emails.
Ingredients
Gluten-Free Chocolate Cupcakes
- 1 cup unsweetened cocoa powder
- ¾ cup sweet white rice flour
- ¾ cup almond meal
- ½ cup potato starch
- 1 tablespoon baking powder
- 1 teaspoon baking soda
- 1 ½ teaspoons xanthan gum
- 1 teaspoon pink salt
- ½ cup vegan butter at room temperature
- 1 ½ cups coconut sugar
- ¼ cup maple syrup
- 5 eggs large
- 1 cup plain dairy-free yogurt (prefer coconut yogurt)
- 2 teaspoons apple cider vinegar
- 2 teaspoons vanilla extract
Dairy-Free Chocolate Icing
- 1 cup vegan butter room temperature
- ¼-1/2 cup dairy-free milk
- 1 tablespoon vanilla extract
- 5 cups confectioners' sugar
- ¼ cup unsweetened cocoa powder
Instructions
- Preheat the oven to 350 degrees F. Line 2 muffin pans with cupcake liners.
- In a large bowl combine the cocoa powder, sweet white rice flour, almond meal, baking powder, baking soda, xanthan gum and salt.
- In a large bowl, using an electric mixer, whisk on medium speed and cream together the butter, coconut sugar, and maple syrup. Add in the yogurt, apple cider vinegar and vanilla. Turn it down to low and scrape the sides of the bowl with a spatula. Slowly pour in the flour mixture until well-blended.
- Pour the batter equally into the prepared cupcake liners. Bake 18-20 minutes or until a wooden toothpick inserted in the center comes out clean. Let cool for 10 minutes, then transfer the cupcakes to a wire rack to cool completely.
Chocolate Icing
- While the cupcakes cool, make the icing. In a large bowl with an electric mixer on high, beat the butter, ¼ cup milk and vanilla until smooth. Beat in the confectioners' sugar and cocoa until incorporated. Slowly add up to ¼ more of milk, 1 tablespoon at a time until spreadable but not too soft.
- Add icing to the cupcakes only when the cupcakes are cooled.








Leave a Reply