Bake your own air fryer cake in 30 minutes or less with this easy-to-follow recipe. This chocolate cake, flavored with cocoa, is rich, moist, and indulgent. Serve it with chocolate sauce or ganache for an impressive dessert to share.

Easy air fryer cake
An air fryer cake is a simple, reliable dessert you can make without using a conventional oven. Air fryers work beautifully for savory dishes and also excel at baking smaller cakes. Because they heat quickly, air fryers reduce preheat time and energy usage, which helps keep the kitchen cooler in warm weather.
When baked in an air fryer, this cake turns out surprisingly moist, tender, and fluffy. It’s an excellent option for novice bakers and busy home cooks who want a quick chocolate dessert.

Why bake a cake in an air fryer?
- Simple: The method is forgiving. Mix the batter, pour it into a pan, and bake — it’s straightforward and hard to overcomplicate.
- Affordable: The recipe uses common pantry staples, making it budget-friendly for regular baking.
- Decadent: This chocolate cake is rich and moist. Add chocolate sauce or ganache for extra indulgence.
- Space-saving: Baking in the air fryer frees the oven for other dishes.
- Perfect for small batches: This recipe yields a cake suitable for one to four people depending on portion size, or split into two pans for sharing.

Ingredient notes
Measurements and full instructions are in the recipe card below.
- All-purpose flour: Use regular all-purpose flour. Substitute a 1:1 gluten-free flour blend if you need a gluten-free option.
- Sugar: Granulated sugar works best; cane sugar or some brown sugar can be used if preferred.
- Cocoa powder: Dutch-processed cocoa gives a deeper chocolate flavor, but natural unsweetened cocoa works well too.
- Leavening: This recipe uses both baking soda and baking powder for reliable rise and texture.
- Milk: Any milk—dairy or plant-based—adds moisture. If needed, water can substitute for milk in a pinch.
- Oil: Olive oil yields a moist cake with rich flavor. Avocado, canola, or vegetable oil are fine alternatives.
- Eggs: Two large eggs at room temperature give structure and lift.
- Vanilla: Vanilla extract enhances the chocolate flavor; use real vanilla or a preferred alternative.
How to make an air fryer cake
Full instructions are repeated in the recipe card below for quick reference.
- Whisk the dry ingredients together: flour, sugar, cocoa powder, baking soda, baking powder, and salt.
- Add the milk, oil, eggs, and vanilla. Beat with a hand mixer on medium speed about 3 minutes until the batter is smooth.
- Carefully pour in the boiling water and mix on low until combined; the batter will be thin and glossy.
- Preheat the air fryer to 325°F (about 165°C). Spray a 6″ bundt or 6″ round cake pan with cooking spray.
- Pour half the batter into the prepared pan. Place the pan in the center of the air fryer basket and bake for 20–25 minutes, or until a toothpick inserted in the center comes out clean.
- Allow the pan to cool in the air fryer until it is cool enough to handle. Invert the pan onto a plate, remove the pan, and let the cake cool completely on a wire rack.
- Repeat with the remaining batter if you have a second pan. Before serving, drizzle with chocolate sauce or ganache if desired.

Storage
Store leftovers properly to maintain freshness:
- Room temperature: Unfrosted cake can be covered and kept at room temperature for 3–4 days.
- Refrigerator: If the cake is frosted with chocolate sauce or ganache, store in an airtight container in the fridge for up to a week.
- Freezer: Wrap unfrosted cake tightly and freeze for up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature before serving.
Variations
- Peanut butter: Stir a few tablespoons of peanut butter into the batter or the ganache for a chocolate-peanut combination.
- Fruit compote: Add a raspberry or strawberry compote for bright acidity and freshness.
- Mint: Add a few drops of peppermint extract to the batter for mint chocolate cake.
- Chocolate chips: Fold chocolate chips into the batter for extra chocolate texture.
- Mocha: Add a tablespoon of instant espresso powder to enhance the chocolate depth.
- Vegan: Replace eggs with a vinegar-and-baking-soda substitution and use plant-based milk for a vegan version.
- Box mix option: If short on time, a boxed chocolate cake mix can be used and adapted for air fryer baking.
Helpful tips
- Choose the right pan: Use a pan that fits comfortably in your air fryer with room for air to circulate. A six-inch pan fits many 6-quart models.
- Monitor baking time: Air fryers vary; check the cake a few minutes before the minimum time listed.
- Toothpick test: Insert a toothpick in the center; if it comes out clean, the cake is done.
- Let it rest: Allow the cake to cool briefly in the pan before removing to avoid breaking or sticking.
- Don’t overfill: Fill pans only as directed to prevent batter overflow in the air fryer.

Recipe

Air Fryer Cake
A quick and decadent chocolate cake you can bake in an air fryer in about 30 minutes. Rich, moist, and perfect with chocolate sauce or ganache.
Course: Dessert
Cuisine: North American
Diet: Vegetarian
Prep Time: 10 minutes
Cook Time: 20 minutes
Total Time: 30 minutes
Servings: 8
Calories: 420 kcal (per serving)
Author: Colleen Milne
Equipment
- Air fryer
- 6″ bundt pan or 6″ round cake pan
- Hand mixer
Ingredients
- 1 3/4 cups all-purpose flour (or 1:1 gluten-free)
- 1 1/2 cups sugar
- 1 cup cocoa powder
- 1 1/2 tsp baking soda
- 1 1/2 tsp baking powder
- 1 tsp salt
- 1 cup milk
- 1/2 cup olive oil
- 2 large eggs
- 2 tsp vanilla extract
- 1 cup boiling water
Instructions
- In a large bowl, whisk together flour, sugar, cocoa powder, baking soda, baking powder, and salt.
- Add milk, oil, eggs, and vanilla. Beat with a hand mixer on medium speed for about 3 minutes until smooth.
- Carefully pour in the boiling water and mix on low until combined. The batter will be thin.
- Preheat the air fryer to 325°F (165°C). Spray a 6″ bundt or round pan with cooking spray.
- Pour half the batter into the prepared pan. Place the pan in the air fryer basket and bake 20–25 minutes or until a toothpick inserted in the center comes out clean.
- Let the pan cool in the air fryer until it is cool enough to handle. Invert onto a plate and remove the pan. Cool completely on a wire rack.
- Repeat with remaining batter if making a second pan. Drizzle with chocolate sauce or ganache before serving if desired.
Notes
- Use a pan that leaves room for air to circulate in the air fryer.
- Check the cake early as cooking times vary by air fryer model.
- Allow the cake to cool briefly before removing from the pan to prevent sticking or breaking.
Nutrition (approximate per serving)
Calories: 420 kcal | Carbohydrates: 67 g | Protein: 7 g | Fat: 17 g | Sugar: 39 g

If you make this recipe, please leave a rating or comment and share any variations you tried. Your feedback helps other bakers and is greatly appreciated. Thank you for visiting.