Skip to main content
Zimt

Home baking recipes and cinnamon favourites

How to Make a Cake in a Mug in the Oven

Want a warm, fluffy cake without heating up a whole pan? Baking a single‑serve cake right in a mug using your oven gives you a fast, mess‑free dessert that’s ready in minutes and serves one lucky eater.

What You’ll Need

  • 1 oven‑safe mug (ceramic or glass, no metal)
  • 2 tablespoons all‑purpose flour
  • 1 tablespoon granulated sugar
  • 1 teaspoon baking powder
  • Pinch of salt
  • 2 tablespoons milk (dairy or plant‑based)
  • 1 tablespoon vegetable oil or melted butter
  • 1 large egg (or ¼ cup unsweetened applesauce as a substitute)
  • ½ teaspoon vanilla extract
  • Optional: 1 tablespoon cocoa powder for chocolate, or a handful of chocolate chips, berries, or a sprinkle of cinnamon
  • Small mixing bowl or the mug itself for whisking
  • Measuring spoons
  • Oven preheated to 350 °F (175 °C)
  • Optional: parchment paper or a silicone liner that fits the mug

Step‑By‑Step

  1. Check the mug. Verify that the mug is labeled oven‑safe. Avoid mugs with metallic trim or plastic handles that could melt. If you’re unsure, place the mug on a baking sheet and heat it in the oven for a minute; it should feel warm but not crack.
  2. Preheat the oven. Set the oven to 350 °F (175 °C) and let it reach temperature before the batter goes in. This ensures even rising and prevents a soggy centre.
  3. Combine dry ingredients. In a small bowl, whisk together the flour, sugar, baking powder, and salt. If you’re making a chocolate version, add the cocoa powder now.
  4. Add wet ingredients. Make a well in the centre of the dry mix and pour in the milk, oil, vanilla, and the egg (or applesauce). Stir quickly with a fork or small whisk until the batter is smooth and free of lumps. Over‑mixing isn’t a concern for a mug cake; a few small streaks are fine.
  5. Optional mix‑ins. Fold in chocolate chips, berries, or a pinch of cinnamon for extra flavour. Keep the total volume under the rim of the mug – aim for the batter to fill no more than three‑quarters of the mug’s height.
  6. Prepare the mug for baking. Lightly grease the interior with a little oil or butter, or line it with a small piece of parchment paper cut to fit. This prevents the cake from sticking and makes removal easier.
  7. Transfer the batter. Pour the batter directly into the prepared mug. Smooth the top with a spoon if needed.
  8. Place in the oven. Set the mug on the middle rack of the pre‑heated oven. If you’re using a baking sheet, place the mug on the sheet for stability.
  9. Bake for 12‑18 minutes. Start checking at the 12‑minute mark. The cake is done when the top is firm to the touch, a toothpick inserted into the centre comes out clean or with just a few moist crumbs, and the internal temperature reaches at least 190 °F (88 °C). Oven times can vary based on mug size and material, so keep a close eye on it.
  10. Cool briefly. Remove the mug from the oven using oven mitts. Let it sit for 2‑3 minutes; the cake will continue to set and become easier to eat without burning your mouth.
  11. Serve. Run a thin knife around the edge, then either eat directly from the mug or invert the mug onto a plate for a more elegant presentation. Top with a dollop of whipped cream, a drizzle of chocolate sauce, or a sprinkle of powdered sugar if desired.

Common Mistakes

  • Using a metal mug or one with metal trim. Metal can cause uneven heating and may spark in the oven.
  • Filling the mug too high. The batter expands as it bakes; exceeding three‑quarters of the mug’s height leads to overflow and a messy oven.
  • Skipping the preheat. Putting the batter into a cold oven results in a dense, under‑cooked centre.
  • Over‑mixing the batter. This can develop gluten and make the cake tough. A few streaks are acceptable.
  • Not checking internal temperature. Relying solely on visual cues can leave a gummy centre. A quick probe with a food‑grade thermometer guarantees safety.

Tips

  • For a richer flavour, replace half the milk with buttermilk or add a tablespoon of sour cream.
  • Use room‑temperature eggs; they blend more easily and give a lighter crumb.
  • If you lack a thermometer, rotate the mug halfway through baking to promote even browning.
  • To make a gluten‑free version, substitute the all‑purpose flour with a 1‑to‑1 gluten‑free blend.
  • For a vegan cake, use a flax‑egg (1 tablespoon ground flaxseed mixed with 3 tablespoons water) and replace oil with coconut oil or a neutral vegetable oil.
  • After baking, you can store leftovers in the refrigerator for up to two days. Reheat gently in the microwave for 15‑20 seconds before serving.

Troubleshooting

  • The cake is still liquid in the centre after the recommended time. Increase the oven temperature by 10 °F and add 2‑3 more minutes. Ensure the mug is truly oven‑safe; thin glass can cool too quickly.
  • The top is burnt but the centre is raw. Lower the oven to 325 °F (163 °C) and cover the mug loosely with a small piece of foil to shield the top while the interior finishes cooking.
  • The cake sticks to the mug. Next time, grease the mug more thoroughly or use a parchment liner. Let the cake cool for a minute before attempting removal.
  • The cake is dry. Reduce the baking time by 2‑3 minutes or add an extra tablespoon of milk or oil to the batter. Over‑baking is the most common cause of dryness.
  • The mug cracks during baking. This usually means the mug wasn’t designed for high heat or was subjected to a sudden temperature change. Always bring the mug to room temperature before placing it in the oven.

Frequently Asked Questions

Can I use a microwave‑safe mug?

Microwave‑safe mugs are often not rated for oven use. Some ceramic microwave mugs will survive a brief oven bake, but it’s safest to choose a mug explicitly marked oven‑safe.

Do I need to use an egg?

An egg provides structure and moisture. If you avoid eggs, substitute ¼ cup unsweetened applesauce, mashed banana, or a flax‑egg. The texture will be slightly denser but still enjoyable.

What’s the ideal internal temperature for a finished mug cake?

A fully baked cake should reach at least 190 °F (88 °C). At this temperature the starches are set and the batter is no longer raw.

Can I make a mug cake with gluten‑free flour?

Yes. Use a 1‑to‑1 gluten‑free all‑purpose blend and keep the other ingredients the same. The rise may be slightly less pronounced, so be sure not to over‑fill the mug.

How long can I keep a leftover mug cake?

Store it in an airtight container in the refrigerator for up to two days. Reheat briefly before serving; the cake will stay moist if reheated gently.

Is it safe to eat the batter before baking?

No. Raw batter contains uncooked egg and flour, which can carry bacteria such as Salmonella or E. coli. Always bake the batter to the recommended temperature before eating.

Read next