If you’re craving chocolate but want to keep it low-carb and sugar-free, this keto chocolate mug cake is your new go-to. It’s rich, fudgy, and ready in about two minutes from start to finish. You don’t need fancy equipment or a long ingredient list—just a mug and a microwave.
It’s perfect for weeknights, portion control, or a last-minute dessert fix. Best of all, it satisfies the sweet tooth without knocking you off track.
Why This Recipe Works

- Almond flour keeps it low-carb while giving the cake a tender crumb that’s not dry or gritty.
- Cocoa powder adds depth and rich chocolate flavor without sugar or extra carbs.
- Egg provides structure, so the cake rises and sets quickly in the microwave.
- Oil or butter adds moisture and a fudgy texture, so it tastes like a real dessert, not a compromise.
- Sweetened to taste using keto-friendly granulated or powdered sweeteners, so you control the sweetness.
- Microwave magic: It cooks in about a minute, making this a true single-serve dessert with minimal cleanup.
Ingredients
- 3 tablespoons fine almond flour (not almond meal)
- 1 tablespoon unsweetened cocoa powder (Dutch-process or natural)
- 1–2 tablespoons keto-friendly sweetener (erythritol, allulose, or a blend), to taste
- 1/4 teaspoon baking powder
- Pinch of fine sea salt
- 1 large egg
- 1 tablespoon unsweetened almond milk (or water)
- 1 tablespoon melted butter or avocado oil
- 1/4 teaspoon vanilla extract
- Optional: 1 tablespoon sugar-free chocolate chips
How to Make It

- Grab a mug that holds at least 12 ounces to prevent overflow. Lightly grease it if you want easier release.
- Mix dry ingredients: Add almond flour, cocoa powder, sweetener, baking powder, and salt to the mug.
Stir well to break up any clumps.
- Add wet ingredients: Crack in the egg, then add almond milk, melted butter or oil, and vanilla. Stir until the batter is smooth and no dry pockets remain.
- Fold in extras if using, like sugar-free chocolate chips or a few crushed nuts.
- Microwave on high for 50–70 seconds. Start with 50 seconds, then check.
The top should look just set but still moist. Add 5–10 seconds at a time if needed.
- Rest for 1 minute to finish setting. This helps the texture become more cake-like and less spongey.
- Serve warm as-is, or top with whipped cream, a dollop of Greek yogurt, or a drizzle of sugar-free chocolate syrup.
Keeping It Fresh
This is a single-serve recipe best enjoyed right away.
If you want to plan ahead, mix the dry ingredients and keep them in a small jar or baggie. Then just add the wet ingredients when you’re ready to bake.
If you have leftovers, cover and refrigerate for up to 1 day. Reheat gently in the microwave for 10–15 seconds.
Just know that it’s at its best fresh from the microwave.

