Moist Air Fryer Chocolate Cake for Two
A small batch chocolate cake that bakes up quick in your air fryer. It’s tender, deeply chocolatey, and just the right size when you need dessert for two without a mountain of leftovers.

Why This Air Fryer Chocolate Cake Stays in the Rotation
This cake feels like a real bakery treat, but it comes together in about 30 minutes. It bakes in a 6-inch pan and turns out with a soft crumb and a fudgy cocoa flavor that holds its own without frosting. The air fryer’s compact heat keeps it moist every time.
I make it on weeknights when I want something warm and homemade, but not a full cake taking up the kitchen. The ingredients are all pantry staples. Cleanup is minimal. It’s one of those desserts that delivers a lot for very little effort.
Ingredients

- 1/2 cup all-purpose flour: unbleached works best for texture
- 1/4 cup granulated sugar: adds just enough sweetness
- 2 tbsp unsweetened cocoa powder: Dutch process gives a deeper color, natural works too
- 1/2 tsp baking powder: helps the cake rise
- 1/4 tsp baking soda: keeps it tender with the cocoa’s acidity
- Pinch of salt: brings out the chocolate
- 1 large egg: at room temperature for the smoothest batter
- 3 tbsp milk: any kind, whole milk is my favorite
- 2 tbsp vegetable oil: keeps the cake moist; can sub melted butter
- 1/2 tsp vanilla extract: rounds out the chocolate flavor
- Powdered sugar or whipped cream for serving: optional, but a nice finish
Variations / Substitutions
- Use melted butter instead of oil: the cake will be a bit richer with a slightly tighter crumb.
- Add 1/2 tsp espresso powder to the dry mix: it won’t taste like coffee, just makes the chocolate pop.
- Substitute buttermilk for the milk: tangier, and the crumb softens even more. If using buttermilk, reduce baking powder to 1/4 tsp and increase baking soda to 1/2 tsp.
- Make it gluten-free: swap in a 1:1 gluten-free flour blend; the texture stays almost identical.
- Fold in 1/4 cup mini chocolate chips: for melty pockets throughout the cake.
If you’re in the mood for a vanilla version, try a simple Vanilla Air Fryer Cake with this same small-pan method.
How to Make Moist Air Fryer Chocolate Cake
Step 1: Whisk the Dry Ingredients

In a medium bowl, whisk together 1/2 cup flour, 1/4 cup sugar, 2 tbsp cocoa, 1/2 tsp baking powder, 1/4 tsp baking soda, and a pinch of salt. Whisk for about 30 seconds until blended and no lumps of cocoa remain.
The mixture will look like pale brown sand. Breaking up any cocoa clumps now means a uniform color and flavor after baking.
Step 2: Stir Together the Wet Ingredients

In another small bowl, whisk 1 large egg, 3 tbsp milk, 2 tbsp oil, and 1/2 tsp vanilla. Stir for about 30 seconds until smooth and slightly frothy. Make sure the egg is fully broken down and no streaks of white show.
This comes together quickly by hand. You’re looking for a thin, even liquid.
Step 3: Fold the Batter Together

Pour the wet ingredients into the dry and fold gently with a spatula. Fold for about 20 seconds, just until no dry flour shows. A few small lumps are fine; overmixing will toughen the cake.
The batter will be thick but pourable and smell deeply of chocolate. Stop the second it looks mostly smooth.
Step 4: Air Fry the Cake

Lightly grease a 6-inch round cake pan with oil or butter and line the bottom with a round of parchment for easy release. If your air fryer has a preheat setting, set it to 320°F (160°C) and let it run empty for 3 minutes.
Gently spread the batter into the prepared pan and place it in the air fryer basket. Air fry at 320°F for 18 to 22 minutes. At 18 minutes, insert a toothpick in the center; it should come out clean or with a few moist crumbs. The top will feel springy when you press it lightly.
Step 5: Dust with Sugar and Slice

Let the cake cool in the pan for 10 minutes, then run a knife around the edge and turn it out onto a wire rack. Once it’s cool enough to handle, dust the top generously with powdered sugar or a light sift of cocoa.
Slice right away and serve warm. The sugar melts into the crumb just a little, and the cake stays soft in the middle. Two forks straight from the plate works perfectly.
A Few Tips for the Best Air Fryer Cake
- Bring the egg and milk to room temperature quickly by setting them on the counter for 15 minutes or warming the milk for a few seconds. Room temp ingredients mix more evenly and give a fluffier rise.
- Check at the 18-minute mark: air fryers vary, so use the toothpick early to avoid a dry cake.
- If using a dark metal pan, drop the temperature to 310°F (about 155°C). Dark pans absorb more heat and can over-brown the crust before the center sets.
Cook times by pan size:
| Pan Size | Approx. Batter Amount | Air Fry Time at 320°F |
|---|---|---|
| 6-inch round (this recipe) | full batter | 18-22 min |
| 4-inch round | half batter | 16-18 min |
| 8×4-inch loaf pan | double batter | 22-25 min |
Storing Leftover Cake
- Refrigerate: Wrap the cooled cake tightly in plastic wrap or store in an airtight container. It keeps for up to 3 days in the fridge. Let it come to room temp before serving, or warm it briefly.
- Reheating: A few seconds in the microwave or 2 minutes in the air fryer at 300°F brings back that just-baked softness.
Frequently Asked Questions
Can I bake this in a conventional oven instead?
Yes. Use the same pan, bake at 350°F (175°C) for about 20 to 25 minutes, and check with a toothpick just the same.
How do I make it without eggs?
Replace the egg with 1 tablespoon of ground flaxseed mixed with 2.5 tablespoons of water. Let it sit for 5 minutes, then use as directed. The cake will be slightly denser.
What if I only have a 7-inch pan?
Double the recipe to fill it properly, and expect the bake time to increase by about 3 to 5 minutes. Use the toothpick test to know when it’s done.
Why did my cake sink in the middle?
It likely opened the air fryer too early during baking, or it was slightly underbaked. Avoid peeking before the 18-minute mark.

Moist Air Fryer Chocolate Cake Recipe
Ingredients
Method
- Whisk flour, sugar, cocoa, baking powder, baking soda, and salt in a medium bowl.
- In a separate bowl, whisk egg, milk, oil, and vanilla until smooth.
- Fold the wet mixture into the dry ingredients just until no dry streaks remain.
- Pour batter into a greased 6-inch round pan. Air fry at 320°F (160°C) for 18-22 minutes, until a toothpick inserted in the center comes out clean.
- Let cool in the pan for 10 minutes, then turn out onto a rack. Dust with powdered sugar, slice, and serve warm.
