When a late-night sweet craving strikes, this single-serving chocolate mug cake is quick, comforting, and made with everyday pantry ingredients. It cooks in the microwave in about a minute, so you can enjoy a warm dessert without heating the oven or making a whole batch.
Ingredients
- 4 tablespoons (32 g) all-purpose flour
- 2 tablespoons (25 g) granulated sugar
- 1 tablespoon (5 g) unsweetened cocoa powder
- 1/8 teaspoon baking powder
- A small pinch of fine salt
- 3 tablespoons (45 ml) milk, dairy or unsweetened plant milk
- 1 tablespoon (15 ml) neutral oil, such as canola or sunflower
- 1/4 teaspoon vanilla extract
- 1 tablespoon (15 g) chocolate chips, optional
- 1 teaspoon butter or oil, for greasing the mug if desired
Instructions
- Choose a microwave-safe mug that holds at least 12 ounces (350 ml). A wider mug helps the cake cook more evenly and leaves room for it to rise. Lightly grease the inside if you want to make the cake easier to remove; otherwise, plan to eat it from the mug.
- Add the flour, sugar, cocoa, baking powder, and salt directly to the mug. Stir with a small fork until the cocoa is evenly distributed and no dry clumps remain, especially around the bottom and corners.
- Pour in the milk, oil, and vanilla. Stir until you have a smooth batter, scraping the sides and base. Stop as soon as the dry ingredients are incorporated; overmixing can make the cake dense. Fold in the chocolate chips, if using.
- Microwave on high for 60 seconds. Check the cake: the top should look set around the edges, while the center may remain slightly moist. If the batter still looks liquid, microwave in 10-second bursts, checking each time. Most mugs and microwaves need about 60–80 seconds, but wattage and mug shape affect the timing.
- Let the mug stand for 1–2 minutes before eating. The cake continues to set as it rests, and the mug will be hot. Check the center with a clean spoon if you are unsure; it should be cooked rather than raw batter. Eat warm, taking care with any melted chocolate inside.
Tips
- Measure flour by spooning it loosely into the tablespoon and leveling it off. Scooping straight from the bag can pack in too much and leave the cake dry or heavy.
- Use a mug with plenty of headroom. A small cup can overflow as the baking powder lifts the batter. If you are uncertain, place the mug on a microwave-safe plate to catch drips.
- Microwave times are approximate. Start at 60 seconds and add short bursts rather than cooking for too long in one go; an overcooked mug cake turns rubbery quickly.
- For a richer result, add chocolate chips, but do not mistake a melted pocket of chocolate for uncooked batter. The cake itself should be set after resting.
Serving Suggestions
Serve the cake straight from its mug while warm. A spoonful of vanilla ice cream or plain Greek yogurt gives a cool, creamy contrast; whipped cream, sliced banana, or a few berries also work well. For a simple finish, dust the top with a little powdered sugar or add a teaspoon of peanut butter. Keep toppings modest if you want the cake to remain a quick, light late-night treat.
Variations
For a dairy-free version, use unsweetened oat, soy, or almond milk and check that your chocolate chips are dairy-free. For a mocha note, dissolve 1/4 teaspoon instant coffee in the milk before adding it. You can replace the chocolate chips with 1 tablespoon chopped walnuts or leave them out for a less rich cake. To make a vanilla mug cake, omit the cocoa, add 1 extra tablespoon flour, and use 1/2 teaspoon vanilla. The vanilla version will be paler and may need a few seconds less in the microwave.
Storage and Reheating
This cake is best eaten shortly after cooking because a single serving dries out as it cools. If you have leftovers, let them cool, cover the mug, and refrigerate within 2 hours of cooking. Keep refrigerated for up to 2 days. Reheat uncovered in the microwave for 10–15 seconds, then check and repeat briefly if needed; overheating can make it tough. Do not leave the cake at room temperature overnight, and discard it if it has been left out longer than 2 hours.
Frequently Asked Questions
Can I make this without a microwave?
Yes. Divide the batter between two lightly greased oven-safe ramekins and bake at 350°F (175°C) for about 12–16 minutes, checking for a set top and a cooked center. Baking time varies with ramekin size, so avoid using an ordinary mug unless it is specifically labeled oven-safe.
Why did my mug cake turn out rubbery?
It was probably microwaved too long or the flour was packed into the measuring spoon. Use level spoonfuls, start with 60 seconds, and add time in short bursts. Letting it stand for a minute also allows the center to finish setting without extra cooking.
Can I prepare the batter ahead of time?
It is better to mix it just before cooking. Once the wet ingredients meet the baking powder, the leavening starts working, and the batter may rise less if it sits. The actual mixing takes only a few minutes, so assemble it when you are ready to microwave.
How do I know when the cake is done?
The edges and top should look set, with no pool of liquid batter. A slightly soft center is fine because it firms as it rests. If the center still looks raw after a minute of resting, microwave it for another 10 seconds and check again.
Can I use a sugar substitute?
Granulated baking sweeteners designed to replace sugar cup for cup may work, but texture and sweetness can vary by brand. Liquid sweeteners are not a direct swap because they add moisture. For the most reliable result, use the measured granulated sugar in the recipe.
Is this recipe safe to eat if the center is gooey?
A moist center is different from visibly raw batter. Because this cake contains flour, cook it until no liquid batter remains, then let it rest before eating. Do not taste uncooked batter; raw flour can carry harmful bacteria, and the recipe does not include a validated temperature target for microwave cake.