Benefits of This Recipe
- Keto-friendly and sugar-free: No added sugar and minimal net carbs per serving.
- Portion-controlled: One mug means no temptation to cut “just one more slice.”
- Quick and convenient: Ready in minutes with pantry staples.
- Customizable: Easy to adjust sweetness, richness, and flavor add-ins.
- Gluten-free by default, thanks to almond flour.
What Not to Do
- Don’t overcook the cake. It can go from moist to rubbery fast. Start low on time and add in short bursts.
- Don’t pack the almond flour.
Spoon it in loosely and level it off, or you’ll end up with a dry cake.
- Don’t skip the salt. A pinch makes the chocolate flavor pop and balances sweetness.
- Don’t overmix once everything is combined. Stir until smooth, then stop.
Overmixing can make it dense.
- Don’t use almond meal. It’s coarser and can leave a gritty texture.
Variations You Can Try
- Molten center: Press a square of sugar-free dark chocolate into the center before microwaving.
- Mocha twist: Add 1/2 teaspoon instant espresso powder to the dry mix.
- Peanut butter swirl: Dollop 1 teaspoon natural peanut butter on top and swirl it into the batter.
- Mint chocolate: Add 1/8 teaspoon peppermint extract instead of vanilla.
- Coconut delight: Stir in 1 tablespoon unsweetened shredded coconut and a drop of coconut extract.
- Cream cheese frosting: Mix 1 tablespoon softened cream cheese with a pinch of sweetener and a drop of vanilla, then spread on warm cake.
- Dairy-free: Use avocado oil or coconut oil and non-dairy milk only.
- Extra fudgy: Replace 1 tablespoon of almond flour with 1 tablespoon more cocoa powder and add a teaspoon of oil.
FAQ
Can I bake this in the oven instead of the microwave?
Yes. Preheat your oven to 350°F (175°C).
Pour the batter into a small oven-safe ramekin and bake for about 12–15 minutes, or until the center is just set. Keep an eye on it so it doesn’t overbake.
What sweetener works best?
Erythritol and allulose blends work well. Allulose tends to make a softer, more moist crumb, while erythritol is slightly crisper.
Powdered sweetener dissolves a bit better than granular, but either will work.
Can I substitute coconut flour for almond flour?
Not directly. Coconut flour is very absorbent. If you must use it, try 1 tablespoon coconut flour and add an extra tablespoon of liquid.
The texture will be different—more dense and slightly drier.
Why did my mug cake turn rubbery?
It was likely overcooked. Microwaves vary, so start with less time and add a few seconds as needed. Also, use the full egg (not egg whites only), and don’t overmix the batter.
How many carbs are in this?
Exact carbs depend on brands and add-ins.
As a rough estimate, the base recipe without chips usually lands around 4–6g net carbs. Check your labels and calculate based on your ingredients.
Can I make it egg-free?
You can try a flax egg (1 tablespoon ground flax + 2.5 tablespoons water, rested 5 minutes), but the texture will be more dense and less cake-like. Microwave time may change slightly.
Do I need to grease the mug?
It’s optional.
Greasing helps with release and cleanup, especially if you plan to turn the cake out onto a plate. If you’re eating it straight from the mug, it’s not essential.
Can I double the recipe?
Yes, but use a larger bowl and split the batter into two mugs. Microwave one at a time for more even cooking.
Doubling in a single mug often leads to undercooked centers and dry edges.
Wrapping Up
This Keto Chocolate Mug Cake is the kind of low-effort, high-reward dessert that keeps healthy eating enjoyable. It’s quick, customizable, and genuinely satisfying. Keep the dry mix on hand, tweak the sweetness to your taste, and you’ve got a reliable treat whenever a chocolate craving hits—all without the sugar crash.
Enjoy it warm with your favorite keto-friendly topping and call it a night well done.

Ingredients
Method
- Grab a mug that holds at least 12 ounces to prevent overflow. Lightly grease it if you want easier release.
- Mix dry ingredients: Add almond flour, cocoa powder, sweetener, baking powder, and salt to the mug. Stir well to break up any clumps.
- Add wet ingredients: Crack in the egg, then add almond milk, melted butter or oil, and vanilla. Stir until the batter is smooth and no dry pockets remain.
- Fold in extras if using, like sugar-free chocolate chips or a few crushed nuts.
- Microwave on high for 50–70 seconds. Start with 50 seconds, then check. The top should look just set but still moist. Add 5–10 seconds at a time if needed.
- Rest for 1 minute to finish setting. This helps the texture become more cake-like and less spongey.
- Serve warm as-is, or top with whipped cream, a dollop of Greek yogurt, or a drizzle of sugar-free chocolate syrup.
Tried this recipe?
Let us know how it was!Discover More Delicious Ideas 🍽️
If you need dinner inspiration for busy evenings, explore our
Dinner Recipes category.
If you’re craving delicious chicken meals, browse our
Chicken Recipes category.
If you need dinner on the table fast, explore our
Quick & Easy category.
If you’re craving new flavors, take a look at our
World Cuisine category.
If you want something lighter but still satisfying, visit our
Healthy & Light category.
If you’re in the mood for a treat, find something sweet in our
Sweets & Desserts category.
If you like to plan ahead, get inspired in our
Meal Prep & Planning category.
If you’re keeping it low carb and still want satisfying meals, explore our
Keto Weight Loss category.
If you’re looking for detox drinks, smoothies, or kid-friendly blends, browse our
Juices & Smoothies category.
If you want to see the kitchen tools and gadgets I personally use for cooking and meal prep, visit my
My Kitchen Essentials page.
Or explore everything in one place in
All Recipes.
Printable Recipe Card
Want just the essential recipe details without scrolling through the article? Get our printable recipe card with just the ingredients and instructions.

