This mug cake is a single-serving chocolate dessert that cooks in the microwave in about 90 seconds. It has a dense, fudgy texture closer to a baked mud cake than a fluffy cake, and it works for a weeknight treat, a last-minute dessert for one, or a fun kids’ cooking project. Serve it warm with a scoop of vanilla ice cream or a spoonful of whipped cream.
Ingredients
- 3 tbsp (24 g) all-purpose flour
- 2 tbsp (15 g) unsweetened cocoa powder
- 3 tbsp (40 g) granulated sugar
- 1/8 tsp salt
- 1/4 tsp baking powder
- 3 tbsp (45 ml) milk (any kind)
- 2 tbsp (30 ml) neutral oil (such as canola or vegetable)
- 1/4 tsp vanilla extract
- 1 tbsp (15 g) chocolate chips or chopped chocolate (optional)
Instructions
- In a microwave-safe mug (about 12 oz / 350 ml capacity), whisk together the flour, cocoa powder, sugar, salt, and baking powder with a small fork until no lumps remain.
- Add the milk, oil, and vanilla. Stir until the batter is smooth and no dry streaks remain. If using chocolate chips, fold them in.
- Microwave on high for 60 seconds. Check the cake: it should be set on top but still slightly moist in the center. If not done, microwave in 10-second bursts, up to 30 seconds more. Total cooking time is typically 1 minute 30 seconds to 2 minutes, depending on microwave wattage.
- Let the mug cake cool for 1 minute before eating. It will be very hot—the center can reach over 200°F (93°C) right out of the microwave.
Substitutions and Swaps
Use these swaps in equal amounts unless noted. Each changes the texture or flavor slightly.
- Flour: For a gluten-free version, use a 1:1 gluten-free flour blend that contains xanthan gum. The cake will be slightly more crumbly.
- Cocoa powder: Dutch-processed cocoa gives a darker color and milder flavor. Natural cocoa gives a more acidic, intense chocolate taste.
- Sugar: Brown sugar adds a deeper, molasses-like flavor and a slightly chewier texture. Reduce to 2 tbsp (25 g) if you prefer less sweet.
- Milk: Any milk works—dairy, almond, oat, or soy. Richer milks (whole, oat) make a slightly moister cake.
- Oil: Melted butter (2 tbsp / 28 g) adds flavor but makes the cake slightly denser. Coconut oil works too, but use refined for neutral flavor.
- Egg-free: This recipe is already egg-free. If you want to add an egg for extra structure, use 1 large egg and reduce milk to 1 tbsp (15 ml).
Equipment That Matters
The right mug and microwave make the difference between a tender cake and a rubbery one.
- Mug size: Use a 12 oz (350 ml) mug. A smaller mug will overflow; a larger one makes a flatter cake.
- Microwave wattage: Most recipes assume a 1000-watt microwave. If yours is lower (700–800 W), expect longer cooking; if higher (1200 W+), start checking at 45 seconds.
- No microwave? You can bake this in a 6 oz (180 ml) ramekin in a 350°F (175°C) oven for 12–15 minutes, until a toothpick inserted in the center comes out with a few moist crumbs.
How to Check Doneness
The cake is done when the top is set and springs back lightly when touched, and a toothpick inserted into the center comes out with a few moist crumbs—not wet batter. The center will continue to cook slightly as it cools, so it’s better to undercook slightly than to turn it into a dry sponge.
Storage and Reheating
This mug cake is best eaten immediately. If you have leftovers (unlikely), cover the mug with plastic wrap and refrigerate within 2 hours. It will keep for up to 2 days refrigerated. To reheat, microwave on medium power in 15-second bursts until warm, about 30–45 seconds. Do not freeze—the texture becomes rubbery.
Mud Cake vs. Mug Cake
A traditional mud cake is a dense, fudgy chocolate cake made with melted chocolate and butter, often served at room temperature with a shiny ganache. This mug version mimics that dense, moist texture using cocoa powder and oil, which keeps the cake tender without needing a mixer or multiple bowls. The result is not a light, airy cake—it’s meant to be dense and intensely chocolatey, like a warm brownie.
Why This Works
The ratio of liquid to dry ingredients is higher than a standard cake, which creates steam in the microwave and keeps the crumb moist. Baking powder provides just enough lift to make it tender without making it fluffy. The oil (rather than butter) stays liquid at room temperature, so the cake doesn’t dry out as it cools.
Common Mistakes
If your mug cake is dry, you likely overcooked it. If it’s gummy or dense, you may have overmixed the batter—stir just until combined. If it overflowed, your mug was too small or the microwave power was too high. If it tastes bitter, your cocoa powder may be old or you used too much—stick to the 2 tbsp (15 g) measure.
Variations
Once you master the base, try these quick additions:
- Peanut butter: Add 1 tbsp (15 g) peanut butter to the batter before microwaving. Swirl it in gently.
- Mint: Add 1/8 tsp peppermint extract and top with crushed chocolate mint candies.
- Orange: Add 1/2 tsp orange zest and a splash of orange juice (reduce milk to 2 tbsp / 30 ml).
- Salted caramel: After cooking, drizzle with 1 tbsp (15 ml) caramel sauce and a pinch of flaky sea salt.
Safety Notes
The mug will be very hot after microwaving. Use a pot holder or folded towel to remove it. The cake itself is safe to eat when the center reaches 160°F (71°C) for egg dishes, but this recipe has no eggs; the doneness check above is for texture, not safety. If you add an egg, ensure the center reaches 160°F (71°C) as measured with a food thermometer. Leftovers must be refrigerated within 2 hours and eaten within 3–4 days. Never leave the mug cake out overnight.
Related
- Microwave Cake Recipe UK: Easy 5-Minute Mug Cake
- 3-Ingredient Microwave Mug Cake Recipe
- Microwave Cake with Soda: 5-Minute Mug Cake
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).