Air Fryer Chocolate Cake

A small chocolate sponge made in the air fryer gives you the familiar comfort of a cocoa-rich cake without heating a full oven. The crumb should be tender and close rather than heavy, with butter, caster sugar and whole milk helping it stay soft while the cocoa brings a deep, rounded flavour. Baked in a compact tin at 160°C (320°F), it suits smaller households, quick desserts or occasions when a full-sized cake would be too much. The simple cocoa icing sets into a neat, sweet finish, making the cake easy to slice and serve with coffee, tea or a spoonful of cream.
Cuisine style American-style home baking
Flavor profile Chocolatey • Sweet • Rich
Techniques Creaming • Air-frying • Icing
Key equipment Air fryer • Small cake tin
Cooking style Make-ahead friendly • Freezer-friendly
Time commitment Under 1 hour

Why this recipe works

  • Straightforward method: The cake uses a classic creamed-butter sponge method with familiar baking ingredients and clear visual doneness cues.
  • Classic chocolate flavour: Cocoa in both the sponge and icing gives the cake a clear chocolate character without needing melted chocolate.
  • Easy to store: The cake keeps well for several days and uniced slices can be frozen, making it practical for smaller households.

Get the most out of this recipe

Timing notes

  • Cool before icing: Let the cake cool completely before adding the icing so it spreads neatly rather than melting into the crumb.
  • Best texture: Serve once the icing has set but the cake is still fresh and soft; airtight storage helps protect the crumb from drying.

Texture tips

  • Avoid a dry crumb: Air fryers can bake quickly, so check near the lower end of the time range and stop when the centre springs back.
  • Cream thoroughly: Beat the butter and sugar until pale and fluffy before adding the eggs; this helps the sponge bake up lighter.
  • Use a lined tin: Greasing and lining the tin helps the small cake release cleanly without compressing the sides.

Ingredient notes

  • Use room-temperature egg: A room-temperature egg blends more smoothly into the butter mixture, helping the batter stay even.
  • Choose good cocoa: Because cocoa provides most of the chocolate flavour, a well-flavoured cocoa powder makes a noticeable difference.
  • Milk alternatives: Lactose-free milk can be used in both the cake and icing without changing the method.

Make-ahead tips

  • Freeze uniced slices: Freeze the cake uniced for the neatest finish, then thaw at room temperature and ice before serving.
  • Bake ahead: The cake can be baked in advance and kept airtight at cool room temperature, then iced once fully cooled.

Equipment you'll need

Ingredients

Cake

Icing

Instructions
Print
  1. Grease and line a small cake tin that fits your air fryer (about 16 cm). Let the butter soften slightly so it creams easily. Preheat the air fryer to 160°C (320°F) for 3 minutes.
  2. Beat the butter and caster sugar until pale and fluffy. Beat in the eggs one at a time, then mix in the vanilla. In a separate bowl, whisk together the flour, cocoa, baking powder, and salt.
  3. Fold the dry ingredients into the butter mixture, adding the milk gradually, until you have a smooth batter. Scrape into the tin and level the top. Air fry at 160°C (320°F) for 22 to 28 minutes, until the centre springs back and a skewer comes out with just a few moist crumbs.
  4. Cool the cake in the tin for 10 minutes, then turn out and cool completely. Mix the icing sugar and cocoa, then stir in the milk a little at a time until thick but spreadable. Spread over the cooled cake and let it set before slicing.

Made this recipe? Rate it — a comment is optional.

Recipe notes

Tips

  • If the top starts to darken before the centre is baked, loosely cover with foil and continue cooking.
  • For a softer crumb, stop cooking as soon as the cake springs back, as air fryers can overbake quickly.

Substitutions

  • Replace Whole milk with Lactose-free milk in both the cake and icing.
  • Replace Vanilla extract with Madagascan vanilla paste for a fuller vanilla note.

Storage

  • Refrigerate up to 4 days
  • Store in an airtight container for up to 2 days at cool room temperature, or refrigerate for up to 4 days. Freeze uniced slices for up to 2 months; thaw at room temperature and ice after thawing for the neatest finish.

Ratings & reviews

Liked this recipe? Share your feedback to support our cooking community.

Tried this recipe?

Choose 1–5 stars. A comment is optional.

If you leave a comment, use 10–500 characters.

Stay inspired

Discover new recipes, seasonal favourites and cooking inspiration every day. Follow JustRecipes on Pinterest and Spillt.

Air Fryer Chocolate Cake
Image by JustRecipes
Pinterest

Recipe overview

  • Servings: 8 servings
  • Total time: 55min (20min active)
  • Difficulty: Easy
  • Cuisine: American
  • Allergens:
    Eggs Gluten Milk Wheat
Beginner friendly Freezer friendly Kid friendly

Plan your meals and get a complete grocery list automatically.

Add to meal planner

Equipment you'll need

Advertisement

Recommended tools for this recipe

Best overall

KitchenAid Stainless Steel Mixing Bowls

Non-slip steel set
  • Non-slip base
  • Stainless steel
  • Not microwave safe

Got ingredients left?

Find recipes using ingredients from this recipe or what you already have at home.

Find recipes with these ingredients →

Make this recipe easier next time

Advertisement

These tools help you get better results with less effort.

Best overall

KitchenAid Stainless Steel Mixing Bowls

Non-slip steel set
  • Non-slip base
  • Stainless steel
  • Not microwave safe
Best value

Pyrex Glass Mixing Bowls with Lids

Microwave-safe glass
  • Microwave safe
  • BPA-free lids
  • Glass is heavier
Top quality

OXO Good Grips Stainless Mixing Bowl Set

Insulated grip bowls
  • Non-slip base
  • Comfort grip
  • Higher price

Browse alphabetically

Looking for a specific recipe? Choose a letter below to jump directly to recipes starting with that letter or number.

Enjoy cooking with JustRecipes?

Add JustRecipes as one of your preferred Google sources to discover our recipes more easily across Google Search.

Add JustRecipes to Google

Every recipe on JustRecipes follows the same structured editorial process. Learn how recipes are created, validated, translated, illustrated, and continuously improved across the platform. How we create recipes.