Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Air Fryer Chocolate Cupcakes: Easy Step-by-Step

You can bake moist, fluffy chocolate cupcakes in an air fryer, and they come out faster than in a conventional oven. The hot circulating air cooks small batches evenly, giving you a slightly crisp edge with a tender crumb. This guide covers the full process from batter to frosting, with specific times, temperatures, and fixes for common air fryer baking issues. Before you start, know that air fryer models vary in wattage and basket size, so you may need to adjust baking time by a minute or two on your first try. Also, you will need silicone cupcake liners or a small metal pan that fits inside your basket—paper liners alone can blow around in the fan.

What You'll Need

  • Air fryer (any size that fits a 6-cup muffin pan or 4–5 silicone liners)
  • Silicone cupcake liners or a small metal muffin pan (6-cup or 4-cup that fits your basket)
  • Mixing bowls (medium and large)
  • Whisk or electric mixer
  • Measuring cups and spoons
  • Rubber spatula
  • Toothpick for testing doneness
  • Cooling rack (optional but helpful)
  • For the cupcakes: all-purpose flour, granulated sugar, unsweetened cocoa powder, baking powder, baking soda, salt, egg, milk (or buttermilk), vegetable oil, vanilla extract, hot water or hot coffee
  • For frosting (optional): butter, powdered sugar, cocoa powder, milk, vanilla extract

Step-by-Step

  1. Prep your air fryer and liners. If your air fryer has a removable basket, take it out. Place silicone liners on a flat surface or inside a small metal muffin pan that fits. Do not use paper liners alone—they can fly up and touch the heating element. If using a metal pan, lightly grease the cups or use paper liners inside the pan (the pan holds them down).
  2. Preheat the air fryer to 320°F (160°C). Most air fryers heat up in 3–5 minutes. Preheating ensures even baking from the start. If your model doesn't have a preheat setting, just run it empty at temperature for 3 minutes.
  3. Make the cupcake batter. In a large bowl, whisk together 1 cup (125g) all-purpose flour, 1 cup (200g) granulated sugar, 1/3 cup (30g) unsweetened cocoa powder, 1 teaspoon baking powder, 1/2 teaspoon baking soda, and 1/2 teaspoon salt. In a separate bowl or measuring cup, mix 1 large egg, 1/2 cup (120ml) milk (or buttermilk), 1/4 cup (60ml) vegetable oil, and 2 teaspoons vanilla extract. Pour the wet ingredients into the dry and stir until just combined. Add 1/2 cup (120ml) hot water or hot coffee and stir until smooth. The batter will be thin—that's correct.
  4. Fill the liners. Spoon or pour the batter into the liners, filling each about 2/3 full. Do not overfill—they will rise and may touch the air fryer's heating element. Use a small cookie scoop for even portions.
  5. Place in the air fryer basket. Set the filled liners or pan in the basket, leaving space between each cupcake for air circulation. Do not stack or overcrowd. If your basket is small, bake in batches.
  6. Bake at 320°F (160°C) for 10–12 minutes. Start checking at 10 minutes. Insert a toothpick into the center of a cupcake—if it comes out clean or with just a few moist crumbs, they're done. If not, continue baking in 1-minute increments. Air fryers cook faster than ovens, so watch closely.
  7. Cool immediately. Remove the cupcakes from the air fryer using tongs or an oven mitt. Let them cool in the liners for 5 minutes, then transfer to a cooling rack. They must cool completely before frosting, or the frosting will melt.
  8. Make the frosting (optional). While cupcakes cool, beat 1/2 cup (115g) softened butter until creamy. Add 1 cup (120g) powdered sugar, 1/4 cup (30g) cocoa powder, 2 tablespoons milk, and 1 teaspoon vanilla. Beat until fluffy, adding more milk if needed. Frost the cooled cupcakes.

Common Mistakes

  • Overfilling the liners. Batter that rises above the liner's rim can touch the heating element and burn. Always fill to 2/3 full.
  • Using paper liners without a pan. The air fryer's fan will blow them around, causing batter to spill and uneven baking. Use silicone liners or a metal pan.
  • Baking at too high a temperature. Air fryers run hot; 350°F (175°C) may brown the outside before the inside cooks. Stick to 320°F (160°C) for even results.
  • Opening the basket too often. Every peek lets heat escape and extends baking time. Use the air fryer's light or check only after the minimum time.
  • Skipping the preheat. Starting with a cold air fryer can lead to undercooked centers. Always preheat for consistent results.

Tips

  • Use room-temperature ingredients. Cold eggs and milk can make the batter lumpy and affect rising. Let them sit out for 30 minutes before mixing.
  • Measure flour correctly. Spoon flour into your measuring cup and level it off—scooping packs it down and makes dry, dense cupcakes.
  • Add hot coffee for deeper chocolate flavor. The coffee enhances cocoa without tasting like coffee. If you prefer, use hot water.
  • Rotate the basket halfway. If your air fryer has hot spots, rotate the pan or liners at the 5-minute mark for even browning.
  • Test with a toothpick. The top may look slightly moist even when done; the toothpick test is the most reliable.
  • Let them cool completely. Frosting on warm cupcakes will slide off. Speed up cooling by placing them in the fridge for 10 minutes.

Troubleshooting

  • Burnt tops but raw centers. Your air fryer runs hot or the cupcakes are too close to the top. Lower the temperature to 300°F (150°C) and bake longer, or place a small heat-safe rack under the pan to lower it.
  • Cupcakes are dry. Overbaking is the usual culprit. Check at 8 minutes next time, and remove as soon as a toothpick comes out clean. Also ensure you measured the oil correctly—too little fat dries them out.
  • Cupcakes are flat and dense. Your baking powder or baking soda may be old. Test by adding a teaspoon to hot water—if it doesn't fizz vigorously, replace them. Also, don't overmix the batter; stir until just combined.
  • Liners stick to the cupcakes. Silicone liners can be greased lightly with oil or cooking spray before filling. For paper liners, ensure the cupcakes are fully cooled before peeling.
  • Cupcakes are lopsided. Uneven batter distribution or a tilted pan causes this. Fill each liner evenly and place the pan level in the basket.
  • Batter bubbles over the liner. Too much batter or too high a temperature. Reduce the fill to half full and lower the temperature by 10°F (5°C).

Frequently Asked Questions

Can I use a regular muffin pan in the air fryer?

Yes, as long as it fits in your basket. A 6-cup metal pan often fits in larger air fryers. If it's too big, use silicone liners individually.

How long do air fryer cupcakes last?

Store unfrosted cupcakes in an airtight container at room temperature for up to 3 days, or in the fridge for up to a week. Frosted ones last 2–3 days at room temperature.

Can I freeze air fryer cupcakes?

Yes, freeze unfrosted cupcakes in a sealed container for up to 3 months. Thaw at room temperature for 1–2 hours before serving.

Why are my cupcakes sticking to the silicone liners?

Silicone liners can be sticky if not greased. Lightly coat them with oil or cooking spray before filling. Also, let the cupcakes cool completely before removing.

Can I make the batter ahead of time?

You can mix the dry ingredients ahead, but once wet ingredients are added, bake immediately. The leavening starts working right away, and delayed baking can make flat cupcakes.

Do I need to flip the cupcakes halfway?

No, flipping would ruin the shape. Just rotate the pan or liners if your air fryer has uneven heat, but don't turn the cupcakes over.

Read next