Mom's Best Recipes
Recipe

Chocolate Cake in a Mug

A warm, fudgy chocolate mug cake you can stir up with pantry basics and microwave in minutes.

Author By Matt Campbell
4.8
A warm chocolate mug cake in a ceramic mug on a kitchen counter with a spoon beside it, slightly glossy fudgy top and a few chocolate chips melted on the surface

Some nights you want dessert, but you do not want to commit to preheating an oven, washing three bowls, and pretending you will totally freeze the leftovers responsibly. Enter: cake in a mug. It is cozy, fast, and just chaotic enough to feel like a little kitchen magic trick.

This version is my go-to chocolate mug cake situation: rich cocoa flavor, a soft crumb, and a center that can skew gooey if you pull it at the right moment. We are using everyday ingredients, stirring right in the mug, and leaning on a couple tiny techniques that keep it from turning dry or rubbery.

A ceramic mug surrounded by small bowls of flour, cocoa powder, sugar, baking powder, milk, and chocolate chips on a bright kitchen counter

Why It Works

  • Built for speed: Stir, microwave, eat. The whole thing is done before your show intro finishes.
  • Fudgy by design: A little extra fat and the right cook time keeps it moist instead of spongy.
  • No mystery texture: Mixing dry ingredients first and using carefully measured baking powder helps it rise without tasting metallic.
  • Flexible: Make it dairy-free, add peanut butter, swap in chocolate chips, or top with ice cream like you mean it.

Pairs Well With

Storage Tips

Real talk: mug cake is best eaten warm, right after cooking. That said, if you have leftovers (or you made two and got ambitious), here is how to handle it.

  • Room temperature: If your kitchen is cool, cover the mug tightly and keep it for up to 1 day. If your kitchen runs warm, play it safe and refrigerate leftovers.
  • Refrigerator: Cover and refrigerate up to 2 days. The cake will get denser, but still tasty.
  • Reheat: Microwave in 10 to 15 second bursts until just warm. Add a small splash of milk over the top if it seems dry.
  • Freezing: Not my favorite for texture, but you can freeze the cooked cake (wrapped well) up to 1 month. Thaw in the fridge, then warm gently.

Common Questions

Why did my mug cake turn out rubbery?

Usually it is one of two things: overmixing or overcooking. Stir just until the flour disappears, and microwave only until the top looks set but the center still looks slightly soft. Microwaves vary a lot, so start lower and add time in short bursts.

What size mug should I use?

Use a 12 to 16 ounce microwave-safe mug. Smaller mugs can overflow, and wide mugs tend to cook more evenly than tall, narrow ones.

Can I make this without eggs?

Yes. This recipe is egg-free on purpose. Eggs can make mug cakes turn spongy faster if the cook time runs long, and egg-free versions tend to be a little more forgiving.

Can I bake it instead of microwaving?

You can, but it is less “mug cake” and more “tiny cake.” Bake in an oven-safe 6 to 8 ounce ramekin at 350°F for about 12 to 16 minutes, until the center looks set and a toothpick comes out with moist crumbs (not wet batter).

How do I make it gooier?

Two easy moves: add 1 tablespoon chocolate chips or a square of chocolate in the center, and cook on the shorter end of the time range. Let it rest 1 minute so the heat finishes the middle gently.

Can I make it dairy-free?

Yep. Use unsweetened almond milk or oat milk and swap butter for neutral oil or melted coconut oil.

I wanted to study culinary arts, but I ended up chasing the practical side of cooking instead. Weeknight food that actually happens. Mug cake is exactly that energy. It is the dessert you make when you are tired, the kitchen is already “closed,” and you still want something warm and chocolatey that feels like you did a nice thing for yourself. Also, it is the kind of recipe that forgives a little chaos as long as you taste, watch the cook time, and do not treat the microwave like it is a convection oven.

A person’s hands stirring chocolate mug cake batter with a fork inside a ceramic mug on a clean kitchen counter