An air fryer bakes this chocolate cake evenly, giving it a soft crumb and plenty of flavour. It’s quick and easy to make with simple ingredients.
Want to make a soft, delicious chocolate cake in your air fryer in no time? I’ve tried several methods, and I’ll take you through the recipe step by step so you can bake it at home, even if it’s your first cake.
Ingredients for air fryer chocolate cake

For a delicious air fryer chocolate cake, start with fresh ingredients and measure out the following quantities.
- 2 large eggs – preferably at room temperature so they mix in more easily.
- 1 cup of sugar – use less if you prefer a less sweet cake.
- 1/2 cup of vegetable oil – you can use melted butter instead if you like.
- 1 cup of milk – whole or skimmed, whichever you prefer.
- 1 1/2 cups of plain flour – sifted for a lighter cake.
- 1/2 cup of cocoa powder – choose 100% pure cocoa for a rich chocolate flavour.
- 1 tablespoon of baking powder – essential for the cake to rise.
- 1 pinch of salt – to bring out the flavours.
- Vanilla essence to taste (optional) – for a hint of vanilla.
How to make air fryer chocolate cake step by step

- Start the batter. Crack 2 eggs into a large bowl and beat until the whites and yolks are well combined.
- Add the sugar and oil. Mix 1 cup of sugar and 1/2 cup of vegetable oil into the eggs until well combined.
- Stir in the milk. Add 1 cup of milk and keep stirring until everything is well combined.
- Fold in the flour and cocoa. Sift in 1 1/2 cups of plain flour and 1/2 cup of cocoa powder, then fold in gently to avoid lumps.
- Add the baking powder and salt. Gently stir in 1 tablespoon of baking powder and 1 pinch of salt until evenly distributed.
- Fill the tin. Grease a small cake tin that fits in your air fryer, then carefully pour in the batter, filling the tin no more than 2/3 full.
- Preheat the air fryer to 160°C for 5 minutes so the cake bakes evenly.
- Bake the cake. Place the tin in the air fryer and bake for 25 minutes. Insert a skewer into the centre of the cake. If it comes out clean, the cake is ready.
- Cool the cake in the tin for a few minutes before turning it out so it doesn’t break.
Tip – for extra flavour, add vanilla essence to the batter or, once the cake has cooled, decorate it with melted chocolate.
Tips for a soft, flavourful air fryer cake

A few simple steps make all the difference when you want a soft, flavourful cake from your air fryer.
- Use fresh, good-quality ingredients. Room-temperature eggs, sifted flour and baking powder that’s still in date all help give the cake a lighter texture.
- Take care not to overbeat the batter. Mix just until the ingredients come together so the cake stays light.
- Preheat the air fryer. Keeping it at the right temperature helps the cake rise evenly.
- Choose the right temperature. Baking at around 160°C helps prevent the outside from burning while the centre is still raw.
- Leave room for the cake to rise. Fill the tin no more than 2/3 full.
- Choose a tin suitable for your air fryer. A small, heatproof tin helps the cake bake evenly.
- Check the cake with a skewer. It should come out clean or with just a few crumbs clinging to it.
- Let the cake cool before turning it out. This helps it hold together and preserves its texture.
Extra tip – for a little extra flavour, add vanilla essence or a pinch of instant coffee to the batter.
Creative variations on air fryer chocolate cake

Try these variations to make your air fryer chocolate cake taste even better and look more inviting.
- Chocolate chunk cake. Stir 100 g of chopped dark chocolate into the batter for pockets of chocolate and a richer flavour.
- Chocolate and fruit cake. Add fresh strawberries or cherries to the batter, or use them to top the cake for a burst of colour and fresh fruit flavour.
- Filled chocolate cake. Once baked, fill the cake with brigadeiro (Brazilian chocolate fudge), dulce de leche or hazelnut spread for a special treat.
- Chocolate nut cake. Stir chopped walnuts or other nuts into the batter for crunch and a nutty aroma.
- Vegan chocolate cake. Use ground linseed in place of the eggs and plant-based milk in place of the dairy milk for a cake with no animal products.
- Gluten-free chocolate cake. Use almond flour or rice flour for anyone who needs to avoid gluten.
Tip – vary the toppings with a drizzle of fruit sauce, a dusting of icing sugar or a scattering of chocolate shavings.
Facts about chocolate cake and air fryers

Baking chocolate cake in an air fryer gives a traditional recipe a modern twist. Here are a few facts about this versatile way of cooking.
- Air fryers were designed to fry food with less oil, making it easier to prepare healthier versions of everything from cakes to fried dishes.
- A shorter baking time. Hot air circulates in a small space, so the cake bakes more quickly than in a conventional oven.
- A distinctive texture. Air frying gives the cake a crisp crust and a soft centre, a combination many people enjoy.
- Lower energy use. An air fryer uses less electricity than a conventional oven, making it an economical choice.
- Plenty of variety. As well as cakes, you can make bread, pies, biscuits and even savoury dishes in an air fryer.
- Growing popularity. Air fryer chocolate cake is one of the most searched-for recipes among people who own an air fryer.
Tip – trying new recipes in your air fryer can change the way you cook, making it easier to prepare food that’s full of flavour.
Time to get baking!
Now that you know all the tips for making a delicious chocolate cake in your air fryer, give this easy recipe a go and surprise everyone with the result.
The air fryer makes baking quicker and easier. With these tips, your cake will turn out just right, with a soft crumb and plenty of flavour.
Thanks for reading! Be sure to follow our Mestre das Receitas cookery website on social media for more delicious recipes, tips and the latest from our kitchen. Let’s make your kitchen an even more special place!
Frequently asked questions about air fryer chocolate cake
Can I bake cakes other than chocolate cake in an air fryer?
Yes, you can bake carrot cake, cornmeal cake and even filled cakes in an air fryer. Adjust the baking time and temperature to suit the recipe.
How long does a chocolate cake take to bake in an air fryer?
It usually takes 25 minutes at 160°C, though the timing can vary with the model of air fryer and the size of the tin.
Can I use gluten-free flour in this recipe?
Yes, you can replace the plain flour with a gluten-free flour, such as rice flour or almond flour, to suit a gluten-free diet.
How can I tell if the cake is baked all the way through?
Insert a skewer into the centre of the cake. If it comes out clean or with just a few moist crumbs clinging to it, the cake is ready.
Do I need to grease the tin before adding the batter and air frying the cake?
Yes, greasing the tin with butter or oil stops the cake from sticking and makes it easier to turn out.
How long does a chocolate cake take to bake in an air fryer?
It usually takes 25 minutes at 160°C, though the timing can vary with the model of air fryer and the size of the tin.

