Gluten-free Chocolate Cupcakes (vegan option)

These gluten-free chocolate cupcakes are incredibly moist and just as delicious as traditional cupcakes! With vegan and dairy-free options.

I’ve been making these amazing cupcakes for about 14 years now (although I used to make them with whole wheat). Once I tried this recipe, I had no desire to try another!

If you prefer to use a cake pan instead of making cupcakes, I posted the cake base over on Food Doodles. That healthy chocolate cake recipe also has a different + healthier frosting recipe.

These gluten-free chocolate cupcakes, if you use the same flour I did, don’t taste at all gluten-free. They’re so very moist and fudgy and sure to please even the pickiest of eaters.

These gluten-free chocolate cupcakes are incredibly moist and just as delicious as traditional cupcakes! With vegan and dairy-free options.

You could try a different blend but I can’t say that the cupcakes would be as good or that they’d not taste gluten-free. Gluten-free flour mixes are so different!

I have tried them with buckwheat flour for a whole grain, healthier version but I thought they tasted strange. And I don’t want weird tasting cupcakes!

I do hope to post a healthier gluten-free cupcake recipe soon, though. If you want something that’s whole grain + gluten-free, check out the kladdkaka (Swedish sticky chocolate cake) recipe I posted last week.

To top these cupcakes off, I used chocolate cream cheese frosting. It’s super easy to make and seriously so delicious! And it pipes wonderfully.

These easy gluten-free chocolate cupcakes are incredibly moist and just as delicious as traditional cupcakes! With vegan and dairy-free options.

The cupcakes, without the cream cheese frosting, are dairy-free and vegan as long as you use dairy-free milk and egg replacements. I recently made them with chia eggs for the first time and was surprised that it worked so well.

There’s really no difference between the version with regular eggs and the one with chia eggs. I haven’t tried, but I imagine other egg replacers would work.

I’ve also linked to some vegan and dairy-free frostings in the recipe. One is my vegan chocolate frosting, which is almost like fudge.

These amazing gluten-free chocolate cupcakes are incredibly moist and just as delicious as traditional cupcakes! With vegan and dairy-free options.

You can see what it looks like on my paleo chocolate cupcakes. It can also be piped!

But you definitely don’t want as much frosting piped on top of the cupcakes as you see in the pictures in this post. It’d be way too rich.

Another option would be this vegan chocolate frosting made with basically just chocolate and coconut milk.

I’m not including the recipes for the two vegan frostings below because it’d make the recipe super long and because I have entire posts dedicated to those recipes. There are lots of tips in there and they’re worth reading if you want to make them. :)

These gluten-free chocolate cupcakes are incredibly moist and just as delicious as traditional cupcakes! With vegan + dairy-free options.

For the sweetener, you’ve got several options. Granulated sugar or coconut sugar or for a less sweet and non-vegan version – honey! I actually only used half the amount of honey and that version is still really tasty.

If using granulated or coconut sugar, you can still reduce the sugar a bit if you really don’t want to use the full amount. Instead of 2 cups (I know, this is crazy!), you could probably get away with 1 1/2 cups without affecting the taste + texture too much.

I think these would be great for Valentine’s Day! Just top each with a raspberry or strawberry. This paleo vegan chocolate cheesecake and this gluten-free vegan chocolate cake would also be excellent choices.

