These gluten free and keto chocolate cupcakes need no introduction! Think an intensely chocolatey and moist cupcake, topped off with a ridiculous chocolate buttercream frosting.

Gluten Free & Keto Chocolate Cupcakes
Ultra (Ultra!) Chocolatey
Calling these keto chocolate cupcakes delicious just doesn’t cut it… they’re insanely delicous! I mean, think ‘death by chocolate’ level sort of good.
So expect ultra-chocolatey cupcakes, topped off with our special (cream cheese!) buttercream frosting. And going a little extra with the frosting decorations is always highly suggested.
And fact is, these guys are essentially little fat bomb treats! Just be sure to use a grass-fed butter for maximum nutritional benefits: it’s loaded with Vitamin-K2 (which de-calcifies your arteries), anti-inflammatory fatty acid called butyrate, among many other perks. So if you have to choose just one product to splurge on, this is it.

The Method
The chocolate cupcakes are a spinoff of our classic keto chocolate cake! Having said that, they have a couple extra ingredients to make them ultra moist! But they both bloom the cocoa with melted butter, leading to that beautifully intense chocolate kick.
The most important thing with chocolate-anything? The baking time! Just be sure to take them out as soon as they’re set and a toothpick comes out clean (a few specks are cool).
You’ll then allow them to cool completely before frosting!

And yes, with the temperatures on the rise, you can most definitely top them off with a scoop of (no churn!) vanilla ice cream too.

The Sweetener
You’ve got plenty of options for the chocolate cupcakes, but do know that they’ll affect the texture quite a bit. Think xylitol and allulose (no aftertaste, softer and fluffier texture), Lakanto (barely any aftertaste, denser texture).
And for visual reference: the pictured cupcakes were made with Lakanto (came out fudgy), while the chocolate cake (and chocolate muffins) with xylitol (softer, fluffier).
Fun fact: it might also be my taste buds here, but I’ve noticed that stevia-based sweeteners (such as Pyure) don’t work so great when chocolate is involved as the aftertaste is accentuated. So I cannot recommend enough that you don’t use stevia here!
Oh, and if just paleo or gluten free (or not restricted by sugars), simply sub 1-to-1 with coconut or regular sugar.
And for the chocolate buttercream, your best options are Lakanto powdered (twice as sweet) and xylitol. But they must be powdered.
So if you’re using xylitol: get your blender out, make sure it’s completely dry, and process your sweetener of choice until powdered. Just make sure you wait a few moments for the dust to settle before opening the blender or food processor.
And if using xylitol, make sure to be careful if you have a pup around the house, as it’s highly toxic to the little guys!

The Flours
To turn chocolate cupcakes keto you’ll need some super fine almond flour (Anthony’s is my favorite!),golden flaxseed meal (make sure it’s golden!)*, coconut flour (again Anthony’s by a mile!),and a touch of xanthan gum.
*Just keep in mind that for best texture and rise, you’ll always want to regrind your flaxseed meal in a dry blender or bullet.
The Chocolate
You’ll want to use a Dutch-processed alkaline cocoa here. As there’s baking powder involved, using cacao won’t give the same results (at all!).
In terms of brands, my favorite will forever be Valrhona, known to be one of (if not the) best cocoas in the world. That said, as long as it reads cocoa and not cacao you’ll be good to go!

