This chocolate keto mug cake in the microwave is another one of my favorite quick keto desserts! I give instructions for vanilla, chocolate, and peanut butter versions and you can make it with almond flour or coconut flour. Keto chocolate mug cake is my favorite keto dessert recipe!

Do you know how much I love my microwave? I am team microwave! Keto Mug Cake is another one of my favorite keto dessert recipes using that trusty machine!
My 90 second Low Carb Bread is another one of my microwave recipes. So good for sandwiches!
This keto mug cake is so easy to make with only 6 ingredients.
It's also easy and ready in under 5 minutes!
For this keto mug cake, you can make it peanut butter, chocolate, or vanilla.
Chocolate Keto Mug Cake
Peanut Butter

Vanilla
Toppings
I like to top these keto mug cakes with sugar free chocolate chips, sugar free chocolate syrup, or whipped cream.

I just love having these easy keto dessert recipes in my back pocket to help me stay on track! You will also love my easy keto peanut butter cups and Butter Cookie Energy Bites.
Have this keto mug cake with some Keto Coffee!

Keto Mug Cake - Chocolate, Vanilla, or Peanut Butter
This post may contain affiliate links
Tip: Hitting your 20–30g protein per meal goal helps you stay full and supports muscle.
Ingredients
- 1 Tablespoon Butter, melted
- 1 Tablespoon Coconut flour or 3 tablespoon Almond flour
- 2 Tablespoons sugar free granulated sweetener (see my favorite on Amazon)
- 1 Tablespoons Cocoa powder, (For Chocolate Version)
- 1 Tablespoon Sugar free Peanut butter, (For Peanut Butter Version)
- ½ teaspoon Baking powder
- 1 Egg, beaten
- Splash of vanilla
- 1 Tablespoon Sugar free Chocolate Chips
Instructions
For Chocolate
- In a microwave safe coffee mug, melt the butter in the microwave for 10 seconds. Add the coconut flour or almond flour, sweetener, cocoa powder, baking powder, vanilla and beaten egg. Mix well. Microwave on high for 60 seconds, being sure not to overcook. If you overcook it, it will be dry. Top with sugar free chocolate chips of desired.
For Vanilla
- In a microwave safe coffee mug, melt the butter in the microwave for 10 seconds. Add the coconut flour or almond flour, sweetener, baking powder, vanilla and beaten egg. Mix well. Microwave on high for 60 seconds, being sure not to overcook. If you overcook it, it will be dry. Top with sugar free chocolate chips of desired or mix in before cooking.
For Peanut Butter
- In a microwave safe coffee mug, melt the butter in the microwave for 10 seconds. Add the coconut flour or almond flour, sweetener, baking powder, vanilla and beaten egg. Mix well. Swirl in the peanut butter. Microwave on high for 60 seconds, being sure not to overcook. If you overcook it, it will be dry. Top with sugar free chocolate chips of desired.
Notes
- Baking Instructions: Use an oven safe ramekin. Bake in the oven at 350 for 15-20 minutes.