Questions about these gluten-free chocolate cupcakes?


  • Can you taste the olive oil? I used extra-virgin olive oil and you can taste it in the batter and while the baked cupcakes are still hot. Once it cools, you can’t taste it. If you’re worried about it, use light olive oil (the light refers to the taste and not calories).

  • Can I use another oil other than olive? You can use canola oil, vegetable oil, grapeseed oil, etc. Anything neutral tasting. I haven’t tried coconut oil but there might be some slight coconut taste in your cupcakes if you use unrefined. If you use refined, you won’t taste any coconut.

  • Can I use butter? I bet you could use butter in these cupcakes but the cupcakes wouldn’t be as moist (butter is 80-82% fat and oil is 100% fat).

  • Flour

  • Can I use a different gluten-free flour mix? I used Bob’s Red Mill Gluten-Free 1-to-1 Baking Flour. If you have another brand that works as a sub for all-purpose flour, then you could probably use it here. I can’t say the texture would be as perfect as with the flour mix I used, though.

  • Do these gluten-free chocolate cupcakes taste gluten-free? These chocolate cupcakes taste like they were made with all-purpose flour. At least with the gluten-free flour mix I used and after they’ve cooled a bit.

  • Can I use almond / coconut / other flours? Nope. There’s no direct sub for gluten-free flour mixes.

  • These gluten-free chocolate cupcakes are incredibly moist and just as delicious as traditional cupcakes! With dairy-free and vegan options.


  • Can I reduce the sugar? Reducing sugar also reduces moist-ness so unless you want a dry cake, don’t go overboard and reduce it to 1/2 cup or some small amount. I think using 1 1/2 cups of sugar would be safe. The honey version is already a reduced amount (1 cup of honey instead of 2 cups of sugar) and I don’t recommend reducing it even more!

  • Can I use something other than the listed sweeteners? I’ve made these chocolate cupcakes with the listed sweeteners and nothing else. So those are the only ones that I know 100% work.

    But I do think any liquid sweetener that you’d usually use in place of honey would probably work here. Any granulated sweetener that you’d usually use in place of granulated sugar would probably also work.

  • Random

  • Are all cocoa powder brands gluten-free?Cocoa powder is naturally gluten-free, but you can read Is Cocoa Powder Gluten-free? for more info on what brands are tested and labeled as gluten-free! You can also read more specifically about Hershey’s here → Is Hershey’s Gluten-free?

  • Can I use a different egg replacer? I haven’t tried, but I imagine other egg replacers (that you’ve used in other cakes with good results) would work.

  • Can I make this recipe into a cake? Yes! You can use two round 8″ pans and bake for 25-30 minutes.

  • Can I freeze the cupcakes? Yes, they freeze well. Freeze them unfrosted and frost after they’ve thawed and come to room temperature.

    If you’re just freezing them for your family, and don’t care about the frosting sweating, then you can also freeze them frosted.

If you try out these gluten-free chocolate cupcakes, I’d love to hear what you think!

Gluten-free Chocolate Cupcakes

Rated 5.0 by 6 readers
Gluten-free Chocolate Cupcakes (vegan option)
  • Prep Time:
  • Cook Time:
  • Ready in:
  • Yield: 24 cupcakes



  • 2 cups (400 grams) granulated sugar, raw sugar or coconut sugar or 1 cup (320 grams) honey for a non-vegan version
  • 1 3/4 cups (236 grams) Bob's Red Mill Gluten-Free 1-to-1 Baking Flour
  • 3/4 cup (85 grams) Dutch-process cocoa powder (regular cocoa powder works, too, I just prefer the darker taste of Dutch-process)
  • 1 1/2 teaspoons baking powder
  • 1 1/2 teaspoons baking soda
  • 1 teaspoon salt
  • 2 large eggs (50 grams each, out of shell) or 2 chia eggs1 for vegan
  • 1 cup (240 milliliters) milk of choice2 (make sure to use DF / vegan milk, if desired)
  • 1/2 cup (120 milliliters) olive oil (or canola oil or another neutral-tasting vegetable oil)
  • 2 teaspoons vanilla extract
  • 1 cup (240 milliliters) boiling water3
  • For the chocolate cream cheese frosting:

  • two 8-ounce packages (450 grams total) cream cheese, softened
  • 1/2 cup (113 grams) butter, softened
  • 1 1/2 teaspoons vanilla extract
  • 2/3 cup (74 grams) Dutch-process cocoa powder (regular cocoa powder also works)
  • pinch of salt
  • 1/2 to 1 tablespoon milk
  • 2 cups (240 grams) powdered sugar
  • For the vegan frosting, use vegan fudge frosting or vegan chocolate frosting


    To make the cupcakes:

  1. Preheat your oven to 350 °F (175 °C). Line 2 muffin pans with 24 liners.
  2. In a large bowl, stir together the sugar (if using honey, don’t add it yet), flour, cocoa, baking powder, baking soda and salt.
  3. Add eggs, milk, honey (if using), olive oil and vanilla. Mix until combined and then stir in the boiling water. The batter will be almost as thin as water.
  4. Fill each liner just a little more than halfway full.
  5. Bake for 18 minutes or until a toothpick comes out with some moist crumbs, but no liquid.
  6. Let cool for 5 minutes in the pans, and then turn out onto a rack to cool. Let cool completely before frosting.
  7. To make the cream cheese frosting:

  8. In a medium mixing bowl, beat the cream cheese and butter together with an electric hand mixer at medium speed until well combined. It's okay if it looks a little crumbly. Add the vanilla, cocoa powder, salt and 1/2 tablespoon of milk and beat until well combined. If the mixture is very thick now, add the other 1/2 tablespoon of remaining milk.
  9. Gradually beat in the powdered sugar until totally combined. Frost the cupcakes with 2 1/2 tablespoons of frosting per cupcake. Refrigerate frosted cupcakes in an airtight container for up to 4 days. Store unfrosted cupcakes in an airtight container at room temperature for up to 3 days.
  10. For the vegan versions:

  11. If making the first option (the chocolate fudge frosting), this yields about 1 cup of frosting, which is enough for a thin smear of frosting - about 2 teaspoons. If you want a tablespoon of frosting for each cupcake, then do 1.5x the recipe. For 2 tablespoons (which I think is a lot as that frosting is very rich, then do 3x the recipe).
  12. If making the second recipe, it yields 2 cups of frosting, which is enough for 4 teaspoons of frosting per cupcake. I think that's just the right amount.


  1. To make the chia eggs for this recipe, mix together 2 tablespoons of ground chia seed with 6 tablespoons of water until well combined. Let sit for 1-2 minutes until goopy like regular eggs.
  2. If you use canned coconut milk, water it down so it's about as thin as dairy milk. Maybe half coconut milk and half water?
  3. I know that sounds like a lot of water but I promise you, you need 1 cup!

