This single-serving chocolate cake comes out of the microwave with a tender, moist crumb and a slightly fudgy center—no oven, no waiting for it to preheat. The method steams the batter quickly in a mug, so you get a warm, spoonable dessert in about two minutes of cooking time. It suits a late-night craving, a quick weeknight treat, or a dorm-room dessert.
Ingredients
- 4 tablespoons (30 g) all-purpose flour
- 3 tablespoons (40 g) granulated sugar
- 2 tablespoons (15 g) unsweetened cocoa powder
- 1/4 teaspoon baking powder
- 1/8 teaspoon salt
- 3 tablespoons (45 ml) whole milk
- 2 tablespoons (30 ml) neutral oil (such as canola or vegetable)
- 1/4 teaspoon vanilla extract
- 1 tablespoon (15 g) chocolate chips (optional)
Instructions
- In a 12-ounce (355 ml) microwave-safe mug, whisk together the flour, sugar, cocoa powder, baking powder, and salt until no lumps remain.
- Add the milk, oil, and vanilla. Stir with a small fork or spoon until the batter is smooth and no dry streaks remain. If using chocolate chips, fold them in.
- Microwave on high for 60 to 90 seconds. Start checking at 60 seconds: the cake should be set on top but still slightly moist in the center. Cooking time varies by microwave wattage; a 1000-watt oven typically needs about 75 seconds, while a 700-watt oven may need the full 90 seconds.
- Let the mug sit in the microwave for 1 minute. The cake will continue to set as it rests. Serve warm, directly from the mug.
Pick the Right Mug and Microwave Power
Use a mug that holds at least 12 ounces (355 ml) so the batter has room to rise without spilling over. A standard 8-ounce mug will overflow. Microwave wattage varies widely; if your oven is 700 watts or lower, expect closer to 90 seconds. If it is 1100 watts or higher, check at 60 seconds. The cake is done when the top springs back lightly to the touch and a toothpick inserted in the center comes out with a few moist crumbs, not raw batter.
Swap Ingredients Without Breaking the Batter
You can replace the all-purpose flour with an equal amount of white whole wheat flour; the cake will be slightly denser and more wheaty. For a gluten-free version, use a 1:1 gluten-free baking flour that contains xanthan gum; the texture will be a bit more crumbly. Swap the whole milk for any milk you have—oat, almond, or soy all work, though the cake will be less rich. Use melted butter instead of oil in the same amount; the cake will have a firmer crumb and a buttery flavor. If you want a mocha note, dissolve 1/4 teaspoon instant espresso powder in the milk before adding it.
Serve It Warm With What You Have
This cake is best eaten within 10 minutes of coming out of the microwave. Top it with a scoop of vanilla ice cream, a drizzle of warm chocolate sauce, or a spoonful of whipped cream. A dusting of powdered sugar or a few fresh raspberries also work. For a more dessert-like presentation, turn the cake out onto a small plate: run a knife around the inside of the mug, invert, and tap gently.
Store Leftovers Safely and Reheat Once
If you do not finish the mug cake, cover the mug with plastic wrap or transfer the cake to an airtight container and refrigerate within 2 hours. It will keep for up to 2 days in the fridge. To reheat, microwave on medium power for 20 to 30 seconds, until warm. The texture will be denser after refrigeration. Do not freeze this cake; the crumb turns gummy when thawed. Always reheat leftovers to 165°F (74°C) before eating.
Why It Works and What to Watch
The small amount of batter cooks quickly in the microwave, and the baking powder gives enough lift for a soft crumb without making the cake rubbery. The oil keeps it moist, and the cocoa provides the chocolate flavor. Overcooking is the main risk: at 90 seconds in a high-wattage oven, the cake can become tough and dry. If your mug is narrower or wider than standard, adjust the time by 5 to 10 seconds. The cake will be very hot right after cooking; let it rest for the full minute before eating.
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).
