The Best Chocolate Mug Cake

This chocolate mug cake is the best recipe out there! Now you can quickly indulge your chocolate craving with this single serve chocolate cake that’s cooked in the microwave.

chocolate mug cake
I have finally found the very best chocolate mug cake recipe. It is loaded with chocolate flavor and has a great fudgy texture. And the best part is that you can make this decadent single-serve dessert in the microwave in one minute!

What is cake in a mug?

It’s the answer to your late night chocolate craving! Mug cakes are a single-serve dessert you cook in a coffee mug in the microwave. It’s like a chocolate lava cake you’d get at a fancy restaurant, but way less time-consuming.

My sweet tooth can get pretty fierce sometimes. Whiny children, long days and most remodeling projects are usually what bring it on. Sometimes I just want a treat and I want it NOW. Can you relate?

That’s where this amazing microwave chocolate mug cake comes in. A few years ago I tested a bunch of different mug cake recipes (read about that HERE).

Most of them were different levels of gross. The recipes that contained eggs were especially weird. The egg made the finished dessert rubbery. Cooking a dessert in the microwave seemed like an impossible dream.

Then I found this chocolate mug cake recipe and it is a true gem. It’s almost like cheating… you get a decadent ooey-gooey treat exploding with chocolatey goodness in less than a minute!

chocolate cake in a mug

How do you make chocolate cake in a cup?

It’s so simple. Here’s the recipe and instructions.

4.93 from 56 votes
Chocolate Mug Cake

Quickly satisfy your chocolate craving with this easy single-serve chocolate cake in a mug. 

Author: The Craft Patch
  • 2 tablespoons butter
  • 2 tablespoons water
  • 1/4 teaspoon vanilla
  • 1 pinch salt
  • 1/4 cup white sugar
  • 1/4 cup flour
  • 2 tablespoons cocoa powder
  1. Melt the butter in a coffee mug. Add water, vanilla and salt and stir until smooth. Add sugar, cocoa powder and flour and stir until all the lumps are out. Cook in the microwave for 30-40 seconds. If you want less "lava" and more cake you can cook it for 10 seconds more. You may have to adjust the cooking time since all microwaves cook at different speeds.

Recipe Notes

I've noticed a huuuuuuuuge difference in flavor depending on what type of cocoa powder I use. I recently cheaped out and bought a weird off-brand. Major buyer's remorse!! The higher quality good cocoa powder definitely tastes better.


chocolate mug cake recipe

How do you make a chocolate Nutella mug cake?

That’s what’s so great about this recipe. There are endless variations! To make a Nutella mug cake, use the exact same recipe above, but stir in 1 teaspoon of Nutella before cooking in the microwave. So easy!

Want to know some of my other favorite chocolate mug cake variations? They are just as easy to make, but it’s fun to come up with different flavor combinations. To make these  mug cake variations, simply stir up the batter, add the extra ingredients, then cook like normal!

Mug Cake Variations

  • Peanut Butter Lover. Get the recipe here!
  • Chocolate Covered Berry. Add 1 teaspoon raspberry or strawberry jam.
  • Gimme S’More. Add 10 mini marshmallows and a sprinkling of graham cracker crumbs.
  • A La Mode. One scoop of ice cream on top after it’s done cooking and you’ve got yourself a rockin’ dessert!
  • Caramel Lover. Add two square caramel candies.
  • Mint To Be. Sprinkle with mint baking chips or crushed up candy canes.
  • Chocoholic. Add a handful of chocolate chips or pieces of a chopped up candy bar.

Can you tell that I’ve made this dessert a lot? Just you wait… once you’ve tried it, you’ll fall in love! Don’t believe me? Read the recipe reviews in the comments. Readers agree that this mug cake is amazing!

If you’d like a vanilla mug cake, this is the very best vanilla mug cake recipe!

Chocolate Mug Cake Recipe Video

cake in a mug

Looking for more amazing chocolate dessert recipes?

