5-Minute Coconut Flour Mug Cake
This coconut flour mug cake is the single-serve dessert that answers a 9 p.m. craving without leaving you with a whole pan of leftover cake. It comes together in one mug, pops in the microwave, and gives you a warm, fluffy slice of comfort in minutes.

Coconut flour bakes up deceptively tender in the microwave, with a soft crumb and a gentle vanilla flavor that tastes like the edge of a macaroon. It is gluten-free, low in carbs, and remarkably simple, no mixer or oven needed.
Why This Mug Cake Works So Well
The trick is letting the batter rest for half a minute before it hits the microwave. Coconut flour is thirsty, and that quick pause lets it absorb the liquid so the cake bakes smooth instead of grainy.
You also get a real cake texture, not a spongy egg puck. The moisture from butter and an egg keeps it soft, and the microwave does the rest in 90 seconds, no special equipment required.
Ingredients

- 2 tbsp coconut flour, sifted: sifting breaks up clumps so you do not end up with dry pockets
- 1 large egg: gives the cake structure and lift
- 1 tbsp granulated sweetener: use erythritol, monk fruit, or regular sugar
- 1/4 tsp baking powder: just enough to help it rise without tasting metallic
- Pinch of salt: wakes up the sweetness
- 2 tbsp unsweetened almond milk: or any milk you have, dairy works fine
- 1/2 tsp vanilla extract: rounds out the coconut notes
- 1 tbsp melted unsalted butter or coconut oil: butter gives a richer crumb, oil keeps it dairy-free
Variations / Substitutions
- Chocolate Chip: fold in 1 tbsp sugar-free chocolate chips before microwaving; they melt into little gooey pockets
- Lemon Poppy Seed: swap vanilla for 1/4 tsp lemon extract and stir in 1/2 tsp poppy seeds
- Cinnamon Roll: swirl 1/2 tsp cinnamon mixed with a teaspoon of melted butter onto the batter before cooking
- Dairy-Free: use coconut oil instead of butter and unsweetened almond milk
- Nut-Free: almond milk is nut-free? No. So use oat or coconut milk. I’ll specify: swap almond milk for oat or coconut milk beverage to keep it nut-free.
Moist Coconut Loaf Cake is next on our list if this cake is your kind of dessert.
How to Make Coconut Flour Mug Cake
Step 1: Whisk the Wet Ingredients

In a microwave-safe mug (at least 12 oz so it does not overflow), whisk the 1 large egg, 1 tbsp melted butter, 2 tbsp almond milk, 1 tbsp sweetener, and 1/2 tsp vanilla until the egg is fully blended and the mixture looks uniform. Take a second to scrape the bottom with the whisk so no egg white hides down there.
Step 2: Stir in the Dry Ingredients

Add the 2 tbsp coconut flour, 1/4 tsp baking powder, and the pinch of salt right into the mug. Stir with the whisk or a fork until you see no dry specks, then let the batter sit for 30 seconds. During that short rest, the coconut flour soaks up the liquid and the batter will thicken noticeably; skipping this step is what leads to a dry, gritty cake.
Step 3: Dust and Serve

Microwave the mug on high for 90 seconds. The cake will rise just above the rim and the top should look set and slightly domed. Let it cool in the mug for 1 minute (it continues cooking from residual heat), then dust with a little powdered sweetener or a spoon of whipped cream and eat it straight from the mug while it is still warm.
A Few Tips Before You Start
- Use a wide, short mug.: A tall narrow mug can trap heat unevenly, leaving the bottom undercooked while the top firms up too fast.
- Don’t overmix.: Stir just until the flour disappears. Overworking the batter can make the cake tough.
- Rest the batter.: That 30-second pause is not flexible; it is what keeps the crumb tender instead of sandy.
- Sweeten to your taste.: If you like a sweeter cake, go up to 1 1/2 tbsp sweetener without affecting the structure.
Cook times by microwave wattage:
| Wattage | Cook Time |
|---|---|
| 700W | 2 mins |
| 900W | 90 sec |
| 110W | 75 sec |
Frequently Asked Questions
Can I use almond flour instead?
No, coconut flour and almond flour behave completely differently. Coconut flour needs far more liquid and egg; swapping one for the other will give you a soupy or brick-like result without adjusting the whole recipe.
Why did my mug cake come out rubbery?
Overcooking is usually the culprit. Microwave it just until the top is set, then let it rest. Even 15 extra seconds can turn a tender cake into a rubbery one.
Can I make this without an egg?
A flax egg (1 tbsp ground flax plus 2.5 tbsp water, rested 5 minutes) works, but the cake will be a little denser and more crumbly.
How do I keep the cake from tasting like eggs?
Add a touch more vanilla extract or a small pinch of cinnamon. Melting the butter and letting it cool slightly before mixing also helps soften the egg flavor.

Coconut Flour Mug Cake Recipe
Ingredients
Method
- Whisk the egg, melted butter, almond milk, sweetener, and vanilla in a 12 oz mug until smooth.
- Stir in the coconut flour, baking powder, and salt until no dry spots remain, then let the batter rest 30 seconds.
- Microwave on high for 90 seconds, cool 1 minute, then dust with powdered sweetener and serve warm.
