Easy Chocolate Mug Cake

There is a particular kind of chocolate emergency that strikes at nine in the evening, when the craving for something warm, gooey, and deeply chocolatey arrives with no warning and no patience for preheating an oven or waiting forty minutes for a cake to bake. This easy chocolate mug cake is the answer to that emergency. Flour, cocoa, sugar, one egg, and a splash of milk get stirred together right in the mug, the microwave does its magic in about a minute and a half, and five minutes after the craving hit, you are holding a warm, soft, molten-centered chocolate cake with a spoon in your hand.

What makes this chocolate mug cake so wonderful is how little stands between you and dessert. There is no bowl to wash, because the mug is the bowl, and no mixer or cake tin to scrub afterward. You whisk the dry ingredients in the mug, stir in the wet ones, fold in a spoonful of chocolate chips, and the microwave turns that glossy brown batter into a tender little cake that rises up over the rim. The center stays soft and almost molten, the edges turn into proper cake, and the whole thing smells like a bakery that fits in the palm of your hand.

This is a 5-minute dessert in the truest sense: 2 minutes of prep and 3 minutes of cooking, and the clock starts when you pick up the mug. The microwave does the baking in 70 to 90 seconds, and the one-minute rest afterward is when the cake finishes setting and the chocolate chips turn into little pockets of melted chocolate. It serves one person, which is either perfect portion control or a recipe you will immediately want to double, and it is the dessert to make when the kids want a treat after dinner, when friends drop by for coffee, or when you simply want chocolate cake and you want it now.

If you love the kind of dessert that feels like a small celebration and takes almost no effort at all, this one belongs in your regular rotation. It is wonderful with a spoonful of whipped cream, lovely with a scoop of vanilla ice cream melting into the warm cake, and completely irresistible eaten straight from the mug while it is still warm. Keep reading for the technique that keeps the cake soft instead of rubbery, the mistakes that can make it dry, and the easy swaps that let you make it your own.

Recipe at a Glance

Prep Time: 2 minutes | Cook Time: 3 minutes (about 90 seconds in the microwave plus 1 minute of resting) | Total Time: 5 minutes | Servings: 1 serving | Yield: 1 mug cake (about 1 cup of batter)

Warm chocolate mug cake in a dark ceramic mug with a gooey spoonful lifted and chocolate sauce drizzling down, an easy 5-minute chocolate mug cake dessert recipe.

Ingredients

  1. 4 tablespoons all-purpose flour
  2. 2 tablespoons unsweetened cocoa powder
  3. 2 tablespoons granulated sugar
  4. 1/4 teaspoon baking powder
  5. 1 pinch fine sea salt
  6. 3 tablespoons whole milk
  7. 1 large egg, at room temperature
  8. 2 tablespoons vegetable oil (or melted butter, cooled slightly)
  9. 1/4 teaspoon vanilla extract
  10. 2 tablespoons chocolate chips, plus a few extra for the top
Overhead flat-lay of easy chocolate mug cake ingredients on a wooden table, flour, cocoa powder, sugar, milk, an egg, oil, vanilla and chocolate chips around an empty mug.

Directions

  1. Choose a wide, microwave-safe mug that holds at least 12 ounces, and make sure it has no metallic paint or trim. A wide mug lets the batter cook more evenly, while a narrow mug can leave the center underdone and the edges tough. The batter should fill the mug no more than halfway, because the cake rises dramatically as it cooks and needs room to climb without spilling over the rim.
  2. Add the flour, cocoa powder, sugar, baking powder, and salt to the mug, and whisk them together with a fork until the mixture looks uniform, with no pale streaks of flour or dark clumps of cocoa left. This dry whisk does real work: cocoa powder loves to clump, and any clump left now becomes a bitter pocket in the finished cake.
  3. Add the egg, milk, oil, and vanilla extract to the same mug, and stir with the fork until the batter is completely smooth and glossy, with no streaks of flour hiding at the bottom or edges. Scrape the fork along the bottom and sides as you stir, because dry ingredients hide down there. The finished batter should look like thick, pourable chocolate sauce. Do not beat it hard, just stir until smooth.
  4. Fold in the chocolate chips with two or three gentle stirs, and scatter a few extra chips over the top. The chips on top sink a little as the cake rises and turn into gooey melted spots, while the chips folded inside melt into little pockets of chocolate throughout the cake. For a very gooey center, press one or two extra chips into the middle of the batter, they will melt into a molten core.
