Time: 5 min prep, 1–2 min cook · Serves: 1 · The key step: microwave in 30-second bursts so the center stays moist. A single-serving vanilla cake made entirely in a mug, with a soft, tender crumb and a slightly crisp top edge. It’s ready in about 5 minutes for a late-night dessert or a quick treat.
Ingredients
- 4 tbsp (32 g) all-purpose flour
- 3 tbsp (38 g) granulated sugar
- 1/4 tsp baking powder
- 1/8 tsp salt
- 3 tbsp (45 ml) milk (any kind; whole milk gives a richer crumb)
- 2 tbsp (30 ml) neutral oil (canola or vegetable) or melted butter
- 1/2 tsp vanilla extract
- 1 large egg yolk (save the white for another use)
- Optional: 1–2 tbsp chocolate chips, sprinkles, or chopped nuts
Instructions
- In a 12-oz (350 ml) microwave-safe mug, whisk together the flour, sugar, baking powder, and salt with a fork until no lumps remain.
- Add the milk, oil, vanilla, and egg yolk. Stir until just combined; a few small lumps are fine. If using mix-ins, fold them in now.
- Microwave on high for 45 seconds. Check the cake: it should be set around the edges but still slightly wet in the center. Continue microwaving in 10-second bursts, checking each time, until the top is just set and a toothpick inserted in the center comes out with a few moist crumbs, about 1–2 minutes total. Times vary by microwave wattage (start with 45 seconds for a 1000-watt oven; add time for lower wattage).
- Let the mug cake cool for 2 minutes before eating. It will continue to cook slightly as it rests. Serve warm directly from the mug.
How Long Does a Mug Cake Keep?
Mug cakes are best eaten immediately after cooling, as the texture turns dense and rubbery within 30 minutes. If you must store it, cover the mug with plastic wrap and refrigerate for up to 2 days. To reheat, microwave on 50% power in 15-second bursts until warm, but expect a firmer texture. Do not leave the cooked mug cake at room temperature for more than 2 hours.
What Can I Add to Change the Flavor?
This base is a blank canvas. For a chocolate version, replace 1 tbsp (8 g) of the flour with 1 tbsp (8 g) unsweetened cocoa powder and add 1 tbsp (15 ml) extra milk. For a lemon version, swap the vanilla for 1/2 tsp lemon extract and add 1/2 tsp lemon zest. For a peanut butter version, replace the oil with 2 tbsp (32 g) creamy peanut butter and reduce the milk to 2 tbsp (30 ml). Each variation keeps the same cooking time.
Can I Make a Larger Batch?
Yes, but do not microwave multiple mugs at once—they cook unevenly. Instead, mix the dry ingredients for several mugs in a jar and store it in a cool, dry place for up to 3 months. For each mug, use 1/3 cup (43 g) of the dry mix and follow the same wet ingredients and cooking steps. To make a full-size cake, multiply the recipe by 4 and bake in a greased 8×8-inch (20×20 cm) pan at 350°F (175°C) for 20–25 minutes, until a toothpick comes out clean.
Why Did My Mug Cake Turn Out Rubbery or Dry?
Overcooking is the usual cause. The cake continues to set after you remove it from the microwave, so stop while the center still looks slightly moist. Also, using a mug that is too small (under 10 oz / 300 ml) can cause overflow during cooking. If your mug is smaller, reduce the batter by a third or use a larger mug. If the cake is rubbery, next time reduce the cooking time by 10–15 seconds and check earlier.
Is It Safe to Eat the Egg Yolk in a Mug Cake?
The egg yolk is fully cooked when the cake reaches 160°F (71°C) in the center, which happens during the microwave cooking. Check with an instant-read thermometer inserted into the center; it should read 160°F (71°C) (USDA FSIS safe minimum for egg dishes). If you are concerned about undercooking, use pasteurized egg yolk from a carton. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw or lightly cooked eggs, so ensure the cake is fully cooked before eating.
What Goes Well With a Mug Cake?
Serve it with a scoop of vanilla ice cream, a drizzle of caramel or chocolate sauce, or a spoonful of whipped cream. For a breakfast-style twist, omit the sugar and add 1/4 tsp cinnamon and a pinch of nutmeg, then top with fresh berries. The cake is also good with a dusting of powdered sugar or a few fresh raspberries on top.
Mug Cake for Kids and Large Batches
For kids, let them add their own mix-ins (chocolate chips, mini marshmallows, or crushed cookies) after you measure the base. For a party, prepare the dry mix in individual jars ahead of time and have wet ingredients measured in small cups. Each guest can stir and microwave their own mug in about 2 minutes. Always supervise children when using the microwave and remind them the mug will be hot.
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).






