
Warm, fluffy cake meets island vibes in the fastest escape you’ll bake all week. This single-serving treat layers crushed pineapple with coconut flakes and transforms into a golden, moist cake in your microwave — no oven preheating, no mixer, no waiting. It’s the weeknight dessert that tastes like vacation.
Why You’ll Love This Recipe
- Ready in under 5 minutes from craving to first bite — perfect for midnight sweet tooth emergencies
- Uses pantry staples plus one small can of crushed pineapple you probably already have
- Naturally moist from the pineapple, never dry or rubbery like most mug cakes
- Single serving means portion control and zero temptation to eat half a cake pan
- Makes your kitchen smell like a tropical bakery without turning on the oven
Pro Tips
- Use a microwave-safe mug that holds at least 12 ounces to prevent overflow — the batter rises significantly as it cooks
- Don’t skip draining the pineapple well; excess liquid makes the cake gummy instead of fluffy. Press it gently with a fork against a strainer.
- Stir the batter until just combined with no flour streaks visible, but avoid overmixing or you’ll develop too much gluten and get a tough texture
- Let it cool for 60 seconds after microwaving — the cake continues cooking from residual heat and firms up to the perfect consistency

Tropical Pineapple Coconut Mug Cake
Ingredients
Method
- In a microwave-safe mug (at least 12 ounces), whisk together the flour, sugar, baking powder, and salt until no lumps remain.
- Add the milk, melted butter, and vanilla extract to the dry ingredients. Stir with a fork until the batter is smooth with no flour streaks visible, about 20 seconds.
- Gently fold in the well-drained crushed pineapple and shredded coconut, distributing them evenly throughout the batter.
- Microwave on high power for 90 seconds. Check doneness — the top should look set and a toothpick inserted in the center should come out with moist crumbs, not wet batter.
- If needed, microwave in additional 15-second intervals until just cooked through. Do not overcook or the texture will become rubbery.
- Let the mug cake cool for 60 seconds before eating. The cake will firm up slightly as it cools and finish cooking from residual heat.

Frequently Asked Questions
Can I use fresh pineapple instead of canned?
Fresh pineapple works, but you’ll need to finely chop it and measure 3 tablespoons. The canned version is already soft and releases moisture more evenly during cooking, giving better texture.
What if my microwave is very powerful?
Start with 60 seconds, then check. High-wattage microwaves (1200W+) may fully cook the cake in 75-80 seconds. The top should look set with no wet batter, and a toothpick inserted in the center should come out with just a few moist crumbs.
Can I make this dairy-free?
Yes, substitute the milk with coconut milk or almond milk, and use dairy-free butter or coconut oil. The coconut milk actually enhances the tropical flavor.
Why did my mug cake turn out rubbery?
Overcooking is the most common culprit. Microwave in 15-second intervals after the first minute, and remember the cake firms as it cools. Overmixing the batter can also create excess gluten, leading to chewiness.
Storage & Serving
This mug cake tastes best fresh and warm, straight from the microwave. If you have leftovers, cover the mug with plastic wrap and refrigerate for up to 24 hours — reheat for 15-20 seconds before eating. Top with a dollop of whipped cream, a sprinkle of toasted coconut, or a scoop of vanilla ice cream for an instant sundae. For extra decadence, drizzle with caramel sauce or white chocolate.
Grab your favorite mug and give yourself permission to indulge in five minutes of pure tropical comfort tonight.