Zimt

How to Bake a Cake in a Ninja Air Fryer

· 6 min read · Cakes

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

Yes, you can absolutely bake a moist, evenly cooked cake in a Ninja Air Fryer. The rapid hot air circulation mimics a convection oven, and the compact basket size actually helps some cakes bake more evenly and quickly than in a full-size oven. You don't need any special accessories beyond a pan that fits inside your air fryer basket. This guide walks you through the entire process—from choosing the right pan to troubleshooting a sunken center—so you get a perfect cake every time.

What You'll Need

  • Ninja Air Fryer (any model with a basket or oven-style door)
  • Round cake pan (6-inch or 7-inch) that fits inside your air fryer basket with at least 1 inch of clearance on all sides for air flow. If you have a larger model, an 8-inch pan may work.
  • Parchment paper (optional but recommended for easy release)
  • Cooking spray or butter for greasing
  • Your favorite cake batter (boxed mix or from scratch—about 2 cups of batter works best)
  • Oven mitts or tongs to remove the hot pan
  • Toothpick or cake tester
  • Cooling rack

Step-by-Step

  1. Prepare your cake batter according to your recipe or box instructions. If using a boxed mix, follow the package directions exactly. For a scratch recipe, use one that yields about 4–6 cups of batter—you'll only need half of it for a 6-inch pan.
  2. Grease your cake pan thoroughly with butter or cooking spray. For extra insurance, cut a circle of parchment paper to fit the bottom of the pan and place it inside. Grease the parchment too.
  3. Pour the batter into the prepared pan. Fill it no more than 2/3 full—air fryer cakes rise quickly, and overflow is a common issue. If you have extra batter, bake it in a second batch or make a few cupcakes in silicone molds.
  4. Preheat your Ninja Air Fryer to 320°F (160°C). Most Ninja models have a preheat function; if yours doesn't, simply run it empty at the target temperature for 3–5 minutes.
  5. Place the pan in the air fryer basket. If your basket has a rack, you can place the pan directly on it. If not, set the pan in the basket. Make sure the pan doesn't touch the heating element or the sides of the basket.
  6. Bake at 320°F (160°C) for 25–35 minutes. Start checking at the 25-minute mark. The exact time depends on your model and the pan size. Do not open the basket during the first 15 minutes—this can cause the cake to sink.
  7. Test for doneness by inserting a toothpick into the center. If it comes out clean or with just a few moist crumbs, the cake is done. If there's wet batter, continue baking in 3-minute increments.
  8. Remove the pan carefully using oven mitts—the pan and the air fryer basket will be very hot. Set the pan on a cooling rack.
  9. Let the cake cool in the pan for 10 minutes. Then run a knife around the edges to loosen it, invert onto the cooling rack, and peel off the parchment paper if used.
  10. Allow the cake to cool completely before frosting. If you frost a warm cake, the frosting will melt and slide off.

Common Mistakes

  • Overfilling the pan—batter overflows and makes a mess. Use a pan that's at least 2 inches deep and fill only 2/3 full.
  • Opening the basket too early—this lets out heat and causes the cake to sink in the middle.
  • Using a pan that's too large—if the pan touches the sides of the basket, the cake will burn on the edges and stay raw in the center.
  • Baking at too high a temperature—air fryers run hotter than conventional ovens. Stick to 320°F (160°C) or lower, never above 350°F (175°C).
  • Not greasing the pan well—the cake will stick and break apart when you try to remove it.
  • Using a dark non-stick pan—dark pans absorb more heat and can cause the bottom to burn. If that's all you have, reduce the temperature to 300°F (150°C) and check earlier.

Tips

  • Use a 6-inch or 7-inch pan for most Ninja Air Fryer baskets. A 6-inch pan is the sweet spot for even baking.
  • Lower the temperature by 25–50°F compared to your recipe's oven temperature. Air fryers circulate hot air rapidly, which can brown the outside too quickly.
  • Check early and often—every air fryer is slightly different. Start checking at 20 minutes for a 6-inch cake.
  • Rotate the pan halfway if your air fryer has hot spots. Some models bake faster on one side; turning the pan ensures even browning.
  • Use a silicone cake pan if you have one—it conducts heat gently and releases the cake easily.
  • Let the cake rest for 5 minutes after baking before removing from the pan. This allows the structure to set.
  • Make a test batch with a boxed mix to learn your air fryer's quirks before attempting a scratch recipe.

Troubleshooting

  • Cake is burnt on the outside but raw inside: The temperature is too high or the pan is too close to the heating element. Reduce heat to 300°F (150°C) and bake longer. Also, ensure the pan is not touching the sides or top of the basket.
  • Cake sinks in the middle: This usually happens from opening the basket too early, or the batter was underbaked. For a sunken cake, you can still eat it—just fill the dip with frosting or fruit. Next time, don't open the basket until the 20-minute mark and test with a toothpick.
  • Cake sticks to the pan: Let it cool longer (15–20 minutes) before removing. If it still sticks, run a thin knife around the edges and gently pry it out. For next time, use parchment paper and grease generously.
  • Cake is dry: Overbaking is the usual culprit. Reduce baking time by 3–5 minutes next time and test earlier. You can also add a tablespoon of sour cream or yogurt to the batter for extra moisture.
  • Top is too brown: Cover the cake loosely with a piece of aluminum foil after the first 15 minutes of baking. This shields the top from direct heat while the center finishes cooking.
  • Cake batter overflowed: You filled the pan too full. Clean up the mess, and next time use a larger pan or less batter. Remember, air fryer cakes rise more than oven cakes.

Frequently Asked Questions

Can I use a boxed cake mix in the air fryer?

Yes, absolutely. Prepare the mix according to the box, then follow the same instructions—bake at 320°F for 25–35 minutes. The cake will be just as good as oven-baked.

What size cake pan fits in a Ninja Air Fryer?

Most Ninja Air Fryer baskets are 5–6 quarts, which fits a 6-inch or 7-inch round pan. Check your model's manual for the maximum pan size. A 6-inch pan is the safest bet for even baking.

Do I need to preheat the air fryer for cake?

Yes, preheating helps the cake rise properly. If your Ninja doesn't have a preheat button, run it empty at the baking temperature for 3–5 minutes before placing the batter inside.

Can I bake cupcakes in the air fryer?

Yes, use silicone cupcake molds or small ramekins. Fill them 2/3 full and bake at 320°F for 12–15 minutes. Check with a toothpick at 12 minutes.

Why is my cake not rising in the air fryer?

Possible reasons: the batter is too old, the baking powder is expired, or you opened the basket too soon. Also, ensure the air fryer is preheated and the pan isn't too large, which can restrict air flow.

How do I store an air fryer cake?

Once completely cool, store in an airtight container at room temperature for up to 3 days. For longer storage, wrap tightly and refrigerate for up to a week, or freeze for up to 3 months.