Desserts
This baked mug cake recipe delivers restaurant-quality chocolate fudge in just 5 minutes—no mixer, no oven, and no mess. The secret lies in the perfect balance of cocoa powder, melted butter, and a touch of espresso powder that deepens the chocolate flavor without bitterness. I developed this after testing dozens of variations, and it consistently delivers a rich, fudgy center with a slightly crispy top every single time.
What makes this recipe truly special is its single-serving convenience. Simply mix the ingredients in a microwave-safe mug, bake until set, and enjoy warm dessert with minimal cleanup. The batter comes together in under 2 minutes, and the baking process takes just 3 minutes—ideal for satisfying a sudden sweet tooth or impressing unexpected guests. No special equipment is needed beyond a microwave or oven.
The result is a decadent chocolate cake with a velvety texture and deep cocoa flavor, perfect for pairing with vanilla ice cream or a drizzle of chocolate ganache. The mug's shape creates a natural serving size, eliminating the need to portion or store leftovers. This recipe is also highly customizable—swap chocolate for vanilla, add a scoop of ice cream, or top with crushed cookies for extra texture.
Whether you're craving a quick treat after dinner or need a foolproof dessert for a last-minute gathering, this mug cake delivers restaurant-quality results with minimal effort. The combination of simplicity and indulgence makes it a favorite for busy weeknights or special occasions alike. Let's get started!
Ingredients for baked mug cake
Restaurant-quality chocolate fudge in minutes—just these 13 ingredients transform any mug into dessert perfection.
| Ingredient | Amount | Notes |
|---|---|---|
| Unsalted Butter 🧈 | ½ cup | Melted, full-fat for richness |
| Granulated Sugar 🍚 | ½ cup | Light brown preferred for depth |
| Cocoa Powder 🍫 | ⅓ cup | Dutch-processed for smoothness |
| All-Purpose Flour 🌾 | ⅓ cup | Sifted for even texture |
| Espresso Powder ☕ | 1 tsp | Enhances chocolate flavor |
| Vanilla Extract 🌸 | 1 tsp | Pure, high-quality preferred |
| Egg 🥚 | 1 whole | Room temperature for blending |
| Milk 🥛 | ¼ cup | Whole milk for creaminess |
| Baking Powder 🧂 | ½ tsp | Aluminum-free for stability |
| Salt 🧂 | ¼ tsp | Fine sea salt preferred |
| Microwave-Safe Mug 🍵 | 4 whole | 12-16 oz capacity recommended |
| Vanilla Ice Cream 🍦 | ½ cup | Optional topping, optional |
| Chocolate Ganache 🍫 | 2 tbsp | Optional drizzle, optional |
The cocoa powder and espresso powder are non-negotiable for that deep, complex chocolate flavor. Hershey's Special Dark or Valrhona cocoa are my go-tos—they dissolve smoothly without graininess. For espresso powder, Starbucks or Lavazza brands deliver consistent results. Butter quality matters too; Plugrá or Land O'Lakes unsalted melt perfectly without burning. Sift your flour and baking powder together to avoid lumps in the batter. The mug itself should be at least 12 ounces—smaller mugs risk overflow, while larger ones may not cook evenly.
No cocoa powder? Melted dark chocolate (70% cocoa) at 1:1 ratio works in a pinch, though texture may vary slightly. Substitute espresso powder with instant coffee granules at double the amount, but expect a more bitter edge. Whole milk can be swapped for half-and-half or heavy cream for richer texture, though it will increase fat content. For a dairy-free option, unsweetened almond milk plus 1 tbsp melted coconut oil mimics the creaminess. Prefer vanilla bean? Use 1 tsp seeds scraped from a pod instead of extract. The baking powder and salt are critical—never skip them, even if your recipe feels 'safe' without.
Pre-measure all dry ingredients in a small bowl to avoid mid-mix scrambling. Line your mug with parchment paper if you're worried about sticking, though most microwave-safe mugs release cleanly. Store leftover batter in an airtight container for up to 3 days—just add 10 seconds extra baking time. The ganache and ice cream toppings keep separately in the freezer (3 months) and fridge (1 week), respectively. For make-ahead convenience, pre-portion all ingredients into small containers—just add the egg and mix when ready.
Why You'll Love This Recipe
- Mug Magic Speed: I swear, this is the only dessert I make when I’m staring at a blank fridge at 9 PM. Just melt butter, mix a few spoonfuls of sugar and cocoa, add flour and that little pinch of espresso powder—boom—done before my tea even finishes steeping.
- Deep Chocolate Hug: The espresso powder isn’t just a trick; it cuts through the sweetness and makes the cocoa taste richer, like a fancy bakery’s secret. That crispy top? Melts into a gooey center every time—no fancy tools, just pure satisfaction.
- Crowd-Pleaser Flex: Between us, this is my go-to for birthdays, movie nights, or when my roommate’s “vegan friend” shows up. Double the batter, bake two mugs, and suddenly you’re the hero. (Yes, even on a Tuesday night.)
- Zero-Waste Indulgence: No leftovers? No problem. The recipe uses exactly what you need—no measuring cups cluttering your counter, no extra dough to toss. And if you do have seconds, just reheat in the microwave. Budget-friendly? More like guilt-free splurge.
Step-by-step instructions for single-serve chocolate mug cake
Master this technique and you'll achieve rich, fudgy mug cakes with perfect texture every time.
Melt Butter and Combine Wet Ingredients
Place the 0.5 cup unsalted butter in a microwave-safe bowl and melt it in 30-second intervals, stirring between each, until completely liquid. The butter should be smooth with no solid chunks remaining. In a separate bowl, whisk together the melted butter with the 0.5 cup granulated sugar until fully combined and slightly thickened.
Add the 1 whole egg and whisk vigorously for 10 seconds to emulsify. Then stir in the 0.25 cup milk, 1 tsp vanilla extract, and 1 tsp espresso powder. This step develops the cake's rich chocolate flavor and ensures a tender crumb. The mixture should be smooth with no visible streaks of egg or milk.
Sift and Fold in Dry Ingredients
In a small bowl, sift together the 0.33 cup all-purpose flour, 0.5 tsp baking powder, and 0.25 tsp salt. This prevents lumps and ensures even distribution throughout the batter. Gently fold the dry ingredients into the wet mixture using a spatula, mixing just until combined—avoid overmixing, which develops gluten and makes the cake dense.
Next, whisk in the 0.33 cup cocoa powder until the batter is completely smooth and free of any flour streaks. The batter should have a thick, fudgy consistency similar to pudding. Here's the thing—this is where the magic happens. The cocoa powder needs to be fully incorporated to prevent uneven texture in your finished cake.
Divide and Prepare the Mugs
Divide the batter evenly among the 4 microwave-safe mugs, filling each about ¾ full. The batter should reach approximately ¾ inch from the top of the mug. This ensures proper rising without overflowing. Place the mugs on a microwave-safe plate to catch any potential spills during cooking.
For best results, I recommend using mugs with a capacity of 12-16 ounces. The batter will rise significantly, so don't overfill. If your mugs are smaller, reduce the batter by about 10% per mug to prevent overflow. The key is to leave enough headroom for the cake to expand while maintaining its shape.
Microwave to Golden Perfection
Microwave each mug on high power for 60 seconds. Immediately after the first minute, check the cake—it should be puffed but still slightly underdone in the center. If it appears fully set, it's overcooked. The cake needs to continue cooking slightly after removal to develop its signature fudgy interior.
For a more even bake, I recommend rotating the mugs halfway through the cooking time if your microwave has uneven heating. The cake should spring back slowly when pressed gently with a finger, indicating it's perfectly set. If it's still jiggly, microwave for 10-15 more seconds until set but still moist.
Top and Serve Immediately
Allow each cake to cool for 1 minute before adding toppings. This brief resting period prevents the ice cream from melting too quickly. Top each mug cake with 1 tablespoon chocolate ganache and 2 tablespoons vanilla ice cream. The ganache should be spread evenly across the surface for a professional finish.
Serve immediately while warm for the ultimate experience. The contrast between the warm, fudgy cake and the cold ice cream creates a delightful temperature play that enhances every bite. If you prefer, you can also drizzle with additional melted chocolate or sprinkle with powdered sugar for extra flair. The cake's rich chocolate flavor pairs beautifully with the creamy ice cream topping.
Pro Tips For Making Baked Mug Cake
- MELT BUTTER FIRST: Skip the microwave—soften the butter in the mug itself for 10 seconds. I learned this the hard way after trying to mix cold butter into warm batter and ending up with lumps that turned into dense pockets. A quick zap (or even just sitting in hot water) ensures everything blends smooth.
- SIFT THE COCOA: Don’t just scoop the cocoa powder—lightly sift it into the dry ingredients. Packed cocoa clumps like a stubborn guest at a dinner party, and those lumps stay in your cake. A quick shake over the flour mix guarantees a velvety texture, not a gritty surprise.
- STOP WHEN IT’S JIGGLY: Pull the mug out when the edges look set but the center still wobbles like Jell-O. Overbaking turns your cake into a rubbery brick—trust the jiggle test. If you’re unsure, poke with a toothpick; if it comes out clean, you’ve gone too far.
- UPGRADE WITH INSTANT COFFEE: Swap espresso powder for ½ teaspoon of instant coffee granules if you have them. It dissolves better and adds a brighter, smoother coffee note without the bitterness. No granules? A splash of cold brew in the batter works too—just don’t overdo it.
Creative variations of this dish
Vanilla Bean Swap
Replace the 1 tsp vanilla extract with 1 tsp vanilla bean seeds scraped from a pod for a more aromatic, floral depth. I always use Madagascar Bourbon vanilla beans—they're the gold standard for that rich, creamy vanilla flavor. The seeds add tiny specks of vanilla throughout the cake, making each bite feel extra special. 🌸
Cookie Crumble Topping
Crush 2 tbsp chocolate sandwich cookies (like Oreos or homemade chocolate chip cookies) and sprinkle them over the batter before microwaving. The cookies will crisp slightly on top, adding a delightful crunch contrast to the soft cake. For extra indulgence, press a few whole cookies into the batter before baking. 🍪
Strawberry Swirl
Add 1 tbsp strawberry jam to the batter after mixing the wet ingredients, then gently fold in 2 tbsp whipped cream to create a marbled effect. The jam adds a fruity brightness that cuts through the richness of the chocolate. Top with fresh strawberries after baking for a stunning presentation. 🍓
Spiced Orange Zest
Zest 1 tbsp orange peel and fold it into the batter along with ¼ tsp ground cinnamon. The citrus zest brightens the chocolate flavor while the cinnamon adds warmth. This works especially well with the vanilla ice cream topping—it's like a mini chocolate orange dessert in mug form. 🍊
Salted Caramel Drizzle
After baking, drizzle each mug cake with 1 tbsp salted caramel sauce (store-bought or homemade) and sprinkle with flaky sea salt. The salty-sweet contrast elevates the chocolate flavor to new heights. I love using Trader Joe's salted caramel sauce for convenience, but homemade is even better. 🍯
Espresso-Infused Coffee Cake
Double the espresso powder to 2 tsp and add 1 tbsp instant coffee granules to the batter for an intense coffee flavor. Top with a dollop of whipped cream and a sprinkle of cocoa powder. This version tastes like a rich tiramisu in mug form—perfect for coffee lovers. ☕
Nutrition facts
Frequently asked questions
Can I make these mug cakes in an oven instead of a microwave?
Yes! Preheat your oven to 375°F and place the mugs in a baking dish. Bake for 12-15 minutes or until the top is golden and the center springs back when pressed. The oven method gives a slightly crispier texture, but the microwave version is faster. Use oven-safe mugs rated for high temperatures.
Why did my mug cake come out dense instead of fudgy?
Overmixing the batter or using too much flour are the most common causes. Always mix just until combined and measure ingredients precisely. Also, make sure your cocoa powder is fresh—old cocoa loses its leavening power. For extra fudginess, reduce flour by 1 tbsp and add 1 tbsp melted chocolate to the batter.
How do I make mug cakes without eggs or dairy?
Replace the egg with 1 tbsp ground flaxseed + 3 tbsp water (let sit for 5 minutes to gel). For dairy-free, use unsweetened almond milk and swap butter with coconut oil. The texture will be slightly different but still delicious. Add ½ tsp apple cider vinegar to the milk to help with rising.
Can I make mug cakes ahead of time?
Batter can be prepped 3 days ahead and stored in an airtight container. For fully baked cakes, they keep for 24 hours in the fridge—reheat in the microwave for 10 seconds before serving. Freezing isn't recommended as the texture becomes crumbly when thawed. Always add toppings fresh for best flavor.
What's the best mug size for perfect mug cakes?
Use 12-16 oz mugs for ideal results. Smaller mugs (8 oz) may not cook evenly, while larger ones (> 18 oz) can make the cake too flat. The batter should fill the mug ¾ full—this gives room for rising while maintaining structure. Ceramic mugs work best as they distribute heat evenly.
