This post may contain affiliate links
Add Bake with Zoha as a preferred source on Google and find more of my tried-and-tested recipes.
This 5 Minute Chocolate Mug Cake will finally convince you that a mug cake can actually be good! Unlike most mug cakes that turn out dry, rubbery or muddy, this one is as good as the real thing. It is so soft, moist, gooey and chocolatey that it is hard to believe it’s made in the microwave in just 5 minutes start to finish. All you need is 7 basic ingredients (no eggs), a mug, a fork, and some measuring spoons. It is truly the perfect quick sweet treat for your late night cravings – and with 20M+ views and 1000s of remakes, I know many of you agree!

This was THE best mug cake I’ve ever had! Legit tastes like a fresh chocolate cake! The texture was perfect – not rubbery and didn’t taste off at all. Highly recommend.
– Ushna, ★★★★★
Moist and soft, NOT rubbery!
Developing a good mug cake recipe is surprisingly tricky. We have a very few ingredients and little room for error – so everything needs to be just right. After a ton of testing, here are 3 things I learned and why this recipe works:
- Eggs are the enemy of mug cakes. Yup, you heard me right! Not only is it annoying to have to use a quarter of an egg or half of an egg yolk, eggs cook fast in the microwave and are usually the culprit behind rubbery, spongey mug cakes. Not to mention, eggs provide structural integrity to baked cakes, but we don’t really need that in a small mug cake. So no eggs in this one!
- Butter is not worth the trouble. Some mug cakes use butter, which adds an additional melting step and is just not worth it. Just like my Easy Chocolate Cake, I opt for oil only in this mug cake to achieve the moistest texture that stays moist
- A little baking powder goes a long way. Microwave cakes rise a lot from the quick heat burst they get, so we don’t need to add too much raising agent. This recipe uses just 1/4 tsp. Any more, and the cake will explode and overflow
The result? A moist, soft, chocolatey cake that feels like a baked cake. If you want to make it even more indulgent, try covering it with hot chocolate like I do in my Hot Chocolate Mug Cake!
This was the only mug cake recipe I’ve found that isn’t leathery and oily. It’s SO moist and spongy and delicious!
– Dhaya, ★★★★★

Step by step photos
Here are some quick photos for you to visualize this recipe:

Start by whisking the milk, oil and sugar in a mug.

Sift in the dry ingredients (sifting is NOT optional!).

Stir or whisk until the ingredients are combined and no lumps remain. Clean the edges of the mug.

