Preheat the oven to 180 °C (350 °F).
You can use whole eggs or separate them and beat the egg whites until stiff.
In a mixing bowl, combine the sweetened condensed milk with the whole eggs (or just the yolks) and vanilla extract.
Add the milk and stir, then fold in the shredded coconut. Mix gently, do not whisk.
Note : If you choose to separate the eggs, beat the egg whites until stiff, then fold them gently into the mixture. Don’t try to smooth it out, it’s important to leave some bits of egg white on the surface, forming a sort of floating cloud.
Pour this mixture over the caramel in the loaf pan.
Place the mold in a deep baking dish and fill it halfway with boiling water (bain-marie cooking).
Bake for about 50 minutes, depending on your oven. If the top starts to brown too quickly, cover it with a sheet of aluminum foil to prevent over-browning.
Check for doneness with a skewer, it should come out clean. The top of the flan should be firm and golden.
Once baked, remove from the oven and let it cool slightly before refrigerating for at least 5 hours. I usually leave it overnight.
Let the flan cool completely before unmolding so it sets nicely and releases smoothly. Before inverting the pan, gently run a knife or toothpick around the edges to loosen it.
You can also make this coconut flan in mini portions for an elegant dessert assortment.
Enjoy your meal!