This gratin combines parboiled cauliflower and ham with cream, egg and cheeses, then finishes cooking in the air fryer. Drain the florets thoroughly and check that the centre has set before serving.
For an air fryer cauliflower and ham gratin that serves neatly, keep an eye on the tenderness of the cauliflower and the colour of the top. The steps below will help you organise the cooking and judge when the dish is ready without relying on the timer alone.
Ingredients and quantities for the gratin
These quantities serve about 3 to 4. Gather the ingredients before starting, weighing the cauliflower once trimmed and separated into florets.
- 700 g raw cauliflower florets
- 150 g sliced cooked ham, cut into small dice
- 200 g single cream (one small carton)
- 100 ml milk
- 1 large egg
- 150 g grated mozzarella
- 30 g grated Parmesan
- 1/4 teaspoon salt, using a 5 ml measure
- Black pepper to taste
- 1 pinch of nutmeg, optional
How to prepare and brown the gratin in the air fryer

Cook the cauliflower until just tender
- Parboil the florets. Bring a pan of water to the boil over a high heat. Add the 700 g of cauliflower and cook for about 5 to 7 minutes. A fork should go in easily but still meet a little resistance. Drain well, as excess water can make the gratin watery.
- Make the cream mixture. Beat the egg with the cream and milk in a bowl using a fork or whisk. Stir in the salt, pepper and nutmeg, if using.
Assemble the gratin and place it in the air fryer
- Spread the drained cauliflower and diced ham in an ovenproof dish that fits the air fryer basket. Pour over the cream mixture, then scatter the grated mozzarella and Parmesan over the top.
- Set the dish in the basket and cook at 180 °C for about 12 to 15 minutes. The time will depend on your appliance and the shape of the dish. Remove when the centre has set, the edges are bubbling and the cheese is golden. Use oven gloves or a dry cloth to lift out the hot dish.
How to tell when the cauliflower is ready
Check the cauliflower twice. After boiling, a fork should slide into a floret easily but meet a little resistance. If the floret falls apart when pierced, it is overcooked and may lose its shape in the gratin.
After air-frying, check the whole dish. The centre should be set, the edges bubbling and the cheese golden. A golden top alone doesn’t tell you that the inside is cooked, so check the centre before removing the dish.
Common mistakes and how to avoid them

Watery gratin. This often happens when water clings to the drained florets. Leave them in a sieve for a few minutes before assembling the dish and make sure no water has collected before transferring them.
Unevenly cooked cauliflower. Florets of very different sizes can cook at different rates. Split the larger ones into smaller pieces before boiling so they cook more evenly.
Too salty. The ham and cheeses already contain salt. Stick to the 1/4 teaspoon specified and avoid adding any more to the cream mixture.
Possible substitutions and variations
These are alternatives to the main recipe. Keep the cream mixture and the rest of the method as described.
Swap the ham
Use 150 g sliced turkey breast, cut into small dice, in place of the ham. The flavour is milder, but the pieces still spread nicely between the florets.
Vary the cheeses
Replace the 150 g of mozzarella with 150 g of grated queijo prato, a Brazilian cheese that also melts well. Keep the Parmesan for a more pronounced flavour on top, or use less or leave it out for a milder gratin.
Make a ham-free version
For a meat-free version, use sliced mushrooms instead of the 150 g of ham. Brown them in a frying pan until they have released their liquid and it has evaporated. Let them cool before assembling the gratin so they add no extra moisture to the cream mixture.
How to serve and store leftovers

Lift the dish out of the air fryer with oven gloves or a dry cloth and leave the gratin to rest for a few minutes. This lets the cream mixture settle and makes it easier to serve portions without breaking up the florets.
Serve as a side or a main course with a salad or another simple accompaniment. For leftovers, wait for the strongest steam to subside, then transfer to a lidded container and refrigerate. Avoid leaving the dish at room temperature for long.
To reheat, put one portion in a dish suitable for the air fryer or use another available method. Heat until piping hot in the centre. The top may brown further, so keep an eye on it and remove as soon as it is hot through.
Serve while still warm
After a few minutes’ rest, bring the warm gratin to the table as a side or as a main course with a simple salad.
Questions about the recipe
Do the 12 to 15 minutes in the air fryer include cooking the cauliflower?
No. First boil the florets for about 5 to 7 minutes and drain them well. The 12 to 15 minutes at 180 °C are for browning the assembled gratin.
The cheese is golden but the centre is still soft. Can I take it out?
Wait until the cream mixture has set in the centre before removing the dish. The colour of the topping alone won’t tell you whether it is cooked through. As the time varies with the appliance and dish, check the texture as well as the clock.
Can I leave out the nutmeg?
Yes. It is optional and you can leave it out without changing any other quantities.
How do I make it without ham?
Replace the 150 g of ham with sliced mushrooms. Brown them in a frying pan until their juices have been released and evaporated, then leave to cool before assembling the gratin.