A hand stirring glossy chocolate mug cake batter in a ceramic mug with a spoon, with cocoa powder dusted on the table and a bowl of chocolate chips beside it.
  1. Microwave the mug on full power for 70 to 90 seconds. Start checking at 70 seconds: the cake is done when the top looks set and dry, with no wet, shiny batter left on the surface, and the edges have pulled very slightly away from the sides of the mug. Microwaves vary, so a lower-wattage microwave may need the full 90 seconds, or up to 100 seconds, while a powerful one can finish at 70. The cake will rise well above the rim while it cooks and then settle back down, which is completely normal.
  2. Let the mug cake rest for 1 minute before you touch it. This rest is part of the cooking: the center finishes setting from the heat inside the cake, the chocolate chips finish melting, and the crumb firms up just enough to hold together on the spoon. One minute of patience gives you a cake that is warm, set, and safe to eat.
  3. Check the doneness before you serve. Press the top gently with the back of a spoon: it should spring back, not leave a wet dent. A toothpick slid into the center should come out with a few moist crumbs, not wet batter, which is the sign of a soft, gooey center. If the toothpick comes out wet, microwave for 10 more seconds and rest for another minute.
  4. Top the mug cake and serve it warm, straight from the mug. A spoonful of whipped cream, a scoop of vanilla ice cream, or a drizzle of chocolate sauce are all wonderful, and the warm cake melts them into a sauce as you eat. Dig all the way to the bottom of the mug, where the gooiest chocolate is hiding. This cake is at its best in the first ten minutes, while it is still warm and soft.

Why This Works

The secret of this easy chocolate mug cake is the ratio. Four tablespoons of flour to two tablespoons of cocoa gives you a cake that tastes deeply chocolatey without turning dry or bitter, because the cocoa is balanced by the sugar, the milk, and the oil. The single egg is the structure of the whole cake: it binds the batter, helps it rise, and gives the crumb its tender bite. The oil keeps the cake moist in the microwave, which is a much harsher cooking environment than an oven, and the milk loosens the batter just enough that it cooks evenly instead of turning into a dense puck.

Stirring the dry ingredients first matters just as much as the ratio, which is why the flour, cocoa, sugar, baking powder, and salt get whisked together before anything wet goes in. Cocoa powder is notorious for clumping, and a clump that survives into the microwave becomes a bitter pocket that no amount of chocolate chips can rescue. The baking powder is the lift: a quarter teaspoon is exactly enough to make the cake rise tall and light in ninety seconds without leaving any metallic taste behind. The pinch of salt works the way salt always works in sweet food, it suppresses bitterness and makes the chocolate taste more intensely like itself. The mug cake became a kitchen classic for exactly this reason, a whole cake made in one mug in minutes, with proportions home bakers have trusted for years.

The microwave is not a compromise here, it is the right tool for the job. A microwave heats food through the water in the batter, so a small amount of batter in a wide mug cooks through in about ninety seconds, while a full cake needs forty minutes in an oven. That is also why overcooking is the great danger: every extra ten seconds drives more moisture out of the crumb, and a mug cake that was soft at ninety seconds can be rubbery at two minutes. This is why the recipe says to check at seventy seconds and rest for a minute afterward, the rest lets the heat inside the cake finish the job gently. When you want to look up exactly what is in the ingredients you are stirring together, the USDA FoodData Central database is a reliable reference for cocoa powder, flour, and chocolate.

Vanilla extract is a small amount with an outsized job. A quarter teaspoon will not make the cake taste like vanilla, it rounds out the sharp edges of the cocoa and makes the chocolate flavor taste fuller and more complete. The chocolate chips do double duty too: the ones folded into the batter melt into gooey pockets, and the ones scattered on top turn into a glossy, melted cap that makes the cake look as good as it tastes. If you love quick single-serve breakfasts and desserts, the easy banana pancakes use the same one-bowl, stir-and-cook simplicity and are ready in 20 minutes for the whole family.

Pro Tips

Use a wide mug, not a tall narrow one, because the shape of the mug decides how evenly the cake cooks. In a wide mug the batter is spread out in a shallow layer, so the microwave heat reaches the center quickly and the whole cake sets at the same time. In a tall, narrow mug the center stays wet while the edges overcook. A standard 12-ounce coffee mug is ideal, and if your favorite mug is narrow, use a small microwave-safe bowl instead.

Measure the flour with a spoon, not a scoop, because four tablespoons is a small amount and a packed scoop can easily add a whole extra tablespoon. Spoon the flour into the tablespoon and level it off with a knife, and do the same with the cocoa powder. Too much flour is the most common reason a mug cake turns out dense and dry.

