Skip to main content
Zimt

Home baking recipes and cinnamon favourites

How to Bake Carrot Cake in Air Fryer

Learning how to bake carrot cake in an air fryer offers a delicious way to enjoy this classic dessert with a moist, tender crumb and a crispy, caramelized top without heating up the whole kitchen. This method is ideal for smaller batches, single servings, or when you want a quick fix for a sweet tooth. Before you begin, ensure you have the right tools and measurements, as the unique airflow dynamics of an air fryer require slight adjustments compared to conventional ovens. This guide will walk you through creating a perfectly spiced carrot cake that is safely cooked through and ready to enjoy.

What You'll Need

  • 2 large eggs (room temperature is best for fluffiness)
  • 1 cup granulated sugar (or a mix of sugar and a natural sweetener like maple syrup)
  • ½ cup vegetable oil (or melted coconut oil for a dairy-free option)
  • 1 teaspoon vanilla extract
  • 1 ½ cups all-purpose flour
  • 1 teaspoon baking powder
  • ½ teaspoon baking soda
  • ½ teaspoon salt
  • 1 teaspoon ground cinnamon
  • ¼ teaspoon ground nutmeg
  • 1 cup shredded carrots (freshly grated, about 2 to 3 medium carrots)
  • ½ cup raisins or chopped walnuts (optional)
  • Non-stick cooking spray or a small amount of oil for the pan
  • A 6-inch round cake pan or loaf pan (non-stick recommended)

Step-by-Step

  1. Preheat and Prep the Air Fryer Basket: Set your air fryer to 320°F (160°C) and let it preheat for about 5 minutes. While it heats up, prepare your pan. Lightly grease a 6-inch round cake pan or a small loaf pan with non-stick spray or a thin layer of oil. If the pan is not non-stick, line the bottom with parchment paper for easy removal.
  2. Grate the Carrots: Wash and peel the carrots. Use the coarse side of a box grater to shred them. You want the pieces to be uniform, about the size of rice grains, to ensure even cooking and a pleasant texture. If you prefer, you can pulse them in a food processor, but be careful not to turn them into mush.
  3. Whisk the Wet Ingredients: In a medium bowl, crack the eggs and whisk them vigorously with a fork or an electric hand mixer. Add the sugar, vegetable oil, and vanilla extract. Continue whisking until the mixture is smooth and slightly thickened, about 1 to 2 minutes. This step incorporates air into the batter, which is crucial for a light cake.
  4. Mix the Dry Ingredients: In a separate large bowl, sift together the flour, baking powder, baking soda, salt, cinnamon, and nutmeg. Whisk these dry ingredients together well to ensure the leavening agents and spices are evenly distributed throughout the flour.
  5. Combine the Mixtures: Pour the wet ingredients into the dry ingredients. Using a spatula or wooden spoon, gently fold the two together. Do not overmix; stop as soon as there are no visible streaks of dry flour. Overmixing develops gluten, which can make the cake tough. Once mixed, gently fold in the shredded carrots and any optional add-ins like raisins or nuts.
  6. Transfer to the Pan: Scrape the batter into your prepared cake pan. Use a spatula to spread it into an even layer. The batter will be thick, which is normal for carrot cake. Gently tap the pan on the counter a few times to release any large air bubbles.
  7. Cook the Cake: Carefully place the pan into the air fryer basket. The pan should fit snugly but not block the airflow completely. Cook at 320°F (160°C) for 25 to 30 minutes. Start checking the cake at the 25-minute mark. Carrot cake is done when a toothpick inserted into the center comes out clean or with just a few moist crumbs attached, not wet batter.
  8. Check Internal Temperature: For safety and accuracy, insert a digital instant-read thermometer into the thickest part of the cake. The internal temperature should reach at least 200°F (93°C). This ensures that the eggs and any dairy components are fully cooked.
  9. Cool in the Pan: Once cooked, remove the pan from the air fryer using oven mitts (the pan will be hot). Let the cake cool in the pan on a wire rack for at least 15 to 20 minutes. This resting period allows the structure to set and prevents the cake from crumbling when you try to remove it.
  10. Glaze and Serve: While the cake cools, you can prepare a simple glaze by mixing powdered sugar with a teaspoon of milk or lemon juice until smooth. Drizzle the glaze over the warm cake. For a traditional finish, let the cake cool completely before frosting with cream cheese frosting.

Common Mistakes

1. Overcrowding the Air Fryer

One of the most frequent errors is trying to cook too much batter at once. Air fryers work by circulating hot air around food, and if the contents are too close together or block the airflow, the cake will cook unevenly, resulting in a dense bottom and a raw top. Always stick to the recommended pan size and avoid filling it more than two-thirds full.

2. Using Pre-Shredded Bagged Carrots

