Mug Cake in the Air Fryer

An air fryer mug cake gives you a single-serve chocolate cake in about 12 minutes, with a soft, fluffy crumb that the microwave often misses. The batter is mixed right in the mug and needs no egg, and the air fryer bakes it gently from all sides. You get the exact temperature, a vanilla option and fixes for a rubbery or undercooked center.

Jump to recipe
Chocolate mug cake in a white ceramic mug with chocolate chips and a spoon
Temperature
330°F170 °C
Total time
20min
Prep time
5min
Servings
1
Per serving
610kcal

Why the air fryer works for mug cake

Mug cakes were invented for the microwave, which heats the water inside the batter and often leaves the crumb dense, rubbery or hot at the edges and cold in the center. The air fryer works differently. Hot air heats the outside of the mug, the ceramic passes the heat inward, and the batter bakes gradually, so the cake rises like a small muffin rather than steaming.

It takes longer than the microwave, about 12 minutes compared with 90 seconds, but the texture is clearly better, with a lighter crumb and a slightly set top. Use an oven-safe mug without metallic paint and keep the batter at half the mug's height. Because the batter sits in a container, this is one of the few wet mixtures that works in an air fryer.

How to make a mug cake in the air fryer

Tap a time to start a timer.

  1. Mix the dry ingredients In a 12-oz oven-safe ceramic mug, stir the flour, sugar, cocoa powder, baking powder and salt with a fork. Break up any lumps in the cocoa.
  2. Add the wet ingredients Pour in the milk, oil and vanilla and stir well, scraping the bottom and corners of the mug, until no dry flour remains. The batter should be thick but pourable.
  3. Add the chocolate Stir in half of the chocolate chips and sprinkle the rest on top. The mug should be no more than half full, because the cake rises.
  4. Preheat and load Preheat the air fryer to 330 °F for . Set the mug in the basket. Do not preheat with an empty mug inside.
  5. Bake Cook for . A toothpick pushed into the center should come out with a few moist crumbs. If the middle is still wet, cook for 2 more minutes.
  6. Cool and serve Use oven mitts to remove the hot mug. Let the cake rest for , then eat it from the mug with a spoon.

Times and temperatures

Mug CakeTemperatureTime
Chocolate, 12-oz mug330 °F (170 °C)12 min
Vanilla (swap cocoa for flour)330 °F (170 °C)11–12 min
Wide ramekin330 °F (170 °C)10–11 min
Cake mix version330 °F (170 °C)10–12 min

Times are a guide and depend on the size and wattage of your air fryer. See also air fryer cooking times for all foods.

Tips

  • Check the mug. Use a plain ceramic or stoneware mug that is labeled oven-safe. Thin or decorated mugs can crack under steady heat.
  • Do not overmix. Stir only until the flour disappears, since extra stirring makes a tough cake.
  • Measure carefully. A tablespoon too much flour or too little milk is the difference between a fluffy cake and a dry one.

What to serve with mug cake

Top the warm cake with a scoop of vanilla ice cream, whipped cream or fresh raspberries. A spoonful of peanut butter or hazelnut spread melts into the middle, and a pinch of flaky salt on top balances the sweetness. For a larger group, bake several mugs in turn, or try a full-size chocolate cake or a batch of cupcakes. See the dessert recipes for more.

Storing and reheating

Mug cake is best eaten warm, within an hour of baking. If you want to save it, cover the mug with plastic wrap once cooled and keep it in the refrigerator for up to 2 days. Warm a refrigerated cake in the air fryer at 300 °F for 3 minutes, or in the microwave for 15 seconds. You can also mix the dry ingredients ahead in a jar and add the wet ingredients when you want a cake.

Variations

  • Vanilla: Leave out the cocoa and use 6 tbsp flour. Add 1 tbsp rainbow sprinkles for a birthday version.
  • Nutella-style filling: Drop 1 tsp chocolate hazelnut spread into the center of the batter before baking.
  • Peanut butter: Replace the oil with 2 tbsp creamy peanut butter and stir it with the milk before adding the flour.
  • Dairy-free: Use almond or oat milk and dairy-free chocolate chips (still vegetarian).

If it does not turn out right

The cake is dry or rubbery
It cooked too long or the flour was packed. Spoon the flour into the measure and level it, and take the mug out at 11 minutes if your air fryer runs hot.
The center is raw
The mug is too tall and narrow. Use a wide, short mug or ramekin, and lower the temperature to 320 °F with 14 minutes of baking time.
The cake overflows
Fill the mug no more than halfway. A 12-oz mug is the right size, and a smaller one needs a smaller batch.

Questions and answers

How long does a mug cake take in the air fryer?

About 12 minutes at 330 °F for a 12-oz mug. A wider ramekin takes 10 to 11 minutes. Check with a toothpick, since mug shape matters more than the recipe.

What temperature should I use for a mug cake in the air fryer?

330 °F is a good setting. Hotter temperatures set the top before the middle cooks. If you use 350 °F, check at 9 minutes.

Can I make a mug cake in the air fryer with no egg?

Yes, this recipe has no egg. The oil, milk and baking powder give a tender crumb. Use plant milk to make it dairy-free if your chocolate chips are dairy-free.

Can I use a mug cake mix or cake mix?

Yes. Mix 3 tbsp dry cake mix with 2 tbsp water and bake at 330 °F for 10 to 12 minutes.

What did you think of this recipe?

Be the first to rate this recipe.