Craving something sweet but short on time, energy, or ingredients? These 15-minute mug cakes are the ultimate sweet tooth solution. Made right in a coffee mug with pantry staples like flour, sugar, cocoa, and an egg, they deliver a warm, personal-sized cake in minutes. Perfect for late-night cravings, dorm-room desserts, or a quick treat when you don't want to bake a whole cake.
Serves 1 · Prep 5 min · Cook 10 min · Total 15 min
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) milk (any kind)
- 2 tablespoons (30 ml) vegetable oil or melted butter
- 1/4 teaspoon vanilla extract
- 1 large egg
- 2 tablespoons (30 g) chocolate chips (optional)
Instructions
- In a microwave-safe mug (at least 12 oz / 350 ml capacity), whisk together the flour, sugar, cocoa powder, baking powder, and salt with a fork until no lumps remain.
- Add the milk, oil, vanilla, and egg. Stir with the fork until the batter is smooth and no dry streaks remain. Be careful not to overmix; a few small lumps are fine.
- If using chocolate chips, fold them in gently.
- Microwave on high for 90 seconds. Check for doneness: the cake should be set on top but still slightly moist. If not done, microwave in 15-second intervals until a toothpick inserted in the center comes out mostly clean (the top may look slightly underdone, but that's okay).
- Let the mug cake cool for 2-3 minutes before eating. It will be very hot, especially the chocolate chips.
Tips
- Mug size matters: Use a large mug (12 oz / 350 ml or bigger) to prevent overflow during cooking. If your mug is smaller, reduce the batter or use a bowl.
- Don't overcook: The cake continues to cook as it sits. Stop microwaving when it's just set; a dry, rubbery cake is the result of too much time in the microwave.
- Substitutions: For a gluten-free version, use a 1:1 gluten-free flour blend. To make it dairy-free, use almond or oat milk and a dairy-free chocolate chip. You can also swap the egg for 1/4 cup (60 g) applesauce, but the cake will be denser.
- Add-ins: Stir in a tablespoon of peanut butter, a sprinkle of cinnamon, or a few raspberries before microwaving for a flavor twist.
Serving Suggestions
Enjoy the mug cake warm, straight from the mug, or turned out onto a plate. Top with a scoop of vanilla ice cream, a drizzle of caramel or chocolate sauce, a dusting of powdered sugar, or a dollop of whipped cream. It's also delicious with a spoonful of peanut butter swirled in.
Variations
- Vanilla Mug Cake: Omit the cocoa powder and increase the flour to 5 tablespoons (40 g). Add 1/2 teaspoon vanilla extract and a pinch of nutmeg.
- Peanut Butter Chocolate: Add 1 tablespoon of peanut butter to the batter along with the chocolate chips. Swirl in an extra teaspoon of peanut butter on top before microwaving.
- Birthday Cake: Use 4 tablespoons (30 g) flour, 3 tablespoons (40 g) sugar, 1/4 teaspoon baking powder, a pinch of salt, 3 tablespoons (45 ml) milk, 2 tablespoons (30 ml) oil, 1/4 teaspoon vanilla, 1 egg, and 2 tablespoons (30 g) rainbow sprinkles. Omit the cocoa.
- Mocha: Dissolve 1 teaspoon of instant coffee or espresso powder in the milk before adding it to the dry ingredients.
Storage and Reheating
Mug cakes are best eaten immediately, but you can store a leftover (unfrosted) cake in the mug, covered with plastic wrap, in the refrigerator for up to 2 days. To reheat, microwave on medium power for 20-30 seconds, or until warm. The texture will be slightly denser than fresh, but still enjoyable. Do not freeze mug cakes, as the texture becomes mushy when thawed.
Frequently Asked Questions
Can I make this without an egg? Yes, replace the egg with 1/4 cup (60 g) plain applesauce or a mashed ripe banana. The cake will be a bit more dense and moist, but it will still be delicious. You can also use a commercial egg replacer according to package directions.
Can I bake this in the oven instead of the microwave? Yes, preheat your oven to 350°F (175°C). Pour the batter into a small oven-safe ramekin or mug (without any metal trim) and bake for 15-18 minutes, or until a toothpick inserted in the center comes out clean. The texture will be slightly more cake-like.
Why did my mug cake overflow? This usually happens if the mug is too small or the batter is overmixed (which creates too much steam). Use a large mug and stir just until combined. Also, be sure your microwave power isn't too high; 1000 watts is standard, but if yours is higher, reduce the cooking time.
Can I use whole wheat flour? Yes, you can substitute whole wheat pastry flour or white whole wheat flour for all-purpose flour. The cake will be a bit denser and have a slightly nutty flavor. You may need to add an extra tablespoon of milk to keep the batter moist.
Is it safe to microwave a mug? Only if the mug is labeled microwave-safe. Stoneware, ceramic, and glass mugs are usually fine, but avoid mugs with metallic paint or trim. If you're unsure, place the mug in the microwave next to a cup of water for 30 seconds; if the mug is hot but the water is cool, it's not microwave-safe.
Can I double the recipe? Yes, you can make two mug cakes at once by using two separate mugs. Do not try to double the recipe in one mug, as it will overflow. Cook them one at a time or add a few extra seconds if cooking simultaneously.