I made this cake at 11pm on a random Tuesday and now I can’t stop.
That’s the honest truth. One mug, one microwave, five minutes, and suddenly I have a warm, fluffy, coconut-scented cake staring back at me like it knows exactly what it’s doing.
No oven. No mixer. No waiting around for anything to preheat.
Just you, a mug, and a craving that’s about to get handled.
Why This One Actually Works
Most mug cakes turn out dense or rubbery. This one doesn’t, and there’s a reason for that.
The coconut milk keeps everything moist while the shredded coconut adds little pockets of chew throughout. 🥥
It’s the kind of texture you’d expect from a bakery, not a microwave.
And because it’s a single serving, there’s zero guilt about eating the whole thing. It was made for exactly one person. That person is you.
What You’ll Need
Here’s everything going into your mug:
- 4 tablespoons all-purpose flour
- 3 tablespoons granulated sugar
- 1/4 teaspoon baking powder
- Pinch of salt
- 3 tablespoons full-fat coconut milk
- 1 tablespoon melted coconut oil (or butter)
- 1/4 teaspoon vanilla extract
- 2 tablespoons shredded coconut, plus extra for topping
That’s it. Eight ingredients, most of which are already sitting in your pantry.
Tools You’ll Need
- A microwave-safe mug (12 oz or larger, so the cake has room to rise)
- A small mixing bowl
- A fork or small whisk
- Measuring spoons
Pro Tips Before You Start
1. Don’t skip the resting time. Let the cake sit in the mug for a full minute after microwaving. It keeps cooking a little from residual heat, and cutting that step short is the number one reason mug cakes turn gummy in the middle.
2. Use full-fat coconut milk. The light version works in a pinch, but it makes the cake noticeably drier. Full-fat is what gives you that soft, almost pudding-like crumb.
3. Toast your coconut flakes first. Just two minutes in a dry pan before adding them to the batter. It deepens the flavor so much that you’ll wonder why you ever skipped it.
4. Watch it through the microwave door. Every microwave is different, and this cake goes from perfect to overdone in about 15 seconds. Keep an eye on it after the 1:30 mark.
5. Mix in the mug, not a separate bowl. One less dish to wash, and honestly the batter comes together just fine this way.
How to Make It
- Melt the coconut oil. Microwave it for about 15 seconds if it’s solid, then set aside to cool slightly.
- Mix the dry ingredients. In your mug, whisk together the flour, sugar, baking powder, and salt until there are no lumps.
- Add the wet ingredients. Pour in the coconut milk, melted coconut oil, and vanilla. Stir until the batter is smooth and no dry streaks remain.
- Fold in the coconut. Add your shredded coconut and give it one last stir.
- Microwave. Cook on high for 60 to 90 seconds, depending on your microwave’s strength. The cake is done when the top looks set and a toothpick comes out mostly clean.
- Let it rest. Give it a full minute before touching it. This step matters more than people think.
- Top and serve. Sprinkle on extra shredded coconut, maybe a drizzle of melted chocolate, and dig in while it’s warm.
Substitutions and Variations
| Original | Swap | Notes |
|---|---|---|
| All-purpose flour | Gluten-free 1:1 blend | Texture stays nearly identical |
| Granulated sugar | Coconut sugar | Slightly darker cake, more caramel flavor |
| Coconut oil | Melted butter | Less coconut flavor, still moist |
| Shredded coconut | Coconut flakes | Bigger bites of coconut texture |
| Vanilla extract | Almond extract | Gives it a completely different, bakery-style flavor |
Want to make it a chocolate coconut cake? Stir in a tablespoon of cocoa powder with the dry ingredients. It turns into something that tastes suspiciously like a candy bar.
Make-Ahead Tips
You can pre-measure the dry ingredients into a small jar or bag ahead of time. That way, when the craving hits, you’re just adding the wet ingredients and microwaving.
This is genuinely one of the only cakes I’d call meal-prep friendly, mostly because there’s nothing to prep.
Nutrition and Pairings
Rough estimate per serving, based on the ingredients listed:
- Calories: approximately 380
- Carbohydrates: approximately 34g
- Fat: approximately 26g
- Protein: approximately 4g
Note: these numbers are estimates and should be verified with a nutrition tool like Cronometer before you rely on them for anything specific.
Pair it with a scoop of vanilla ice cream if you want to go all out, or a hot cup of coffee if you’re keeping things simple. Both work.
Storage and Reheating

This cake is genuinely best eaten fresh, straight out of the mug.
If you do have leftovers, cover the mug and store it in the fridge for up to two days. Reheat in the microwave for about 15 seconds to bring back that just-baked texture.
I wouldn’t recommend freezing it. The texture gets weird once it thaws.
FAQ
Can I double the recipe? Yes, but use a larger mug and add about 30 extra seconds to the cook time. Keep checking it every 15 seconds past the original time so it doesn’t overcook.
Why did my cake turn out rubbery? This usually means it was microwaved too long. Start checking it at the 60 second mark and pull it as soon as the top looks set.
Can I make this without a microwave? You can bake it in a ramekin at 350°F for about 15 to 18 minutes, though the texture will be slightly more like a traditional cake than a mug cake.
Is there a dairy-free version? It’s already dairy-free as written, as long as you use coconut oil instead of butter.
Can I add mix-ins like chocolate chips? Absolutely. A tablespoon of mini chocolate chips folded in right before microwaving works great.
Wrapping Up
This coconut mug cake takes less time than it would to order dessert delivery, and it actually tastes better than half the desserts I’ve had delivered.
Make it once and you’ll understand why I keep a bag of shredded coconut in my pantry at all times now.
If you try this recipe, come back and leave a comment letting me know how it turned out, or if you tried any of the swaps above. I’d love to hear about it.