How to make a quick and easy 1-minute coconut flour keto vanilla berry mug cake - in the microwave, oven, and even air fryer.
The best part? It's keto, sugar-free, low-carb and made with coconut flour - this will please even the most ardent cake lover!
It's only 5g net carbs! PLUS there are tips to help you reduce the carbs even further in the recipe notes below.

Jump to:
What is a mug cake?
If you have ever had a cake emergency, a mug cake is an absolute lifesaver when a sugar craving hits, and you don't want to cook.
You simply mix a few simple ingredients together in your favourite mug, pop the healthy mug cake in the microwave and in 1 minute - boom, you have a keto vanilla berry mug cake ready to enjoy.
The beauty of keto mug cakes is that you can enjoy an occasional sweet treat but without ruining your daily macros. It won't raise your blood sugars and it won't trigger sugar cravings.
More Low-Carb Dessert Recipes & Low-Carb Cake Recipes ...
Do I need a microwave to cook mug cakes?
I understand that many of you don't own a microwave or don't like using them.
You can still make the keto vanilla berry cake batter, but you will have to cook it in the oven.
Of course, it is no longer a 1-minute mug cake, and it becomes a 12-minute cupcake instead. But it can be done.
Simply bake at 180C/350F in a cupcake case or muffin tray.
Air fryer
To cook mug cakes in the air fryer you need to find a small baking dish or ramekin to fit inside your air fryer. There must be at least 1 inch on all sides to allow the heat to circulate evenly.
- Preheat your air fryer to 180C/350F.
- Place the butter in your small baking dish and heat for 30 seconds to 1 minute, or until completely melted.
- Make the mug cake following the recipe card below.
- Gently lower your baking dish onto the air fryer wire rack. Ensure there is plenty of space between the ramekin dish and the side of the basket.
- Cook for 10 minutes, depending on the size of your air fryer and the size of your ramekin or small baking dish.
If you love using your air fryer, I have 101 keto air fryer recipes for you to choose from (chicken, pork, ground beef, salmon, vegetables, and even desserts). Discover how to use your air fryer plus FREE printable air fryer cooking cheat sheets.
Why does the mug cake use coconut flour?
If you have been with me for a while then you know I love coconut flour. And if you are new here, remember to subscribe here and get a free copy of my Top 10 Low-Carb Recipes to get you started.
Coconut flour is a wonderful low-carb, keto, gluten-free flour. It is light, packed with fibre, easy to use, requires very little quantities and so ends up being a very affordable baking grain-free flour.
Can I use almond flour instead of coconut flour?
It is not easy to swap coconut flour for almond flour because they have completely different properties when baking.
I do have this chocolate mug cake recipe that uses almond flour. It is absolutely delicious.
Low-carb baking guides
If you are new here, you may want to print a copy of the cooking conversion charts. You'll discover kitchen conversions for metric/imperial, tablespoon to ml, temperatures, and even international ingredient names. So no more guessing what a recipe needs.
- Ultimate Guide To Low-Carb Flours - which to use and when
- Ultimate Guide To Coconut Flour vs Almond Flour - why I am using both
- Gluten Free vs Grain Free - and why gluten-free junk, is still junk
Can I eat sugar-free dessert recipes all the time?
In the long term, we want to rely on sweet recipes less and less. And we want to use sweeteners, less and less. So why do we need sugar-free dessert recipes?
Because if I told you that you were never allowed a sweet treat ever again, most of you wouldn't even contemplate embarking on a keto or low-carb life!
Another reason for having amazing sugar-free recipes is so you may offer to bring a healthy sugar-free and low-carb dessert to a party or dinner party.
Because if you bring a keto or low-carb dessert, you are in control of the biggest source of sugar and carbs in a meal.
More 1-minute mug cakes
If you love this mug cake, you will absolutely adore my 1-minute low-carb mug cake - 4 ways. Yes, one recipe can easily be adapted to chocolate, lemon, berry or cinnamon swirl.
- Cinnamon swirl mug cake +VIDEO
- Low-carb mug cake with lemon curd centre + VIDEO
- Double chocolate chip mug cake + VIDEO
Egg-free mug cakes
If you're looking for a mug cake without eggs, you'll love my keto cheesecake mug cakes without eggs. They only take 1-minute to cook and you can choose strawberry, Nutella, pumpkin pie spice, or blueberry vanilla.
Each one is a single-serve healthy dessert so you will have instant portion control.
More keto cake recipes
If you love making easy keto cakes with coconut flour, then you'll love these quick and easy keto cake recipes.
📖 Recipe
Please rate this recipe.
Keto Vanilla Berry Mug Cake Recipe
Recipe Video
Calculate ingredients
Ingredients
- 1 tablespoon butter melted
- 2 tablespoon cream cheese full fat
- 2 tablespoon coconut flour
- 1 tablespoon granulated sweetener of choice or more to taste
- 1 teaspoon vanilla extract
- ¼ teaspoon (0.25 teaspoon) baking powder
- 1 eggs - medium medium
- 6 frozen raspberries
Equipment
Instructions
- Place the butter and cream cheese in your chosen mug. Microwave on HIGH for 20 seconds.
- Add the coconut flour, sweetener, vanilla, and baking powder. Mix well. Add the egg. Mix again
- Scrape down the sides of the mug, then press in 6 frozen raspberries into the cake batter.
- Microwave on HIGH for 1:20 seconds minute.
Notes
5-INGREDIENTS COOKBOOK
.
YOUR HOLIDAY PANTRY & GIFT GUIDES
.
Approximate nutrition information is provided for convenience and as a courtesy only. For the most accurate nutritional data, use the actual ingredients and brands you used in your preferred nutrition calculator.
These are my favourite dinner party desserts to share (links below):
- Whole orange flourless cake (no boiling or peeling)
- Walnut and brandy truffles - for the adults only
- Chocolate heaven cake - my go-to cake for all birthdays and celebrations
- Chocolate mint truffles - make them mini size and pop a toothpick in each one to stop messy fingers
- Chocolate lava cake made in the slow-cooker
- Key lime pie in the Instant Pot
- Berry cheesecake in the Instant Pot
- Low-carb cinnamon swirl mug cake
Amy
Will this stay moist/okay if it is made ahead of time to take to a family dinner?
Libby Jenkinson
It will stay moist but to be sure it stays moist, cook it on the day that you need it then when it's cool, store it in an airtight container in the fridge. If you need a family-sized cake, you can make my sugar-free berry sponge cake recipe.
Jean Johnson
Hi Libby,
My daughter is allergic to anything coconut. Is there some other flour that I can use for this? Almond flour?
Thanks in advance for replying to me! God bless!
Jean
Libby Jenkinson
It is not easy to swap coconut flour for almond flour because they have completely different properties when baking. I do have this chocolate mug cake recipe that uses almond flour. It is absolutely delicious.
Kimberly
Tried the vanilla raspberry, not bad at all. Wasn’t overly sweet but hit the sweet taste I was looking for. Look forward to trying the others!
Tori
Hi,
I have tried EVERY Keto mug cake on the internet! This is the
BEST EVER!!! it’s so good my daughter (not a Keto) will now only eat this one cake and wants it as her birthday cake! I actually just mixed 20g cream cheese with a spoon of no sugar syrup vanilla and smear on top.. DELICIOUS
Thank you x
Libby www.ditchthecarbs.com
Oh wow, thank you for such a wonderful recipe review today. "BEST EVER keto mug cake on the internet" ... I'll take that! And I absolutely LOVE your idea of cream cheese mixed with sugar-free syrup, yummo! Have you tried my other mug cakes? Cinnamon roll, lemon curd, and double chocolate. Happy birthday to your daughter 🙂
Lyne Tinkler
Can't see the recipe for all the ads, share thing, hear button etc etc. But I'm sure it's test.
Libby Jenkinson
I’m sorry the adverts are sometimes intrusive, unfortunately, they are necessary to meet the ever-increasing costs of running a free website. Video production, email providers, staff costs, recipe development, running free support groups and providing over 400+ free low-carb and keto recipes and articles. You may wish to join Ditch The Carbs PRO which is entirely ADVERT FREE!!!! Yay. Plus you get instant access to our famous mini-challenges, 4-week course, cheat sheets, templates and free eBooks. You can join us here for an advert-free experience.
Jenny
This is one of the best low carb mug cake recipes that I have tried. I have been content to use a very good recipe from another wonderful site that uses Mayo as the fat. When I saw that you use butter and cream cheese, I was excited to give it a try. Your recipe tastes wonderful! I see that you also have a lemon curd version, cant wait to give that a try, I LOVE lemon. I am now going to check out your other recipes as I can tell you are very smart and inventive, which we need in making a low carb lifestyle sustainable. Thanks!
Libby www.ditchthecarbs.com
Aw, thank you, Jenny. What a lovely review to read this morning.
Leny
Lovely
Rachel Wastney
Tena rawa atu koe Libby (thank you).
I have been craving Madeira cake and I was thinking about how I could adapt my recipe.
Then I found this. Perfect portion size, no worries about eating it all.
I just swapped out the berries for lemon and orange rind. I'm also allergic to cheese, so used coconut cream instead.
To help develop the citrus flavour, I melted the butter and coconut cream together with the rind and left them to "sit" until I was ready to have my cake and eat it too. ?
Fab with cream and a bit of lemon juice squeezed over the top.
Libby www.ditchthecarbs.com
Kia mihi Rachel. You are very kind. If you love this recipe, you have to take a look at my new recipe and video - low-carb mug cake - 4 ways! Have a superb day ❤️
Andrea Harris
I made this yesterday as a trial for my brother in laws birthday party next month and took them into work. They absolutely loved them. I made them as muffins. I ran out of eurythritol part way through so used the Truvia I had for emergencies. Just divine. Definately making again. Thank you for your wonderful recipe.
Libby www.ditchthecarbs.com
Hey thanks, Andrea for such a lovely comment to read today 🙂
Katie E Hernandez
So I made this tonight and it was def a bit eggy....I used Swerve confectioners sugar since I didn't have granular....would this make a difference? It didn't taste sweet at all....
Libby www.ditchthecarbs.com
With all recipes, my recommendation is to always taste before baking. And yes, using the confectioner's sugar may have made a difference, especially if you measured by volume not weight because it is so light, a tbsp of powder will have less sweetener than a tbsp of granules. It's totally understandable to learn along the way and make mistakes, next time they will be perfect! 🙂 Enjoy.
Mia
Just made a double recipe one with blueberries for my non-keto husband and for me with Strawberries. Excellent & filling. Put the batter in 2 separate ramekins had to increase microwave time. Great recipes, thanks. Keto on!
Libby Jenkinson
Keto on Mia!
Regina
Sometimes you just need CAKE. Tonight was one of those nights, and this recipe worked out great! I added some unsweetened cocoa powder, and used fresh blueberries ad raspberries. Came out great, this is definitely a keeper.
Amber K
I *never* comment on recipes, but this one is absolutely worthy. It is the ONLY Keto/low carb mug cake that I have found to be excellent. I forego the raspberries and after it bakes, I slice up a fresh strawberry or two to throw on top. Please try it. It’s freaking amazing.
Libby www.ditchthecarbs.com
Eeeek ... I love it when I am the first website recipe a reader has EVER commented on, I don't take that lightly. Thank you 🙂
Sheila
Delicious!
Chrissy Houseman
THIS IS SO FREAKING DELICIOUS! I had blueberries and it was AMAZING! Even my bf loved it and he is super picky!
Kara
The best mug cake ever!!
Jodie Gibson
This is my go-to mug cake. Though, I don't add the raspberries (not really a fan). I add 1/2 TBSP cocoa with the dry ingredients, and some sugar free choc chips for that dessert time chocolate hit. So. much. Yumminess!
Shortbat
I never comment on recipes and honestly I feel like I should more often but I just had to give MAJOR props on this recipe.
I have tried a lot of mug cakes in my keto journey and this one is by far the best. I did sub out the raspberries for some Lily's dark chocolate baking chips but the cake made it.
Coconut flour and the cream cheese really help make this. That is what the other ones I've tried have been missing. Kudos!
Libby www.ditchthecarbs.com
Thank you so much for taking the time to make your very first comment on a website recipe, I feel very honoured. And I love your idea of replacing the berries with dark chocolate chips - genius! Or how about both? It would become a black forest gateaux mug cake!
Wendy
Can almond flour be used instead?
Tish
This was my first mug cake. I thought it had a kind of spongy texture and not very sweet.
Advice on what to do different or better next time?
Libby www.ditchthecarbs.com
Mug cakes are supposed to be like mini-cakes, only FASTER! If the texture isn't to your liking, perhaps experiment with how long you microwave your mug cake for. Microwave ovens vary considerably and so +/- 10-20 seconds can make all the difference. As for the sweetener, the hardest thing to judge is how much sweetener you may wish to use. All the recipes on my site are a guide and I always state “or more to your taste” because what might be acceptable to one person may be over sweet or bitter to another. All my readers are on different paths in their sugar-free life. Some are absolute beginners so may require double what I state in a recipe, and others have lived sugar-free for years and so may only use half or even zero! So ALWAYS taste a recipe BEFORE baking and don’t be afraid to use additional sweeteners. But as time passes you will require less.
TOP TIP: If you forget to taste and adjust before baking and the cooked recipe is not sweet enough for you, serve with sweetened whipped cream.
Which sweeteners do I use? - here is a great article on which sweeteners I use and which ones I avoid.
JC
Excellent recipe!
I had a hankering for sticky date pudding but couldn't find a low carb recipe online, it just didn't exist. I *nearly* sent my husband to the shops to buy a sugary wheaty version. Nearly.
I love your other recipes that I have tried before and have had success with the ones that I have tweaked to make whatever it was that I wanted (ie. your 1 minute english muffin into a hot cross bun/raisin toast version) so settled on adjusting this one to suit my craving.
I omitted the raspberries and added 1/2 tsp coffee, 1/4 tsp cacao powder for colour and richness. I then split the batter into 3x mini loaf moulds (which I bought from Kmart to make your mini cheese loaves), topped with chopped walnuts and microwave caramel sauce that I made with sukrin fibre syrup. SO utterly delicious. The mug cake recipe is awesome and was perfect for the task, it cooked beautifully, wasn't eggy and had the right level of moistness. I also prefer to use coconut flour so appreciate that you have so many recipes using it over almond flour.
Top work Libby! Thank you for saving me from my cravings.
Libby www.ditchthecarbs.com
Oh my word JC, you have to be the reader of the month with all of your amazing suggestions and "tweaks". I love how you almost succumbed to a date pudding ... but no! You decided to experiment with this recipe and boom, you managed to develop a sticky date pudding low-carb style! Genius! And as for the adaptation of the 1-minute muffin into a hot cross bun, that is super clever. Tahnk you JC, I am sure you will be sparking the imagination of anyone reading this today.
Lisa D Lee
Followed directions.
ABSOLUTELY FANTASTIC!
I've tried a lot of other keto desserts, which have been extremely poor substitutes for delicious dessert.
THIS RECIPE TAKES THE CAKE!
LOL
BoriZ
OMG! I am completely amazed of the amazing flavor. I am a cake fanatic and I could definitely say this is better than some of the cakes I've tasted ever.
Val
Hi Libby! Thanks so much for this recipe! I tried to make it in the microwave, but it came out cooked on one side, raw on the other and with a large bubble in the middle, but it tasted good. So I made it again and this time I split the dough between three cupcake holders and baked it in the oven at 350 degrees for 17 minutes. They came out beautifully. I frosted the cupcakes with a keto version of Nutella. They were just what I needed to get me through. I am so happy to have a cupcake recipe that I can make and enjoy and also change around with different flavors. Can't thank you enough!
Jules
My 12yo daughter made this for herself (we recently purchased a microwave for the first time) and loved it. I had a taste and thought it was very delicious and felt indulgent.
I have a question about the nutritional info you provide for your recipes generally- do I subtract the fibre from the total carbs to end up with the net carbs? Or is your carb count correct for what we normally have in Australia where the fibre has already been automatically subtracted?
Thanks!
Libby www.ditchthecarbs.com
The nutrition value shows the total carbs. When you deduct the fibre, the value is the net carbs.
Jodi
This was delicious. As good as a carb loaded one. I have made do with eggy, almondy cakes in desperation. But this one, is the best. I used a whole large egg but also used the 20ml tablespoon (Australia). Worked perfectly. Thank you.
Ellen
This is fantastic cake! I did one vanilla with strawberries and cream fraiche and another one with orange flavouring and organic cacao powder. Absolutely amazing! Light, fluffy no egg aftertaste. Love it!
Libby www.ditchthecarbs.com
Oooh, I love the idea of the addition of the orange and cocoa powder.
Janice
This is SO good! ? I didn’t get the eggy taste that some talk about, but it seemed not quite cooked, Cakey on top and kind of pudding-y on the bottom. (Still delicious). I was going to try cooking an extra 10 seconds but then realized the recipe calls for a medium egg and I had extra large in the fridge! So, I made it using just the extra large yolk and it came out perfect! Thank you Libby! ?❤️
Beverly Daffron
Thanks to you, Libby, I had a yummy desert last night while watching the ballgame!! My mhusband was having "football food" but I didn't miss any of it...I was so happy. This is a wonderful dessert and made me feel like a "winner" along with my team!! Can't thank you enough
Linda
Can d egg be omitted,thanks
Libby www.ditchthecarbs.com
Sorry, not in this recipe. You need it to make the mug cake light, fluffy and rise.
Victoria Golar
I'm obsessed with this recipe! Tonight I made it with banana extract & SF strawberry syrup So GOOD
Victoria Golar
Thank you for the yummy recipe. I've been looking for more recipes with coconut flour. I omitted the raspberries and poured SF chocolate syrup over top. YumO
Melissa
My husband was recently diagnosed with diabetes type 2 so desserts are challenging. This is perfect for that, we make sugar free pudding, add some fresh berries and whipped cream and it satisfys the dessert cravings. Plus there's no leftovers so it's been awesome for us.
Thank you so much for this wonderful recipe ❤️
Libby www.ditchthecarbs.com
I'm so glad this recipe has helped and well done to discover low-carb so early after diagnosis!
Sandra
LOOOVE this recipe. I decided to make four servings in one shot, and I whipped the four egss, vanilla, and sweetner for a few minutes until it was extra frothy and airy. I was hoping this would help with the eggy taste and i think it did! I cut the finished cake in half and filled it with a little whip cream, tasted like a Twinkie!!! (I baked for almost 20 minutes in the oven)
Lotem
I want to make a real cake out of this. The mug version is great. Did you just use everything times 4 or were there any adjustment?
Libby www.ditchthecarbs.com
You would just have to adjust the cooking times.
Lotem
Thank you!
Alex
Soooo delicious. This so far is the best and easiest Keto mug cake I have tried so far. I put blueberries and some keto ice cream and it was perfect. I did not have a medium egg, so I did what another person recommended, which was to just use the egg yolk.
Michelle
This is my first review ever. I’ve made this mug cake 5 times now. It goes great with whipped cream. Something about coconut sugar vs almond flower has me coming back for more. I’ve had cravings to go off my Keto and this has kept me on track. Thank you!
Libby www.ditchthecarbs.com
What a wonderful review to read this morning - thank you, Michelle. I'm chuffed you love the mug cake so much. Life is so much better with keto cakes 🙂
Grace Z
Every once in a while ya just need a dessert and this fills that need. I used an XL egg with no problem at all. only 1 T of Truvia (the baking one) was the perfect sweetness. I don't think I'd feel guilty eating this for breakfast. LOL
Thank you from the bottom of my low carb heart!
Libby www.ditchthecarbs.com
Aw ... what an amazing review to wake up to this morning - I'm chuffed you enjoyed it. It hits the sweet craving right where it needs to huh? ❤️