I love how an air fryer turns cake from a fuss into a quick, reliable win—I’ll show you tricks I use to get moist, fluffy results every time. I’ll cover pans and sizes that fit, a foolproof vanilla base, a speedy chocolate mug cake, and a few gluten-free and citrus options.
Stick around and I’ll also share tempering tips and simple frostings so you can skip the surprises and bake confidently.
Why Air Fryers Make Excellent Cakes

Air fryers make excellent cakes because their compact cooking chamber and rapid hot air circulation produce quick, even baking with a tender crumb and light crust; they reduce preheat time, use less energy, and are ideal for small, single-layer cakes or cupcakes when you want fast results without heating a full oven.
- 1 cup all-purpose flour
- 3/4 cup granulated sugar
- 1/2 cup unsalted butter, softened
- 2 large eggs
- 1/2 cup milk
- 1 1/2 teaspoons baking powder
- 1/4 teaspoon salt
- 1 teaspoon vanilla extract
- Optional: 2 tablespoons cocoa powder or 1/2 cup berries/chocolate chips
Preheat the air fryer to 320°F (160°C) for 3–5 minutes; cream butter and sugar, add eggs one at a time, stir in vanilla, fold in sifted flour with baking powder and salt alternating with milk until just combined, pour batter into a greased 6–7 inch round pan or silicone mold filled no more than two-thirds, place in the basket and bake at 320°F for 18–25 minutes until a skewer comes out clean, then cool on a rack for 10 minutes before removing from pan.
Tip: Use a shallow, well-greased pan that fits your basket, avoid overfilling, rotate the pan halfway if your air fryer has hot spots, and check doneness early since air fryers can bake faster than ovens.
Air fryers also often deliver faster bake times and energy savings compared with conventional ovens, making them an efficient choice for home bakers seeking energy-efficient baking.
Choosing the Right Pan and Size for Your Air Fryer

Choosing the right pan and size for your air fryer is key to successful cakes: use a shallow, oven-safe pan or silicone mold that fits your basket with at least 1/2–1 inch clearance on all sides, keep batter depth to no more than 1.5–2 inches to guarantee even cooking, and prefer a 6–7 inch round pan or two small ramekins for most mid-size air fryers.
- 1 cup all-purpose flour
- 3/4 cup granulated sugar
- 1/2 cup unsalted butter, softened
- 2 large eggs
- 1/2 cup milk
- 1 1/2 teaspoons baking powder
- 1/4 teaspoon salt
- 1 teaspoon vanilla extract
- Optional: 2 tablespoons cocoa powder or 1/2 cup berries/chocolate chips
Preheat the air fryer to 320°F (160°C) for 3–5 minutes; cream butter and sugar until light, beat in eggs one at a time and vanilla, fold in sifted flour, baking powder, and salt alternating with milk until just combined, pour batter into a well-greased 6–7 inch pan filled no more than two-thirds, place in the basket and bake at 320°F for 18–25 minutes checking with a skewer for doneness and rotating once if needed.
Cool in the pan for 10 minutes then remove to a rack to finish cooling before slicing or glazing.
Tip: Use a shallow pan that fits with airflow around it, avoid overfilling, check a few minutes early since cook times vary, and line or grease pans well to prevent sticking.
For a simple, fail-safe alternative, you can adapt this method to make air fryer bread using the same shallow pan and airflow principles.
Basic Moist Vanilla Cake Recipe for Air Fryer

This basic moist vanilla cake recipe is adapted for a mid-size air fryer and yields a tender, single-layer 6–7 inch cake perfect for slicing or topping with glaze; it uses common pantry ingredients and keeps batter shallow for even cooking—expect about 18–22 minutes depending on your fryer and pan.
- 1 cup all-purpose flour
- 3/4 cup granulated sugar
- 1/4 cup unsalted butter, softened (plus 1 tbsp for pan)
- 1/4 cup vegetable oil
- 2 large eggs
- 1/2 cup milk
- 1 1/2 teaspoons baking powder
- 1/4 teaspoon salt
- 1 teaspoon vanilla extract
Preheat the air fryer to 320°F (160°C) for 3–5 minutes; cream butter, oil and sugar until fluffy, beat in eggs one at a time and vanilla, fold in sifted flour, baking powder and salt alternating with milk until just combined, pour batter into a well-greased 6-7 inch round pan filled no more than two-thirds, place in basket and bake at 320°F for 18–22 minutes checking with a skewer for doneness and rotate once if your fryer cooks unevenly.
Tip: Use a shallow pan with at least 1/2–1 inch clearance, avoid overfilling the pan, check a few minutes early since air fryers vary, and cool in the pan 10 minutes before removing to finish cooling on a rack. Air fryers circulate hot air rapidly which helps create a nicely browned crust and even browning when using the correct pan size.
Quick Chocolate Mug Cake in the Air Fryer

