Easy Homemade Chocolate Mug Cake Recipe

The Five-Minute Chocolate Fix
Some nights you just need chocolate, and you need it now.
That’s when this mug cake saves the night. Five minutes from craving to warm chocolate cake in your hands. There’s no mixer, no pan to wash, and no reason to leave the couch.
I started making these in college when the dining hall closed and my sweet tooth refused to listen. Years later, this is still the recipe I make when the day has been that kind of day. Have you ever had a chocolate craving that wouldn’t quit? Yeah. This is for those.
Why Microwave Cakes Actually Work
Here’s the thing most people get wrong — they overcook it. Microwaves vary wildly, and 30 seconds too long turns a tender cake into a rubber puck.
The trick? Cook it in 30-second bursts, checking between each. Stop when the top looks just barely set and still slightly wet in the very center. It’ll finish cooking in the standing time.
The other secret is using cocoa powder, not melted chocolate. Cocoa gives a more intense chocolate flavor in a smaller volume — perfect for the tight space of a mug.
Easy Homemade Chocolate Mug Cake Recipe
Ingredients
- 4 Tbsp all-purpose flour
- 3 Tbsp granulated sugar
- 2 Tbsp unsweetened cocoa powder
- 1/4 tsp baking powder
- Pinch of salt
- 1 large egg yolk (save the white for tomorrow)
- 3 Tbsp milk
- 2 Tbsp vegetable oil
- 1/4 tsp vanilla extract
- 2 Tbsp chocolate chips

Instructions
Step 1: Whisk the flour, sugar, cocoa powder, baking powder, and salt together in a microwave-safe mug (about 12 oz). Make sure there are no dry pockets.
Step 2: Stir in the egg yolk, milk, oil, and vanilla until completely smooth. The batter should look glossy and a little thick. Fold in the chocolate chips.

Step 3: Microwave on high for 60 to 90 seconds, in 30-second bursts. Stop when the top looks set but the center is still slightly wet — it’ll finish cooking as it cools. Every microwave is different, so trust your eyes more than the timer.
Step 4: Let it rest for 1 minute before eating. Top with a scoop of ice cream, a dusting of powdered sugar, or just grab a spoon.
Creative Twists
- Drop a square of chocolate truffle in the center for an extra-molten middle.
- Swap the vanilla for peppermint extract and you’ve got a peppermint patty vibe.
- Add a tablespoon of peanut butter on top before microwaving for a peanut butter cup moment.
- Use hot chocolate mix instead of cocoa powder for an extra-sweet version.
- Stir in a tablespoon of rainbow sprinkles for a funfetti vibe.
Serving & Pairing Ideas
This cake is meant to be eaten warm, alone, ideally in pajamas with a show on in the background. But if you want to dress it up: a scoop of vanilla ice cream, a drizzle of chocolate sauce, or a few fresh raspberries.
Cold milk alongside is honestly perfect. A cappuccino if it’s morning. Hot chocolate if you’re feeling extra — yes, chocolate on chocolate is allowed.
Easy Homemade Chocolate Mug Cake Recipe
Storage & Make-Ahead Tips
Mug cakes don’t store well — they’re meant to be eaten immediately. If you want to prep ahead, mix the dry ingredients in the mug the night before, then add the wet ingredients and microwave when ready.
You can also mix the dry ingredients into a small jar or zip-top bag for future mug cake emergencies. Just label it and keep it with your baking supplies. Future-you will be grateful.
Common Mistakes & Easy Fixes
The biggest mistake? Overcooking. The cake will look underdone when you pull it, but it’ll firm up in the 1-minute rest. If you wait until it looks fully set in the microwave, you’ve gone too far.
Second — using a cold mug straight from the cabinet can affect cook time. A room-temperature mug is more reliable.
Third, don’t skip the egg yolk. The whole egg is too much, and just whites won’t give you the right richness. Save that white for breakfast tomorrow.
Your Mug Cake Questions, Answered
Can I make this without an egg?
You can substitute 2 tablespoons of applesauce or a mashed banana. The texture will be slightly more dense, but still tasty.
What size mug should I use?
A 12 to 14 ounce mug is ideal. Smaller mugs will overflow, larger ones will give you a sad flat cake.
Can I use a different milk?
Absolutely. Almond, oat, or soy milk all work. Whole dairy milk gives the richest result, but honestly any milk you have will do.
Can I double the recipe in a bigger mug?
I’d recommend making two separate mugs instead. A doubled recipe in one mug won’t cook evenly and the center will be raw while the edges are tough.
Why is my cake dry?
It was overcooked. Try 30 seconds next time and check from there. Every microwave is different.
Can I make it in the oven?
You can — pour the batter into a ramekin and bake at 350°F for 12 to 14 minutes. It won’t be faster than the microwave, but it gives a slightly more even texture.
A Little Goodbye from My Kitchen
This recipe is one of the most-used in my kitchen, and it lives in the back of my head more than anywhere else. Five minutes and I’m happy.
I hope it becomes that recipe for you too. The one you reach for when the day has been a lot. The one that takes almost no effort but feels like a real treat.
Let me know what you top yours with. I’m a vanilla ice cream girl myself, but I’ve seen some wild combos out there.
Happy baking!
—Marina Caldwell
Easy Homemade Chocolate Mug Cake

Ingredients
- 4 Tbsp all-purpose flour
- 3 Tbsp granulated sugar
- 2 Tbsp unsweetened cocoa powder
- 1/4 tsp baking powder
- Pinch of salt
- 1 large egg yolk
- 3 Tbsp milk
- 2 Tbsp vegetable oil
- 1/4 tsp vanilla extract
- 2 Tbsp chocolate chips
Instructions
- 1Whisk the flour, sugar, cocoa powder, baking powder, and salt together in a microwave-safe mug.
- 2Stir in egg yolk, milk, oil, and vanilla until smooth. Fold in chocolate chips.
- 3Microwave on high for 60-90 seconds in 30-second bursts until the top is set but center is slightly wet.
- 4Let rest 1 minute before eating. Top as desired.


