Lattes

Latte recipes, espresso drinks and coffee how-to

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

How to Make Cake in a Coffee Cup (Microwave Mug Cake)

· 5 min read · Latte Recipes

This guide shows you how to bake a single-serving cake in a coffee mug using your microwave. In about 2 minutes, you’ll have a warm, fluffy cake that’s perfect for a quick dessert or a late-night treat. You only need a microwave-safe mug, a few pantry staples, and a fork or whisk.

What You'll Need

  • 1 microwave-safe coffee mug (at least 12 oz / 350 ml capacity)
  • 4 tablespoons all-purpose flour
  • 3 tablespoons granulated sugar
  • 2 tablespoons unsweetened cocoa powder (for chocolate cake) or 1 teaspoon vanilla extract (for vanilla cake)
  • 1/4 teaspoon baking powder
  • Pinch of salt
  • 3 tablespoons milk (any kind works)
  • 2 tablespoons vegetable oil or melted butter
  • 1 large egg yolk (or 2 tablespoons beaten egg)
  • Optional mix-ins: chocolate chips, nuts, sprinkles, fruit
  • Fork or small whisk

Step-by-Step

  1. Prep the mug. Lightly grease the inside of your mug with a little butter or cooking spray. This helps the cake release easily and prevents sticking.
  2. Mix dry ingredients. Add the flour, sugar, cocoa powder (if using), baking powder, and salt directly into the mug. Use your fork to stir them together until well combined.
  3. Add wet ingredients. Pour in the milk, oil (or melted butter), and egg yolk. If making vanilla cake, add the vanilla extract now. Stir thoroughly with the fork, making sure to scrape the bottom and sides of the mug. The batter should be smooth with no dry pockets. If you want mix-ins, fold them in now.
  4. Check the batter consistency. It should be slightly thicker than pancake batter. If it looks too stiff, add 1 teaspoon of milk. If it looks too runny, add 1 teaspoon of flour.
  5. Microwave. Place the mug in the microwave. Cook on high for 60–90 seconds. Start with 60 seconds, then check. The cake is done when it has risen and the top feels firm to the touch (a toothpick inserted should come out clean or with a few moist crumbs). Microwaves vary, so you may need up to 2 minutes.
  6. Let it rest. Carefully remove the mug (it will be hot) and let it sit for 1 minute. The cake will continue to cook slightly as it rests.
  7. Serve. You can eat the cake right out of the mug with a spoon, or turn it out onto a plate. Top with whipped cream, ice cream, or a dusting of powdered sugar if desired.

Common Mistakes

  • Overcooking: The #1 mistake is leaving it in the microwave too long. This makes the cake rubbery or dry. Always start with less time and add more in 10-second increments.
  • Under-mixing: If you don’t stir enough, you’ll get lumps of flour or baking powder, which can taste bitter.
  • Using a mug that’s too small: The cake rises during cooking, so a small mug will overflow. Use at least a 12-ounce mug.
  • Adding too many mix-ins: Too many chips or nuts can weigh down the cake and make it sink in the middle.
  • Not greasing the mug: Even if you eat straight from the mug, greasing helps the cake release if you want to flip it out.

Tips

  • Use a fork, not a spoon: A fork mixes more effectively and breaks up lumps better.
  • Microwave wattage matters: A 1000W microwave will cook faster than a 700W one. Adjust time accordingly.
  • Make it egg-free: Replace the egg yolk with 1 tablespoon of applesauce or 1 tablespoon of Greek yogurt. The cake will be slightly denser but still tasty.
  • Go gluten-free: Swap the all-purpose flour for a 1:1 gluten-free baking flour blend.
  • Add a pinch of cinnamon or nutmeg: This adds depth to vanilla or chocolate cakes.
  • Let it cool a bit: The inside can be very hot even when the outside feels warm. Wait a minute before digging in.

Troubleshooting

  • Cake is dry or rubbery: You likely overcooked it. Try reducing the time by 15–20 seconds next time. You can also add 1 extra tablespoon of milk to the batter.
  • Cake is gooey in the middle: It needs more time. Microwave in 10-second bursts until the center is set. If the top is browning but the middle is raw, reduce power to 70% and cook longer.
  • Cake overflowed the mug: Your mug was too small, or you added too much batter. Use a larger mug and fill it only 2/3 full.
  • Cake tastes like baking powder: You probably added too much or didn’t mix it in fully. Stick to 1/4 teaspoon and mix thoroughly.
  • Cake stuck to the mug: Run a butter knife around the edge to loosen it, then invert onto a plate. Next time, grease more generously.
  • Cake is flat and dense: The baking powder may be expired, or you didn’t add enough. Check the date and measure correctly.

Frequently Asked Questions

Can I use a regular mug from my kitchen?

Yes, as long as it’s microwave-safe. Check for a microwave-safe symbol on the bottom. Avoid mugs with metallic trim.

Can I make this without an egg?

Absolutely. Replace the egg yolk with 1 tablespoon of applesauce, mashed banana, or Greek yogurt. The texture will be slightly different but still delicious.

How do I know when the cake is done?

The top should look set and spring back when lightly touched. A toothpick inserted in the center should come out clean or with a few moist crumbs, not wet batter.

Can I double the recipe?

Yes, but use a larger microwave-safe bowl or two mugs. Increase cooking time by about 30–45 seconds. Watch carefully to avoid overflow.

Can I use self-rising flour?

Yes. Omit the baking powder and salt if using self-rising flour. Use the same amount of flour as listed.

Can I make this in advance?

It’s best fresh. If you must, you can microwave it for 10–15 seconds to reheat, but the texture will be less fluffy.