My keto chocolate cupcakes have a moist and fluffy coconut flour crumb and a dreamy-creamy frosting. This easy sugar free chocolate cupcake recipe is only 4.1g net carbs per serve.

"Such a wonderful treat for chocoholics, yum! So moist and absolutely amazing. Thank you so much for sharing this awesome recipe!" (Kim)
I first posted these sugar free cupcakes in 2016 and they have been a reader favorite ever since.
Today, I re-made this recipe to take new (better) images. I also added more details to the post.
The best part? I got to eat the cupcakes again!
When a recipe is over 8 years old, it's easy to think that "it can't be that good, because it's old". But you know, good recipes stay good. And with a little tweak, I managed to make the frosting EVEN YUMMIER.
If you have a birthday party or celebration coming up, these cupcakes are going to be a hit with your guests. They taste sinfully chocolatey and have a light yet moist and fluffy crumb. You'd never guess they are keto.
Also try my classic (vanilla flavored) keto cupcakes.
Jump to:
What's To Love About This Recipe
Easy and quick! The cupcakes come together with only 5 minutes of prep.
Low carb: By using coconut flour instead of wheat and a sugar free sweetener instead of sugar, we are keeping the net carbs at only 4.1g per cupcake.
Dairy-free: No butter needed! The cupcake batter calls for coconut oil. I also swapped the original chocolate icing with a dairy-free avocado chocolate frosting similar to the one from my keto avocado brownies.
Ingredients
You'll find exact quantities in the recipe card at the bottom of the post, but I wanted to give you a bit of extra info right here:

CUPCAKES
- Coconut Flour - Sift it first if it is clumpy. Also, to ensure you don't accidentally use too much, measure it with kitchen scales.
- Cocoa Powder - Must be unsweetened cocoa powder. Cacao powder is also fine.
- Sweetener - When I first published the recipe, I used granulated erythritol. Now I make it with allulose. I give you amounts for both in the recipe card.
- Eggs - Should be room temperature so the cupcakes rise well.
- Coconut Oil - Melted and cooled. You could also use butter.
- Baking Powder - Check that it is fresh!
- Cinnamon and Vanilla - Both enhance the flavor, but are not essential.
- Chocolate - I added chopped 90% Lindt chocolate into the batter. You can also use sugar free chocolate chips.
FROSTING
- Avocado - Must be ripe, with soft green flesh and no dark spots.
- Cocoa Powder and Powdered Sweetener
Optionally, you could add a pinch of salt and ยผ teaspoon of vanilla extract to the frosting.
(The chocolate icing from my original recipe is now in the "Variations" section below.)
Instructions
It is simple to make keto chocolate cupcakes. Here are the basic steps.
Scroll down to the recipe card for the detailed method with ingredient amounts, timings and nutrition information.

STEP 1
In a food processor or in a large mixing bowl with an electric mixer, blend your wet ingredients - eggs, coconut oil and vanilla extract.

STEP 2
Add the dry ingredients - cocoa powder, baking powder, coconut flour, vanilla extract and sweetener of choice - and blend until smooth.

STEP 3
Stir in the chopped chocolate or sugar free chocolate chips.

STEP 4
Fill the cupcake batter into paper muffin liners or directly into a silicone muffin pan.

STEP 5
Bake the cupcakes in the preheated oven until the tops are lightly domed and a toothpick inserted comes out without any crumbs sticking.

STEP 6
Blend the avocado, cocoa powder and powdered sweetener until smooth. Fill into a piping bag and pipe onto the fully cooled cupcakes.
Katrin's Recipe Notes
#1 Taste the batter. And adjust the sweetener if necessary. We all have a different idea of what the perfect amount of sweetness is.
#2 Fill the paper cups to ยพ height with batter. This way, the cupcakes have little domes, but are flat enough for the frosting. The mixture makes 8 cupcakes. (I made only 7 this time around and realised that 8 would have been perfect.)
#3 Don't over-bake! We don't want the cupcakes to dry out. The tops should feel spongy - this means they are done.
#4 No piping bag? Spread the chocolate avocado frosting over the cupcakes with a knife or spatula.
Variations
Katrin's original chocolate icing: Melt 2 ounces (50g) dark chocolate with 2 tablespoons (30g) butter. Stir in 3 tablespoons of heavy cream and ยผ cup of powdered sweetener. Let the mixture cool until it thickens. Then, spread it over the cupcakes.
Here is an image of the chocolate cupcakes from 2016 with the original sugar free icing:

No frosting: If you're not into frosting or icing, just leave it out - and enjoy these cupcakes as keto chocolate muffins instead.
Recipe FAQs
I am not a doctor. But I know that my mother in law is type 2 diabetic and she can eat these sugar free cupcakes without spiking her blood sugar levels. Therefore, you could call this a diabetic chocolate cupcake recipe.
You can bake the cupcakes up to 3 days in advance and then add the frosting on the day you want to serve them. Just make sure to store them in an airtight container so they do not dry out.
Yes, the recipe makes 12 mini cupcakes. Bake these for around 14 minutes.

