Bake your own air fryer cake in 30 minutes or less with this simple-to-follow recipe! Itโs flavored with cocoa and turns out rich, moist, and decadent. Serve it with chocolate sauce or ganache for a dessert worth sharing.

Want to save this recipe?
Enter your email & I'll send it to your inbox. Plus, get great new recipes from me every week!
Jump to:
Easy air fryer cake
An air fryer cake is such an easy dessert that can be made without ever starting up your oven. Most people know how great air fryers are for savory recipes, like Air Fryer Teriyaki Chicken, Air Fryer Roasted Vegetables, or Fried Goat Cheese Balls. But they are excellent for baking desserts as well!
Using an air fryer to make cakes, since it frees up space in the oven, eliminates the need for a long preheat. Which reduces energy bills! If youโre trying to keep the house cool in the summer months, itโs the perfect option.
Once itโs done โbaking,โ youโll be surprised at how moist, tender, and fluffy a cake in the air fryer can turn out!
Why bake a cake in an air fryer?
- Simple: An air fryer cake recipe is so forgiving, especially for novice bakers. Mix everything, add it to a cake pan, and pop it into the air fryer. Itโs virtually impossible to mess up!
- Affordable: Itโs made with affordable, pantry staples. You can make this inexpensive recipe often without worrying too much about grocery bills.
- Decadent: If youโre a chocolate lover, this air fryer chocolate cake is calling your name! Itโs incredibly rich, moist, and indulgent. To make it even more decadent, serve it with chocolate sauce or ganache.
- Space-saving: Using the air fryer helps you free up oven space for other recipes.
- Smaller: This easy air fryer recipe is a great option when you just want delicious cake for one to four people.
Ingredient notes
Full ingredient quantities and instructions are in the recipe card at the bottom of this post.
- All-purpose flour: All purpose flour is what you need, unless you are sensitive to gluten. If so, use a 1:1 gluten-free blend such as Bobโs Red Mill or King Arthur Baking.
- Sugar: Regular granulated sugar works best, but you can also use cane sugar or even some brown sugar if youโd prefer!
- Cocoa powder: If you can, use Dutch-processed cocoa powder for a deeper, more intense chocolatey flavor. But regular, unsweetened cocoa powder will work, too.
- Leavening agents: You will need both baking soda and baking powder to give rise to this air fryer cake.
- Milk: Any milk will do! Regular 2%, skim milk, or your favorite non-dairy milk all add moisture to the cake. If you donโt have any milk, just use all water.
- Olive oil: Use olive oil for an extra moist cake with rich flavor. But you'll still have great results with avocado oil, canola oil, or vegetable oil.
- Eggs: Use two large eggs, and let them come to room temperature before starting.
- Vanilla extract: Use vanilla extract to enhance the chocolate flavor. You can use artificial vanilla, but itโs always worth the splurge to purchase real vanilla!
How to make an air fryer cake
Full instructions are in the recipe card at the bottom of this post.
- In a large mixing bowl, whisk together the flour, sugar, cocoa powder, baking soda, baking powder, and salt until they are well combined.
- Add the milk, olive oil, eggs, and vanilla extract to the dry ingredients. Using a hand mixer, beat the mixture on medium speed for about 3 minutes, or until it appears smooth.
- Pour in the boiling water and continue to mix the batter on low until just combined.
- Preheat the air fryer to 325ยฐF. Spray a 6" bundt pan or 6" round cake pan with cooking spray. Pour half of the batter into the prepared pan.
- Place the filled cake pan into the air fryer basket. Bake it for 20-25 minutes, or until a toothpick inserted comes out clean. Leave the pan in the air fryer basket until it's cool enough to remove.
- Invert a plate over the top of the cake pan and flip it. Remove the pan, and allow the cake to cool completely.
- Repeat the same steps with the remainder of the batter for the second cake pan.
- For an extra decadent treat, drizzle the cake with chocolate sauce or ganache before serving it.
Storage
For leftover air fryer cake, follow these simple storage tips:
- Room temperature: If unfrosted, you can keep your chocolate cake covered with plastic wrap, aluminum foil, or a cake cover at room temperature for up to 3-4 days.
- Fridge: If you ice it with chocolate sauce or ganache, itโs best to keep the cake in an airtight container in the fridge. It will last for up to a week this way.
- Freezer: Wrap the unfrosted cake in plastic and freeze it for up to 3 months. Thaw it overnight in the fridge and bring it to room temperature on the countertop when youโre ready to serve more.
Variations
- Peanut butter: For a peanut butter and chocolate flavor, stir a few tablespoons of peanut butter into the batter or the ganache.
- Compote: Try drizzling a raspberry or strawberry compote on top for a balance of rich, sweet, and juicy flavors.
- Mint: Make a mint chocolate air fryer cake by adding a few drops of peppermint extract to the cake batter.
- Chocolate Chips: Stir chocolate chips into the batter to really satisfy those chocolate cravings!
- Mocha: Add a tablespoon of expresso powder or instant coffee to the flour mixture.
- Vegan: Make a vegan variation by replacing the eggs with white vinegar and the milk with almond, cashew, or soy milk.
- Boxed Cake Mix: This homemade cake recipe is really quick and easy (as well as delicious), but you can also use a box cake mix to make an air fryer cake.
Helpful tips
- Use the right pan: You can bake the cake in a bundt pan or a regular cake pan. It will depend on the size of your air fryer, but a six inch cake pan fits perfectly in my 6 quart Gourmia air fryer. There should be enough space for the hot air to flow around the cake while it's baking.
- Check frequently: Keep an eye on your cake as each air fryer and pan may require slightly different cooking time.
- Toothpick test: Use a toothpick to test if your cake is done. If you poke it in the center of the cake and it comes out clean, itโs ready to go.
- Cool first: Let the cake cool for a few minutes before removing it from the air fryer.
- Preheat: For the most consistent results and even cooking times, itโs best to preheat the air fryer. However, itโs not 100% necessary.
- Avoid overfilling: To prevent a mess in the air fryer, avoid overfilling your cake pan.
Common questions
No, you donโt need a special air fryer cake pan. I used a 6โ bundt pan, but just make sure you choose a pan thatโs oven-safe and fits in your particular air fryer. Otherwise, anything will work.ย
The best temperature I tested for air fryer cake is 325 degrees F, although this may vary from air fryer to air fryer. A good rule of thumb is to set the temperature of the air fryer about 20 degrees lower than a traditional oven.
Yes, baking in an air fryer can take anywhere from 10-30 minutes less than baking in a conventional oven.ย
More delicious chocolate recipes
If you enjoyed this air fryer cake, donโt forget to test out some more of my most popular dessert recipes:
Did you make this recipe? Please leave a rating in the comments below and let us know how it turned out. Did you make any changes? We would love for you to share and your feedback is important! Thank you for visiting The Food Blog!
Recipe
Want to save this recipe?
Enter your email & I'll send it to your inbox. Plus, get great new recipes from me every week!
Air Fryer Cake
Ingredients
- 1 ยพ cups all purpose flour or 1:1 gluten-free if needed
- 1.5 cups sugar
- 1 cup cocoa powder
- 1.5 teaspoon baking soda
- 1.5 teaspoon baking powder
- 1 teaspoon salt
- 1 cup milk
- ยฝ cup olive oil
- 2 eggs large
- 2 teaspoon vanilla extract
- 1 cup boiling water
Instructions
- In a large bowl, whisk together the flour, sugar, cocoa powder, baking soda, baking powder, and salt.
- Add the milk, oil, eggs, and vanilla extract. Use a hand mixer on medium speed to beat the mixture for 3 minutes.
- Pour in the boiling water and mix on low until combined.
- Preheat air fryer to 325ยฐ Spray a 6" bundt pan or 6" round cake pan with cooking spray.
- Pour ยฝ the batter into the prepared cake pan.
- Put the filled cake pan into the air fryer basket and bake for 20-25 minutes, until a toothpick inserted comes out clean.
- Leave the pan in the air fryer basket until it's cool enough to remove.
- Invert a plate over the top of the cake pan and flip. Remove the pan, and allow the cake to cool completely on a wire rack.
- Repeat, using the remainder of the batter for the second cake pan.
Notes
- Use the right pan: You can bake the cake in a bundt pan or a regular cake pan. It will depend on the size of your air fryer, but a six inch cake pan fits perfectly in my 6 quart Gourmia air fryer. There should be enough space for the hot air to flow around the cake while it's baking.
- Check frequently: Keep an eye on your cake as each air fryer and pan may require slightly different cooking time.
- Toothpick test: Use a toothpick to test if your cake is done. If you poke it in the center of the cake and it comes out clean, itโs ready to go.
- Cool first: Let the cake cool for a few minutes before removing it from the air fryer.
- Preheat: For the most consistent results and even cooking times, itโs best to preheat the air fryer. However, itโs not 100% necessary.
- Avoid overfilling: To prevent a mess in the air fryer, avoid overfilling your cake pan.
Hayley Dhanecha
I love my air fryer and almost everyday I use to cook something. So glad I found cake recipe too. Looks so delicious!
Dani
I received an air fryer for Christmas and a friend sent me your cake recipe. I was intrigued about baking in the air fryer and I may never turn my oven on again. This chocolate cake is heavenly!
Natalia
So glad I've found your recipe. I recently bought an air fryer and was looking for sweet recipes to try and this cake sounds perfect. My son loves cakes! Thanks for sharing!
Tammy
I would never have thought of doing this but oh my gosh what a fabulous idea! Looks so good! I have to give this a try...love finding new ways to use my airfryer ^_^
Tristin
I love that I can make cake in my air fryer! It was so cute and perfect for me and my husband to share!
Jessica
Who would have guessed? I've never baked in my air fryer, but this recipe looks great for a small and quick cake. Can't wait to try it!
Kathryn
Wow I never knew a cake could be baked in the air fryer until now! What a delicious and easy way to whip up a cake. Looking forward to trying this!
Marta
I'm just amazed at what we can make in air fryers! This chocolate cake was an amazing way to end dinner last night. It was moist and chocolaty and so easy to create. Thanks for a great recipe!
Amanda Dixon
Loved this cake! It was so rich and moist with the perfect chocolate flavor. I would have never thought to make it in my air fryer.
Sean
So I have never made a cake in an air fryer but this recipe has me sold. It was perfect and I am a huge fan of chocolate. This was a hit with family too!
Tara
Oh how fun! I love that the cake is made in the air fryer. The texture and flavors sound absolutely amazing.
Rhonda
I never thought of using the air fryer for making a cake. This makes it easy.
Traci
Yes!! The air fryer is of my favorite ways to bake a cake. This chocolate cake is so simple and delicious. Thanks for sharing!
Anjali
I had no idea you could make cake in the air fryer until I found your recipe! This look so delicious and decadent, I'm going to try it out tonight!
Nancy
This is interesting that I could make cake in an air fryer. What a easy dessert solution