This quick chocolate mug cake adapted for the air fryer gives you a single-serving, fudgy cake in about 6–8 minutes; it uses simple pantry staples, mixes in the mug (or small ramekin) and is perfect for when you want a warm dessert fast—adjust timing for your air fryer model and the size of your vessel to avoid overflow or dryness.
- 4 tablespoons all-purpose flour
- 2 tablespoons granulated sugar
- 2 tablespoons cocoa powder (unsweetened)
- 1/8 teaspoon baking powder
- Pinch of salt
- 3 tablespoons milk
- 1 tablespoon vegetable oil (or melted butter)
- 1/4 teaspoon vanilla extract
- 1 tablespoon chocolate chips or a square of chocolate (optional)
Mix the dry ingredients in a 10–12 oz microwave-safe mug or small ovenproof ramekin, stir in milk, oil and vanilla until just combined (fold in chocolate chips if using), smooth the top and tap to remove air bubbles, preheat your air fryer to 320°F (160°C) for 3 minutes then place the mug on the fryer rack or in the basket, cook for 6–8 minutes checking at 6 minutes—cake is done when the top springs back and a toothpick comes out with a few moist crumbs; let cool 1–2 minutes before serving.
Tip: Use a mug that leaves at least 1–1.5 inches of headspace to prevent overflow, check a minute or two early as air fryers vary, and reduce time slightly for smaller vessels or increase by a minute for larger ones.
Air fryers are a fast, convenient way to make small, single-serving meals like this mug cake.
Lemon Pound Cake With a Citrus Glaze

This lemon pound cake with a bright citrus glaze is adapted for the air fryer to produce a dense, tender loaf with a crisp golden crust and a glossy tangy-sweet finish; it bakes in a small loaf pan (about 6×3 inches) and uses simple pantry ingredients plus fresh lemon zest and juice for vibrant flavor, taking about 30–35 minutes depending on your air fryer—allow cooling time before glazing so the glaze sets without soaking in completely.
- 1 cup all-purpose flour
- 1/2 teaspoon baking powder
- 1/8 teaspoon salt
- 1/2 cup (1 stick) unsalted butter, softened
- 3/4 cup granulated sugar
- 2 large eggs
- 2 tablespoons sour cream or Greek yogurt
- 2 tablespoons milk
- 1 tablespoon lemon zest (from 1–2 lemons)
- 2 tablespoons fresh lemon juice
- 1/2 teaspoon vanilla extract
Preheat your air fryer to 320°F (160°C) and grease or line a 6×3-inch loaf pan that fits your basket; cream the butter and sugar until light, beat in eggs one at a time, then stir in sour cream, milk, lemon zest, lemon juice and vanilla, fold in sifted flour with baking powder and salt until just combined, pour batter into pan, smooth top and tap to remove air pockets, place in the air fryer basket and bake 28–35 minutes checking at 25 minutes with a toothpick (cake is done when a toothpick comes out with few moist crumbs), cool in pan 10 minutes then transfer to a rack; while cooling mix 1/2 cup powdered sugar with 1–2 tablespoons lemon juice to desired consistency and drizzle over slightly cooled cake to set.
Tip: Make certain your loaf pan has at least 1 inch clearance from the air fryer walls for proper air circulation, check doneness early as air fryers run hot, and cool the cake briefly before glazing so the lemon glaze thickens rather than soaking in. Air frying also works well for quick breakfast items like French toast, which can be crisped up perfectly in the basket.
Moist Banana Bread-Style Cake in Air Fryer

