This keto chocolate mug cake is the dessert you make when you want chocolate right now. It’s rich, fudgy and ready in about 90 seconds.

No oven, no mixer, just one mug and a microwave. It fits neatly into a low-carb day without any sugar crash.
Why you’ll love it
The first spoonful is warm, dense and deeply chocolatey, almost like a brownie that’s been coaxed out of a mug. The almond flour gives it a soft, tender crumb that holds together well.
It’s my go-to on busy nights when I want something sweet but don’t want to open a whole baking project. Mix, microwave, and you’re done before the kettle boils.
What you’ll need
- Butter – melted or very soft, so it mixes in smoothly
- Almond flour – finely ground, blanched if you can find it
- Cocoa powder – sifted to avoid lumps, unsweetened
- Large egg – room temperature, beaten
- Granulated xylitol or erythritol – skip stevia, which can taste bitter here
- Baking powder – gives the cake a little lift
- Sea salt – a pinch to make the chocolate taste deeper
See the recipe card for quantities.
Helpful tips
- Sift the cocoa powder before measuring so the batter stays smooth and lump-free.
- Use a mug with at least 12 ounces of space, since the cake rises as it cooks.
- Microwave in short bursts. Overcooking turns the middle dry and crumbly.
How to make a keto chocolate mug cake
Melt the butter in a large microwave-safe mug, about 20 to 30 seconds. Stir in the almond flour, sifted cocoa, sweetener, baking powder and salt until no dry streaks remain.
Add the beaten egg and stir well until the batter is thick, glossy and evenly coloured. Scrape down the sides so every bit gets cooked.
Microwave on high for 60 to 75 seconds, checking at 60. The top should look set and feel slightly springy when touched.
Let it cool for 2 minutes before eating, as the centre stays very hot. It firms up a little as it rests.
Substitutions and variations
- Add a spoon of peanut butter – for a chocolate and peanut twist
- Stir in sugar-free chocolate chips – for little melty pockets
- Add a splash of vanilla or espresso powder – to deepen the chocolate flavour

What to serve with it
- Unsweetened whipped cream – cool and light against the dense cake
- A few raspberries – their tartness balances the cocoa
- Sugar-free vanilla ice cream – for a warm and cold contrast
Leftovers and storage
- Fridge: covered, it keeps for up to 2 days, though it’s best eaten fresh.
- Freezing: not recommended, as the texture becomes crumbly once thawed.
- Reheating: microwave for 10 to 15 seconds to warm it through.
Make this if…
- You like chocolate cake but want to keep carbs low.
- You need a single-serving dessert with no leftovers.
- You want a sweet treat in under five minutes.
- You prefer a fudgy, dense texture over a fluffy sponge.
Mix one mug, microwave it, and enjoy a warm chocolate treat tonight.
Chocolate Keto Mug Cake

Ingredients
- 1 tablespoon butter, melted or very soft
- ¼ cup almond flour
- 3 tablespoons cocoa powder, sifted
- 1 large egg, beaten
- 2 tablespoons granulated xylitol or erythritol
- ½ teaspoon baking powder
- Pinch of sea salt
Instructions
- Melt the butter in a large microwave-safe mug for 20 to 30 seconds.
- Stir in the almond flour, sifted cocoa, sweetener, baking powder and sea salt until no dry streaks remain.
- Add the beaten egg and stir until the batter is thick, smooth and evenly coloured.
- Microwave on high for 60 seconds, then check. Add up to 15 more seconds if the top still looks wet.
- Let the mug cake cool for 2 minutes before eating, as the centre stays very hot.
Notes
- Use a mug of at least 12 ounces so the cake has room to rise.
- Xylitol and erythritol can be swapped one for one; avoid stevia, which can taste bitter.
- Microwave times vary by wattage, so start checking early.

