The BEST EVER Keto Chocolate Mug Cake

Annie Lampella @ Ketofocus

By Annie Lampella, Pharm.D.

Published August 26, 2020 β€’ Updated February 2, 2026

Reader Rating
4.9 Stars (7 Reviews)

This post may contain affiliate links. See my disclosure policy.

When chocolate cravings hit, this keto chocolate mug cake is ready in under two minutes. Rich, fudgy, and just 3.8g net carbs per serving - it's the fastest way to crush a sweet tooth without derailing your macros.

Youtube
639K+ subscribers
Discover More Keto Recipes on Our Channel

Explore 681+ keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.

Recipe
Print Pin

The BEST EVER Keto Chocolate Mug Cake

4.9 (7) Prep 1m Cook 1m Total 2m 1 servings

Ingredients

Step by Step Instructions

Step by Step Instructions

1
Add the ingredients

Add all ingredients to a mug or microwave safe small bowl.

mini cake ingredients in a white coffee mug
2
Mix it

Mix together until combined.

chocolate cake mixed in a white mug
3
Microwave it

Microwave for 60 to 75 seconds or until the cake has risen and is set in the middle. It should not be wobbly when you shake it. Remove from microwave to let cool.

small baked chocolate cake in a white mug
Tip Baking times may vary based on your microwave.
Nutrition Per Serving
382 Calories
34.9g Fat
9.9g Protein
3.8g Net Carbs
9g Total Carbs
1 Servings
Nutrition disclaimer

The nutrition information provided is an estimate and is for informational purposes only. I am a Doctor of Pharmacy (Pharm.D.); however, this content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always consult your physician or other qualified health provider before making any lifestyle changes or beginning a new nutrition program.

Calculate Your Keto Macros in 30 Seconds

Not sure if this recipe fits your daily targets? Our free calculator shows you personalized macros based on your goals, activity level, and body composition.

Get My Macros (Free) →

Get weekly keto recipes from Annie.

Join the list and get new recipes delivered to your inbox every week.

The BEST EVER Keto Chocolate Mug Cake

Frequently Asked Questions

Can I use a different sweetener instead of monk fruit?

Yes! Erythritol or stevia both work. Sweetness levels differ between brands, so taste the batter and adjust before cooking.

How can I make this mug cake dairy-free?

Swap the butter for coconut oil or a dairy-free butter substitute. That's it.

What can I use instead of almond flour?

Sunflower seed flour works well here. You can also use a keto-friendly all-purpose flour blend. The texture will be a little different but still good.

How should I store any leftovers?

These are best fresh, but if you have any left, store in an airtight container in the fridge for up to 2 days. Reheat in the microwave for 10-15 seconds.

Is this mug cake suitable for meal prep?

You can pre-mix the dry ingredients and keep them in a sealed bag. When you're ready, dump the mix in a mug, add the wet ingredients, and microwave.

Similar Recipes

Others looking for “The BEST EVER Keto Chocolate Mug Cake” also liked:

Low Carb Chocolate Mug Cake Recipe

a thick mug cake popping out of a mug with a dollop of whipped cream on top This low-carb chocolate mug cake is rich, fudgy, and absolutely not diet food. The texture is fluffy enough that even serious chocolate lovers won’t believe it’s sugar-free. And since it’s homemade, you know exactly what’s in it. The whole thing takes about two minutes from bowl to first bite. Top with fresh whipped cream for the full dessert experience. fluffy chocolate cake coming out of a white mug topped with whipped cream

What is a Mug Cake?

A mug cake is exactly what it sounds like – a cake you mix and cook right in a mug using the microwave. They’re single-serving desserts you can throw together in minutes when cravings hit.

Mug vs Ramekins for Making Mug Cakes

Most of the time I just use a regular coffee mug. But if you want a cuter presentation, you can use a ramekin too. Mix in the mug and transfer, or if your ramekin is big enough, use it for everything – mixing to serving. Either way, spray it with cooking spray first so the cake doesn’t stick. cutting out a bite of chocolate keto cake with whipped cream on top in a white ramekin

Portion Controlled Desserts

One of the things I love about mug cakes is the built-in portion control. You’re making one serving, so there’s no leftover cake tempting you from the counter. The benefits of portion control are not limited to maintaining a healthy weight, but also include:
  • Easy food digestion
  • Feel more energized throughout the day
  • Controlled blood sugar levels
  • No ingredients wasted
  • Less dirty dishes

How to Make a Sugar-Free Chocolate Mug Cake in the Microwave?

Making this in the microwave takes almost no effort.
  • Use a microwave-safe mug or a sufficiently-sized ramekin with cooking spray.
  • Mix all ingredients like almond & coconut flour, cocoa, and monk fruit sweetener in it.
  • Stir and add any extras you want (think flavor extracts like vanilla or coffee to boost the chocolate flavor).
  • Put the mug or ramekin in the microwave and give it around 60 seconds until batter appears to be all fluffy. Do not microwave for more than 90 seconds.
  • Let the cake cool for a minute and enjoy.
