share this post

Coconut Flour Mug Cake a 90-second Keto Snack!

Jump to Recipe Print Recipe Save Recipe Pin This Recipe!
4.84 from 337 votes
By Carine - - 17 Comments

An easy coconut flour mug cake with a deliciously moist, coconut crumb and coconut frosting. Bonus, this keto mug cake with coconut flour contains only 4.9 grams of net carbs per serving and it’s gluten-free and dairy-free.

We all crave birthday cakes at some point. Whether it’s your birthday or not, that craving must be fixed. As always, I’m here to tell you that this is ok to have keto birthday cake on a keto diet.

Of course, you need to use the right ingredients to keep things very low-carb and high-fat but keep reading, and I will guide you through this in a sec!

How to make a coconut flour mug cake?

Coconut flour is a gluten-free, low-carb flour with delicious coconut flour, and it is perfect for baking low-carb keto cakes or keto bread.

But it is also a high fiber flour, meaning it absorbs liquid very quickly, and that is why you need to measure your flour with precision to prevent this coconut flour cake in a mug from becoming dry or crumbly.

Ingredients for coconut mug cake keto recipe

You only need few basic ingredients to make a coconut flour keto mug cake. Let’s see what you need to make this lovely keto coconut mug cake in less than 5 minutes:

  • Coconut flour – make sure it has no lumps for best results. If so, squeeze the lumps between your fingertips before you measure the flour.
  • Egg – don’t replace it with an egg-free option, or it will be very crumbly and dry.
  • Unsweetened almond milk  – or any dairy-free milk you love like hemp milk or coconut milk.
  • Coconut cream – I use canned coconut cream. You can buy it from the international aisle of most grocery stores. It adds a creamy, moist texture to the cake crumb and delicious coconut flavor.  Otherwise, if you can’t find it where you live, replace it with heavy cream.
  • Coconut extract or vanilla extract
  • Sugar-free crystal sweetener – I love erythritol, but any crystal sweetener also works here.
  • Baking powder

Make the batter

First, grease a tall coffee mug with coconut oil. The best coffee mug volume is 5 to 12 fl oz to prevent mug cakes from overflowing from the mug.

Then, in a mixing bowl, beat the egg, almond milk, cream, and vanilla extract. Add the coconut flour, sweetener, and whisk very well to create a smooth coconut flour mug cake batter with no lumps.

Transfer the batter to the microwave-safe coffee mug.

Are you new to Keto?

Keto Quick Start Guide

Receive my Keto Quick Start email series to learn all about the Keto diet and kick start your keto journey!

  • This field is for validation purposes and should be left unchanged.

Microwave on high for 60-90 seconds or until the coconut flour cake is set in the middle and rises.

How to bake coconut flour mug cake?

This coconut flour mug cake recipe generally required a baking time of 60 seconds to 90 seconds. Baking time in the microwave very much depends on:

  • size of mug
  • power of the microwave

If you divide this recipe in half and cook the coconut mug cake in two separate mugs, the batter requires only 60 seconds of baking time.

Carine from Sweetashoney

Hi! Do you need help to start Keto?

By Carine from Sweetashoney

The reason why you decrease baking time is to keep the cake moist and soft. If you intend to microwave the whole batch all at once,  microwave your keto coconut flour mug cake for 9o seconds. Of course, some of you may not have a microwave, and that’s ok.

Oven baking option

You can bake your coconut flour keto mug cake in greased ovenproof ramekins for 12-18 minutes at 180C (350F). You know the coconut flour mug cake is ready when the batter is set but still moist.

Keto mug cake coconut flour

The coconut frosting

The best way to create a single-serve keto birthday cake with a mug cake recipe is to bake 2 similar cake layers and assemble them with keto frosting.

My favorite keto frosting is dairy-free, made of unsweetened coconut yogurt, unsweetened desiccated coconut, powdered erythritol, and stevia drops.

Actually, pure coconut yogurt is the best keto yogurt you can eat! It has no sugar, no dairy, meaning no lactose sugar.