Adapted from my Whole Wheat Chocolate Cupcakes, which were adapted from Adapted from Hershey’s One Bowl Chocolate Cake

Recipe by  |

Pin post on Pinterest Share post on Facebook Share post on Twitter Share post on Google+

18 comments on “Gluten-free Chocolate Cupcakes (vegan option)” — Add one!

4 comments are awaiting moderation!

  • Fatima
    November 27, 2023 @ 1:47 pm

    Hi Erin! I tried this recipe out last night. The cupcakes were great! It was hard to tell that this is a gluten-free and refined sugar free recipe. I haven’t made any frosting yet and many of them are gone already….

  • Stacy
    July 2, 2023 @ 7:05 am

    Hi! Just made these and they are delicious! I was so impressed! So far my baking avoiding many ingredients due to allergies and intolerances in our family, has come up with a lot of flops. These came together so easily too. Thank you! I was wondering if you have a vanilla version of these cupcakes, or if I could just add more gf 1:1 flour in place of the cocoa powder? Plus maybe add more vanilla extract? These were wonderful and I’d love to have a second option. :)

    • Erin replies to Stacy
      July 6, 2023 @ 8:23 pm

      Hi! I’m really sorry for just now seeing this. And I’m so happy that they came out well! Unfortunately, there’s no way to easily convert this recipe to vanilla. You’d have to rework the entire recipe. 🙁 I’ve tried SO many GF vanilla cupcakes recipes, including the first results when you google “gluten-free vanilla cupcakes” and while some are good straight from the oven, they get rubbery and weird when cooled. But not this recipe from King Arthur Flour! It’s for cake, but I’ve made them as cupcakes (though I don’t remember the baking time). And you need their GF Measure for Measure Flour, but it’s worth it. Definitely my favorite GF cake! Thanks for your comment and I hope you’ll enjoy the cupcakes if you try them. :)

  • Kristi says
    April 2, 2022 @ 5:36 am

    I made this but used buttermilk, egg replacer and coffee instead of water. The rest of the recipe I followed to a tee. The cupcakes didn’t rise. Could it have been of the replacement ingredients I used? I have never made gluten and egg free before but my nephew is gluten free and my niece can’t have eggs. What did I do wrong?

    • Erin replies to Kristi
      April 3, 2022 @ 7:02 pm

      Hi there! The problem is the buttermilk. This sub might work in some recipes, but it’s usually risky in cakes recipes. Especially a gluten-free one. If you use buttermilk instead of milk in cake, you need to adjust the leavening. It also makes the batter thicker. Then using an egg replacer on top of the buttermilk probably didn’t help. Like I said in the post, I’ve only used chia eggs to replace the eggs, but I would imagine others would work. But not with buttermilk.

  • Bernie Decollo says
    August 6, 2021 @ 8:53 pm

    I make gluten free desserts for my 2 grand and I have to say that these were the best gluten free cupcakes that I’ve ever tasted. They were actually light and fluffy!! Way better than than the prepackaged gluten free cake mixes! Thanks this recipe is a keeper!

    • Erin replies to Bernie Decollo
      August 7, 2021 @ 6:41 am

      You’re welcome! I’m so glad that you think they’re the best. :) I hope that your granddaughters were happy with them! Thanks a ton for your feedback. :)

  • Jeannette says
    July 18, 2021 @ 2:57 pm

    Hi. Perfect! Thank you! Can I freeze these unfrosted? I used granulated sugar, dairy free milk and melted butter <instead oil.

    • Erin replies to Jeannette
      August 7, 2021 @ 6:51 am

      I’m terribly sorry for just now seeing your question! Hopefully you found the answer. :) It’s the last paragraph of the post. But yes, you can freeze them!

  • Simple and Create
    September 28, 2020 @ 7:29 pm

    Moist, chocolatey, and yummy!

    I made the cupcakes and they were good. Next time I will use coconut oil instead of olive oil. I thought the olive oil taste was to strong, but this was due to the type of olive oil I used.

    Thank you!

    • Erin replies to Simple and Create
      September 30, 2020 @ 6:08 am

      I’m so glad that you enjoyed them! You still tasted the olive oil after they had cooled? That is very interesting! I’ve never had that issue. Thanks so much for your feedback!

  • Michelle H
    April 20, 2020 @ 12:45 pm

    Erin I must comment on these Gluten Free Chocolate Cupcakes.

    My daughter is gluten free and desperate for a ‘bakery made gluten free cupcake’. Let me be clear, I can’t bake to save my life, which is why I usually buy gluten free baked goods.

    Thanks to Covid-19, I have been forced to try and bake gluten free goods for my daughter! After many failed attempts to bake a chocolate-y, moist, fluffy cupcake, I experienced success with your recipe!

    Thank you Thank you Thank you for sharing this recipe. These gluten free chocolate cupcakes are hands down, THE BEST recipe, yielding the BEST gluten chocolate cupcakes known to gluten free mouths worldwide! Take that Corona Virus! haha!

    I think the boiling water is the trick. Fantastic Erin! My daughter can’t thank you enough!

    Be well, be safe. And Happy Easter Weekend!


    Michelle H
    Toronto, Canada

    • Erin replies to Michelle H
      April 20, 2020 @ 1:16 pm

      Hi Michelle! I’m so very sorry for my slow reply to your nice review. I don’t get much work time with my little one around all the time now. I’m really glad that you found this recipe and had success with it! And how awesome that your daughter was happy with them. Since you said you’re trying stuff out for your GF daughter, I can highly recommend these paleo chocolate chip cookies for another bakery-style treat. And these gluten-free brownies! The brownies use the same flour as the cupcakes. Thanks a ton for your wonderful comment!

  • Staci says
    February 25, 2020 @ 4:43 pm

    Thank you for including honey as options in your recipes. I can’t have coconut sugar or any version of cane sugar, so honey options are a BIG deal!

    Thank you

    • Erin replies to Staci
      April 7, 2020 @ 8:10 pm

      I’m so sorry for just now seeing your comment! It landed in spam for some weird reason. :( I’m glad that you like the honey option! I’ll try including one more often, if possible. Thanks for your comment and sorry again for the slow reply!

  • Floranet
    February 14, 2020 @ 6:44 am

    Significant piece of work, Thank You!!

  • Charlotte Moore
    February 11, 2020 @ 10:59 am

    They really do look like a moist cupcake. I have been meaning to try a cupcake using hot water. It seems so strange to put boiling water in a cake batter. It seems to work well.

    • Erin replies to Charlotte Moore
      February 13, 2020 @ 1:09 pm

      It does sound strange, I know! I even made a note in the recipe how you really DO need the full cup of water. I hope you’ll get to try these out!


Comments? I’d love to hear from you!

Your email address will not be published. Required fields are marked with *


Comments are moderated. If you don’t see your comment immediately, don’t panic… it went through! Thank you so much for taking time to leave feedback!

Please help others by rating the recipe: