Keto Chocolate & Coconut Mug Cake

Keto Chocolate & Coconut Mug CakePin recipeFollow us 52.0k

Chocolate or vanilla? That's a tough one, at least for me! Sometimes, it's great to have both options. Coconut is technically a fruit, but it's low in carbs and great for the ketogenic diet. The addition of shredded coconut adds a great texture to this treat. If you want a flavour boost, try toasting it. You will find tips on how to toast coconut in my Keto Coconut Fat Bombs.

Have allergy restrictions? This mug cake is paleo-friendly and I also included egg-free and nut-free tips for those with food allergies. If you like mug cakes and want to try other flavours, you can browse through all the keto mug cakes on my blog to find your favourite!

Free Keto Diet Plans

Sign up for FREE and get:

  • 3 free diet plans to help you kickstart your diet, lose weight and get healthy
  • Recipes, giveaways and exclusive deals delivered directly to your inbox
  • A chance to win the KetoDiet app every week

Get this for FREE


Nutritional values (per serving)

5 grams 5.3 grams 13.2 grams 29 grams 15.8 grams 339 calories
Total Carbs10.4grams
Net Carbs5grams
of which Saturated15.8grams
Energy (calories)339kcal
Magnesium84mg (21% RDA)
Potassium302mg (15% EMR)

Macronutrient ratio: Calories from carbs (6%), protein (16%), fat (78%).

Ingredients (makes 1 serving)

Too "eggy"? Although I like this combination, some of you may perceive it as too "eggy". You can try the following: use one egg, double all the dry ingredients and add ¼ cup coconut milk, almond milk or cream. This mixture will make 2 mug cakes. Instead of the listed sweeteners, you can try other healthy low-carb sweeteners from this list. The reason I'm using both Erythritol and stevia is to mask the aftertaste some of the sweeteners may have.

Allergy-free Tips:

Egg-free version: Use 2 tbsp chia seed meal (16 g / 0.6 oz) instead of 1 egg + ¼ cup coconut milk or heavy whipping cream + 1 tsp psyllium husk powder (5.7 g net carbs per mug cake).

Nut-free version: Use 1 heaping tablespoon of coconut flour instead of 2 tablespoons of almond flour. If you don't have coconut flour, you can use 2 tablespoons of finely shredded desiccated coconut instead.


  1. Place all the dry ingredients in a mug or a ramekin and combine well (or use the ingredients based on allergy preferences). Keto Chocolate & Coconut Mug Cake
  2. Add the egg, coconut oil and stevia and mix well using a fork. Microwave on high for 70-90 seconds.
    For egg-free: Add coconut milk instead of the egg. Keto Chocolate & Coconut Mug Cake
  3. When done, you can optionally top the mug cake with whipped cream, sour cream or creamed coconut milk.
    Tips for cooking in the oven: If you don't have a microwave, I suggest you make 4-8 servings at once. Preheat the oven to 175 C / 350 F and cook for about 12-15 minutes or until cooked in the centre. Keto Chocolate & Coconut Mug Cake Enjoy! Keto Chocolate & Coconut Mug Cake

Do you like this recipe? Share it with your friends! 

By Martina Slajerova
Creator of

I changed the way I ate in 2011, when I was diagnosed with Hashimoto’s, an autoimmune disease that affects the thyroid. I had no energy, and I found it more and more difficult to maintain a healthy weight.

That’s when I decided to quit sugar, grains, and processed foods, and to start following a whole-foods-based ketogenic approach to food.

Leave a comment

Note: Any links to products or affiliate links will not be approved.

B I U “ ”
  • Comment
  • Preview

Please, note that I do not offer personalised advice. For personalised advice you can contact one of our experts.

Comments (8)

Just tried this today and absolutely loved it! I replaced 1 tbsp of shredded coconut with half a scoop of chocolate whey protein per serving and, for my husband, I added some milk chocolate chips (he's not as into keto as me ;-D). Thank you much for your blog and app (which I have on ipad and love). All the best!


Thank you for the tips and your kind words! I'm glad you liked it 😊


Oh my goodness, I made this last night with hand whipped cream (sweetened with a little Swerve and SweetLeaf Steviaclear drops and WOW. Heaven. Quick question about your nutrition took out the sugar alcohol carbs when calculating both the carb number and the net carb number? (I ask because 1 tsp of Swerve has 5g carbs, but they are 0 net since that's erythritol carbs...but that would technically make 30g of erythritol carbs alone for this recipe. When I first put the recipe into MFP to double check everything I freaked out because the total carbs were over 40g!!! Haha.) Just wanted to make sure I'm not missing yesterday was my first time using Swerve and I'm still pretty new to keto cooking, etc.


Thank you very much Deb! Yes, Erythritol has zero effect on blood sugar and almost zero calories - here is more about carbs in common sweeteners: Complete Guide To Sweeteners on a Low-carb Ketogenic Diet
Most food trackers use a "shared" database (database created by their users) that is full of errors and there is no easy way to make sure your macros are accurate (unless you specify all nutrition facts yourself). In our app, we use a verified database that we keep updating on a regular basis.


Delicious! Better than the regular mug cake I used to make before keto! Because, coconut. 😋


Thank you Terri, I'm glad you liked it! 😊


I tried this the other night and it was delicious! So moist and was perfect with some whipped cream 😊


Thank you, glad you liked it! 😊


As Featured On

As Featured