Classic chocolate cake in the air fryer. It’s a beloved classic in many Danish homes and schools. This easy and delicious chocolate cake is often at the centre of cosiness and togetherness, especially during class hour, when pupils and teachers come together to enjoy a moment with the taste of chocolate and company. In this recipe, we’ll explore how to make this popular bake in an air fryer. We’ll also dive into the cake’s origin, variations, and decorating options.

Advertisement: The page displays ads and contains advertising links (affiliate links). See our advertisers here.
Estimated reading time: 5 minutes
Table of Contents: Why make Classic chocolate cake in the air fryer? | What kind of cake is a Classic chocolate cake? | Who invented this cake and where does it come from? | What variations can you make of the cake? | What do you decorate it with? | Conclusion on Classic chocolate cake in the air fryer
Why make Classic chocolate cake in the air fryer?
Making Classic chocolate cake in an air fryer has several advantages. First of all, the air fryer significantly reduces the baking time compared to a traditional oven. This makes it possible to bake the cake quickly, which is ideal for busy weekdays or spontaneous cake occasions. Secondly, it also ensures even baking, as it heats the food from all sides, which can result in a more even cake with a lovely crumb.
What kind of cake is a Classic chocolate cake?
It’s a simple, yet incredibly tasty chocolate cake that’s easy to make and always a hit with both children and adults. The cake is known for its soft, moist texture and rich chocolate flavour, which makes it perfect for any occasion. It requires just a few ingredients that are often already in the kitchen cupboard, making it a practical choice whenever you need a quick and delicious dessert.
I recommend this refreshing cola with our classic chocolate cake
Chocolate cake and cola is a combination that never fails – the slightly bitter, caramelised flavour of a good cola plays perfectly off the rich, dark chocolate in the cake and cuts through the sweetness in a completely natural way. I swear by a cola made from proper raw ingredients without artificial colours or sweeteners, so cake day stays a little easier on the conscience. I can warmly recommend Naturfrisk Cola Cool – it’s organic, fizzy, and has exactly the depth of flavour that lifts a slice of homemade chocolate cake from cosy to something truly special.
The classic recipe consists of basic ingredients such as butter, sugar, eggs, flour, cocoa powder, and baking powder. These ingredients are mixed together into a batter that’s baked into a perfect chocolate cake. The simplicity of the recipe makes it easy to adapt and experiment with, which has resulted in many different variations of the classic cake.
To ensure an extra moist Classic chocolate cake, you can add a couple of tablespoons of crème fraîche or Greek yoghurt to the batter. This will give the cake fantastic moisture and a slightly tangy flavour. It complements the chocolate perfectly.
Tips and tricks from the author: Morten Jensen
Who invented this cake, and where does it come from?
Classic chocolate cake — known in Danish as “Klassens Time Kage” — has its roots in Denmark, where it has been a staple of school and after-school life for many years. The cake originally became popular in the 1970s and 1980s, when it was an easy and inexpensive way to bring a little extra cosiness to class hour. It’s unknown who exactly invented the cake, but it has become part of Danish cake culture and found its place as a beloved classic.
The name “Klassens Time Kage” (literally “class hour cake”) comes from the concept of “klassens time,” a tradition in Danish schools where pupils and teachers spend time together on activities outside the regular curriculum. It was often a time when pupils could bring homemade cakes, and Classic chocolate cake quickly became a favourite thanks to its easy recipe and huge popularity among children.
What variations can you make of the cake?
Classic chocolate cake is a versatile recipe that can be adapted in many ways. Here are a few variations that can bring new life to the classic cake:
- Chocolate and banana cake: Adding ripe bananas to the batter gives you a moist, sweet cake with an extra dimension of flavour. Bananas complement the chocolate well and give the cake a wonderful texture.
- Nut and chocolate cake: Add chopped nuts such as walnuts, hazelnuts, or almonds to the batter. The nuts add a lovely crunch and extra flavour that makes the cake even more interesting.
- Orange and chocolate cake: Grated orange zest and a little orange juice in the batter can give the classic chocolate cake a fresh, citrusy twist. The combination of chocolate and orange is always a winner.
What do you decorate it with?
The decoration on Classic chocolate cake can vary depending on taste and occasion. Here are some popular decorating suggestions:
- Chocolate glaze: A simple chocolate glaze made from icing sugar, cocoa powder, and a little water or milk is a classic topping. It can optionally be decorated with sprinkles or chocolate shavings for extra flair.
- Icing sugar: For a simpler decoration, the cake can be dusted with a light layer of icing sugar. This gives a lovely, snow-covered look and adds a touch of sweetness.
- Berries and fruit: Fresh berries such as raspberries, blueberries, or strawberries can give a colourful, fresh look. The tart berries contrast nicely with the sweet cake.
- Coconut flakes: Toasted coconut flakes can be sprinkled over the glaze for a tropical flavour and a crisp texture.
Conclusion on Classic chocolate cake in the air fryer
Classic chocolate cake is a timeless favourite that brings joy and cosiness to many occasions. By using an air fryer for baking, you can enjoy a quick and efficient way to make this delicious cake without compromising on flavour or texture. The cake’s versatility makes it easy to adapt with different flavour variations and decorations, so it suits any taste and occasion. Whether it’s for class hour, birthdays, or a cosy afternoon at home, Classic chocolate cake will always be a sure winner.
Recipe

