Creating a dense, moist carrot cake in an air fryer requires careful attention to batter consistency and baking vessel selection. Unlike traditional ovens where heat circulates from all sides, an air fryer cooks via rapid hot air circulation, which can dry out cakes if they are not covered or baked with the right technique. The key to success lies in using a small ceramic ramekin rather than a perforated basket, covering the top to trap steam for moisture, and applying the sweet cream frosting only after the cake has cooled completely.
Recipe Overview
This recipe produces one 6-inch round cake (approximately 8–10 servings). Preparation takes about 20 minutes, including mixing. The air frying time is 15 minutes at a specific temperature, though this may vary slightly by model. The total elapsed time, including cooling and frosting, is roughly 40 minutes.
Equipment Required
- One 6-inch round ceramic baking dish or ramekin (approx. 2–3 inches deep). Ceramic retains heat well and prevents the bottom from burning in an air fryer.
- Air Fryer with a temperature range of 150°F to 400°F (65°C to 200°C).
Do not use the perforated basket for this recipe, as it will allow too much moisture to escape. If you must use the basket, place the ramekin inside and line it with parchment paper, but a dedicated dish is preferred.
Ingredients
These are exact base quantities in grams. All ingredients listed below are used in the method.
- Carrots: 300g, peeled and grated (approx. 1 cup). Use a box grater to achieve fine shreds that integrate well into the batter.
- All-Purpose Flour: 120g, unbleached flour.
- Baking Powder: 15g, for leavening.
- Sugar: 180g, white granulated sugar.
- Vegetable Oil: 60g, neutral oil (e.g., canola or sunflower).
- Eggs: 2 large eggs, room temperature.
- Milk: 120ml (approx. 130g), whole milk.
- Vanilla Extract: 5g (approx. 1 tsp).
- Nutmeg: 2g (approx. 1/4 tsp).
- Cinnamon: 5g (approx. 1/2 tsp).
- Salt: 3g (approx. 1/4 tsp).
- Frosting Ingredients: 100g unsalted butter, softened; 150g powdered sugar; 20ml milk; pinch of salt.
Instructions
Follow these steps to ensure a consistent result. The goal is a cake that rises slightly but remains dense and moist, typical of carrot cake.
- Preparation: Preheat your air fryer to 350°F (175°C). This temperature balances the need for browning on top with keeping the interior moist. Line your ceramic ramekin with a circle of parchment paper that extends slightly up the sides.
If using a liner, ensure it fits snugly so the batter does not leak out during the shaking process later in the recipe.
- Mix Dry Ingredients: In a medium bowl, whisk together the flour, baking powder, cinnamon, nutmeg, and salt. This ensures even distribution of flavor and leavening agents.
- Combine Wet Ingredients: In a separate bowl, beat the eggs on low speed until just combined. Add the sugar, oil, vanilla extract, and milk. Mix until the mixture is smooth and pale yellow. This step incorporates air into the batter for slight lift.
- Combine: Gently fold the grated carrots into the wet mixture using a spatula. Then, add the dry ingredients to the bowl. Fold gently until just combined. Do not overmix, as this develops gluten and makes the cake tough.
The batter should be thick but pourable. If it looks too thin, add another tablespoon of flour; if too thick, add a teaspoon more milk.
- Baking: Pour the batter into the prepared ceramic ramekin, filling it about three-quarters full. Place the ramekin in the center of the air fryer basket. The goal is to cook the cake through without drying out the top.
Set your air fryer to 350°F (175°C) for 15 minutes. Open the door halfway through (after 7–8 minutes) and rotate the ramekin 90 degrees. This ensures even browning on all sides as the hot air circulates.
- Doneness Check: At 13 minutes, insert a wooden toothpick into the center of the cake. If it comes out clean or with a few moist crumbs attached, the cake is done. If wet batter clings to the toothpick, add 2 more minutes and check again.
Air fryers vary in size; if you have a large capacity model, ensure the ramekin does not touch the heating element walls. A gap of at least 1 inch is recommended for optimal airflow.
Troubleshooting
- Cake is dry or cracked: This usually happens when the temperature is too high or the batter is underfilled. Lower the temperature to 340°F (170°C) next time and ensure you fill the ramekin no more than 3/4 full.
- Cake is undercooked: Common in air fryers due to uneven heating or a small basket size. Increase the cooking time by 2–3 minutes, but check frequently to avoid burning.
- Frosting separates: Ensure the cake has cooled completely to room temperature before frosting. Applying warm frosting causes condensation and separation.
Serving and Storage
Once baked, let the cake cool in the ramekin for at least 15 minutes before transferring it to a wire rack. This allows the structure to set fully without collapsing. The sweet cream frosting is applied only after cooling to maintain its smooth texture.
To serve, cut into 8–10 wedges. Store any leftovers covered tightly in the refrigerator for up to 3 days. Reheat slices in a microwave for 20 seconds or in an air fryer at 300°F (150°C) for 2 minutes to restore warmth without over-drying.
Frequently Asked Questions
Can I use a loaf pan instead of a ramekin?
While possible, a ceramic ramekin is superior for air frying because it distributes heat evenly and prevents the bottom from burning. Loaf pans often have uneven bottoms that can lead to scorching in an air fryer.
Is this cake suitable for freezing?
Cool completely before freezing. Wrap the unfrosted cake tightly in plastic wrap, then aluminum foil. It can be frozen for up to 2 months. Thaw in the refrigerator overnight before frosting.
Why does my cake look flat?
The baking powder may have expired, or you may have overmixed the batter. Check your ingredients’ expiration dates and ensure you fold gently rather than beating vigorously.