Do not overcook the cake, and when in doubt, undercook it by ten seconds. A mug cake continues cooking during its one-minute rest, so a cake that looks just barely set at seventy seconds will be perfect by the time you pick up the spoon. The toothpick test tells the truth: moist crumbs mean a soft, gooey cake, while a completely clean toothpick usually means you have gone too far. You can always microwave for ten more seconds, but you can never un-cook a rubbery cake.

Let the egg come to room temperature before you start, or cheat by putting it in a cup of warm water for two minutes while you gather the other ingredients. A cold egg straight from the fridge can make the batter seize up and the oil stiffen, which gives you a lumpy batter and an uneven cake. Room-temperature egg blends into the batter smoothly, and the whole cake rises more evenly.

Serve the cake the moment the rest is over, while it is still warm. A mug cake is at its best in the first ten minutes, soft, gooey, and fragrant, and after that it starts to firm up and dry out as it cools. Have the whipped cream or ice cream ready before the microwave beeps, so the cake goes from microwave to table in one minute. For another fast treat the whole family loves, the 5 pantry-ready pancake mixes let you keep a jar of mix on the shelf so pancakes are always five minutes away.

Common Mistakes and How to Fix Them

Overcooking the cake until it turns rubbery. This is the number one mug cake mistake: ten seconds feels like nothing but means everything in a microwave. A cake microwaved for two minutes instead of ninety will be tough and dry, and there is no way to fix it after the fact. The prevention is simple: check at 70 seconds, look for a set top with no wet batter, and remember the one-minute rest finishes the cooking. If the cake is still wet in the center, add only 10 seconds at a time, never another full minute.

Using a mug that is too small, so the cake overflows. Mug cake batter rises dramatically, sometimes doubling in height, and a small mug simply cannot hold it. If the batter fills the mug more than halfway before cooking, it will bubble over the rim and make a mess of your microwave. Use a mug that holds at least 12 ounces, or split the batter between two smaller mugs. If the cake has already overflowed, the part left in the mug is usually still fine to eat.

Skipping the dry whisk, so the cake has bitter cocoa pockets. Cocoa powder clumps stubbornly, and if you dump the wet ingredients straight onto unmixed dry ingredients, those clumps survive the stir and become bitter, floury pockets in the finished cake. Always whisk the flour, cocoa, sugar, baking powder, and salt together first until the color is uniform, and press any visible cocoa lumps against the side of the mug with the fork.

Measuring the flour with a packed scoop. Scooping flour straight from the bag packs it down and can add a full extra tablespoon to a recipe that only calls for four, which turns a soft cake into a dense, dry one. Always spoon the flour into the measuring spoon and level it off, and do the same for the cocoa powder. If your cake came out dry, re-measure with the spoon-and-level method next time and the difference will be obvious.

Forgetting the salt. Without that pinch of salt, the cake can taste flat and one-note. Salt does not make the cake salty at this amount, it makes the chocolate taste more intensely like itself. If the flavor feels dull, a tiny pinch of flaky salt over the top, or a spoonful of salted caramel sauce, will wake the chocolate right up.

Substitutions

For a dairy-free chocolate mug cake, swap the whole milk for oat milk, almond milk, or coconut milk, one for one, and use vegetable oil instead of butter. The cake comes out just as soft and chocolatey, and the coconut milk version adds a faint tropical note that pairs beautifully with the chocolate chips. Top it with coconut whipped cream instead of dairy whipped cream, and the whole dessert stays dairy-free.

No egg on hand? You can make this mug cake without the egg, though the texture will be a little denser and more fudge-like, which many people actually prefer. Leave the egg out entirely and add one extra tablespoon of milk, so the batter stays loose and pourable, and microwave for the same 70 to 90 seconds. The cake will not rise quite as tall, but it will be rich, moist, and deeply chocolatey.

Out of vegetable oil? Melted butter works beautifully in the same amount, just let it cool for a minute before you stir it in, so it does not cook the egg on contact. Coconut oil is another good swap, use it melted in the same amount, and it adds a faint coconut flavor that suits the chocolate. Olive oil works too, but choose a light, mild one rather than a peppery extra-virgin, so the oil flavor stays in the background.

Any chocolate chips work here, so use what you have. Milk chocolate chips make a sweeter, creamier cake, dark chocolate chips make it richer, and white chocolate chips turn it into a cookies-and-cream style treat that kids love. A chopped-up chocolate bar works just as well as chips, use the same 2 tablespoons, chopped into small pieces. If you love peanut butter, drop a spoonful into the center of the batter before microwaving, it melts into a gooey peanut butter core.

For a gluten-free mug cake, swap the all-purpose flour for a measure-for-measure gluten-free flour blend, one for one, and keep everything else exactly the same. The cake comes out just as soft, though slightly more delicate, so let it rest the full minute before you dig in. Almond flour also works, use the same 4 tablespoons, but the cake will be denser and more fudge-like, which is delicious in its own right.