Gluten Free & Keto Chocolate Cupcakes
Ingredients
For the chocolate cupcakes
- 48 g almond flour
- 18 g golden flaxseed meal or psyllium husk, finely ground*
- 8 g coconut flour
- 1 teaspoon baking powder
- 1/4 teaspoon xanthan gum
- 56 g unsalted grass-fed butter
- 2 tablespoons heavy cream
- 40 g cocoa powder
- 1/4 teaspoon kosher salt
- 1/3-1/2 cup xylitol allulose or erythritol (I use 1/3 cup)*
- 2 eggs
For the chocolate buttercream frosting
- 70 g unsalted grass-fed butter at room temperature**
- 70 g cream cheese at room temperature
- 2-4 tablespoons powdered xylitol allulose or erythritol, to taste
- 1-3 tablespoons cocoa powder to taste
- 1/4 teaspoon espresso powder or instant coffee (optional)
- pinch kosher salt as needed
Instructions
For the chocolate cupcakes
- Preheat oven to 350°F/180°C. Line (or grease and dust with cocoa) a muffin pan, set aside.
- Add almond flour, flaxseed meal, coconut flour, baking powder and xanthan gum to a medium bowl. Whisk until thoroughly combined, set aside.
- Add butter, heavy cream, cocoa powder and salt to a large heatproof bowl. Melt over a water bath whisking constantly (or use the microwave in small bursts). Remove from heat and allow the mixture to cool slightly.
- Add in the sweetener and one egg at a time, whisking well after each one until completely incorporated. The texture should appear smooth and thick, with all the sweetener dissolving into the mixture (if using erythritol, granules will remain). Add the flour mixture, whisking vigorously until fully blended (about a minute). Divide the batter into prepared muffin pan.
- Bake for 14-17 minutes, or until a toothpick inserted comes out clean. Always keep in mind, however, that your cupcakes will continue to cook while cooling!
- Allow to cool for at least 15 minutes in the muffin pan. They'll be particularly fragile right out of the oven, so you need to let them set. Keep stored in an airtight container for 3-4 days.
For the chocolate buttercream frosting
- Add the butter, cream cheese and sweetener to a large bowl. Cream the mixture with your stand mixer using the paddle attachment (or with an electric mixer) until light and fluffy, about 10 minutes. You'll want to scrape the bowl every so often to ensure an even mixture. Add cocoa powder to taste, espresso powder and salt and continue to beat until fully incorporated.
- Transfer frosting to a piping bag with a tip and decorate each cupcake.
- The cupcakes keep well, stored in an airtight container in the fridge, for about 3 days. And they also freeze beautifully, just thaw it out in the fridge overnight.
Notes
Nutrition
Share the yummy-ness! 📷💨
If you made this recipe (or got a question!), be sure to simply comment below!
And do share your photo with your favorite Facebook group or tag @gnomgnom.yum on Instagram (I love seeing them all!!)
and some food (for thought) 👁️
a newsletter about functional food to nourish, create and evolve.
(p.s. we don’t talk about fight club 🪄 )
xo! Paola
Cannot wait to try these! Has anyone tried using full fat coconut cream vs heavy cream? Same results?
Just made these cupcakes. I used brown ground flaxseed as I didn’t have golden. For the base I used xylitol and cupcakes came out moist and cake like. Used confectioner Swerve for the frosting and whipped up beautiful and FLUFFY!! I was BEYOND EXCITED these came out so DELISH. My 3 year old was the first to taste and she said….”mmmmmm” with a mouthful. SUCCESS!!
Can I use hemp heart seeds in place of golden flaxseed meal?
If I may, cacao and cocoa are the same, the first one is the French word for cocoa!
Absolutely delicious! I have tried many keto recipes and this one is by far the best one yet. Texture is very close to a regular cupcake. I’m impressed on how nice and moist they turned out. I was very skeptical when making the recipe at first and thought they were going to turn out like all previous attempts and not the right texture. Also, the frosting turned out amazing. I just added a little extra cream cheese. Thank you for sharing!
Which sweetener did you use?
What consistency should the batter be before baking? 🙂 xx
Delicious!
Thank you Paola. They are truly the best I’ve ever tasted.
😉
Thank you for the recipe! I modified it for my purple yam cupcake! It’s not keto, but purple yam is good carbs, so I’m happy to make my childhood favorite. I replaced the cocoa powder with purple yam powder, the heavy cream with 3 tbsp coconut cream + 1 1/3 tbsp water, and used only 1/4 c Monk fruit sweetener. Baked at 350 for 12 minutes.
Where did you get the purple yam powder? I miss it!
These cupcakes are fantastic. I used a Tbs of black cocoa in my cocoa blend to really make them dark, and it adds a nice little bitter note that I like. Very dense and satisfying; much like a brownie.
However, when I run the nutrition in Cronometer, I get different calories. I skipped the frosting entirely and I get 227 cals each. Not sure what went wrong; I double-checked my weights and number of cupcakes. Are you counting xylitol calories?
These were delicious! When restricting my carbs, I develop a sweet tooth like you wouldn’t believe and am constantly on the lookout for something to satisfy the cravings. These cupcakes are spot on! They’re easy to make, store well so I can eat them over a couple weeks, and oh so yummy! I made ten cupcakes from this recipe but omitted the frosting entirely. I also added a handful of sugar free chocolate chips into the batter before baking then added a couple minutes bake time. Thank you!!!
I just made these cupcakes and I am super impressed.
I don’t normally have much luck baking gluten free desserts, but this one turned out yummy!!
Not exactly like the picture, my frosting was lighter in colour and the cake iteself was a little dense, I cooked it to 17minutes, so it may have been a minute or 2 too long, but when I checked at 14 it was still moist on the toothpick.
Still very happy and can’t believe I actually made something that worked and tastes delicious..just have to stop myself eating the whole 6 in one go!
Best Chocolate Cupcakes and frosting! My husband loved them!
Could I use less cocoa powder as I dont like my baking to chocolaty rich and if I did cut it back would I add more almond flour to compensate for the lesser amount of cocoa.
I just made these last night and the cupcakes were a hit!! I was actually able to yield 9 instead of 6! Instead of chocolate frosting, I made taro with taro flavoring! My husband devoured 2!!
The serving sizes are huge and this is the best cupcake recipe ever and it’s Keto! But after seeing someone’s comment that the calorie count wasn’t accurate and it seeming too good to be true I calculated the recipe and it’s 350 calories each! 32g fat, 7.66g protein, but at least it’s only 4g net carbs.
Hi there,
Just made these for the first time and I must have done something wrong but I don’t know what!! The cupcakes came out very hard and dry all around the outside. In fact, when baking they actually shrank in the baking paper cups. Once they were done (not overdone), I could lift them right out of the paper cupcake liners – they weren’t even touching the sides of the paper at all.
I used the golden flax seed meal, not psyllium husk. For sweetener I used powdered Swerve. I followed all directions to a T. Any ideas on what may have happened?
Hi,
I made these using Swerve but my cupcakes came out very bitter. Could I swap and do the same sweetener measurements but use monkfruit instead? Would that help?
Try using the erythritol monk fruit blend from Lakanto or allulose (absolutely no after taste), pure monk fruit won’t work xo!
Why do you use psyllium husk? What does it do to the cupcakes?
Can I use powdered Erythritol instead of granulated
Def!
hi can i substitute the xylitol to stevia? also can i omit xanthan gum?
“Fun fact: it might also be my taste buds here, but I’ve noticed that stevia-based sweeteners (such as Pyure) don’t work so great when chocolate is involved as the aftertaste is accentuated. So I cannot recommend enough that you don’t use stevia here!.”
I’ve never had good results using just pure stevia to bake, without anything blended with it. Maybe it’s the brands I’ve tried, but it has always made my baked goods come out with a nasty, bitter aftertaste (and makes cookies terribly crumbly).
As for the xanthan gum, I can’t really say on that.
Hi Paola,
I hope you are having a good day today.
I don’t know if you can answer my question, but I am very disappointed in the frosting. I used Hershey’s regular cocoa and powdered Erythritol.
The frosting isn’t bitter tasting from the cocoa, but it isn’t sweet. I feel like mixing the frosting with a bunch of real powdered sugar—but that isn’t low carb!
Any suggestions on how to make this frosting and make this sweet?
Oh I’m sorry to hear Judy! You might just need to add a little bit more sweetener then (honestly, perception of ‘sweetness’ goes all over the place when you do keto). I’m also honestly not a fan of using erythritol in frosting because of the cooling aftertaste (I’m super sensitive).
But since you mention you’d rather not add a bunch of sweetener… (and I agree!), have you tried pure monk fruit extract? I generally find that adding a pinch really brings out the sweetness without an aftertaste (I mostly do this when using allulose, as its 30% less sweet). I hope this helped xo!
I will look for monk fruit extract. If you want to give me a link, you will get credit from Amazon. Have a healing day, Paola! Thank you for answering my question. In the meantime, I think we will use this batch in between chocolate chaffles.
We found out that my husband’s A1C is also high. I’ve been making your recipes for some months now. Good thing he likes them! We love your deep dish pizza in our cast iron pan.
I’m confused, the Vahlrona says 100% Cacao powder but also says Cocoa powder. Which is it?
cacao is French for cocoa.
Made as mini cupcakes. Delicious!!!!!!
Thank you for this wonderful recipe. The result is tender, moist and chocolaty goodness that is extremely satisfying. Bravo!
I have noticed you don’t monetize gnom-gnom.com, don’t waste your traffic, you can earn additional
bucks every month with new monetization method. This is the best adsense alternative for any type of website (they approve
all websites), for more details simply search in gooogle:
murgrabia’s tools
Yasssss thank you! It’s a real freakin chocolate cupcake! So real that I had to wash it down with almond milk! Keto for life baby!
Just made these. Delicious! My frosting lighter as well. These are company good.
Oops, I think I accidently replied to another comment! Sorry!
My cupcakes came out good but my chocolate frosting did not look like yours, mine came out a lot lighter in color and I used the same measurements. Should I get a different kind of cocoa powder? I used the unsweetened cocoa powder (no brand).
No worries! Regarding the color, cocoas vary A LOT! And the one I use (Valrhona) is notoriously dark. You could just use a little bit extra of yours ( and also note that you could be using cacao, not cocoa… which is lighter and reddish in hue).
Could you make these vanilla cupcakes and just omit the cocoa powder?
Unfortunately no Ana! BUT! I promise I’m in the final stages of giving you a good one finally! xo!
Does the carb count included the frosting?
Can you use coconut sugar or maple syrup as a sweeter and how much would you need?
I would use coconut sugar William! Straight sub xo!
Where might I find your vanilla cupcake recipe? That sounds delightful!
My cupcakes came out good but my chocolate frosting did not look like yours, mine came out a lot lighter in color and I used the same measurements. Should I get a different kind of cocoa powder? I used the unsweetened cocoa powder (no brand).
I’ve decided to bake these chocolate cupcakes for my 50th because I knew it would not fail me, and it totally did not! These are by far the best chocolately cupcake that I’ve ever had.
You made turning 50 keto style an absolute joy and I’m so thankful for all of your wonderful keto friendly recipes . You rock!!
I have a secondary food allergy to almonds. Can I just substitute not coconut flour?
Made this for my birthday. (It made two 5″ round layers; so the perfect size for me and my hubbins.)
I used half xylitol and half Sola sweetener, and the texture came out like a fudgy pound cake. It was really great — thanks for the recipe!
Happy birthday beautiful!! I’m so happy (and honored!) you would choose a gnom-gnom recipe to celebrate your special day 😉 xo!