Storage
Store leftovers in an airtight container at room temperature for up to 2 days or in the fridge for up to 5 days.
Keto cupcakes freeze well for up to 3 months. The frosting lightens a little when frozen. However, it returns back to normal once you have defrosted it fully.
More Keto Chocolate Treats
โ Tried this recipe? Give it a star rating below!โ
STAY IN TOUCH on FACEBOOK, PINTEREST and INSTAGRAM for more great food and join my NEWSLETTER for the latest updates and a FREE EBOOK.
Recipe

Keto Chocolate Cupcakes
from Sugar Free LondonerNote: The servings slider only changes the first amount in each line and not any subsequent amounts. Please make your own calculations where necessary.
Ingredients
- 4 large or 5 medium eggs
- ยผ cup coconut oil 60ml, melted and cooled (or use butter)
- ยผ cup coconut flour 30g
- 4 tablespoon cocoa powder 25g
- ยผ cup granulated sweetener 50g, or ยฝ cup (75g) powdered allulose
- 1 teaspoon baking powder
- 1 teaspoon cinnamon
- 1 teaspoon vanilla extract
- 2 oz dark chocolate 50g, chopped (I used a 90% variety), or use sugar free chocolate chips
Chocolate Frosting
- 2 ripe avocados 1 scant cup / 220g / 7.76 oz, flesh only
- ยฝ cup cocoa powder 43g
- 5 tablespoon powdered erythritol or 6-7 tablespoon powdered allulose
Instructions
For the Cupcakes
- Heat the oven to 175 Celsius / 350 Fahrenheit.
- In a large mixing bowl with an electric mixer or in a food processor, blend the eggs until fluffy and pale in colour. Then, add the melted and cooled coconut oil and the vanilla extract and blend until smooth.
- Add the dry ingredients - coconut flour, cocoa powder, sweetener of choice, baking powder and cinnamon. Blend until a smooth batter forms.
- Stir in the chopped chocolate.
- Spoon the batter into a muffin pan lined with paper cups. Bake for around 20 minutes or until the tops are spongy and firm to the touch.
For the Frosting
- Place all the frosting ingredients in a food processor and blend until smooth. Scrape dwn the sides in between to ensure no green specks remain. Adjust the sweetness to taste.
- Fill the frosting into a piping bag and pipe over the fully cooled cupcakes. Or, simply spread the frosting over with a knife or spatula.
Michelle
Was wondering if you could use this recipe to make a full size cake instead of cupcakes?
Katrin Nรผrnberger
Yes, that should be possible. You would need to bake it for longer though - probably 50-60 minutes. Test with a skewer to see when the inside is done. And cover the top with aluminium paper once it has browned enough (I would do this after about 40-45 minutes) to prevent it from burning.
Goranka
The cupcakes are delicious!! And the recipe is easy to follow!! This is My daughterโs comment as she made them
Charlotte
I made these, they taste absolutely incredible. I just had one issue, they have gotten a little stuck to the cupcake paper dish things i used. Any ideas for next time other than using a silicone mould?
Katrin Nรผrnberger
I think those are your two options. Silicone moulds work very well. Otherwise, you could make your own paper cups with parchment paper like I did for my keto pumpkin muffins. It sticks a little less as it's not crinkled.
Pakinam
Thanks Katrin for this AWESOME recipe, and it felt almost guilt-free
A quick Q: Can we freeze them though?
Thanks
Katrin Nรผrnberger
Of course, they freeze well ๐
Nad
Hello, i'm always scared to cook with coconut flour! But would love to try these. I am not on a sugar free diet however prefer to use healthier substitutes for refined sugar.
So my question is can I substitute granulated sweetener with Grape molasses ? Because in the end granulated sugar would dissolve too (i understood granulated sugar is considered a wet ingredient).
Thank you!
Cheryl
I'm confused about the eggs - the recipe says to use "1 large or 5 medium eggs". No large egg is 5 times the size of a medium egg. Could you please clarify this? Thanks!
Cheryl
My apologies - not sure why it was showing it that way; when I refreshed the page it now show 4 large or 5 medium, which makes MUCH more sense. I had set the recipe to make only 2 (I've not had good luck with low carb recipes so have learned to try very small batches at first). It must have been a temporary glitch when I changed the number of servings.
Katrin Nรผrnberger
Glad it has sorted itself out ๐
Charne
Fcan you use coconut sugar instead of sweetener? Theses look super yummy and canโt wait to try the!
Katrin
Yes, of course. Any type of sugar will work.
Linda
I love Your recipies, But like others I wish there was an option to convert to US measure
Katrin
Hi Linda, I always give both metric and US cup measurements in my recipes because many of my readers are in the US. Let me know if there is anything in particular I can help you with?
Bonnie Jessup
These are very good I would just add a little more sweetener. I didnโt put the icing on .
Cindy Love
I'm so excited to try these, but I don't see where to add the cinnamon in the above or below directions. I'm thinking I should maybe omit it.
Katrin
Hi Cindy, thanks for pointing this out - I had forgotten to add it in the recipe card. You just add it together with the dry ingredients