These chocolate keto cupcakes are going to blow your mind. You won’t believe that anything made with coconut flour can be this tender and delicious. Perfect with your favorite sugar-free frosting!
It’s crazy to think that these keto cupcakes were one of the first low carb recipes I ever made. I originally published them in October of 2010, when my youngest child was having her first birthday. Now she’s a teenager! Oh how time flies.
But amazingly, this recipe has stood the test of time and is one of my favorite keto cake recipes. While my baking skills have improved and my methods and ingredients have changed, these chocolate keto cupcakes remain virtually unchanged.
It’s such a solid recipe that I have used it for multiple other cakes, including Keto Chocolate Orange Cake and Samoa Bundt Cake. Even my Keto Chocolate Donuts are based on this batter!
I made them again recently so I could get some new photos. And one bite reminded me just how much I love them!
Why this recipe is so awesome
Many people think that coconut flour can’t possibly make good baked goods. But I heartily disagree. Although baking with coconut flour takes some getting used to, it can result in cakes that rival those from a bakery.
And these keto cupcakes are proof. Light and fluffy, but still moist and flavorful, they defy the odds. It all comes down to a few tricks, like using enough eggs and oil. And a little protein powder helps them rise delightfully.
It’s a very versatile recipe, as you can pair it with your favorite sugar free frosting. And you can use it to make larger cakes as well. They also freeze really nicely.
Best of all, each cupcake has only 2.4g net carbs!
Reader reviews
“Oh my goodness! These cupcakes are great! Perfect crumb, rose nicely, and the taste – excellent!!!!” — Penny
“Made these tonight for Easter. Ate without frosting of any kind. My very first attempt at keto baking and the first time making cupcakes from scratch. So delicious!! They came out perfectly!” — Amanda
“Oh my word! These are insanely good and my teenage daughter who is not low carb asks for another batch as she’s eating the last one! Everyone loves these and I love the fact that me and OH can indulge in a sweet treat and still lose/maintain weight and feel great! Thanks so much for all your recipes. — Shona
Ingredients you need
- Coconut flour: You cannot substitute any other flour for coconut flour, as it’s very unique and bakes very differently. However, I have other cupcake recipes that use nut flours instead. You can also use my Keto Devil’s Food Cake recipe and make cupcakes with it.
- Sweetener: Most granular sweeteners work in this recipe but keep in mind that allulose may make the cupcakes brown faster.
- Cocoa powder: For a deeper, richer chocolate flavor, use dark cocoa or Dutch process cocoa.
- Protein powder: This is optional but it really does help the cupcakes rise better and be fluffier. You can use whey protein, egg white protein, or plant-based protein. Collagen peptides will not work here. You can also use chocolate or vanilla protein powder, if you don’t have unflavored.
- Eggs: Coconut flour requires a lot of eggs for structure, so don’t try to skimp!
- Cold coffee or water: I like coffee because it enhances the chocolate flavor, but water works too.
- Pantry staples: Butter or oil, vanilla extract, baking powder, and salt.
Step-by-step directions
1. Whisk the dry ingredients: In a large bowl, whisk together the coconut flour, sweetener, cocoa powder, protein powder, baking powder, and salt.
2. Add the wet ingredients: Stir in the eggs, butter, and vanilla extract until well combined.
3. Add liquid slowly: Stir in the coffee about ¼ cup at a time until your batter is thick but scoopable.
4. Bake the cupcakes: Divide the batter evenly among 12 muffin cups lined with parchment or silicone liners. Bake at 350ºF for 20 to 25 minutes or until the tops are just firm to the touch.
5. Let cool: Remove from the oven and let the cupcakes cool completely in the pan.
6. Frost and decorate as desired!
Expert tips
The hardest thing about working with coconut flour is that it varies brand to brand. Some are super absorbent and others are less so, so you need to adjust the liquid accordingly. This is why I recommend adding just a little at a time. The description of the batter should guide you to know when it’s ready.
Do not over-bake these keto cupcakes. Whenever someone says they turned out dry, I know they let them bake too long. Always set the timer for the lower end of the suggested baking time, and then check very frequently. Once the tops are just firm to the touch, remove them from the oven.
How to frost and decorate
You have many delicious options for frosting these keto cupcakes. I have provided a delicious sugar-free espresso frosting in the recipe, but you certainly aren’t limited to that! A few other ideas:
- Keto Chocolate Frosting
- Keto Strawberry Frosting
- Cookies and Cream Frosting
- Peppermint Frosting
- Peanut Butter Frosting
You could also eat them plain or top with a little keto vanilla ice cream!
Frequently Asked Questions
These keto chocolate cupcakes have 5.6g carbs and 3.2g fiber unfrosted, so they have 2.4g net carbs per cupcake. With the frosting listed in the recipe, they have 6.2g of carbs and 3.2g of fiber.
Coconut flour is an excellent ingredient for keto recipes because it is low in carbs and high in fiber. It is also completely gluten-free and nut-free. It is highly unusual in the way it absorbs eggs and liquid, so you have to learn how to use it properly. For more information, read my article on Baking with Coconut Flour.
Cupcakes like these are fine on the counter for up to three days. You can also store them in an airtight container the refrigerator for a week or in the freezer for several months.
Keto Cupcakes Recipe
Ingredients
Cupcakes
- ⅔ cup coconut flour
- ⅔ cup Swerve Sweetener or other granular sweetener
- 6 tablespoon cocoa powder
- ¼ cup whey protein powder chocolate, vanilla, or unflavored
- 2 teaspoon baking powder
- ½ teaspoon salt
- 6 large eggs
- ½ cup butter melted
- 1 teaspoon vanilla extract
- ½ cup leftover coffee or water more if needed
Espresso Buttercream:
- 2 tablespoon hot water
- 2 teaspoon instant espresso powder or instant coffee
- ½ cup heavy whipping cream
- 6 tablespoon butter softened
- 4 oz cream cheese softened
- ½ cup Swerve Confectioners or other powdered sweetener
Instructions
Cupcakes
- Preheat the oven to 350ºF and line a muffin tin with parchment or silicone liners
- In a large bowl, whisk together the coconut flour, sweetener, cocoa powder, protein powder, baking powder, and salt. Stir in the eggs, butter, and vanilla extract until well combined.
- Stir in the coffee about ¼ cup at a time until the batter is thick but easily scoopable.
- Divide the batter evenly among the prepared muffin cups. Bake 20 to 25 minutes or until the tops are just firm to the touch.
- Remove from the oven and let cool completely in the pan.
Espresso Buttercream
- In a small bowl, stir together the hot water and espresso until coffee dissolves. Set aside.
- With an electric mixer, whip the cream until it forms stiff peaks. Set aside.
- In a medium bowl, beat the butter, cream cheese, and sweetener together until creamy. Add the coffee mixture and beat until combined. With a rubber spatula, fold in the whipped cream carefully until well combined.
- Spread the frosting on cooled cupcakes with a knife or offset spatula, or pipe on with a decorating bag.
Trev says
I do not see how the 6.5 carbs for each cupcake can be accurate. The Swerve Sweetner you are using is 4 grams of carbs per tsp. You are using 2/3 cup which is 32 teaspoons equaling 128 grams of carbs. The coconut flour is 9 grams of carbs per 2 tablespoons. You are using 2/3 cup. That is 10.6 tablespoons equaling 47.7 grams of carbs. The cocoa powder is another 21 grams for the 7 tablespoons. That is a total of 196.7 total carbs divided by 12 cupcakes equals 16.4 carbs. That is without your frosting!
Carolyn says
Hi Trev… I am very clear in my nutritional disclaimer at the bottom of each blog post. I do NOT count erythritol at all for any recipe because it has zero impact on blood sugar. This is standard practice for most keto recipes. Please research it.
Wendy says
I love this recipe! I have missed cupcakes, and this one turned out fabulous!! I’m looking for a vanilla version to add to my folder. Would your “Coconut Flour Cupcakes with Buttercream” be the best match?
Thank you!
Wendy
Beth Long says
Is Swerve the same as Stevia?
Carolyn says
No, not at all. https://swervesweet.com/faqs
Paola Perina says
These cupcakes are excellent. I have baked them a few times now. I added half a teaspoon of Guar gum in my last batch and it helped them rise even better. I would say they deserve a 10/10.
Carolyn says
Good to know!
Chyral Kurck says
Can I substitute egg whites instead of regular eggs ?
Carolyn says
I can’t see why not but you need to make sure it’s the same amount of egg in total.
Sherrie Perry says
Hey Carolyn!! I noticed that you are using protein powder in many of your cake recipes now…would it be a good idea to add some to these? Also, Thanks so much for ALL you do!!
Carolyn says
Not this recipe, no. It was designed to be without it and they rise nicely as it is. If you do choose to use it, don’t use more than 1/4 cup.
Nancy says
Hi there, I’m wondering if I could substitute almond flour for the coconut. The person I’m making these for is allergic to coconut and I really want a delicious chocolate cupcake recipe!
Carolyn says
This recipe is based on coconut flour, which is SO different from almond flour that they cannot be swapped. It would be a disaster. However, you can use this recipe for an almond flour based cupcake. Just switch out the irish cream for heavy cream. https://alldayidreamaboutfood.com/keto-irish-cream-cupcakes/
Debra says
Can I use black cocoa in this recipe?
Carolyn says
Absolutely!
angela says
do you recommend dutch process cocoa or like a regular hershey’s cocoa for the cupcakes?
Becca says
Can I sub coconut milk for the almond milk?
Carolyn says
Yes, that should be fine.
Kelli Thompson says
Hello! If I wanted to use your cupcake recipe for a 9×13 cake pan would I use this same exact recipe?
Thanks! I’m going to use your German chocolate brownie frosting as the topping.
Carolyn says
It might be a bit small for a 9×13, unless you want a sheet cake?
Felicity says
Seems I had the opposite problem of batter that was too thick. I carefully weighed the Bob’s Red Mill coconut flour for accuracy and ended up with pourable batter before even adding the almond milk. I panicked and threw it in the oven as is (sadly didn’t occur to me to add more coconut flour) and just waiting for it to come out with fingers crossed the result isn’t too disastrous (it’s a birthday cake). I wonder if it might be good to warn in the recipe that not thick enough is also a possibility?
Carolyn says
You say you weighed the coconut flour “for accuracy” but I did not give a weight for this. So I think you probably had significantly less coconut flour than you were supposed to. How much did you use in grams?
Felicity says
I went by your Bob’s measurement for keto bagels which is 56 grams per half cup. Converted to 74 grams 2/3 cup. This is what I get for being clever :/
Carolyn says
Their measurements are actually pretty close (I have weighed a full cup to be about 110g). So that might not be the issue. I wonder if your eggs were overly large? Could also be that your cocoa powder is not as absorbent, that can make a difference too. What brand is it?
In my experience, they should bake up okay when overly wet like that but they make take a lot longer to bake through.
Felicity says
You may be right about the eggs. They looked on the hefty side for “large”. I’m in Vancouver Canada and the only dutch process cocoa I could find (always my preference) is Cote D’Azur Bensdorp dutch process. It cracked a bit during baking and seems maybe a bit dense but I will slather it in caramel sauce, toasted coconut, and ganache (aka Samoa cake) and hopefully no one will be the wiser 🙂
Felicity says
So it did indeed come out on the dense and non-fluffy side (I’ve made the vanilla version of the coconut flour cupcakes and it was definitely not the same texture). Not that it mattered because the flavour was wonderful and how can you go wrong with those toppings? I would like to master this recipe though as I love the vanilla counterpart. If this happens again, is it better, do you think, to add all the liquid (aka the almond milk) and adjust with extra almond flour, or to stop before adding the almond milk and add only a little more almond flour if needed?
Carolyn says
Less liquid, for sure!
Allie says
Hi ,
These look great . I want to make them for my birthday to accommodate myself (keto) and children who have nit allergies win win ! Can I sub cocoa powder in the espresso frosting instead of coffee ? I know you have a chocolate icing recipe I was just wondering if this would work too . Needn’t be overly sweet or rich . Also I’ll need to bake them two days before I ice them . Or do you think I can ice them two days before I serve them ?
Carolyn says
Cocoa powder is going to make the frosting a lot thicker so it won’t really work in this recipe. I’d just go with my other chocolate buttercream.
Baylie says
These are so good!! I honestly wouldn’t be able to tell the difference. Question: what are the nutrition facts for muffins without the frosting? And I suppose it wouldn’t reduce the carb count, since it’s mostly dairy/fat?
Thanks!! Love the recipe
Carolyn says
Food energy: 147kcal
Total fat: 10.97g
Carbohydrate, by difference: 5.85g
Total dietary fiber: 3.39g
Protein: 5.25g
E says
I was looking for this info, too! You are awesome and so attentive to your readers, Carolyn! Your site is a lifesaver for me as I have a 3 year old who has type 1 diabetes! Gotta get our carb counts correct here!! And yours are!
Lindsey says
These are amazing! Seriously so tasty. Mine started out looking just a tad watery – I added another 1TB of coconut flour. The final result was a tad dry but still very tasty.
Question for anyone re: granulated instant coffee in baking. I followed the recipe as is but I used a diff frosting recipe – using 1tsp of instant coffee. Do you all find that adding 1-2tsp of instant coffee granules to baked goods adds a little too much “zip”? I think the flavor is essential so I used it, but all i had on hand was full-caff granules. I had a hard time finding any info on this online. I mostly just want to make sure i limit my husband’s intake at night if it will keep him up! Or else he’ll eat 2+ !!! 🙂
Carolyn says
If you’re worried about the caffeine, try getting some decaf instant coffee. I like the Starbucks via packs and I only use one little pack per recipe, instead of a full tablespoon of instant coffee.
Amanda Wolf says
Made these tonight for Easter. Ate without frosting of any kind. My very first attempt at keto baking and the first time making cupcakes from scratch. So delicious!! They came out perfectly!
Lenai says
Also, does the nutritional info include the frosting?
Carolyn says
Yes it does.
Lenai says
Hi, I was wondering if I can use coconut milk instead of almond? or even whipping cream?
Carolyn says
Yes, you can.
Maggie says
I used the cupcake recipe and made a version of “Better than sex cake”. I baked the cake, cooled, it poked holes in it, poured the caramel sauce over it and chilled it. Then I covered it with Ready Whip, sprinkled crushed Stover’s toffee squares, and drizzled with more caramel sauce. It was amazing and came out very low carb since I got 30 pieces from a 13×9 pan.
Trina says
Carolyn
I just made these and absolutely love them..
I live alone so I leave the cupcakes, no frosting, covered on the counter and the frosting in the refrigerator..
does the Nutrional Facts include cupcake and frosting combined…
Thank you again..I can’t wait to try more of your
Recipes
Carolyn says
This does include the frosting. But here is the info for the cupcakes alone:
Food energy: 147kcal
Total fat: 10.97g
Carbohydrate: 5.85g
Total dietary fiber: 3.39g
Protein: 5.25g