This single-serving chocolate mug cake relies on a mashed banana or applesauce to replace the egg, which adds moisture and binds the batter without changing the chocolate flavor. The result is a soft, fudgy cake that cooks in the microwave in about 90 seconds. It’s the quickest way to get a chocolate fix when you’re out of eggs.
Serves 1 · Prep 5 min · Cook 1 min 30 sec · Total 6 min 30 sec
Ingredients
- 3 tbsp (24 g) all-purpose flour
- 2 tbsp (15 g) unsweetened cocoa powder
- 2 tbsp (25 g) granulated sugar
- 1/4 tsp baking powder
- Pinch of salt
- 3 tbsp (45 ml) milk (any kind)
- 2 tbsp (30 g) mashed ripe banana (about 1/4 small banana) OR 2 tbsp (30 g) unsweetened applesauce
- 1 tbsp (15 g) melted butter or neutral oil (like canola or vegetable)
- 1/4 tsp vanilla extract
- Optional: 1 tbsp (15 g) chocolate chips or chopped chocolate
Instructions
- In a microwave-safe mug (about 12 oz / 350 ml capacity), whisk together the flour, cocoa powder, sugar, baking powder, and salt with a fork until no lumps remain.
- Add the milk, mashed banana or applesauce, melted butter or oil, and vanilla. Stir with the fork until the batter is smooth and no dry streaks remain. If using chocolate chips, fold them in now.
- Microwave on high for 90 seconds. Start checking at 75 seconds if your microwave is powerful (over 1000 W); the cake is done when the top is set and springs back lightly when touched, and a toothpick inserted in the center comes out with a few moist crumbs (not wet batter).
- Let the mug cake cool for 2–3 minutes before eating—it continues to set as it cools. The center will be very hot right out of the microwave.
Why It Can Come Out Too Dry, Too Runny, or Too Dense
Mug cakes are small, so small mistakes show up fast. Here’s what goes wrong and how to fix it.
Too dry
Overcooking is the usual cause. Even 15 extra seconds can dry out a mug cake. If yours is dry, reduce the cook time by 10–15 seconds next time, and check with a toothpick at 75 seconds. Also, make sure you’re using a mug that’s at least 12 oz (350 ml)—a smaller mug makes the batter thicker, so it cooks unevenly and dries out.
Too runny in the center
If the center is wet batter, the cake isn’t done. Microwave for another 10–15 seconds, checking each time. But if the edges are set and the center is still liquid after 2 minutes total, your mug may be too large, making the batter too shallow and cooking unevenly. Use a standard 12 oz (350 ml) mug. Also, make sure you measured the flour correctly—too little flour makes a runny batter.
Too dense or gummy
Overmixing the batter develops gluten, which makes the cake tough and dense. Stir only until the flour is incorporated—about 15 strokes. Also, check that your baking powder is fresh; if it’s old, the cake won’t rise and will be heavy.
What to Serve With It
This mug cake is great on its own, but a scoop of vanilla ice cream or a dollop of whipped cream turns it into a proper dessert. A dusting of powdered sugar or a few fresh raspberries also work well. Because it’s a single serving, it’s perfect for a late-night snack or a quick dessert for one.
Substitutions
- Flour: Use 2 tbsp (16 g) all-purpose flour plus 1 tbsp (8 g) almond flour for a slightly nutty flavor, or use a 1:1 gluten-free baking flour blend. The texture will be a bit more crumbly with gluten-free flour.
- Milk: Any milk works—dairy, almond, oat, or soy. Use the same amount.
- Butter/oil: You can use melted coconut oil or applesauce instead of butter, but applesauce will make the cake slightly more tender and less rich.
- Egg replacement: If you don’t have banana or applesauce, you can use 2 tbsp (30 g) plain yogurt or 1 tbsp (15 g) ground flaxseed mixed with 2.5 tbsp (37 ml) water (let it sit for 5 minutes to thicken). Both will work, but the banana adds the most moisture and sweetness.
- Sweetener: Swap the granulated sugar for 1.5 tbsp (18 g) brown sugar for a deeper flavor, or use a sugar substitute like erythritol (check the package for equivalent sweetness).
How Long Does a Mug Cake Keep?
Mug cakes are best eaten immediately—they lose their soft texture within an hour. If you have leftovers, cover the mug with plastic wrap and refrigerate within 2 hours of cooking. The cake will keep for up to 2 days in the fridge. To reheat, microwave for 15–20 seconds until warm. You can also freeze the baked mug cake (wrap it tightly in plastic wrap) for up to 1 month; thaw in the fridge overnight and microwave for 20–30 seconds. The texture will be slightly denser after freezing.
Can You Make It in the Oven Instead?
Yes. Preheat the oven to 350°F (175°C). Pour the batter into a small oven-safe ramekin (about 6 oz / 180 ml) and bake for 12–15 minutes, until a toothpick inserted in the center comes out with a few moist crumbs. The cake will be slightly more risen and less chewy than the microwave version. Let it cool for 5 minutes before eating.
What If I Don’t Have a Microwave?
You can use a toaster oven or a regular oven as described above. The cook time will be longer, but the result is a more even, cake-like texture. Just be sure to use an oven-safe mug or ramekin—not a plastic or metal mug.
Can I Double the Recipe?
Yes, you can double all the ingredients and cook in two separate mugs, or use a larger microwave-safe bowl. For two mugs, microwave each for the same time (90 seconds) rather than doubling the time, since microwave times don’t scale linearly. For a single larger mug, increase the time to 2 minutes, checking at 1 minute 45 seconds.