chocolate mug cake ingredients piled into a white coffee mug

Baking the Chocolate Mug Cake in the Oven

If you prefer the oven, here’s how:
  • Use a ramekin instead of a mug (your mug may not be oven safe)
  • Mix all ingredients in the ramekin
  • Stir to make a batter
  • Put the ramekin in the pre-heated oven at 325 degrees F for 5-10 minutes
  • Allow the cake to cool and enjoy

How to Make a Dairy-Free Chocolate Mug Cake

To make this dairy-free, replace butter with ghee (highly-clarified butter) or coconut oil. Both work great for low-carb baking.

Choosing Your Cocoa Powder

This recipe uses cocoa powder for all the chocolate flavor. Make sure you’re using 100% unsweetened cocoa powder – some brands sneak in sugar and extra carbohydrates.

Can I Make a Larger Cake with this Recipe?

Yes! Just triple or quadruple the ingredients, pour them into a greased baking dish or cake pan, and bake at 325 degrees for 10-12 minutes.
About the Author
Annie Lampella, Pharm.D.

Annie Lampella, Pharm.D.

Annie is a Doctor of Pharmacy, mom, and the recipe creator behind KetoFocus. With a B.S. in Genetics from UC Davis, she has over 14 years of experience developing family-friendly keto recipes based on the science of human metabolism.

More Dessert Recipes

slice of keto carrot cake
45 Mins
Keto Carrot Cake with Almond Flour
4.9 Stars (94 Reviews)

Almond flour, real shredded carrots, and cream cheese frosting with sour cream. 5.6g net carbs per slice. I make this every Easter and Thanksgiving.

See the Recipe
keto chocolate chip cookie stack
145 Mins
Keto Almond Flour Chocolate Chip Cookies
4.8 Stars (33 Reviews)

Soft, chewy almond flour chocolate chip cookies with only 3.2g net carbs per serving. No grainy texture, no fake sugar taste. ChocZero approved.

See the Recipe
five golden brown chocolate chip cookies on the table with dark chips spread around
16 Mins
Best Keto Chocolate Chip Cookies
4.8 Stars (25 Reviews)

Almond flour and coconut flour together create a keto chocolate chip cookie that's close to Toll House. 1.2g net carbs per cookie. Crispy edges, soft...

See the Recipe
pretty fluted edges on a pie crust
65 Mins
Keto Pie Crust
4.8 Stars (24 Reviews)

I've been refining this recipe since I started keto in 2012. Almond flour, coconut flour, cold butter, and one secret ingredient create a flaky,...

See the Recipe
chocolate chip with whipped cream
6 Mins
Keto Chocolate Chaffle
4.7 Stars (11 Reviews)

Cream cheese (not mozzarella) makes this chocolate chaffle recipe taste like actual dessert. Six ingredients, five minutes, 4g net carbs.

See the Recipe
chewy keto chocolate chip cookie with melted chips
3 Mins
Keto Chocolate Chip Cookie for One
4.6 Stars (32 Reviews)

A soft, chewy keto chocolate chip cookie that you can make in minutes. Instructions for air fryer, oven and microwave baking. Eggless, sugar-free,...

See the Recipe
Reviews 8
4.9 Stars (7 Reviews)
  1. M
    Mike Feb 16, 2026

    swapped the monk fruit for allulose, little more fudgy. same carbs tho

    1. Annie Lampella
      Annie Lampella Feb 16, 2026

      Allulose does that, holds more moisture. I go back and forth between the two depending on whether I want fudgy or cakey.

  2. J
    Jenna Apr 4, 2024

    I don't have coconut flour. Can I replace it with something else?

    1. Annie Lampella
      Annie Lampella May 15, 2025

      Try adding another tablespoon or two of almond flour to replace the coconut flour.

  3. B
    Brenda Feb 22, 2024

    I really enjoyed the texture and flavor. I put a teaspoon of peanut butter in it and it was yummy!

  4. J
    Joyce Feb 2, 2021

    I wanted something sweet and remembered your mug cake recipe. It was delicious and the serving size was perfect with no leftovers. I added a little sugar free whipped cream for good measure Great recipe and thank you so much for helping to make keto sustainable!!!

  5. D
    Dianne Jan 11, 2021

    I have two children with nut allergies. I cannot have any type of almond flour or nut flours in my house. Can you give me the alternative to using coconut flour instead? Is it for every 1 tsp of almond flour I use two tsp of coconut flour? Thanks so much! Love your channel! It’s my saving grace and my fave ?

    1. Annie Lampella
      Annie Lampella Jan 12, 2021

      I usually will 1/3 the measurement if I'm swapping coconut flour for almond flour. Try 2-3 teaspoons of coconut flour. I know it doesn't seem like a lot but coconut flour absorbs a lot of liquid so if you add too much the cake will be really dense and dry.

Leave a Review