Microwave for 60-90 seconds until the cake is just cooked!
How to tell when it’s cooked
It is hard to give a precise amount of time for microwaving a mug cake, since different microwaves have different power settings, and the time also depends on how large or wide your mug is. This cake can take anywhere between 60-90s – and the best way to tell whether it’s done is by looking at it! A microwave cake cooks in 3 stages:
- Heat up: This is the longest stage that takes ~50-60 seconds. During this time, the batter is heating up and slowly rising, but the rise is not very quick
- Quick rise: Once the batter has heated up, you will notice the cake starts rising very rapidly. This is where the majority of the cooking happens. This stage takes only 10-20 seconds
- Slow sink: After the quick rise phase, the cake starts sinking again. At this point, it should be fully cooked. Stop cooking and remove from the microwave
The mug cake will have a wet looking patch on top but it should actually be cooked and spongy when you press on it. You can also check with a toothpick to ensure it’s done. If there’s any wet batter, give it another ~10 seconds.
A few more tips to get it right
Before I get into the quick recipe, let me share my best tips to get this mug cake right:
- Choose the right kind of mug. It should be microwave safe, and have at least 12oz of capacity. The cake won’t take up the full mug, but can rise quite a bit in the microwave, and using a big enough mug will help ensure the batter does not spill over
- Measure accurately. Instead of using random spoons, use proper measuring spoons to get the quantities right. For flour, make sure to first fluff it up and then add to the spoon, swiping off any excess. My recipe has also been updated with grams, so I highly recommend a scale for the most accurate results!
- Sift the dry ingredients. Since we are pretty much dumping everything into the mug, I recommend sifting the dry ingredients to minimize any lumps. This is especially important for the cocoa powder
- Ensure there are no lumps. When mixing the dry ingredients into the wet, they can form lumps. Use a spoon/fork or mini whisk to gently mix and break these lumps. Stop mixing as soon as a homogenous batter forms – overmixing can cause it to become rubbery
Email This Recipe
Enter your email and I’ll send this directly to you. Plus you’ll get new recipes from me every week!
Ingredients
- 4 tbsp whole milk (60g)
- 1 1/2 tbsp vegetable oil (20g)
- 3 tbsp granulated sugar (37g)
- 4 tbsp all purpose flour (32g)
- 2 tbsp cocoa powder (12g)
- 1/4 tsp baking powder
- 1/8 tsp salt
- Optional: 2-3 tbsp chocolate chips to mix in, and a chocolate spread like Nutella to serve
Instructions
- To a 12oz microwave safe mug, add the milk, oil and sugar. Use a fork or mini whisk to mix well until combined
- Sift in the dry ingredients (flour, cocoa powder, baking powder and salt), and gently stir with the same fork or mini-whisk. Scrape the fork along the edges to ensure everything is well combined. The dry ingredients can float on top of the wet, so take your time to properly mix them in and ensure there are no lumps. Stop mixing as soon as everything is combined (over-mixing can result in a rubbery texture)
- If using, add in the chocolate chips and stir until just combined
- Clean the edges of the mug with a paper towel, and microwave on high for 60-90s. The cake will heat up, then rise rapidly and start to sink again – at this point it’s usually cooked! I usually check with a toothpick around the 70s mark and give it another 10-20 seconds if there’s still wet batter inside. If in doubt, lean towards undercooking rather than overcooking, as overcooking in the microwave can result in a tough, rubbery texture
- Optionally, spread on some Nutella or chocolate ganache. Serve and enjoy!
Video Tutorial
Notes
- Optional add-ins: I like to add chocolate chips to my mug cake, but you can add any kind of chocolate candy you like, as long as it’s chopped into chunks! Serve the cake as it is, or spread some Nutella or chocolate ganache on top. You can also serve it with a scoop of vanilla ice cream
- Storage: This is a single serve cake meant to be eaten in one sitting. If you have leftovers, cover the mug with a coaster or cling wrap, and keep at room temperature for up to 1 day
More mug cake recipes
After the warm response to this mug cake, I have turned midnight mug cakes into a series! Check out the rest of them, and let me know what I should turn into a mug cake next:

Comments
Preeti
Yummmm!!!! Turned out so good! And enough to share as well! So delicious!
Tina
Hi Zoha,
Can I halve this recipe? If so, how long should I cook it in the microwave
Zoha
I don’t recommend doing that, it will likely burn from being htat small 🙂
Zoha Nasee
it was really delicious 😋.Even my mom loved it.
Zoha
Aw yay!
Mimi
the best and the easiest mug cake recipe! my daughter and I love it is our go to dessert!
Zoha
AWW TYYYY
Emaan Tariq
it is absolutely Delicious! I can’t wait to try it again!
Madison
Very delicious and chocolaty 😋! Happy I tried this recipe and will use again for a late night craving!
Andrea Barr
mother
Hareem
will it work if I use an egg??
Zoha
Not needed 🙂
karen
very scrumptious, it is easy peasy lemon squeezy!!! And the kiddos loved it. such a fun family activity.
zoyyr
love this !! It turned out amazing !
Finley
I have tried A LOT of mug cakes, and I can confidently say this is the best chocolate one I’ve tried. I cooked it for a minute and added a ton of semi-sweet chocolate chips and chocolate frosting. Delicious!
Umaira Ishtiaq
Usually mug cakes can be very spongy but this one turned out really fudgy and yummy. A keeper for sure!
Zoha
Thank you!
hanie
sorry i meant to put 5 stars but i thought we just had to click the last star sorry ur recipes are really wonderful keep going
Mark M
Yumm and easy thanks 🙏 just fixed my craving
Zoha
Thank you!
Kathy
Easy and great but I used dark chocolate
Zoha
Amazing, thank you Kathy!
Iram
Can I bake this in an otg instead of microwave?
Zoha
Hi Iram! This recipe hasn’t been tested in an OTG
dua
toooo gooooooooodddd
Zoha
Thank you!!
Neha Imran
My daughter and I are in love with this cake. Each recipe of yours is thoroughly loved in our house. Thank you Zoha
Zoha
Thank you so much, Neha 🙂 Means a lot to me
Regina
the best mug cake recipe I have ever tried so far!
Zaineb
Finally after so many failed mug recipes this is the ultimate recipe for mug cakes.
I have made this recipe countless times , the best part my toddler loves this. i have made this so many times for her, love it how quick and easy this cake is to make.