It’s made of 100% coconut cream and probiotic, that is all. I recommend you check the ingredients list of your yogurt before buying, as some brands add starch or sugar!

You can also serve with mug cake with a:

  • A dollop of whipped cream
  • A sugar-free chocolate chips
  • Dust of cocoa powder

Coconut flour swap

If you don’t like coconut flour, you can replace it with almond flour, but you will need two times the amount called in the recipe to achieve the same texture.

More keto mug cake recipe

I love to create a range of keto mug cake recipes for breakfast or a quick sweet craving snack.  Enjoy some of the delicious keto mug cake flavors below: chocolate mug cake, lemon mug cake there’s a keto mug cake recipe for everyone on Sweetashoney!

Also, if you don’t like coconut flour, you can try my almond flour mug cake recipe instead.

As always, if you made this keto coconut flour mug cake recipe, share a comment or review below. You know how much I am in love with your recipe pics.

XOXO Carine

Recipe Card

Coconut Flour Mug Cake

KETO COCONUT FLOUR MUG CAKE easy, low carb, healthy a keto vanilla mug cake with coconut frosting 4.9g net carbs #ketomugcake #keto #coconutflourmugcake #coconutflour #ketorecipes #easy #healthy #lowcarb #paleo #coconut #vanilla #birthday #microwave #videos #90second
4.9gNet Carbs
4.84 from 337 votes
Prep Time: 1 min
Cook Time: 1 min
Total Time: 2 mins
Net Carbs 4.9g
Fat 11.7g
Protein 9.8g
Calories 185kcal
Author: Carine Claudepierre
1 serving
An easy coconut flour mug cake recipe ready in 90-second, the perfect keto mug cake with coconut flour to fix your sweet craving with only 5 grams of net carbs.

My Macros

To get yours, join Sweetashoney Members!
Net Carbs
4.84 from 337 votes
Leave A Review Print The Recipe


Frosting ingredients

Keto quick start guide
New to Keto? Join my Keto Quick Start Guide now to get all the best keto tips for beginners, straight to your inbox!


  • Grease a tall mug with coconut oil or butter. Set aside.
  • In a small mixing bowl, beat eggs, almond milk, cream, and coconut extract.
  • Whisk in coconut flour, sweetener, and baking powder. Whisk all the ingredients together until no more lumps and a consistent cake batter form.
  • Divide the batter evenly into the 2 microwave-proof ramekins or mugs.
  • Microwave in a tall coffee mug, power 900W for at least 60 seconds, up to 90 seconds. If the cake is too moist after 60 seconds return to the microwave and bake for 30 seconds extra until set in the center and moist crumb forms.

Coconut frosting

  • Whisk the frosting ingredients all together. Set aside in the fridge while the cake layers reach room temperature. Half the mug cake and assemble as a single birthday cake, spreading frosting between layers of cake and around.

How to bake my mug cake in the oven?

  • Preheat oven to 180°C (350°F).
  • Grease 2 oven-proof ramekin with coconut oil or butter.
  • Fill each ramekin with half of the batter and bake for 8-12 minutes or until the cake is moist and cooked in the center. Don't overbake, or the cakes are getting very dry in the middle.
  • Cool it down before frosting as mentioned above.


  • You can make the batter the day before, store it in an airtight container in the fridge and bake the next day. Don't store a microwaved-baked mug cake for more than 2 hours. They get dry and lose all their texture and flavor. If you use the oven, you can store the cake for 3 days in the fridge.
Coconut yogurt - Always choose one made with only 2 ingredients, coconut cream + probiotics. Some brands are not keto as they add starch or sugar. Don't use them! Otherwise, replace it with cream cheese if you can't find coconut yogurt where you live.
Frosting carbs - the nutrition panel is for 1 mug cake without frosting. If you add the frosting, the nutrition panel is:
Calorie: 325 kcal | Fat: 25.6g| Net Carbs: 6.5g (Carbs: 12g takeaway Fiber: 5.5g) | Protein: 11.1g
Tried this recipe?Mention
Nutrition Facts
Coconut Flour Mug Cake
Amount Per Serving (1 mug cake)
Calories 185 Calories from Fat 105
% Daily Value*
Fat 11.7g18%
Carbohydrates 9.9g3%
Fiber 5g21%
Sugar 3.6g4%
Protein 9.8g20%
Net Carbs 4.9g
* Percent Daily Values are based on a 2000 calorie diet.

