A mug cake is a single-serving cake mixed right in a coffee mug and cooked in the microwave in about 2 minutes. It tastes like a soft, warm sponge cake—perfect for a late-night treat or a quick dessert when you don’t want to heat up the oven. This version is chocolate, but the same base works for vanilla, lemon, or berry.
Ingredients
- 4 tbsp (32 g) all-purpose flour
- 3 tbsp (40 g) granulated sugar
- 2 tbsp (15 g) unsweetened cocoa powder
- 1/4 tsp baking powder
- 1/8 tsp salt
- 3 tbsp (45 ml) milk (any kind)
- 2 tbsp (30 ml) neutral oil (canola, vegetable, or melted coconut)
- 1/4 tsp vanilla extract
- 1 tbsp (15 g) chocolate chips (optional)
Instructions
- In a 12-ounce (350 ml) microwave-safe mug, whisk together the flour, sugar, cocoa powder, baking powder, and salt with a fork until no lumps remain.
- Add the milk, oil, and vanilla. Stir with the fork until the batter is smooth and no dry streaks remain. If using chocolate chips, fold them in now.
- Microwave on high for 60–90 seconds. Start checking at 60 seconds: the cake should look set on top and slightly springy when pressed gently. If it’s still wet in the center, microwave in 10-second bursts up to 90 seconds total. Do not overcook, or it will turn rubbery.
- Let the mug cake cool for 2 minutes before eating—it will be very hot straight from the microwave.
How to Tell It’s Done Without Cutting It Open
The top should look dry and slightly domed, and the edges will pull away from the mug just a little. Press the top with your finger: it should spring back, not leave a dent. If you see wet batter bubbling at the sides, give it 10 more seconds. Because microwave wattages vary (600W vs 1200W), your time may be shorter or longer—always start with the lowest time and add bursts.
Storage and Reheating: Best Eaten Fresh, but You Can Keep It 2 Days
Mug cakes are best eaten within 10 minutes of cooking, because they dry out as they sit. If you have leftovers, cover the mug with plastic wrap or transfer the cake to a small container and refrigerate within 2 hours. It will keep in the fridge for up to 2 days. To reheat, microwave on medium power for 20–30 seconds, until warmed through. Do not freeze—the texture becomes spongy and wet.
Easy Variations: Vanilla, Peanut Butter, and Berry
Vanilla Mug Cake
Omit the cocoa powder and use 5 tbsp (40 g) flour total. Add 1/4 tsp vanilla extract (so 1/2 tsp total) and 1 tbsp (15 g) sprinkles if you like. The cooking time stays the same.
Peanut Butter Chocolate
Add 1 tbsp (15 g) peanut butter to the batter along with the wet ingredients. It will make the cake denser and richer; add 10 seconds to the cooking time.
Berry Mug Cake
Use the vanilla base, then gently fold in 2 tbsp (30 g) fresh or frozen blueberries or raspberries. Frozen berries will make the center slightly gooey—check at 90 seconds and add 10 more if needed.
What You Need and What to Use Instead
A standard 12-ounce (350 ml) ceramic mug works best. If your mug is smaller, the batter may overflow—use a larger mug or reduce the batter by a quarter. You can also use a microwave-safe glass ramekin or a small bowl. Avoid metal mugs or any mug with metallic trim, as they can spark in the microwave. A fork is fine for mixing; a small whisk works better if you have one. For the oil, any neutral oil works—olive oil will add a savory note that doesn’t suit chocolate. If you don’t have baking powder, you can’t substitute baking soda alone here; the cake won’t rise properly.
Why the Cake Can Sink or Turn Rubbery
If your mug cake sinks in the middle, it’s usually because it was undercooked (the center collapsed as it cooled) or because you opened the microwave too early. If it’s rubbery, it was overcooked—reduce the time by 10–15 seconds next time. Also, make sure your baking powder is fresh; if it’s older than 6 months, it may lose its lift. If you’re at high altitude (above 3,000 ft / 900 m), reduce the baking powder to 1/8 tsp and add 1 tbsp (15 ml) extra milk to keep the cake moist.
Mug Cake for a Crowd: Scaling Up and Oven Option
To make 4 mug cakes, multiply the ingredients by 4 and cook each mug separately—do not put all the batter in one big mug, as the center won’t cook evenly. If you prefer the oven, pour the batter into a buttered 6-ounce (180 ml) ramekin and bake at 350°F (175°C) for 18–22 minutes, until a toothpick inserted in the center comes out clean. This will give a firmer, more cake-like texture than the microwave version.
What to Serve With Your Mug Cake
Top it with a scoop of vanilla ice cream, a drizzle of warm peanut butter, or a spoonful of whipped cream. A dusting of powdered sugar or a few fresh raspberries also works. For a more indulgent treat, add a tablespoon of chocolate sauce or caramel. Pair it with a glass of cold milk or a cup of coffee. The cake is sweet enough on its own, so you don’t need extra syrup unless you want it.
Raw Flour Warning: Important for Any Mug Cake
Because the cake cooks in the microwave, the flour is fully cooked—but if you’re tempted to eat the raw batter, don’t. Raw flour can carry harmful bacteria. If you want to taste the batter, heat-treat the flour first: spread it on a baking sheet and bake at 160°F (71°C) for 5 minutes, then let it cool completely before using. Use pasteurised eggs if you add any (this recipe uses no eggs, so it’s safe as written). Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw flour and raw eggs.
Questions People Ask About Mug Cakes
Can I use self-rising flour?
Yes. Replace the all-purpose flour and baking powder with 4 tbsp (32 g) self-rising flour, and omit the salt. The cake will rise a bit more, so use a larger mug.
Can I make it without oil?
Use 2 tbsp (30 g) unsweetened applesauce or mashed banana instead. The cake will be softer and slightly less rich, and it may take 10 seconds longer to cook.
Why does my mug cake stick to the mug?
Microwave cakes often stick. Grease the mug lightly with butter or oil before adding the batter, or line the bottom with a small circle of parchment paper. Let it cool for 2 minutes before digging in—it will release more easily.
Related
- How to Throw a Backyard Pumpkin Carving Party
- Badminton Court Size for Backyard: Full Dimensions
- Best Fall Candles for Cozy Vibes
Spotted a mistake? Tell us and we will correct it. How we write and check articles.