Food

How to Make a Cake in the Microwave

By Hayride Live · Updated · 5 min read

Yes, you can bake a single-serving cake in the microwave in about 2 minutes. This method works best for a quick dessert or a late-night craving when you don’t want to heat up the oven or make a full batch. It won’t have the same browned crust or tall rise as a conventional cake, but it comes out moist, tender, and ready to eat right from the mug or ramekin.

Before You Start: What You Need and What to Know

Gather a microwave-safe mug or ramekin (about 12 oz / 350 ml capacity), a small bowl for mixing, a fork or whisk, and the ingredients listed below. Most microwave cakes use a ratio of about 4 tablespoons flour to 2 tablespoons sugar to 2 tablespoons liquid and 1 tablespoon oil or melted butter. That makes one generous single serving. You can also use a boxed cake mix: use 1/4 cup (30 g) of dry mix and add 2 tablespoons (30 ml) of water and 1 tablespoon (15 ml) of oil, then microwave.

Microwave wattages vary, so start with the shorter time and add 10-second bursts if needed. The cake is done when the top is set and springs back lightly when touched, and a toothpick inserted in the center comes out clean or with a few moist crumbs.

How Long Do You Microwave a Cake?

Most single-serving microwave cakes take 60 to 90 seconds on high power in a 1000-watt microwave. If your microwave is lower wattage (700–800 watts), it may take 90 seconds to 2 minutes. Higher wattage (1200+ watts) might be done at 45–60 seconds. Always check at the shorter time first, then add 10-second bursts until done.

For a slightly larger cake (double the recipe in a larger mug), increase time to 2–3 minutes, but check at 90 seconds. Overcooking makes it rubbery and dry, so err on the side of undercooking by a few seconds—you can always add more time.

Basic Microwave Mug Cake Recipe

This is a plain vanilla version; you can add chocolate chips, cocoa powder, or fruit after the base is mixed.

Ingredients

  • 4 tablespoons (30 g) all-purpose flour
  • 2 tablespoons (25 g) granulated sugar
  • 1/4 teaspoon baking powder
  • Pinch of salt (about 1/16 teaspoon)
  • 2 tablespoons (30 ml) milk (any kind)
  • 1 tablespoon (15 ml) vegetable oil or melted butter
  • 1/4 teaspoon vanilla extract

Instructions

  1. In the mug or a small bowl, whisk together the flour, sugar, baking powder, and salt until no lumps remain.
  2. Add the milk, oil, and vanilla. Stir with a fork until the batter is smooth and no dry streaks remain. Scrape the sides and bottom.
  3. Microwave on high for 60 seconds. Check the top: it should look set and slightly puffed. If not done, microwave in 10-second bursts until the top springs back when lightly pressed.
  4. Let the cake cool in the mug for 1–2 minutes before eating. It will be very hot inside—steam can burn your mouth.

For a chocolate version, replace 1 tablespoon (8 g) of the flour with 1 tablespoon (8 g) unsweetened cocoa powder and add 1 tablespoon (15 g) chocolate chips if you like. For a coffee version, dissolve 1/4 teaspoon instant coffee in the milk before adding.

How to Tell It Worked (and Fix It If It Didn’t)

The cake is done when it has risen slightly above the rim of the mug, the top is dry to the touch, and a toothpick inserted in the center comes out with only a few moist crumbs. It should pull away from the sides of the mug slightly.

If the cake is still gooey in the center, it needs more time—microwave in 10-second bursts. If it’s rubbery or tough, you overcooked it; next time reduce the total time by 15–20 seconds. If it overflowed, your mug was too small or you added too much batter; use a larger mug next time and fill it no more than halfway.

Symptom Cause Fix
Raw, wet center Not enough time or low wattage Microwave in 10-second bursts until set
Rubbery or tough texture Overcooked Reduce total time by 15–20 seconds next time
Overflowed over the mug Too much batter or mug too small Use a larger mug and fill only halfway
Dry or crumbly Too much flour or too long cooking Check measurement; reduce time

Can You Make a Full-Size Cake in the Microwave?

Yes, but it’s trickier. You can bake a small cake in a microwave-safe round dish (about 8 inches / 20 cm) or a large glass bowl. Use a standard cake recipe that fits the dish, but reduce the baking time dramatically: a 9-inch round cake might take 5–8 minutes on high, but you must check at 3-minute intervals. The texture will be denser and more like a steamed pudding than a baked cake, and the top won’t brown. It’s best to stick to single servings for reliable results.

If you want a full cake, consider making a mug cake for each person instead—it’s faster and more consistent.

What to Do With Leftover Microwave Cake

Microwave cakes are best eaten fresh, but you can store leftovers. If you have extra cake in the mug, cover it with plastic wrap or a lid and refrigerate within 2 hours. It will keep for 1–2 days. To reheat, microwave on medium (50% power) for 15–20 seconds until just warm—don’t overdo it or it will dry out.

You can also freeze a mug cake: wrap it tightly in plastic wrap and freeze for up to 1 month. Thaw in the fridge overnight, then reheat in the microwave on medium for 20–30 seconds.

Safety Notes for Microwave Baking

Use only microwave-safe mugs or ramekins—no metal rims or metallic glaze. The mug will be hot after microwaving; use a potholder or towel to remove it. Let the cake cool for at least 1 minute before eating because the interior can be much hotter than the surface. If you added chocolate chips, they can be molten and cause burns.

If you’re making a mug cake with raw flour, note that flour can carry bacteria; the cake is cooked through, so it’s safe. If you choose to eat the batter raw (not recommended), heat-treat the flour first by microwaving it for 30 seconds or baking it at 160°F (71°C) for 5 minutes, and use pasteurised eggs if the recipe calls for them.

Can You Use Egg Replacer or Other Substitutions?

Yes, many mug cakes are eggless, as this recipe is. If you want to add an egg for extra richness, use 1 large egg and reduce the milk to 1 tablespoon (15 ml). Microwave time may increase by 10–15 seconds. You can also use applesauce (2 tablespoons / 30 g) instead of oil, but the cake will be slightly denser. For a gluten-free version, use a 1-to-1 gluten-free flour blend; you may need to add 1 extra tablespoon of milk if the batter seems thick.

If you’re using a boxed cake mix, follow the package directions for a mug cake if provided, or use the ratio above. Check the label for any allergen warnings.

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