Try my Perfect Double Chocolate Cookies! They are the best chocolate cookie I have ever had! Or make a pan of my favorite Chocolate Marshmallow Brownies and share the chocolate goodness with the whole family. Or check out this mega list of the very best chocolate desserts.


  1. I tried adding 1 teaspoon of inst. coffee and it was a little to strong I think it would have been better with only 1/2 or maybe only a 1/4 o a teaspoon of inst. coffee! but will you try and figure out which is better cause I don't make mug cakes very often so can you?

  2. Just made this and it was DELICIOUS! Super easy and quick to make with basic ingredients that I had on hand. Thanks for sharing! It was just what this pregnant mama needed 😉

  3. So yummy!! I used milk instead of water and a pinch of baking soda. Cooked it a bit too long at 1min, so it was cakey not lava like, but a scoop of ice cream on top and I didn't care as it satisfied my craving in less than 2 min 😊

  4. i microwaved mine for 1 minute and it was perfect lava to cake..
    i also swapped out the water for leftover coffee and topped it with some coarse salt before cooking…
    delicious !!

  5. Just made this. So yummy! I microwaved for closer to 1 minute and it was the perfect consistency. Also may have added chocolate chips. Perfect!

  6. It's really good with two Andes month chocolate things and a quarter teaspoon of peanut butter (it sounds weird but I promise it's good).

  7. Mine probably could've done with 1:30min but even undercooked and squishy it was still good, very dense, only did half the cocoa. Went great with vanilla ice cream.

  8. This turned out terribly for me! The mixture was so dry, definitely didn't have enough moisture, added some milk and still took 2 minutes cooking before it even closely looked near being Cake…

  9. Can I leave out the chocolate for a simple vanilla cake or would that not work? I love the chocolate version I eat it all the time!

  10. Absolutely delicious. I kept mine in the microwave a bit longer and added choc chips and coffee instead of water as per one of the comments. It was moist and decadent. Next time (and there'll be a next time) I'll have with some vanilla ice cream. Shumeaz

  11. This recipe is wonderful! It can be used as a great base for something interesting and fun!

    I melted 1 teaspoon dark chocolate chips with the butter and added another half a teaspoon into the final mix. I topped it off with vanilla ice cream and 3 blueberries.

    I'm sure this recipe will be great on its own too. I will definitely recommend it to people!

  12. This is by far the BEST mug recipe I have made! I added chocolate chips and ate with ice cream. It didn’t even need the chocolate chips. I just added an additional 30 seconds and it was still plenty gooey to my liking. I will keep this recipe for any time I want a quick and easy dessert.

  13. This was the PERFECT reward after tough day! I had to cook it an additional 40 seconds because our microwave is a little temperamental, topped it with some vanilla ice cream and it was the perfect size for my mom and I to split! Thank you for the wonderful recipe! I know it’s going to be a favorite in my entire family!

  14. I've been looking for the perfect chocolate mug recipe, and I think this is it! I did 45 seconds in our microwave, and it was fantastic!

  15. Girl.

    When my kids are finally down for the night and I want something sweet with my Netflix I am NOT interested in sugar free, gluten free, flavor free chocolate cake like the ones I've tried until now.I want something delicious that I'll be paying for on the treadmill in the morning (notice: "paying for," not "regretting"). Thank you for understanding. Thank you! This one's going on my Pinterest board, "tried and true" with a handful of other recipes that actually lived up to the hype and fancy photography.
    You're awesome!

  16. 5 stars
    Absolutely deliciously decadent! A few semi-sweet chocolate chips on top and a squirt of redi-whip on top…….OMG! Will try it with coffee in place of water and some ice cream next time….which will have to be a while from now. I could easily eat thhis every day, but I dare not. I would be a blimp in no time!😁

  17. 5 stars
    I have cane sugar intolerance, so I used maple syrup instead and it was very yummy! I also used gluten free all purpose flour! It was so delicious!!!

  18. 5 stars
    This turned out even better than I thought it would! I did have to microwave mine for the full minute to get it to the right texture. Because I didn’t have chocolate chips, I made my own fudge sauce by boiling a small amount of cocoa, milk and sugar. I’ll definitely be using this again!!

  19. 5 stars
    Finally!!! I mug cake recipe that doesn’t have that rubbery texture! Thank you so much for this! Me and my almost 2 year old son are enjoying it so much! He keeps saying, “Bite!”. I might have to make me another one after he goes to bed! Haha

  20. 4 stars
    Mmmmm. It was a little too chocolatey for me (yes, that’s a thing in my world.) But the texture was exactly what I was looking for after cooking it longer so it was more cake like vs lava. Definitely saving this recipe so I can make it again with different add-ins! Thanks for a great recipe.

  21. 5 stars
    I found this recipe, when I found myself without chocolate in the house. It’s ingredients are what I had on hand, and the promise of fudge lava cake was irresistible! It didn’t disappoint. Rich, creamy, deep chocolate flavor, and the portion size is perfect! I need not try another recipe. I found late night, chocolate heaven in a mug!

    • I haven’t figured out the calorie information. I don’t want to know. Hahaha! But there are multiple websites where you can look up each individual ingredient and do the math for yourself.

    • Not sure if you still want to know, but I plugged the recipe into MyFitnessPal and it gave the following stats: Calories 547, Total Fat 23.5g, Carbs 78.1g and Protein 5g. Hope that helps!

  22. 5 stars
    Very yummy mug cake and way better than the store bought ones!! I added 20 seconds to cooking time to dry it up a little more. It was delish with a little whipped cream on top. It will definitely be my go to cake when I just need a little something sweet. Thanks for the recipe.

  23. 5 stars
    I made this but added a chocolate sauce to the top before cooking (1 tbs cocoa, 1 tbs sugar and 4 tbs boiling water) and cooked for 1 minute. Made a delicious dessert!

  24. 4 stars
    Perfect recipe. I cut the sugar in half and microwaved the mixture for 40 seconds. I stirred in a chocolate sauce made from a bit of heavy cream and ghiradelli chocolate chips.

  25. 5 stars
    I made this and adding 1/4t of baking soda (I was worried it wouldn’t get fluffy and thought eh, why not.) Otherwise I followed the ingredients exactly. I ended up nuking it for more like a minute in 20 second intervals and it came out perfectly. Fluffy but rich and moist. I’ll definitely be making this again!

  26. 4 stars
    I doubled it, cut the sugar in half and used some peanut butter to make it at least a little balanced. Too much butter for me, I recommend leaving the butter at 2 tbsp if you decide to double. Otherwise very nice quick fix for a dense chocolate cake.

  27. I made this but it didn’t turn out right. So I am not sure what I did wrong. It wasn’t like a cake texture at all it was still really mushy so I cooked it longer and then it got really gooey lol so I hope next time I can make it correctly!

  28. So good! And with ingredients I have in the pantry/fridge (I barely ever have choc in the house and all the other recipes have it)
    Thank you for posting it, turned out perfect. Gooey and Cakey at the same time

    • 5 stars
      How did it do?
      I would think you need 2 TBL more flour since your not using the cocao powder and adding more liquid from the chocolate bar, not much but….maybe just more cooking?
      I started with 30 seconds nice gooey did 10 more seconds like fudgey delight.

  29. 5 stars
    I just tried this and thankfully I won’t have to try another crappy mug cake recipe, this is it! I like it a bit gooey and this was perfect!

  30. 5 stars
    YUM! This mug cake is super delish and easy to make. I added a few chocolate chips and topped it off with vanilla ice cream. I will absolutely make this one again and again! ❤️

  31. 5 stars
    This was delicious. And perfect for my nursing induced dairy free, soy free diet! I have been craving chocolate so hard! Also, I had Dutch processed cocoa on hand from a pie that I made at Christmas…truly decadent!

  32. 5 stars
    I felt like changing it up a bit (Honestly I just suck at following a standard recipe).

    I was out of vanilla extract so I used fresh vanilla instead. Then I dissolved approximately 1ml of instant coffee into warmed milk (instead of water). I also used 1 tbls each of standard and Dutch processed cocoa and then finishing it off by placing about 1 tbls worth of dark chilli chocolate in the middle covering it with a little bit of the batter.

    I am now officially chocolate wasted (and wondering why I have to always over complicate things🙈)

  33. 5 stars
    Finally, an amazing mug cake recipe! Thank you for this! It turned out great with dairy free “butter” too. A few bites in, my husband asked “what’s in this?” with a tone of pure enjoyment.

    • I don’t know if it would work or not, but you could certainly give it a try. I would just keep checking on it until it looks done.

  34. 5 stars
    Yum… I decided to melt a square of Godiva chocolate with the butter and 1/4 tsp of espresso powder and cut cocoa to 1-1/2 tblsp. Wow was it chocolate-y. My microwave is old so had to cook it a minute and 20 seconds for it to set. Easy recipe and definitely cured my chocolate craving. I’ll make it again. Thanks for the recipe.

  35. 5 stars
    AMAZING. I was skeptical, as I’ve been burned by mug recipes in the past & this one’s simplicity seemed too good to be true. But boy, did I eat crow (or in this case, cake). 30 seconds made it beautifully moist, with a decadent flavor and absolutely luscious texture. Makes you feel like you’re the lady in those Dove chocolate commercials, reclined on the couch in a cozy sweater & savoring a sweet treat.
    IF YOU DON’T HAVE COCOA POWDER, don’t fret. I only had Cacao powder & some gourmet hot chocolate mixes. I figured if I didn’t have cocoa powder, the next best thing was gourmet hot chocolate because those high-end mixes tend to be primarily cocoa powder, a little sugar, and maybe some added flavoring (unlike Nestle hot chocolate which has a lot more filler ingredients). So what I did for the “cocoa powder” ingredient was mix together a 50/50 ratio of Cacao powder & Whittard hot chocolate mix (salted caramel flavor). The end result was beautiful, and you could probably use all high end cocoa mix if you had to (and just measure out a little under 1/4 c for the sugar).

  36. 5 stars
    Found this recipe through Julien Solomita’s mug recipes video. I’ve never eaten a lava cake before, since I’m not American, so I’ve decided to give this recipe a try. I don’t know how it’s supposed to look like, but mine turned out very fudgy, dense and sweet. I don’t know if it’s supposed to be like that, but I loved it nevertheless. It looks like an undercooked cake, but it doesn’t taste of flour at all, it’s very delicious. I used milk instead of water and only had sweetened cocoa powder at home (used less sugar in the recipe because of it), so that’s what I used. I think if I added some baking powder it would be more cake-like, next time I’ll try it out. Thank you for sharing this recipe.

    • 5 stars
      Hi! I leave mine for 50 seconds total in the microwave and it turns out just like a cake, with a fudgy top. I think you would just need to leave it longer in the microwave to get it to be more cake-like 🙂

  37. 5 stars
    Wow, I thoroughly enjoyed that. I followed your recipe with the addition of a few raspberries mixed into the batter. I cooked for a total of 53 seconds (I did 40 + 5 + 8 seconds) in my 850 watt microwave and the texture was soft and gooey but I reckon another 10 seconds would have made it more cake-like. I personally prefer the gooey texture and I enjoyed it with some Greek yoghurt (a nice accompaniment as not as sweet as other yoghurts).

  38. 4 stars
    It was delicious and I made it in five min I love how it was so easy to make and it was ingredients that are normally in your house so you don’t need to go out and buy anything. Thank you so much for sharing this recipe with us

  39. 5 stars
    Was worried I’d need icing or nutella to make this better but I was pleasantly surprised to find it didn’t need it ! Moist , chocolatey, easy and delish! Sorry I didn’t discover it sooner! Thank you

  40. 5 stars
    awesome recipe i cooked it for 30 second and it was like delicious chocolate lave would recommend im trying this with marshmallows today for a hot chocolate style cake for the holiday season with peppermint too!

  41. 5 stars
    The best thing ever. I make this almost every week hehe. Wheat flour works just as well as all-purpose and we can use maple/pancake syrup as substitute for vanilla essence. Found this on Pinterest, changed my life.

  42. 5 stars
    This is fantastic! You saved us from having to put on pants and go to the store. This recipe is magic. My husband didn’t believe there is no eggs. We added a bit of instant espresso and chocolate chips our first time. Today we are adding peanut butter, and I cut down the sugar to half just b/c we’re a bit sensitive after surgery. Thanks!!

  43. 5 stars
    This is a delicious and super simple recipe. Perfect if you want something sweet but don’t want to be tempted with a batch of brownies or cookies sitting around. I made a 1/2 recipe and counted it as approx 263 calories (without any chocolate chips or add ons).

  44. 5 stars
    I was having one of those “if I don’t get chocolate soon, someone’s getting hurt” moments. I’ve tried tons of chocolate mug cake recipes, and this one is THE KEEPER. Made as written and it was rich, fudgey and now everyone doesn’t have to live in fear. I’ll just have to practice a lot of self-restraint to not make this every night.

  45. I have started watering my mouth after looking at this beautiful recipe. Thank you so much for sharing this recipe I will try this out for my kids.

  46. 5 stars
    I have made this twice this week. The first time, I followed the recipe exactly. The second time, I decided to cut the amount of butter and sugar in half. Still turned out delicious! Can’t wait to try it with Nutella or peanut butter.

  47. 5 stars
    Tastes awesome! I’m not even the biggest fan of chocolate! i like it but sometimes i dont like it (chocolate) This is awesome and it was a perfect treat for a cold!

  48. 5 stars
    Definitely a keeper!!! The best mug lava cake ever! Quickly hit the chocolate spot big time. Used Black chocolate powder. Will be making this again and again and again with various additional goodies: Carmel chips & raspberries; peanut butter; white chocolate chips; ice cream…OMG! Thanks 4 sharing

  49. 5 stars
    Thank you for sharing this recipe! It’s so quick and easy and tastes delicious. Was so happy to find this especially since I am out of baking soda/powder 🙂

  50. such a good recipe! use this all of the time, so quick and delish.

    try using olive spread instead of butter! makes a much smoother and more moist cake! needs maybe 10-20 seconds longer in microwave if you use this, but tastes same and is so delicious!

  51. 5 stars
    This mug cake is amazingly chocolate. My 8 yr old son made it today. I had leftover frosting that I had frozen; we thawed it and topped the cake with it. Pure perfection. Thank you for this amazing recipe. You made my son very happy. 😊

  52. 5 stars
    Definitely The Best chocolate mud cake I’ve made or eaten. I added a couple of choc melt chips & cooked a bit longer. Amazing with ice cream.


Recipe Rating

Please enter your comment!
Please enter your name here