Apple Egg Cocoa Powder Cake in Air Fryer

Updated November 26, 2026

Total time
40 min
prep 15 min · cook 25 min
Serves
4
portions as written

Jump to recipe

This air fryer apple egg cocoa powder cake is a moist, lightly sweet single-layer cake that comes together in one bowl and bakes in about 25 minutes. The combination of grated apple, eggs, and cocoa powder creates a tender crumb with a deep chocolate flavor, while the air fryer gives the edges a lovely golden crust. It’s a practical dessert or snack when you want a small cake without heating up the oven.

Ingredients

  • 1 medium apple (about 180 g / 6 oz), peeled and grated
  • 2 large eggs (about 100 g / 3.5 oz total)
  • 1/2 cup (100 g) granulated sugar
  • 1/4 cup (60 ml) neutral oil (such as canola or sunflower)
  • 1/4 cup (60 ml) milk (any kind, or water)
  • 1 tsp vanilla extract
  • 3/4 cup (95 g) all-purpose flour
  • 1/4 cup (25 g) unsweetened cocoa powder
  • 1 tsp baking powder
  • 1/4 tsp salt
  • Optional: 1/4 cup (45 g) chocolate chips or chopped nuts

Instructions

  1. Preheat your air fryer to 320°F (160°C) for 5 minutes. Grease a 6-inch (15 cm) round cake pan that fits inside your air fryer basket, or line it with parchment paper.
  2. In a large bowl, whisk together the eggs and sugar until pale and slightly frothy, about 1 minute. Add the oil, milk, and vanilla, and whisk until combined.
  3. Squeeze the grated apple gently to remove excess juice (you want about 1/2 cup / 120 ml of grated apple after squeezing). Add the apple to the wet mixture and stir.
  4. In a separate bowl, whisk the flour, cocoa powder, baking powder, and salt. Add the dry ingredients to the wet mixture and stir until just combined. Do not overmix; a few lumps are fine. Fold in chocolate chips if using.
  5. Pour the batter into the prepared pan and smooth the top. Place the pan in the air fryer basket. Cook at 320°F (160°C) for 20–25 minutes, or until a toothpick inserted into the center comes out clean. If the top is browning too fast, cover loosely with foil for the last 5 minutes.
  6. 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. Serve warm or at room temperature.

Tips

  • Apple moisture: Grate the apple and squeeze out the extra liquid. Too much moisture can make the cake dense and soggy in the middle.
  • Pan size: Use a pan that fits in your air fryer with at least 1 inch (2.5 cm) of space around the sides for air circulation. If your pan is larger, the cake will be thinner and may cook faster—check at 15 minutes.
  • Substitutions: Swap the all-purpose flour with whole wheat pastry flour for a slightly heartier texture. For a dairy-free version, use water or plant-based milk instead of milk.
  • Don’t open the air fryer too often: Every time you open it, heat escapes and extends cooking time. Check only near the end.

Serving Suggestions

Serve slices of this cake with a dusting of powdered sugar, a dollop of whipped cream, or a scoop of vanilla ice cream. It also pairs well with a drizzle of warm caramel sauce or a spoonful of Greek yogurt for a less sweet option.

Variations

  • Spiced version: Add 1/2 tsp ground cinnamon and a pinch of nutmeg along with the dry ingredients for a warm, autumnal flavor.
  • Nutty crunch: Fold in 1/4 cup (30 g) chopped walnuts or pecans for texture.
  • Gluten-free: Replace the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more crumbly.
  • Mocha twist: Dissolve 1 tsp instant coffee or espresso powder in the milk before adding it to the batter.

Storage and Reheating

Store leftover cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 4 days. To reheat, place a slice in the air fryer at 300°F (150°C) for 2–3 minutes, or microwave for 15–20 seconds until warm. The cake also freezes well for up to 3 months—wrap tightly in plastic wrap and thaw overnight in the refrigerator before serving.

Frequently Asked Questions

Can I use a different type of apple? Yes, any firm apple works—Honeycrisp, Fuji, or Granny Smith are all good choices. Softer apples like Red Delicious may break down more and release more liquid, so be sure to squeeze well.

Why is my cake not cooked in the middle? This usually happens if the air fryer temperature is too high, causing the outside to set before the center cooks. Always preheat, use the correct temperature, and check with a toothpick. If the top is browning too fast, cover with foil.

Can I make this without eggs? Yes, you can substitute each egg with 1/4 cup (60 g) unsweetened applesauce or a flax egg (1 tbsp ground flaxseed mixed with 3 tbsp water, left to thicken for 5 minutes). The cake will be slightly denser and less fluffy.

How do I know when the cake is done? Insert a toothpick into the center—it should come out clean or with a few moist crumbs, not wet batter. The internal temperature of the cake should read 200°F (93°C) on an instant-read thermometer, though the toothpick test is more common.

Can I use a larger air fryer? Yes, if your air fryer is larger, you can use a 7-inch (18 cm) pan. The cake will be thinner and cook faster—start checking at 15 minutes.

What if I don’t have cocoa powder? You can replace it with 1/4 cup (30 g) of all-purpose flour and add 2 tbsp of melted dark chocolate to the wet ingredients for a similar chocolate flavor, though the texture will be slightly different.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).