Food

How to Make a Lava Cake in a Mug

By Hayride Live · Updated · 5 min read

For a single-serving chocolate lava cake in a mug, the fastest method is to mix the batter right in the mug, microwave it for about 60–90 seconds, and let it rest for 1 minute before eating. The key is to undercook the center slightly so it stays molten, but if your microwave runs hot or your mug is wider, you may need to adjust the time. This recipe works in a standard 12-ounce (350 ml) mug and takes about 10 minutes total.

Before You Start: What You Need

Check that you have a microwave-safe mug (not metal-trimmed) that holds at least 12 ounces (350 ml). You’ll also need a fork or small whisk, a measuring spoon set, and a microwave. If your mug is smaller, the batter may overflow—use a larger mug or reduce the recipe by a third.

  • 12-ounce (350 ml) microwave-safe mug
  • Fork or small whisk
  • Measuring spoons (1 tbsp, 1/2 tsp, 1/4 tsp)
  • Microwave (any wattage, but times vary)

The 5-Minute Mug Lava Cake Method

  1. In the mug, add 4 tablespoons (30 g) all-purpose flour, 2 tablespoons (25 g) granulated sugar, 2 tablespoons (15 g) unsweetened cocoa powder, 1/4 teaspoon baking powder, and a pinch of salt. Stir with a fork until no dry lumps remain.
  2. Add 3 tablespoons (45 ml) milk (any kind), 2 tablespoons (30 ml) vegetable oil or melted butter, and 1/2 teaspoon vanilla extract. Stir until the batter is smooth and no streaks of flour remain.
  3. Place 1 square (about 15 g) of dark chocolate (60–70% cacao) in the center of the batter, pushing it down slightly so it’s covered. If you don’t have a chocolate square, use 1 tablespoon of chocolate chips.
  4. Microwave on high for 60 seconds. Check the cake: the edges should look set and slightly puffed, but the center should still look wet and shiny. If the center is still very liquidy, microwave in 10-second bursts until the edges are set but the center jiggles slightly when you gently shake the mug.
  5. Let the mug sit in the microwave for 1 minute. This rest is crucial—the residual heat finishes cooking the center without turning it into a solid cake.
  6. Carefully remove the mug (it will be hot) and eat immediately with a spoon. The center should flow out like warm chocolate sauce.

How to Tell It Worked

The cake is done when the outer edges are firm and pull slightly away from the mug, but the center still looks molten and moves a little when you tilt the mug. If you insert a toothpick into the center, it should come out with wet batter clinging to it—not clean. If the toothpick comes out clean, the cake is overdone and the center will be more like a brownie, which is still good but not lava.

The One Failure: Overcooking

The most common mistake is microwaving too long. A 1000-watt microwave will usually cook this in 60–75 seconds, but a 700-watt microwave may need 90 seconds. If your mug is wider and shallower, the batter spreads out and cooks faster—start checking at 45 seconds. If the cake puffs up high and looks dry, you’ve gone too far. To fix an overcooked cake, you can’t undo it, but you can drizzle it with warm chocolate sauce or a scoop of ice cream to add moisture.

Worked Example: The Exact Mug Recipe

Here’s the complete recipe with measurements, written as a single serving. It yields one mug cake that serves one person.

  • 4 tbsp (30 g) all-purpose flour
  • 2 tbsp (25 g) granulated sugar
  • 2 tbsp (15 g) unsweetened cocoa powder
  • 1/4 tsp baking powder
  • Pinch of salt
  • 3 tbsp (45 ml) milk
  • 2 tbsp (30 ml) vegetable oil or melted butter
  • 1/2 tsp vanilla extract
  • 1 square (15 g) dark chocolate or 1 tbsp chocolate chips

Mix the dry ingredients first, then add the wet. Stir until smooth, push the chocolate into the center, and microwave as directed above. This recipe is for one mug; if you want two, double the ingredients and use two separate mugs (don’t try to cook two in one mug—it won’t cook evenly).

Why the Resting Time Matters

The 1-minute rest after microwaving is not optional. During microwaving, the outside cooks faster than the inside because the waves penetrate from the outside in. The rest allows the heat to travel to the center, setting the batter around the chocolate while keeping the chocolate itself molten. If you skip the rest, the center may be too runny and the cake may collapse. If you rest too long (more than 2 minutes), the center will continue cooking and may solidify.

What If I Don’t Have Dark Chocolate?

You can use milk chocolate, semi-sweet chips, or even a spoonful of chocolate-hazelnut spread. Milk chocolate will make a sweeter, softer lava; semi-sweet chips are closer to the dark chocolate result. If using chocolate-hazelnut spread, reduce the sugar in the batter to 1 tablespoon (12 g) because the spread is already sweet. Avoid white chocolate—it doesn’t melt into a thick lava as well and may burn.

Can I Make It in the Oven Instead?

Yes, if you prefer a more traditional cake texture. Preheat your oven to 375°F (190°C). Pour the batter into a buttered 6-ounce (180 ml) ramekin, place the chocolate in the center, and bake for 12–14 minutes, until the edges are set but the center still jiggles. Let it rest for 2 minutes before inverting onto a plate. Note that the microwave version is faster, but the oven version gives a firmer outer cake.

Storing and Reheating a Mug Lava Cake

This cake is best eaten immediately—within 5 minutes of microwaving. If you have leftovers (unlikely), you can refrigerate the mug cake for up to 2 days, but the center will set and it won’t be lava anymore. To reheat, microwave on 50% power for 20–30 seconds, just until warm. Do not reheat at full power, or the cake will toughen. For food safety, don’t leave the cake out for more than 2 hours; refrigerate promptly if you’re not eating it right away.

Quick Answers to Common Mug Cake Questions

Can I use a different flour?

You can substitute whole wheat flour, but the cake will be denser and slightly nuttier. Gluten-free all-purpose flour works too, but add an extra tablespoon of milk to keep the batter moist.

Why did my cake overflow?

Your mug was too small, or you microwaved too long. Use a 12-ounce (350 ml) mug and stop as soon as the edges are set. If your mug is smaller, reduce the batter by a third.

Can I add an egg?

Yes, but it changes the texture to more like a traditional cake. Add 1 small egg (about 1.5 tablespoons beaten) and reduce the milk to 2 tablespoons. You’ll need to microwave for 75–90 seconds, and the center may not be as molten. For food safety, ensure the egg is fully cooked to 160°F (71°C) if you’re concerned about raw egg—since the center is intentionally undercooked, it’s safer to skip the egg in the microwave version.

Microwave Wattage and Timing Guide

Microwave power varies widely. Here’s a rough guide based on wattage:

  • 700 watts: 90 seconds, then rest 1 minute
  • 1000 watts: 60–75 seconds, then rest 1 minute
  • 1200 watts: 50–60 seconds, then rest 1 minute

Always start with the shorter time and check. You can always add 10 seconds, but you can’t uncook it.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.