When you want chocolate cake but not a whole pan, make one in a mug. Measure the coconut flour with a level spoon, then stop the microwave as soon as the center is cooked. A heaping spoonful or an extra 30 seconds can turn dessert into a rubbery sponge.

Makes 1 mug cake | Prep: about 4 minutes | Microwave time varies | Rest: 2 minutes
Get the printable recipe card (PDF)
Ingredients
A microwave-safe mug that holds at least 12 fl oz (355 mL), a fork and an instant-read thermometer.
- 1 level tablespoon coconut flour (7 g)
- 1 tablespoon unsweetened cocoa powder (5 g)
- 1/8 teaspoon baking powder
- 1 large egg
- 1 tablespoon unsalted butter, melted and slightly cooled
- 1 tablespoon unsweetened almond milk
- Liquid stevia equivalent to 1 tablespoon sugar, measured according to its label
Instructions

- In the mug, mix the coconut flour, cocoa and baking powder with a fork. Break up any lumps.
- Add the egg, melted butter, almond milk and stevia. Stir until smooth, scraping the bottom and sides. Don’t taste raw batter.
- Microwave on high, starting with 40 seconds at 1,000 W or above, or 55 seconds at lower wattage. These are first checks, not total cook times. If the center is still wet or below 160°F (71°C), microwave in 10-second bursts.
- Stop when there is no liquid batter in the center and a thermometer reads at least 160°F (71°C) in the middle without touching the mug. Let stand for 2 minutes before eating.
Carbs and storage
Per mug, estimated: about 8 g total carbs, 4.5 g fiber and 3.5 g net carbs, without toppings. Counts vary with the almond milk, sweetener and other labels.
Contains egg, dairy, almond and coconut. Best warm; cover and refrigerate leftovers within 2 hours, then eat by the next day.
How to keep a microwave mug cake from drying out
Use a level spoon, not a scoop straight from the bag. Bob’s Red Mill notes that coconut flour is high in fiber and often needs extra egg in baking. In a small cake, a little more flour can make a big difference. If you only have almond flour, find a recipe written for it rather than swapping spoon for spoon.
Chocolate drink mix isn’t a substitute for unsweetened cocoa. It often contains sugar and other ingredients that change both the flavor and carb count. Liquid sweeteners also vary widely in concentration, so follow the conversion on your own bottle.
Know when to stop
Find the output wattage on the microwave label or in the manual. Two microwaves with the same power can still run differently. Start checking early, especially with a wide-bottomed mug. If the edges firm up but the middle is still liquid, keep using short bursts rather than running another full minute. The federal safe temperature chart lists 160°F for egg dishes. Don’t aim for a raw, lava-style center.
Where the carb estimate comes from
One tablespoon of the cited coconut flour contributes 4.5 g total carbs and 2.5 g fiber. One tablespoon of unsweetened cocoa adds 3 g total carbs and 2 g fiber. The egg, baking powder and almond milk contribute a small additional amount. The estimate assumes a liquid sweetener that adds negligible carbs and uses total carbs minus fiber for net carbs. Check your specific labels if you track carbs.
Want a chilled dessert instead? Browse the LessCarby recipes or try our low-carb cannoli cups for a crisp bite with ricotta and chocolate.
The featured image and the step image are AI illustrations. We adapted the proportions for one mug from the linked recipe and haven’t physically tested the timing guide. Recipe reference: Ruled.me.
Plan Your Week with Our Free Meal Planner
Choose seven days of meals, adjust portions, and download your shopping list. No email signup needed.
Open the Free Planner →