Gabby Hewitt says
I just made this but with 1/2 tsp lemon zest and 1 tab lemon juice
Very tasty and moist
Angela says
This is a DELICIOUS mug cake. I made a the plain chocolate cake first and it was so RICH!! I just made it again but decided to put a tbsp of peanut butter in the middle. It was AMAZING!! I definitely recommend this recipe!
Kimberly Kelly says
So good! I added walnuts to the chocolate version and drizzled some heavy whipping cream on top:)
Kate says
I wanted something SUPER RICH so... 2T butter, 2 yolks instead of 1 whole egg, 1T Swerve plus pinch stevia, 1T coconut flour and about 10 76% chocolate chips (plus the rest of the stuff). Nuked only 45 seconds (will try only 35 next time). It was perfect! Thank you for the recipe.
Joan says
Delicious I did the chocolate did not like the coco taste , loved the recipe will do vanilla from now on Tks for sharing
Jen says
Yo so I follow a loosely keto diet simply because of allergies I have rather than to specifically loose weight- it happens to mostly be foods I can actually have. So I substituted the flour with chickpea on a whim and honey with a sprinkle of coconut sugar for the sweetener, and did two egg whites for the egg bc I can’t have the yolks and doubled the “pb” which I used soy butter for and it was amazing. Like seriously the best mug cake texture I’ve ever ended up with. It was a very nutty flavored cake with a tiny tight crumb similar to somewhere between a higher end bakery cake and angel food. Super delicious. Most mug cakes are nasty if you don’t eat them scalding hot but this one was even good cold. I did have to add come cooking time in 15 second increments, and it nearly doubled the amount I was expecting, but it was perfect.
I followed the amount called for almond flour rather than coconut so perhaps that may be why. Regardless- so glad I found this recipe as it’s my new favorite and go-to from now on. My big kids will love it too and they’re picky.
Oh! It also didn’t stick horribly like some do, either. When I melted the butter, I added a bit extra and swished it all along the inside of the cup.
Lea says
This was absolutely lovely, thank you!
Robin Haffer says
Question...only 1 tbs coconut or 3 tbs almond flour?
jenniferbanz says
yes, coconut flour is more absorbent than almond flour
candice says
Chocolate one was so good! I didn't have enough butter so I substituted 1/2 the quantity of butter with coconut oil and cooked it in the microwave (opted to top the mug cake with a naughty amount of sugarfree choc chips). It was super moist and yummy!
Thanks for sharing your recipe!
S Slater says
So good and curbed my sugar craving so quickly! I followed the recipe as directed using coconut butter, coconut flour, Lakanto, but added a few bits of pecans to give it a “butter pecan” flavor...wow! It was so filling and delicious! Thank you so much for this delicious recipe!
Lynda Towery says
Did a dry run on the chocolate recipe with one in the microwave and one in the oven. Oven definitely more moist. Microwave version really puffed up, almost overflowing the ramekin, but was dry after the minimum cook time suggested. The oven one was less puffed up but gave a better presentation and moister even after using the maximum cooking time suggested. Also, I will try and see if adding a little extra sweetener (Truvia) will help. It was not very sweet tasting for a dessert. Hoping this doesn’t make it drier for my dinner guests tomorrow night.
Amber says
Very easy and just what I needed! Thank you! I tried the chocolate one without the chocolate chips. It was chocolatey enough!
Annjali Reddy says
Definitely the best recipe I have tried so far!!
Debbie says
Any way to bake this in the oven?
jenniferbanz says
yes. Use an oven safe ramekin and bake at 350F for 10-15 minutes.
Trish says
This is helping me a lot in my transition. Thank you so much!
Jodi Raymond says
Made the chocolate with coconut flour. Microwaved for 45 seconds then made a hole in the middle and put a tablespoon melted peanut butter. Delicious!
Tahlia says
I was craving something so badly on my vegetarian Keto journey. The peanut butter version was AMAZING! I didn't add any sweetner but a splash of soy milk at the end and it was perfect! Thanks for a great recipe!
Michelle says
Delish!!! Totally satisfied the sweet craving I was deeply having being new to keto! Totally recommend- I did the chocolate- did I say delish!!? Thank you for sharing !!
Michelle says
Oh! I forgot to mention I used coconut butter instead of butter! I will try the butter next time to compare, but the coconut was pretty wonderful!
Lana McQuown says
This was amazing. I have been searching for a good Keto version of a vanilla birthday cake and this hits the spot. Finally my search is over. It’s fluffy, not eggy, or wet and had a great vanilla flavor. The only reason I gave it 4 stars is because I made a few adaptions. Instead of butter, I used Mayo, because That’s what I had available. I used almond flour, but replaced one of the recommended Three TBSs with vanilla protein powder, because it seems to add more fluff and rise to mug cakes. I only used 1 TBS sweetener, because of the sweetness in the protein powder. Then I added a pinch of salt and a tiny dab of bake batter extract with the vanilla. I also had to microwave for 30 extra seconds. This was so good. Thanks for sharing such a delicious recipe. I am excited to try the other two versions.
Eve says
I made the chocolate recipe, followed exactly. It came out well. Quite spring and a little eggy. Satisfied the craving for a quick dessert. I will reduce the egg to half next time to see if it is denser that way.
Leora says
Amazing! I was craving a dessert and being a total chocoholic I was blown away. So easy, so quick and it tastes delicious!
DONNA S GAFFNEY says
Awesome. I made chocolate peanut butter combo. So good.
Beth says
I made this tonight, it was delicious. I used the vanilla recipe and added a little cinnamon. I will definitely try the chocolate. Thanks for a great recipe.
Sandra says
I made the vanilla and added all spice and cinnamon...ohhh my it was delicious thank you!! I was craving sweets so bad and this hit the spot
Joleen Bizorik says
I tried the chocolate version this evening using coconut flour. It was absolutely amazing. Topped it with whipped cream. What a treat! Thank you for sharing this recipe.
Terri says
I added all the ingredients in my cake by mistake Ha Ha (used cashews butter). It was fluffy and delicious!
Thank you for this recipe.
Denise says
I just started the keto thing and I've been craving sweets so bad, this chocolate mug cake was delicious and curbed my craving. Definitely a keeper. Thanks so much!!
nicola says
easy and delicious. will definitely make again.
mamaowlhoo says
oh. my. i made the vanilla cake using almond flour. but... i added cinnamon and banana flavoring and sprinkled walnuts on top. THE. BEST. single serve banana bread!
Dave says
These mug cakes are great. Hard to believe they are low carb. Thank you.
Comic Frosten says
I’ve tried many low-carb mug cake recipes and this chocolate mug cake is hands-down the best one. Can’t even tell it’s low-carb.
Alexandra says
The best hands down! I made the chocolate and topped it with fresh whipped cream, it was just so comforting. Totally worth the try!
Christina Aube says
Best mug cake recipe I've ever made hands down! I've only tried the chocolate so far, but will definitely be trying the others soon. 🙂
Elizabeth J Malave says
Didn't have Vanilla but made the chocolate cake without, simple and easy, delicious with the coconut flour and topped with keto cream cheese frosting, sooooo good. Thank you for another solid recipe!
Carmen says
Ok...LOVE my chocolate mug cake!! Will try pb next!!!
Stephanie says
I made the chocolate mug cake tonight using coconut flour. It was amazing! So amazing that I let my kids try it and I got up to put a load of laundry in the dryer. When I returned my mug cake had vanished. They’re response was they needed a full taste test! Needless to say, I’m glad it was easy to make another mug.
Jules says
Perfect ending...
Samantha says
So I made the chocolate one and it was great. I plugged in the recipe into my my fitness app the carbs amount to 20g. And that's with only 1 tbsp of swerve. The numbers you listed for the carbs was 7 carbs? Is that supposed to be net carbs or regular carbs?
jenniferbanz says
Swerve has zero carbs and my fitness pal does not reflect that.
Samantha says
So I'm only 3 weeks into keto so I'm definitely not experienced, on the package of swerve it says 1 tsp has 4 carbs. I really enjoyed this cake is why I'm asking. When I plug in all the ingredients in to make a recipe on my fitness app the total came out with 20 grabs and I was shocked. I double checked the Ingredients and the swerve was what was high. So I think I'm missing somthing.
Sama says
Hey Samantha! The carbs in swerve are erythritol which is a sugar alcohol that our body doesn’t use, so you can subtract that from total carbs and so your net carbs should be lower. Hope that helps. Happy Keto-ing!
Jane says
I am sure it was net carbs and your swerve shouldn’t be any carbs, if it is, you should change your keto sweetener IMO..I use pyure and it’s zero carbs. The carbs here are likely the flour, even baking powder has carbs.
Krystal says
Sooo good!!!!
Shannon Delozier says
Tried this tonight and was amazing.
Janeece says
Delicious, so easy! Vanilla is our favorite. I use only 1 TBS Swerve, add cinnamon. We serve with a few spoonfuls of Keto brand ice cream - Sea Salt Caramel. Love this. Thank you Jennifer!