This moist banana bread–style cake adapted for the air fryer yields a tender, slightly dense crumb with a caramelized top and pronounced banana flavor; it bakes in a small loaf pan (6×3 inches) or an 8-inch round pan that fits your basket, uses overripe bananas for maximum sweetness and moisture, and takes about 30–40 minutes depending on your air fryer—cool briefly before slicing so it sets.
- 1 cup all-purpose flour
- 1/2 teaspoon baking soda
- 1/4 teaspoon salt
- 1/2 teaspoon ground cinnamon (optional)
- 1/2 cup (1 stick) unsalted butter, melted and slightly cooled
- 1/2 cup granulated sugar (or 1/3 cup sugar + 1/4 cup brown sugar)
- 1 large egg, room temperature
- 1 teaspoon vanilla extract
- 3/4 cup mashed overripe bananas (about 2 medium bananas)
- 2 tablespoons sour cream or Greek yogurt (or buttermilk)
- 1/4 cup chopped walnuts or chocolate chips (optional)
Preheat the air fryer to 325°F (160°C) and grease or line a 6×3-inch loaf pan with parchment leaving an overhang; whisk flour, baking soda, salt and cinnamon in a bowl.
Then in a separate bowl combine melted butter, sugar, egg, vanilla, mashed bananas and sour cream until smooth, fold the dry ingredients into the wet just until combined and stir in nuts or chips if using.
Pour batter into the prepared pan, smooth the top and tap to remove air pockets, place in the air fryer basket with at least 1 inch clearance and bake 28–38 minutes checking at 25 minutes with a toothpick (done when it comes out with a few moist crumbs).
Cool in pan 10 minutes then transfer to a rack to cool completely before slicing.
Tip: Use very ripe bananas and avoid overmixing to keep the cake tender; check early for doneness since air fryers can brown tops quickly and tent with foil for the last 5–8 minutes if the surface gets too dark.
Many home cooks adapt other quick-bread recipes, like air fryer bagels, to their air fryer to learn its baking tendencies and timing.
Gluten-Free Almond Cake That Stays Tender

This tender, naturally sweet gluten-free almond cake is made with almond flour, a touch of tapioca or arrowroot for structure, and eggs and yogurt to keep it moist; it bakes beautifully in an air fryer in a small round pan or loaf tin, yielding a moist, slightly dense crumb with a golden top and a delicate almond aroma—perfect plain or with a dusting of powdered sugar or thin lemon glaze.
- 2 cups (200 g) blanched almond flour
- 2 tablespoons tapioca starch or arrowroot
- 1/2 teaspoon baking powder (gluten-free)
- 1/4 teaspoon fine sea salt
- 3 large eggs, room temperature
- 1/2 cup (100 g) granulated sugar or coconut sugar
- 1/3 cup plain Greek yogurt or unsweetened yogurt
- 1/4 cup neutral oil (grapeseed, canola) or melted butter
- 1 teaspoon vanilla extract
- 1 tablespoon lemon zest (optional)
- 1/4 cup sliced almonds for topping (optional)
Preheat your air fryer to 325°F (160°C) and grease an 8-inch round pan or 6×3-inch loaf pan that fits your basket.
Whisk almond flour, tapioca, baking powder and salt in a bowl, then in another bowl beat eggs with sugar until slightly thickened, stir in yogurt, oil, vanilla and lemon zest, fold the dry into the wet until just combined, pour into the prepared pan, smooth top and sprinkle sliced almonds if using.
Place in the air fryer with at least 1 inch clearance and bake 20–30 minutes (start checking at 18 minutes) until the top is golden and a toothpick comes out with a few moist crumbs, tent with foil if browning too quickly, cool 10 minutes in pan then transfer to a rack to finish cooling.
Use very fresh almond flour for best texture, avoid overmixing which can make the cake dense, and remember gluten-free cakes often need a short rest after baking (10–20 minutes) to set before slicing; if your air fryer runs hot, lower temperature by 10–15°F and add a few minutes to the bake time.
Air fryers are great for quick baking because they circulate hot air for even browning and fast results.
Tips for Adjusting Temperature and Time