Pre-shredded carrots from the grocery store are often treated with anti-caking agents and water to prevent clumping, which can affect the texture of the cake. Freshly grated carrots are drier and provide a better texture. If you must use bagged carrots, try to squeeze out as much excess water as possible with a paper towel before adding them to the batter.

3. Ignoring Pan Size

Using a pan that is too large for your air fryer can cause the batter to spread out too thin, cooking too quickly on the edges but remaining doughy in the center. Conversely, a pan that is too small may overflow, creating a mess and preventing proper heat circulation. A 6-inch round pan is generally the sweet spot for most standard air fryers.

4. Not Preheating

Skipping the preheat step can lead to inconsistent cooking. The cake needs the oven to reach the target temperature immediately to start cooking properly. Without preheating, the initial cooking time will be longer, and the batter may not rise correctly as the internal temperature rises from room temperature to the baking temperature.

Tips

Use a Lightly Oiled Pan

While non-stick spray is convenient, a thin layer of oil brushed over the pan ensures that the edges don't burn while the center remains tender. Be sure to coat the sides and bottom thoroughly. If you are using a glass or ceramic pan, you may need to add an extra minute or two to the cooking time to ensure it reaches the safe internal temperature.

Check for Doneness Early

Every air fryer cooks differently. Some models have powerful fans and heat up quickly, while others are slower. It is always better to check the cake a few minutes early rather than overcooking it. If the top is browning too fast, you can loosely cover the pan with aluminum foil for the remaining cooking time.

Don't Overmix the Batter

When combining the wet and dry ingredients, mix until just combined. Overmixing develops gluten, which makes the cake chewy rather than fluffy. The goal is to incorporate the dry ingredients without creating a tough texture. A few lumps of flour are okay; they will bake out.

Let It Cool Before Frosting

Adding frosting to a hot cake will melt the cream cheese or butter, resulting in a runny mess. Always allow the cake to cool completely at room temperature before applying any frosting. This also allows the spices to develop their full flavor profile.

Troubleshooting

My cake is undercooked in the center. If the toothpick comes out with wet batter, the cake needs more time. Place the pan back in the air fryer at 320°F (160°C) and check every 3 to 5 minutes. Be careful not to dry out the edges. If the edges are browning too fast, cover the top loosely with foil.

The top is browning too quickly. This is often caused by the sugar content in the batter or the proximity to the heating element. To fix this, lightly cover the top of the cake with aluminum foil for the remainder of the cooking time. Ensure the foil does not touch the food directly if you are using non-stick spray, as it can cause sticking.

The cake is sticking to the pan. If you used only spray and the cake stuck, you likely didn't have enough oil. Try running a thin knife around the perimeter of the cake while it is still warm to loosen it. If it sticks repeatedly, consider lining the pan with parchment paper for future batches.

The cake is dry and crumbly. This usually happens if the cake was overcooked or if the moisture from the carrots wasn't sufficient. Ensure you are using fresh carrots and not overbaking. Adding a tablespoon of applesauce or yogurt to the batter can help retain moisture.

The cake has a gummy texture. This indicates that the batter wasn't mixed enough or the air fryer wasn't hot enough to cook the starches properly. Make sure you preheated the air fryer and whisked the eggs thoroughly, which helps aerate the batter and cook more evenly.

Frequently Asked Questions

Can I make this recipe in a loaf pan?

Yes, you can use a mini loaf pan, but you will need to adjust the cooking time. A standard 4x8-inch loaf pan will likely take 35 to 40 minutes at 320°F (160°C). Always check for doneness with a toothpick before assuming it is finished.

Is an air fryer cake safe to eat?

Yes, as long as you cook the cake to an internal temperature of at least 200°F (93°C) to ensure the eggs are fully cooked. This method mimics the heating of a conventional oven, just with less energy and faster cooking times.

Can I freeze leftover air fryer carrot cake?

Absolutely. Once the cake is completely cooled, wrap individual slices tightly in plastic wrap and then in aluminum foil. You can store it in the freezer for up to three months. Thaw it overnight in the refrigerator before serving.

Why is my cake dense?

Dense carrot cake is usually the result of overmixing the batter or using too much flour. It can also be caused by the carrots releasing too much water. Ensure you grate the carrots finely and squeeze out excess water, and mix the batter gently.

How do I store the cake?

Store the cake in an airtight container at room temperature for up to three days. If the weather is hot or humid, it is best to store it in the refrigerator to prevent the frosting from melting or the cake from becoming soggy.

Can I add cinnamon swirl?

You can create a cinnamon swirl by mixing cinnamon into a small amount of the batter and dolloping it over the base batter, then swirling with a toothpick or knife before cooking. This adds a nice visual contrast and extra flavor.

Read next