Food

How to Make a Mug Cake at Home (Easy Recipe)

By Hayride Live · Updated · 5 min read

Mug cakes are single-serving cakes mixed right in a microwave-safe mug and cooked in about a minute, perfect for a quick dessert or late-night treat. The basic method works for chocolate, vanilla, and most flavor variations, but the amounts and cook time change slightly if you use a different mug size or microwave wattage. Start with the classic chocolate version below, then adjust the ratio and timing as needed.

What You Need for a Mug Cake

Use a microwave-safe mug that holds at least 12 ounces (about 1.5 cups / 360 ml) so the batter has room to rise without spilling over. A standard 11-ounce mug works, but fill it only halfway with batter. You also need a fork or small whisk, a measuring spoon set, and a microwave. The ingredients are pantry staples:

  • 4 tablespoons (30 g) all-purpose flour
  • 3 tablespoons (40 g) granulated sugar
  • 2 tablespoons (15 g) unsweetened cocoa powder (for chocolate version)
  • 1/4 teaspoon baking powder
  • Pinch of salt
  • 3 tablespoons (45 ml) milk (any kind)
  • 2 tablespoons (30 ml) vegetable oil or melted butter
  • 1/4 teaspoon vanilla extract
  • 1 tablespoon (15 g) chocolate chips (optional)

For a vanilla mug cake, replace the cocoa powder with an equal amount of flour and add 1/2 teaspoon vanilla extract instead of 1/4 teaspoon.

How to Make the Mug Cake: Step-by-Step

  1. In the mug, stir together the flour, sugar, cocoa powder (if using), baking powder, and salt with a fork until no lumps remain.
  2. Add the milk, oil or melted butter, and vanilla extract. Stir until the batter is smooth and no dry streaks remain, about 20 strokes. Scrape the bottom corners of the mug to make sure everything is mixed.
  3. Fold in the chocolate chips if using. Tap the mug on the counter a few times to release air bubbles.
  4. Microwave on high for 60–90 seconds. Start checking at 60 seconds: the cake should be set on top and spring back lightly when touched, and a toothpick inserted in the center should come out with a few moist crumbs, not wet batter. If it’s still wet, microwave in 10-second bursts until done.
  5. Let the mug cake cool for 2–3 minutes before eating. It will be very hot, especially the center, so give it time to set.

Microwave times vary: a 1000-watt microwave usually takes 60–75 seconds, while a 700-watt microwave may need 90–120 seconds. If your mug is larger or smaller, adjust the time by 10–15 seconds.

Mug Cake Ratios and Sizes That Work

The basic ratio is 1 part flour to 1 part sugar to 1/2 part fat to 1/2 part liquid (by volume). For a single serving, that works out to about 4 tablespoons flour, 4 tablespoons sugar, 2 tablespoons oil, and 2 tablespoons milk. Add 1/4 teaspoon baking powder per 4 tablespoons flour for lift. Here are common variations:

Flavor Add to base batter Cook time (1000W)
Chocolate 2 tbsp cocoa powder (reduce flour to 2 tbsp) 60–75 sec
Vanilla 1/2 tsp vanilla extract 60–75 sec
Peanut butter 1 tbsp peanut butter (reduce oil to 1 tbsp) 70–85 sec
Lemon 1 tsp lemon zest + 1 tbsp lemon juice (reduce milk to 2 tbsp) 60–75 sec

If you use a mug that holds more than 12 ounces, the batter will spread thinner and cook faster; check at 50 seconds. For a smaller mug, increase time by 10–15 seconds.

Why Did My Mug Cake Turn Out Rubbery or Dry?

Three common mistakes cause most mug cake failures. Overmixing develops gluten, which makes the cake tough and rubbery; stir only until the batter is just combined, about 20 strokes. Overcooking is the main cause of dryness; microwave in short bursts and stop as soon as the top is set, even if the center looks slightly moist—it will finish cooking as it rests. Using too much baking powder makes the cake rise then collapse, leaving a dense, bitter center; stick to 1/4 teaspoon per 4 tablespoons of flour.

If your mug cake is still raw in the middle but dry on the edges, your microwave is too powerful or the mug is too wide. Next time, use a taller, narrower mug and reduce the cook time by 10 seconds.

How to Tell When It’s Done and How to Serve It

The top should look set and slightly puffed, and a toothpick inserted in the center should come out with a few moist crumbs, not wet batter. The cake will continue to cook as it cools, so pulling it at the first sign of doneness prevents a dry result. Let it cool for 2–3 minutes, then eat straight from the mug with a spoon. Top with a scoop of vanilla ice cream, a drizzle of caramel sauce, or a dusting of powdered sugar. If you want to add a filling like jam or Nutella, spoon a teaspoon into the center of the batter before microwaving—it will melt and create a gooey pocket.

Mug Cake for Two or a Bigger Mug

To make two servings, double all ingredients and use a large microwave-safe bowl or two separate mugs. Cook in two mugs side by side for the same time as one; if using a single large bowl, increase the time to 2–3 minutes, checking at 90-second intervals. For a gluten-free version, substitute an equal amount of gluten-free all-purpose flour blend; the texture will be slightly more crumbly, and you may need to add an extra tablespoon of milk if the batter seems dry. Remember that raw flour can contain bacteria, so microwave the cake until it reaches an internal temperature of 160°F (71°C) if you’re concerned—or use heat-treated flour for peace of mind.

Storing and Reheating Mug Cakes

Mug cakes are best eaten immediately, but you can store an uneaten one in the refrigerator for up to 2 days. Cover the mug with plastic wrap or transfer the cake to an airtight container. To reheat, microwave on 50% power for 20–30 seconds, or until warm. The texture will be denser after refrigeration, so it’s not ideal for make-ahead, but it’s fine for a quick leftover treat. Never leave a mug cake at room temperature for more than 2 hours, as it contains dairy and eggs.

Mug Cake Without Eggs or Milk

If you’re out of eggs or milk, you can still make a mug cake. Replace the milk with an equal amount of water, non-dairy milk, or yogurt. For an egg-free version, the recipe above already works without egg because it uses baking powder for lift—just make sure your baking powder is fresh. For a vegan version, use plant-based milk and oil instead of butter; the cake will be slightly less rich but still tender. If you add mashed banana (about 2 tablespoons) to replace some of the fat, reduce the oil to 1 tablespoon and increase the cook time by 10 seconds.

Mug Cake for Large Batches and Kids

When making mug cakes with kids, have them measure the dry ingredients into the mug first, then add the wet ingredients and stir. Let them press the chocolate chips into the top before microwaving. Always supervise the microwave and remind them the mug will be hot—use a pot holder to remove it. For a party, set up a mug cake bar with different mix-ins (chocolate chips, sprinkles, crushed cookies, peanut butter) and let each person customize their own. Just remember that each mug cooks individually, so allow about 2 minutes per person.

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