The first time I made this for my wife, she called her mother. Not to share the recipe — to brag. Microwave Chocolate Mug Cake is the dessert you make when everything else is too much effort and you still want something warm, rich, and genuinely satisfying. Five minutes. One mug. Six ingredients. And when it comes out of the microwave — that warm, slightly domed chocolate cake that smells like a whole bakery committed to one cup — it’s the kind of thing that makes you believe in small miracles.
The trick most recipes get wrong is the flour ratio. Too much flour and you get a rubbery hockey puck. Too little and you get a liquid chocolate puddle that never sets. The ratio here is precise because it has to be — microwave baking doesn’t have the margin for error that oven baking does. Every gram matters more. But when you get it right, you get a real cake — moist, tender crumb, deep chocolate flavor, and a center that stays ever so slightly molten if you time it right.
I know what you’re thinking. A mug cake? From a thirty-year chef? Yes. Because part of great cooking is meeting people where they are. At 10pm on a Wednesday when you need something chocolate and the bakery is closed, this is the recipe that delivers. Don’t overthink it. Just make it, eat it while it’s warm, and call whoever you want.
Why This Mug Cake Recipe Works
- Butter, not oil — Oil produces a moister crumb in traditional baking but lacks flavor. In a mug cake where the flavor is everything, butter provides richness that oil simply can’t replicate. The small amount here makes an outsized difference.
- Dutch-process cocoa — Dutch-process cocoa is darker, richer, and less bitter than natural cocoa. In a small recipe like this, where there’s no room for other complex flavors to compensate, the quality of the cocoa is the most important ingredient choice.
- Egg yolk only — A whole egg makes mug cake rubbery because the white proteins seize in the microwave heat. Egg yolk adds richness and binding without the toughness. This is the single technique difference that separates good mug cake from bad.
- Stopping slightly underdone — Pulling the mug cake when the center still looks slightly wet produces a molten-center effect that’s far better than fully cooked. The residual heat from the mug and the outer cake layers finishes the center in the 60 seconds after it comes out of the microwave.
Ingredients
For One Mug Cake
- 3 tablespoons all-purpose flour
- 3 tablespoons granulated sugar
- 2 tablespoons Dutch-process cocoa powder
- ¼ teaspoon baking powder
- Pinch of fine sea salt
- 1 large egg yolk
- 3 tablespoons whole milk
- 2 tablespoons unsalted butter, melted
- 1 teaspoon pure vanilla extract
- 2 tablespoons semi-sweet chocolate chips (optional but highly recommended)
Instructions
Step 1: Choose the Right Mug
Use a 12-14 oz microwave-safe mug — larger than you think you need. The cake will rise during cooking and can overflow a smaller mug. Ceramic mugs work best; avoid paper cups (they can get hot) and metal mugs (not microwave-safe). Lightly grease the inside of the mug with butter or cooking spray for easy eating and cleanup.
Step 2: Mix Dry Ingredients
Add flour, sugar, cocoa powder, baking powder, and salt directly to the mug. Whisk together with a fork until the cocoa is evenly distributed and there are no visible dry pockets. Sifting into the mug is ideal if the cocoa is lumpy — cocoa lumps don’t dissolve during the brief microwave cooking time and create bitter spots in the cake.
Step 3: Add Wet Ingredients
Add the egg yolk, milk, melted butter, and vanilla to the mug. Stir with the fork until completely smooth and no dry flour is visible on the sides or bottom of the mug. Scrape the bottom corners especially — dry flour hides in the curve at the base. The batter should be smooth, shiny, and uniformly dark brown. Fold in chocolate chips if using.
Step 4: Microwave
Microwave on high for 60-90 seconds. Start at 60 seconds and check — the cake should be risen and the top should look mostly set but still slightly shiny in the very center. If the center still looks completely wet, microwave in 10-second increments only. Every microwave is different. The goal is a risen cake that’s set around the edges and slightly underdone in the center — that center will finish in the residual heat.
Step 5: Rest and Serve
Let the mug sit for 60 seconds out of the microwave before eating. The residual heat in the mug and the outer layers of cake will finish cooking the center during this rest. Don’t skip this minute — it’s the difference between molten and liquid. Eat directly from the mug or invert onto a small plate. Top with a scoop of vanilla ice cream, a dollop of whipped cream, or a drizzle of warm caramel.
Tips & Common Mistakes
- Don’t overcook: The single most common mug cake mistake. Microwaves vary in power — start at 60 seconds and add time only if truly necessary. A dry mug cake cannot be rescued. An underdone one sits another 30 seconds and turns out fine.
- Use egg yolk only: This is non-negotiable for texture. The whole egg makes it rubbery. Use the white for another purpose or just discard it. Yolk only for the right crumb.
- Mix until no dry spots remain: Flour pockets in the batter create raw, gummy spots in the finished cake. Scrape the mug bottom and sides with your fork before microwaving.
- Use a large enough mug: A too-small mug means overflow. A 12-oz mug is the minimum. The batter fills the mug about a third of the way — it doubles in height during cooking.
- Quality cocoa matters here: In a recipe this small, there’s nowhere to hide. Good Dutch-process cocoa produces a dramatically better result than budget natural cocoa. It’s worth the extra few dollars.
Variations Worth Trying
- Molten Lava Mug Cake: Press a small frozen cube of ganache (made by chilling melted chocolate and cream in an ice cube tray) into the center of the batter before microwaving. The frozen ganache melts into a flowing center during cooking. This is the mug cake version of a restaurant dessert.
- Peanut Butter Swirl: Stir a tablespoon of peanut butter into the center of the batter before microwaving. It swirls through the cake as it cooks and creates a peanut butter-chocolate combination that’s difficult to stop eating.
- Mocha Mug Cake: Add ½ teaspoon of instant espresso powder to the dry ingredients. Coffee enhances chocolate flavor without making the cake taste like coffee. The result is deeper, more complex, more sophisticated.
- Red Velvet Mug Cake: Replace half the cocoa with red food coloring (1-2 teaspoons gel color) and add ½ teaspoon of white vinegar. Top with cream cheese frosting. The visual drama of a red velvet mug cake is genuinely impressive for one mug of food.
For more quick desserts and baking classics, try classic bread pudding, edible cookie dough, simple white cake, classic marshmallow treats, and homemade applesauce.
Storage
- Best eaten immediately: Mug cakes are a fresh dessert. The texture changes as they cool — the edges become rubbery and the center firms up into something less appealing. Make it, eat it within 5 minutes.
- Batch prep: Pre-mix the dry ingredients in small zip-lock bags or jars — one bag per mug cake. Store at room temperature for up to 3 months. When you want a mug cake, add the wet ingredients and microwave. This is the meal-prep version of instant gratification.
Frequently Asked Questions
Can I use a whole egg?
You can, but the result will be noticeably rubbery and more “egg-forward” in both texture and flavor. The egg white proteins seize up in the microwave heat and create toughness. Use the yolk alone for the right texture. If waste is a concern, scramble the white or add it to your next omelet.
My mug cake overflowed — what happened?
The mug is too small or the baking powder measurement was off. Use a 12-14 oz mug minimum. Measure the baking powder exactly — too much creates excessive rise and overflow. Also make sure the batter is only filling the mug about ⅓ of the way before cooking.
Can I make this without butter?
Yes — substitute 1½ tablespoons of neutral oil (vegetable or coconut). The flavor is slightly less rich but the texture is similar. For dairy-free, use plant-based milk and oil instead of butter, and omit the butter fat entirely.
Why is my mug cake dry?
Overcooked. Microwaves vary — a powerful 1200-watt microwave may finish this in 55 seconds. A 700-watt microwave may need 80. Start at 60 seconds, check, and add time only if the center still looks liquid (not just slightly shiny). Once overcooked, there’s no recovery.
Can I add a filling?
Yes — and it’s excellent. Fill the mug halfway with batter, drop in a tablespoon of peanut butter, Nutella, or caramel sauce, then cover with the remaining batter. The filling stays somewhat molten in the center and creates a dessert that rivals restaurant lava cakes in satisfaction.