Keto coconut flour mug cake

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    17 thoughts on Coconut Flour Mug Cake a 90-second Keto Snack!
  1. 5 stars
    Tried this today and loved it. I’m finding out I prefer coconut “flour” over almond. I used almond extract instead of vanilla and Bocha for sweetener. Really good!

  2. 5 stars
    Another wonderful recipe! The little cakes popped right out! I was so eager to dive in, I simply soaked the cakes in unwhipped coconut cream and raspberries! Such a delicious way to satisfy a sweet craving! Merci beaucoup!

  3. 5 stars
    Loved it – delicious, quick, and easy! I split the batter and tried half in the microwave and half in the oven. I found that the microwaved one came out perfectly in the specified time, but the one in the oven needed additional baking time to solidify. I enjoyed them both, but I’d prefer to eat only half at a time and save the other half for the next day, so I’m going to try the recipe in the oven again today, but instead of using a ramekin, I’m going to try half in a miniature tube pan and half in a miniature bundt pan. I’ll let you know how they turn out.
    I was glad to find a coconut flour recipe; I needed a break fom almond flour LOL

  4. 5 stars
    This was great and I So appreciate a recipe with coconut flour instead of almond. Though I love almond flour, others are allergic so it’s wonderful you have recipes using each so we All can enjoy a keto mug cake together. Thank you!

    • You can replace stevia drops by 1 extra tablespoon of erythritol + 1 teaspoon vanilla extract or coconut extract. Enjoy, XOXO Carine

  5. 5 stars
    Thanks for this recipe! The cake came out so fluffy and delicious. My yogurt icing was a little thin but tasted great. I think I’ll also try it as a syrup for fresh fruit or pancakes. 🙂

  6. Can you tell me what size the ramekins would be. 4oz, 6oz or 8oz. ? Also I used the link to the Almond Breeze unsweetened almond milk. t\The 3rd ingredient is Tapioca Starch. Not a problem for me, but maybe for others. Still a very good choice for a milk alternative. I would like to make this cake for my daughter as a pick-me-up for those not so good days. Thank you for such a good recipe for cake in a hurry.

    • Hi ! Any mug size work well, 4 oz is the best for that time. Indeed most Almond milk add a touch of starch for texture but it doesn’t add carbs in the milk as it is such a low dose in this brand! You can replace by water if prefer or any milk you love. Enjoy the treat with your daughter. Carine.

    • Well, the prebiotic in coconut yoghurt is what brings the sourness so you may not enjoy it as much as I do. But I love local New Zealand producer like Cathedral cove or raglan. Otherwise I recommend you use pure coconut cream form a can, it won’t have aftertaste because there is no probiotic. Enjoy the recipe. XOXO Carine


The recipes, instructions, and articles on this website should not be taken or used as medical advice. You must consult with your doctor before starting on a keto or low-carb diet. The nutritional data provided on Sweetashoney is to be used as indicative only. The nutrition data is calculated using WP Recipe Maker. Net Carbs is calculated by removing the fiber and some sweeteners from the total Carbohydrates. As an example, a recipe with 10 grams of Carbs per 100 grams that contains 3 grams of erythritol and 5 grams of fiber will have a net carbs content of 2 grams. Some sweeteners are excluded because they are not metabolized. You should always calculate the nutritional data yourself instead of relying on Sweetashoney's data. Sweetashoney and its recipes and articles are not intended to cure, prevent, diagnose, or treat any disease. Sweetashoney cannot be liable for adverse reactions or any other outcome resulting from the use of recipes or advice found on the Website.

Skip to content