Storage and Make-Ahead

A chocolate mug cake is best eaten fresh, warm from the microwave, and that is honestly the whole point of the recipe. The cake is at its peak in the first ten minutes, while the center is still soft and gooey and the chocolate chips are still melted. After that it starts to firm up and dry out as it cools, which is the nature of any microwave cake.

If you do have leftovers, cover the mug tightly with plastic wrap or a small plate and refrigerate it for 1 to 2 days. The cake will be drier when cold, so reheat it in the microwave for 15 to 20 seconds before eating. Do not leave the mug cake sitting out at room temperature for more than 2 hours, and if the day is very hot, keep that to 1 hour. The egg and milk make it a perishable food, so the fridge is the right place for any cake you are not eating right away.

Freezing is not recommended for this mug cake. A frozen and thawed mug cake turns spongy and dry, and the delicate crumb that makes it so good fresh simply does not survive the freezer. If you want a cake ready in advance, pre-measure the dry ingredients into a small jar or bag, so the whole recipe comes together in two minutes whenever the craving hits.

For make-ahead planning, measure the flour, cocoa, sugar, baking powder, and salt into a small jar or zip-top bag the night before, and write the wet ingredients on a little label. In the morning, tip the dry mix into a mug, add the egg, milk, oil, and vanilla, stir in the chips, and microwave. The whole dessert is on the table in five minutes, with almost nothing to measure and nothing to clean up beyond the mug and the spoon.

Serving Ideas

This easy chocolate mug cake is happiest served warm, straight from the mug, with something cold and creamy on top. A spoonful of whipped cream is the classic choice, it melts into the warm cake and turns into a light chocolate sauce as you eat. A scoop of vanilla ice cream is even better, the hot-cold contrast is wonderful, and the ice cream pools into the gooey center.

For a cozy evening treat, serve the mug cake with a glass of cold milk or a cup of hot coffee, and eat it slowly, digging to the bottom of the mug where the gooiest chocolate is hiding. For a birthday, stick a candle in the top, sing, and blow it out, a single-serve cake is the perfect size for one person’s special moment.

For a drinks table, a warm mug cake pairs beautifully with a cold, fruity refresher. The easy peach iced tea is a wonderful contrast, light and golden where the cake is rich and dark, and together they make a five-minute dessert spread. Serve the cake warm and the tea over ice, and you have a complete treat that costs almost nothing and takes almost no time.

Chocolate mug cake served warm in a cream ceramic mug topped with whipped cream and chocolate shavings, with a spoon and a glass of cold milk beside it.

Frequently Asked Questions

Can I make a chocolate mug cake without an egg?

Yes, you can make a chocolate mug cake without an egg. Leave the egg out entirely and add one extra tablespoon of milk, so the batter stays loose and pourable, then microwave for the same 70 to 90 seconds. The egg-free cake will be a little denser and more fudge-like, and it will not rise quite as tall, but it will be rich, moist, and deeply chocolatey.

How long should I microwave a mug cake?

Microwave a chocolate mug cake on full power for 70 to 90 seconds, and start checking at 70 seconds. The cake is done when the top looks set and dry, with no wet, shiny batter left on the surface, and the edges have pulled slightly away from the mug. A lower-wattage microwave may need the full 90 seconds, or up to 100 seconds. Always let the cake rest for 1 minute after microwaving, because the center finishes setting during the rest.

Why did my mug cake turn out rubbery or dry?

A rubbery or dry mug cake is almost always overcooked, or made with too much flour. Every extra ten seconds in the microwave drives more moisture out of the crumb, so check the cake at 70 seconds and add only 10 seconds at a time if it is still wet. Too much flour is the other common cause, so always spoon the flour into the measuring spoon and level it off, never scoop straight from the bag. The cake keeps cooking during its one-minute rest, so one that looks just barely set at 70 seconds will be perfect by the time you eat it.

Can I make a chocolate mug cake ahead of time?

A chocolate mug cake is best made fresh, because it is at its peak in the first ten minutes while the center is still soft and gooey. If you do have leftovers, cover the mug tightly and refrigerate it for 1 to 2 days, then reheat it for 15 to 20 seconds before eating. Do not leave the cake at room temperature for more than 2 hours, and freezing is not recommended, because a frozen and thawed mug cake turns spongy and dry. For the fastest make-ahead option, pre-measure the dry ingredients into a jar, so the cake comes together in two minutes.

Rate this recipe

☆☆☆☆☆

Be the first to rate it!

Leave a Comment