Introduction
When you think of an air fryer, crispy french fries, golden chicken wings, and crunchy onion rings probably come to mind. But here’s a secret that more and more home bakers are discovering — your air fryer is actually a surprisingly excellent mini oven for baking cakes. Whether you live in a tiny apartment without a full-size oven, want to avoid heating up your kitchen during summer months, or simply love the idea of a personal-sized cake in under 30 minutes, learning how to make an air fryer cake? is a game-changer.
The concept is simple. Air fryers work by circulating hot air rapidly around food using a convection fan. This same mechanism that makes your fries crispy also creates an evenly heated environment that’s perfect for baking. The result? A moist, fluffy cake with a beautifully golden exterior — and often faster than a traditional oven can do the job.
In this comprehensive guide, we’ll walk you through everything you need to know about baking a cake in your air fryer, from choosing the right pan to step-by-step instructions, flavor variations, troubleshooting tips, and much more. Let’s get baking.
Table of Contents
- Why Bake a Cake in an Air Fryer?
- What You’ll Need to Make an Air Fryer Cake
- Choosing the Right Pan for Your Air Fryer
- Step-by-Step: How to Make an Air Fryer Cake?
- Air Fryer Cake vs. Oven Cake: A Comparison
- Delicious Flavor Variations to Try
- Common Mistakes to Avoid
- Tips for a Moist and Fluffy Air Fryer Cake
- How to Tell When Your Cake Is Done
- Frosting and Decorating Your Air Fryer Cake
- Storing Your Air Fryer Cake
- Frequently Asked Questions
- Conclusion
Why Bake a Cake in an Air Fryer?
Before we dive into the how-to, let’s talk about why you might want to bake a cake in your air fryer in the first place. There are several compelling reasons that go beyond novelty.
Speed and Efficiency
Air fryers preheat in a fraction of the time it takes a traditional oven — typically just 2 to 3 minutes. And because the cooking chamber is so small, the hot air circulates much more intensely around your cake, which means bake times are significantly shorter. A cake that takes 35 to 40 minutes in a conventional oven might be done in just 20 to 25 minutes in an air fryer.
Perfect for Small Batches
Not every occasion calls for a full 9-inch layer cake. Sometimes you just want a personal-sized treat, and the air fryer is ideal for this. You can make a cake that serves 2 to 4 people, which is perfect for small households or when you simply don’t want leftover cake sitting around for days.
No Need for a Full Oven
If you live in a dorm room, a tiny apartment, an RV, or any space where a traditional oven isn’t available or practical, an air fryer opens up the world of baking to you. It’s also a fantastic option for summer baking when you don’t want to heat up your entire kitchen.
Energy Savings
Because air fryers are smaller and faster, they use considerably less energy than a full-size oven. Over time, this can add up to meaningful savings on your utility bills — especially if you bake frequently.
What You’ll Need to Make an Air Fryer Cake
Gathering your ingredients and tools before you start is always a good practice. Here’s what you’ll need to make a basic vanilla air fryer cake, which we’ll use as our foundation recipe.
Dry Ingredients
- 1 cup all-purpose flour
- 1/2 cup granulated sugar
- 1 teaspoon baking powder
- 1/4 teaspoon baking soda
- 1/4 teaspoon salt
Wet Ingredients
- 1/4 cup unsalted butter, melted and slightly cooled (or vegetable oil)
- 1/2 cup buttermilk (or regular milk with 1 teaspoon lemon juice)
- 1 large egg, room temperature
- 1 teaspoon pure vanilla extract
Equipment
- Air fryer (basket style or oven style both work)
- 6-inch round cake pan (must fit inside your air fryer basket)
- Non-stick cooking spray or parchment paper
- Mixing bowls
- Whisk or hand mixer
- Spatula
- Toothpick or cake tester
Choosing the Right Pan for Your Air Fryer
This is one of the most critical aspects of learning how to make an air fryer cake. Not every pan will work, and choosing the wrong one can lead to uneven baking or a cake that simply doesn’t fit.
Size Matters
Most standard air fryer baskets are between 5 and 6 inches in diameter. This means a 6-inch round cake pan is the most commonly used and recommended size. If you have a compact air fryer, you may need to go down to a 5-inch pan. Always measure the interior of your air fryer basket before purchasing a pan.
Material Considerations
- Aluminum pans — Lightweight, affordable, and conduct heat well. These are a great choice for air fryer baking.
- Silicone pans — Flexible and naturally non-stick, making cake removal a breeze. They also tend to bake more evenly in the air fryer.
- Stainless steel pans — Durable and sturdy, but they can sometimes cause the edges to brown too quickly due to high heat conductivity.
- Cast iron mini pans — Excellent heat retention, but they can be heavy and may require slight recipe adjustments.
Leave Room for Airflow
Whatever pan you choose, make sure there’s at least half an inch of space between the pan and the walls of the air fryer basket. This gap allows hot air to circulate freely around the pan, which is essential for even baking. Never use a pan that fits too tightly — this will block airflow and result in an undercooked center with overdone edges.
Step-by-Step: How to Make an Air Fryer Cake?
Now let’s get to the heart of the matter. Follow these detailed steps for a perfectly moist and fluffy air fryer cake every time.
Step 1: Prepare Your Pan
Generously grease your 6-inch cake pan with butter or non-stick cooking spray. For extra insurance against sticking, cut a circle of parchment paper to fit the bottom of the pan, place it in the greased pan, and grease the parchment as well. This double layer of protection ensures your cake releases cleanly after baking.
Step 2: Mix the Dry Ingredients
In a medium mixing bowl, whisk together the all-purpose flour, granulated sugar, baking powder, baking soda, and salt. Whisking not only combines the ingredients but also aerates the flour, which contributes to a lighter, fluffier cake texture. Make sure there are no lumps of baking powder or soda remaining.
Step 3: Combine the Wet Ingredients
In a separate bowl, whisk together the melted butter (or oil), buttermilk, egg, and vanilla extract until the mixture is smooth and uniform. If your butter has cooled too much and started to solidify, gently warm it again — you want it liquid but not hot, as hot butter can start to cook the egg.
Step 4: Bring the Batter Together
Pour the wet ingredients into the dry ingredients. Using a spatula or whisk, gently fold and stir the mixture until just combined. This is crucial — do not overmix. Overmixing develops the gluten in the flour, which will make your cake dense and tough rather than light and tender. A few small lumps in the batter are perfectly fine and will disappear during baking.
Step 5: Pour the Batter into the Pan
Transfer the batter into your prepared cake pan, using the spatula to scrape every last bit from the bowl. Smooth the top gently with the spatula. Give the pan a light tap on the counter two or three times to release any large air bubbles trapped in the batter.
Step 6: Preheat the Air Fryer
Preheat your air fryer to 320°F (160°C) for about 3 minutes. While many air fryer recipes skip preheating, it’s an important step for cake baking. A properly preheated air fryer ensures the cake batter begins setting immediately when it hits the pan, which helps with rise and texture.
Step 7: Lower the Pan into the Air Fryer
Carefully place the cake pan into the air fryer basket. Some people find it helpful to create a small sling with aluminum foil to lower and lift the pan, but tongs work well too. Make sure the pan sits level and isn’t touching the heating element at the top.
Step 8: Bake
Set the air fryer to 320°F (160°C) and bake for 20 to 25 minutes. Start checking at the 20-minute mark. The cake is done when the top is golden brown, the edges have pulled slightly away from the sides of the pan, and a toothpick inserted into the center comes out clean or with just a few moist crumbs.
Step 9: Cool the Cake
Remove the pan from the air fryer carefully — it will be very hot. Place it on a wire cooling rack and let it rest for 10 to 15 minutes. This resting period allows the cake to finish setting and makes it much easier to remove from the pan. After cooling, run a knife around the edge of the pan, place a plate on top, and invert to release the cake.
Air Fryer Cake vs. Oven Cake: A Comparison
If you’re wondering how air fryer cakes stack up against their oven-baked counterparts, here’s a detailed comparison to help you understand the differences.
| Factor | Air Fryer Cake | Oven Cake |
|---|---|---|
| Preheat Time | 2–3 minutes | 10–15 minutes |
| Bake Time | 20–25 minutes | 30–40 minutes |
| Temperature | 320°F (160°C) | 350°F (175°C) |
| Cake Size | 6-inch (serves 2–4) | 8–9 inch (serves 8–12) |
| Energy Use | Low | Moderate to High |
| Crust Formation | Slightly crispier exterior | Softer, more even crust |
| Moisture Retention | Excellent (small chamber retains moisture) | Good (depends on recipe) |
| Evenness | Very even due to convection fan | Can have hot spots |
| Best For | Small batches, quick treats, no-oven situations | Large gatherings, multi-layer cakes |
As you can see, both methods have their strengths. The air fryer excels in speed, efficiency, and small-batch baking, while the traditional oven remains the go-to for larger cakes and more elaborate baking projects.
Delicious Flavor Variations to Try
Once you’ve mastered the basic vanilla air fryer cake, the world of flavor variations is wide open. Here are some of our favorites to inspire your next baking session.
Chocolate Air Fryer Cake
Replace 1/4 cup of the all-purpose flour with unsweetened cocoa powder. Add 1/4 cup of chocolate chips to the batter for extra richness. You can also use melted dark chocolate (2 ounces) in place of 2 tablespoons of the butter for an even more intense chocolate flavor.
Lemon Drizzle Cake
Add the zest of one whole lemon to the batter along with the wet ingredients. After baking and cooling, poke small holes in the top of the cake with a toothpick and drizzle with a mixture of 1/4 cup powdered sugar and 2 tablespoons fresh lemon juice. The result is a bright, tangy cake that’s perfect for spring and summer.
Strawberry Shortcake Style
Fold 1/2 cup of diced fresh strawberries into the batter before baking. Once cooled, top with whipped cream and additional sliced strawberries. This variation is light, fruity, and absolutely delightful.
Cinnamon Sugar Coffee Cake
Add 1 teaspoon of cinnamon and 1/4 teaspoon of nutmeg to the dry ingredients. Before baking, sprinkle a mixture of 2 tablespoons sugar and 1 teaspoon cinnamon over the top of the batter. The result is a warm, spiced cake that pairs beautifully with your morning coffee.
Funfetti Birthday Cake
Fold 3 tablespoons of rainbow sprinkles into the batter. Bake as usual, then top with vanilla buttercream frosting and even more sprinkles. This is a guaranteed hit for kids’ birthday parties — especially when you want individual-sized cakes.
Common Mistakes to Avoid
Even with a straightforward recipe like this, there are a few pitfalls that can trip you up. Here are the most common mistakes people make when learning how to make an air fryer cake, and how to avoid them.
Using the Wrong Pan Size
A pan that’s too large will block airflow and result in uneven baking. A pan that’s too small will cause the batter to overflow. Always measure your air fryer’s interior dimensions before choosing a pan.
Skipping the Preheat
Because air fryers are so small, it’s tempting to skip preheating. Don’t. A preheated air fryer gives your cake the immediate burst of heat it needs to rise properly and set its structure from the start.
Overmixing the Batter
This is the number one enemy of a fluffy cake. Stir until the ingredients are just combined and no dry flour is visible. Overmixing activates gluten and produces a dense, rubbery texture.
Setting the Temperature Too High
Air fryers are powerful, and their intense convection can cause cakes to brown too quickly on the outside while remaining raw in the middle. Always bake at a lower temperature than you would use in a conventional oven — typically 25 to 30°F lower.
Opening the Basket Too Often
It’s tempting to check on your cake frequently, but every time you open the basket, you lose significant heat and disrupt the baking process. Only check once or twice during the final few minutes of baking.
Not Letting the Cake Rest
Pulling the cake out of the pan immediately after baking is a recipe for disaster. The cake needs time to set and firm up. Always allow at least 10 minutes of cooling in the pan before attempting to remove it.
Tips for a Moist and Fluffy Air Fryer Cake
Getting that perfect moist and fluffy texture in an air fryer cake requires a few extra considerations. Here are our top tips.
Use Buttermilk Instead of Regular Milk
The acidity in buttermilk reacts with the baking soda to create extra lift and tenderness. If you don’t have buttermilk on hand, make a quick substitute by adding 1 teaspoon of lemon juice or white vinegar to 1/2 cup of regular milk and letting it sit for 5 minutes.
Room Temperature Eggs
Using an egg straight from the refrigerator can cause the melted butter to seize and solidify, leading to a lumpy batter. Let your egg sit on the counter for 30 minutes before baking, or place it in a bowl of warm water for 5 minutes.
Don’t Overfill the Pan
Fill your cake pan no more than two-thirds full. The cake needs room to rise, and overfilling will cause it to spill over and create a mess in your air fryer. If you have extra batter, use it to make a couple of air fryer cupcakes.
Cover with Foil if Browning Too Fast
If you notice the top of your cake is browning too quickly but the center isn’t done yet, loosely tent a piece of aluminum foil over the top of the pan. This will slow down the browning while allowing the center to finish cooking.
Add a Touch of Sour Cream or Yogurt
For an extra-moist crumb, replace 2 tablespoons of the buttermilk with full-fat sour cream or plain Greek yogurt. The added fat and acidity work together to create an incredibly tender cake.
How to Tell When Your Cake Is Done
Determining doneness in an air fryer cake can be slightly different from a traditional oven cake. Here are the reliable methods to check.
The Toothpick Test
Insert a wooden toothpick or cake tester into the center of the cake. If it comes out clean or with just a few moist crumbs clinging to it, the cake is done. If you see wet batter on the toothpick, give it another 3 to 5 minutes.
The Finger Press Test
Gently press the center of the cake with your fingertip. If it springs back without leaving an indentation, it’s ready. If your finger leaves a dent that doesn’t bounce back, the cake needs more time.
The Visual Check
Look at the edges of the cake. When it’s done, the edges will have pulled slightly away from the sides of the pan, and the top will be an even golden brown color.
The Internal Temperature Method
For the most precise results, use an instant-read thermometer. A fully baked cake will have an internal temperature of approximately 200°F to 210°F (93°C to 99°C) in the center.
Frosting and Decorating Your Air Fryer Cake
A delicious cake deserves a beautiful finish. Here are some frosting options and decorating ideas for your air fryer cake.
Simple Vanilla Buttercream
Beat 1/2 cup softened butter until creamy, then gradually add 1 cup powdered sugar, 1 tablespoon milk, and 1 teaspoon vanilla extract. Beat until light and fluffy. This is enough to frost the top and sides of a 6-inch cake.
Chocolate Ganache
Heat 1/2 cup heavy cream until just simmering, then pour over 4 ounces of chopped dark chocolate. Let it sit for 2 minutes, then stir until smooth. Pour over the cooled cake for a glossy, professional-looking finish.
Cream Cheese Frosting
Beat 4 ounces of softened cream cheese with 1/4 cup butter until smooth. Add 3/4 cup powdered sugar and 1 teaspoon vanilla extract. This tangy frosting pairs beautifully with chocolate, vanilla, and cinnamon cakes alike.
Simple Decorating Ideas
- Dust with powdered sugar using a fine-mesh sieve
- Top with fresh berries or edible flowers
- Drizzle with caramel or chocolate sauce
- Add a sprinkle of toasted coconut or chopped nuts
- Use a piping bag with a star tip for elegant swirls of frosting
Remember, because air fryer cakes are smaller, a little frosting goes a long way. You don’t need as much as you would for a full-size cake.
Storing Your Air Fryer Cake
Proper storage ensures your cake stays moist and delicious for as long as possible.
Room Temperature Storage
Store your unfrosted air fryer cake in an airtight container or wrapped tightly in plastic wrap at room temperature for up to 3 days. If your kitchen is particularly warm or humid, it’s better to refrigerate.
Refrigerator Storage
Frosted cakes or cakes with perishable toppings (like cream cheese frosting or fresh fruit) should be stored in the refrigerator. Place the cake in an airtight container or cover it with a cake dome. It will stay fresh for up to 5 days.
Freezing
Air fryer cakes freeze beautifully. Wrap the completely cooled, unfrosted cake tightly in plastic wrap, then in aluminum foil, and place it in a freezer-safe bag. It will keep for up to 3 months. Thaw overnight in the refrigerator before frosting and serving.
Frequently Asked Questions
Can I use a box cake mix in the air fryer?
Absolutely! Box cake mixes work very well in the air fryer. Prepare the mix according to the package directions, pour it into your greased 6-inch pan (fill no more than two-thirds full), and bake at 320°F for about 18 to 22 minutes. Box mixes are actually more forgiving than homemade recipes, making them a great starting point for beginners.
Do I need to adjust the baking time for different air fryer models?
Yes, to some degree. Different air fryer brands and models have varying wattage levels and airflow patterns. Some cook hotter than others. The first time you bake a cake in your particular air fryer, check for doneness 5 minutes before the recommended time and adjust from there. Once you know how your specific model behaves, you can dial in the perfect timing.
Can I bake a two-layer cake in the air fryer?
You can, but not simultaneously. Bake one layer at a time, let it cool, then bake the second layer. Once both layers are completely cooled, you can stack and frost them. The total time will be longer, but the result is a beautiful two-layer cake.
Why did my cake sink in the middle?
A sunken center usually means the cake was underbaked, the oven door was opened too early (causing a temperature drop), or too much leavening agent was used. Make sure to bake until the toothpick test comes out clean, and resist the urge to open the air fryer basket during the first 15 minutes of baking.
Can I make a gluten-free air fryer cake?
Yes! Simply substitute the all-purpose flour with a high-quality 1-to-1 gluten-free flour blend. Brands like Bob’s Red Mill and King Arthur make excellent options. The texture may be slightly different, but the cake will still be delicious.
What if my air fryer doesn’t go as low as 320°F?
Some air fryers have a minimum temperature of 350°F. If that’s the case, reduce the baking time by about 5 to 7 minutes and keep a close eye on the cake. You may also want to tent it with foil partway through to prevent over-browning.
Can I use an air fryer oven instead of a basket-style air fryer?
Yes, air fryer ovens (the ones that look like toaster ovens with air fryer functions) work great for cake baking. You may have more pan size options since the cooking chamber is typically larger. The same temperature and timing guidelines generally apply.
Conclusion
Learning how to make an air fryer cake? is one of those kitchen skills that, once mastered, you’ll wonder how you ever lived without. The speed, convenience, and surprisingly excellent results make air fryer cake baking a technique worth adding to your repertoire. Whether you’re whipping up a quick chocolate cake on a weeknight, surprising someone with a personal-sized birthday treat, or simply satisfying a craving without the fuss of a full oven, the air fryer delivers.
The key takeaways are simple: use the right pan size, lower the temperature compared to oven recipes, don’t overmix your batter, and always let the cake cool before removing it from the pan. Follow these guidelines, and you’ll be rewarded with a moist, fluffy cake that rivals anything that comes out of a traditional oven.
So go ahead — pull out that air fryer, grab your mixing bowls, and start baking. Your perfect air fryer cake is just 25 minutes away.
