5-Minute Keto Chocolate Mug Cake
This 5-minute keto chocolate mug cake is the answer when a chocolate craving hits and you want something warm, rich, and single-serving.

No almond flour, no weird textures. Just a few pantry staples and a microwave.
Why This Mug Cake Works
Single-serving desserts are tricky. Most keto mug cakes turn out dry or eggy. This one stays moist and fudgy because of a couple smart swaps.
It’s ready faster than you can preheat an oven. Plus, the cleanup is a single mug.
The texture is soft and almost brownie-like, not a sponge.
Ingredients

- 3 tbsp almond flour: super fine blanched almond flour gives the best texture.
- 2 tbsp unsweetened cocoa powder: Dutch-processed cocoa makes the chocolate flavor deeper.
- 2 tbsp granulated low-carb sweetener: brands like Lakanto or Swerve measure the same as sugar.
- 1/4 tsp baking powder: this is the only leavening, so don’t skip it.
- Pinch of salt: just enough to balance the sweetness.
- 1 large egg: a room temperature egg blends in more smoothly.
- 2 tbsp melted butter: or use melted coconut oil for dairy-free.
- 1/2 tsp vanilla extract: rounds out the chocolate.
Variations / Substitutions
- Dairy-Free: swap the melted butter for an equal amount of melted coconut oil.
- Mocha version: add 1/2 tsp instant espresso powder to the dry mix.
- Mint chocolate: replace the vanilla with 1/4 tsp peppermint extract.
For a no-bake option, try my Keto Chocolate Avocado Mousse.
How to Make Keto Chocolate Mug Cake
Step 1: Whisk the Dry Ingredients

Grab a microwave-safe mug that holds at least 10 oz. Add the 3 tbsp almond flour, 2 tbsp cocoa powder, 2 tbsp sweetener, 1/4 tsp baking powder, and a pinch of salt. Whisk the dry ingredients together for about 15 seconds until no lumps remain and the cocoa is evenly distributed.
Step 2: Stir in the Wet Ingredients

Crack in the large egg, then pour in the 2 tbsp melted butter and 1/2 tsp vanilla extract. Stir with a fork until the batter is smooth and glossy, about 20 seconds. Scrape the bottom of the mug so no dry pockets hide there.
Step 3: Microwave and Dig In

Place the mug in the microwave and cook on high for 90 seconds. The cake will puff up above the rim, then settle slightly. The top should look firm with a slightly shiny, fudgy center. Let it sit for 1 minute to cool down, then grab a spoon and eat it while it’s warm.
A Few Notes Before You Start
- Choose a mug that holds at least 10 oz. The batter needs room to rise without spilling over.
- Microwave wattages vary. If yours runs cool (around 700W), you may need an extra 15 to 30 seconds. The cake is done when the edges are set but the center still looks slightly underdone; it finishes cooking as it rests.
- Don’t skip the cooling minute. The cake is molten hot inside and sets up as it sits.
- For a richer dessert, drop a square of sugar-free dark chocolate into the center before microwaving for a lava-cake effect.
Microwave cook times by wattage:
| Microwave Wattage | Cook Time |
|---|---|
| 100W and above | 80 to 90 seconds |
| 900W | 90 to 100 seconds |
| 800W | 100 to 110 seconds |
| 700W or lower | 100 to 120 seconds |
Frequently Asked Questions
Can I use coconut flour instead of almond flour?
No, coconut flour absorbs much more liquid and would make the cake dry. Stick with almond flour for the best texture.
Why did my mug cake turn out dry or rubbery?
It likely overcooked. Start checking 10 seconds before the recommended time, since microwaves vary a lot.
Can I make this dairy-free?
Yes, replace the melted butter with melted coconut oil and use a dairy-free chocolate chip if you add any.
What sweetener works best?
Any granular low-carb sweetener that measures 1:1, like erythritol or a monk fruit blend, works well. Liquid sweeteners alter the texture, so avoid them.

Keto Chocolate Mug Cake Recipe
Ingredients
Method
- In a 10-12 oz microwave-safe mug, whisk together almond flour, cocoa powder, sweetener, baking powder, and salt.
- Add egg, melted butter, and vanilla. Stir with a fork until smooth.
- Microwave on high for 90 seconds (adjust for wattage). Let cool 1 minute, then enjoy.
