Keto Diet App - Free Download Keto Diet App - Free Download
Take the guesswork out of following a low-carb diet, lose body fat & feel great!
KetoDiet app is FREE to download!

Keto Chocolate & Coconut Mug Cake

4.8 stars, average of 128 ratings

This post may contain affiliate links, see our disclaimer.

Keto Chocolate & Coconut Mug CakePin itFollow us 148.4k

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!

Tips & Substitutions

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 1/4 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.

Egg-free version: Use 2 tbsp chia seed meal (16 g / 0.6 oz) instead of 1 egg + 1/4 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.

If you don't have a microwave, I suggest you make 4-8 servings at once. Preheat the oven to 175 °C/ 350 °F (fan assisted), or 195 °C/ 380 °F (conventional) and cook for about 15 minutes or until cooked in the centre.

Hands-on Overall

Allergy information for Keto Chocolate & Coconut Mug Cake

✔  Gluten free
✔  Dairy free
✔  Egg free
✔  Nightshade free
✔  Pork free
✔  Avocado free
✔  Fish free
✔  Shellfish free
✔  Beef free

Nutritional values (per serving)

Net carbs4.8 grams
Protein13.2 grams
Fat28.9 grams
Calories344 kcal
Calories from carbs 6%, protein 16%, fat 78%
Total carbs10.3 gramsFiber5.5 gramsSugars2.9 gramsSaturated fat15.2 gramsSodium215 mg(9% RDA)Magnesium84 mg(21% RDA)Potassium303 mg(15% EMR)

Ingredients (makes 1 serving)


  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.
    Keto Chocolate & Coconut Mug Cake
  3. When done, you can optionally top the mug cake with whipped cream, sour cream or creamed coconut milk.
    Keto Chocolate & Coconut Mug Cake
  4. Serve or store at room temperature for up to a 3 days. Keto Chocolate & Coconut Mug Cake

Ingredient nutritional breakdown (per serving)

Net carbsProteinFatCalories
Almond flour (blanched ground almonds, almond meal)
1.4 g3.4 g8.4 g94 kcal
Coconut, dried, desiccated, shredded (organic, unsweetened)
0.9 g2.4 g1.5 g40 kcal
Cocoa powder, raw (cacao)
1.1 g1.1 g0.7 g12 kcal
Erythritol (natural low-carb sweetener)
1 g0 g0 g4 kcal
Baking soda, raising agent (bicarbonate of soda)
0 g0 g0 g0 kcal
Egg, whole, fresh, raw (free-range or organic eggs)
0.4 g6.3 g4.8 g72 kcal
Coconut oil, extra virgin
0 g0 g13.5 g121 kcal
Total per serving
4.8 g13.2 g28.9 g344 kcal

Keto Chocolate & Coconut Mug CakePin itFollow us 148.4k

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

Martina Slajerova
Creator of

Martina Slajerova

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.

Let us know what you think, rate this recipe!

Leave a comment

Note: Any links to products or affiliate links will not be approved.
Please note that we do not offer personalised advice. For any diet related questions, please join our Facebook community.

Comments (14)

oh my, the BEST mug cake!! I finally adjusted to my microwave.  1st time I did 90 secs...way way to time I did 70 secs....still too dry....
I added 2 TBSP coconut oil instead  of 1
microwaved 60 secs and let it set a few minutes...always cooks  a little after taking from microwave
Thanks for the recipe.

Thank you so much Mary! And for the useful tips

Love this recipe! I made without egg using the suggested substitutes, soooo good! However when you substitute any ingredient it’s hard to add to the planner.

Thank you Katie! You can use the "clone" function to change any recipes I share via the blog. To do that go to Custom Meals > KetoDiet blog > search for the recipe > tap on the recipe > tap on the clone icon on top right and change the meal as needed > tap save. I hope this helps!

My husband and I loved this recipe. It felt like we were cheating.   Thanks for the great recipe

Thank you for your lovely feedback!

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! 😊