Classic chocolate cake in the Air Fryer
Cooking Guide
Keep the screen on and follow the recipe step by step while you cook.
Step 1:
Avoid the screen turning off while you cook.
Step 2:
Start the guide and follow the recipe one step at a time.
Cost of the dish
Prices may vary depending on where you shop.
Our estimate is based on average food prices for the current year 2026.
Estimated price for the whole dish:
Airfryer size
All our recipes are tested in a Philips Airfryer 2000 Series NA230/00 – 6.2 L
Does the recipe fit my Airfryer?
If you’re unsure, you can always reduce by one serving in the recipe, or click the 0.5x button.
You can also Ask the AI Chef
It’s easy! Just press the Ask the AI Chef button you see at the bottom.
Shopping list
Ingredients
- 100 g butter
- 2 pcs eggs
- 150 g sugar
- 1 tsp vanilla sugar
- 1 dl milk
- 150 g wheat flour
- 3 tbsp cocoa powder
- 1½ tsp baking powder
- 1 tsp salt

How to make it
- Preparation:Melt 100 g butter and let it cool.
- Eggs and sugar:Whisk 2 pcs eggs together with 150 g sugar and 1 tsp vanilla sugar, until the mixture is light and fluffy.
- Wet ingredients:Add the cooled butter and 1 dl milk to the egg mixture and stir well.
- Dry ingredients:Mix 150 g wheat flour, 3 tbsp cocoa powder, 1½ tsp baking powder and 1 tsp salt in a separate bowl. Sift the mixture into the wet ingredients and gently fold the batter together until smooth and even.
- Prepare the air fryer: Preheat the air fryer to 160°C. (Pre-program it, or let it run for a few minutes before cooking) Line the baking tin with baking paper or grease it lightly, then pour the batter into the tin.
- Baking:Place the tin in the air fryer and bake the cake at 160°C for 25-30 minutes. Check the cake with a toothpick; it’s done when the toothpick comes out clean.Start the online kitchen timer here
- Cooling:Let the cake cool in the tin for 10 minutes before removing it and letting it cool completely on a wire rack.
Your notes for the recipe
Nutrition per serving (Guideline)
Important about shelf life and nutrition
Nutrition per serving (guideline): Calculations are based on data from the United States Department of Agriculture (USDA). Shelf life (guideline): Shelf life data is provided, as far as possible, by public institutions, including national food authorities. Our information is therefore only indicative, and it is your responsibility to obtain and calculate accurate information about shelf life and nutrition for all recipes on airfryerkogebogen.dk
Easily share the recipe with others:
Via email or on Facebook
Open the recipe on your phone
Scan the QR code with your phone and get the recipe directly on your mobile while you cook.