This recipe focuses on how to adjust temperature and time when baking the gluten-free almond cake in an air fryer, giving guidance for small variations in pan size, altitude, and air-fryer heat intensity so you get a tender, evenly baked cake whether your unit runs hot, you use a loaf or round pan, or you’re baking at higher altitude.
- 2 cups (200 g) blanched almond flour
- 2 tablespoons tapioca starch or arrowroot
- 1/2 teaspoon gluten-free baking powder
- 1/4 teaspoon fine sea salt
- 3 large eggs, room temperature
- 1/2 cup (100 g) granulated sugar or coconut sugar
- 1/3 cup plain Greek yogurt or unsweetened yogurt
- 1/4 cup neutral oil or melted butter
- 1 teaspoon vanilla extract
- 1 tablespoon lemon zest (optional)
- 1/4 cup sliced almonds for topping (optional)
Whisk dry ingredients together; in another bowl beat eggs with sugar until slightly thickened then stir in yogurt, oil and vanilla and fold in dry until just combined, pour into a greased 8-inch round or 6×3-inch loaf pan that fits your air fryer basket leaving 1 inch clearance and bake at 325°F (160°C) as baseline for 20–30 minutes while checking at 18 minutes;
if your fryer runs hot reduce temp by 10–15°F and add 3–6 minutes, for a deeper pan or loaf increase time by 5–10 minutes and cover with foil if top browns too fast, at altitude raise temperature 10–15°F and shorten bake by a few minutes while testing doneness with a toothpick that should come out with a few moist crumbs.
Tip: Calibrate your air fryer with an oven thermometer, rotate the pan halfway if your unit has hot spots, and always start checking earlier than the maximum time so you can tent with foil or lower temperature to prevent overbrowning.
Air fryer cookies are a quick, convenient dessert option you can make alongside or inspired by this recipe for experimentation with small batches in the same appliance, especially when testing pan sizes and timings for air fryer baking.
Simple Frosting and Decorating Ideas

A simple, glossy frosting and a few easy decorating touches can transform your almond flour air-fryer cake into an elegant dessert without much fuss; this recipe gives a quick cream cheese frosting and a lemon-glaze option plus simple decorations that work well in small pans and cool quickly so you can serve the cake from the air fryer basket.
- 4 oz (115 g) cream cheese, softened
- 3 tablespoons unsalted butter, softened
- 3/4–1 cup (90–120 g) powdered sugar, sifted
- 1/2 teaspoon vanilla extract
- 1–2 teaspoons milk or lemon juice (to thin)
- 1/2 cup powdered sugar (for lemon glaze)
- 1–2 tablespoons fresh lemon juice (for glaze)
- 1 tablespoon finely grated lemon zest (optional)
- 1/4 cup sliced almonds or toasted almond flakes (for topping)
- Fresh berries or edible flowers (optional)
Beat cream cheese and butter until smooth, gradually add powdered sugar and vanilla and thin with milk or lemon juice to spreadable consistency for the cream cheese frosting, or whisk powdered sugar with lemon juice for a pourable glaze and stir in zest.
Cool cake completely in pan, spread or pour the chosen frosting, top with sliced almonds or berries, chill briefly to set before slicing, and for a shiny glaze dip a spoon in hot water and smooth the surface.
Tip: Use a flexible offset spatula for a smooth finish, chill the frosted cake briefly to set, and apply delicate decorations just before serving to keep them fresh.
Air fryers also make quick work of toasting almond toppings and adding crisp texture to the finished cake.
Troubleshooting Common Air Fryer Cake Problems

Troubleshooting Common Air Fryer Cake Problems: This short recipe-style guide helps you diagnose and fix typical issues—sinking centers, dry crumb, uneven browning, sticking, and overbrowning—while giving a foolproof approach to baking a simple almond-flour cake in the air fryer so you can apply fixes as you go.
- 1 cup almond flour
- 1/4 cup coconut flour
- 1/2 cup granulated sugar or erythritol
- 1/4 cup melted butter or oil
- 3 large eggs, room temperature
- 1/4 cup milk or dairy-free alternative
- 1 tsp baking powder
- 1/4 tsp baking soda
- 1/4 tsp salt
- 1 tsp vanilla extract
- 1 tbsp lemon juice (optional, for flavor)
- Nonstick spray or parchment round for pan
Preheat air fryer to 320°F (160°C) for 5 minutes, whisk dry ingredients together then combine with wet ingredients until just smooth, line a 6–7 inch round pan with parchment and pour batter no higher than 2/3 full; place pan in basket, bake at 320°F for 18–25 minutes checking at 15 minutes.
If top browns too fast tent with foil or lower temp by 10–15°F, test doneness with toothpick (should come out with moist crumbs), if center sinks reheating at 300°F for 5–8 minutes can finish set, cool in pan 10 minutes then invert onto rack to avoid sticking.
Tip: To prevent sinking, make certain eggs and ingredients are room temperature, avoid overmixing, measure leavening accurately, preheat the air fryer, don’t open the basket early, and adjust batter depth and temperature for even cooking. Also consider using easy healthy recipes to pair your cake with lighter sides or breakfasts.
