Home › Mexican › Desserts & Sweets › Flan (Mexican Caramel Custard)
Flan (Mexican Caramel Custard)
Mexican flan is a baked egg custard — milk, eggs, sugar and vanilla, often enriched with cream cheese or condensed milk in home versions — set in a caramel-lined mould and turned out so the caramel sauces it. Silky, cool and just-set, it is the default dessert of Mexican fondas, celebrations and Sunday lunches.

About this dish
Silky baked custard under a cloak of amber caramel — Spain's gift that Mexico made its own.
History & cultural background
Flan descends from Roman custards through Spain (flan de huevo), arriving in Mexico with colonisation and evolving with local riches: condensed and evaporated milks, cream cheese (flan napolitano) and coconut. It became so thoroughly Mexican that the flan's wobble is a national comfort.
Traditional vs modern
Traditionally baked in a bain-marie in a flanera (a lidded mould) or cake tin, rested overnight, and unmoulded to applause with its caramel intact. The texture must be silky without bubbles — gentle heat and straining are the secrets.
Ingredients
- 150 g — For the caramel: caster sugar
- 2 tbsp — Water
- 500 ml — For the custard: whole milk
- 200 ml — Sweetened condensed milk
- 4, plus 2 yolks — Eggs
- 2 tsp — Vanilla extract
- a pinch — Fine salt
- 100 g — Cream cheese (for flan napolitano, optional)
Substitutions
- Whole milk + condensed: All evaporated milk for a firmer, old-fashioned set.
- Cream cheese: Omit for the classic flan de huevo texture — lighter and more delicate.
- Vanilla: A strip of orange peel or a cinnamon stick infused in the milk, regional styles.
Equipment
- 20 cm round cake tin or flanera
- Roasting tin (bain-marie)
- Fine sieve
- Kettle
Good to know before you start: This is a medium recipe and takes about 70 minutes from start to serving (not counting any chilling or resting time the steps call for). Read all the steps once before you begin, and measure out the ingredients first — cooking is much calmer that way. Have ready: 20 cm round cake tin or flanera, Roasting tin (bain-marie), Fine sieve. Key tip: Strain the custard — bubbles and chalazae are the enemies of silk.
Step-by-step method: Flan (Mexican Caramel Custard)
- Heat the oven to 160°C (140°C fan) and put the kettle on — you need boiling water for the bain-marie. Set a 20 cm round cake tin or flanera ready beside the hob, and a roasting tin large enough to hold it.
- Make the caramel. Put the 150 g caster sugar and the 2 tbsp water in a heavy pan over medium heat and let the sugar dissolve, swirling the pan gently rather than stirring, until the syrup turns a deep, even amber — about 5–7 minutes. Pale caramel is just sweet water and burnt caramel is bitter; deep amber is the address. Watch it constantly at the end, as it colours fast.
- Immediately pour the caramel into the mould and swirl it quickly and carefully to coat the base and a little of the sides. It hardens within seconds, so work fast, and treat it with respect — caramel is dangerously hot.
- Make the custard. Blend or whisk the 500 ml whole milk, the 200 ml sweetened condensed milk, the 4 eggs plus 2 yolks, the 2 tsp vanilla extract and the pinch of fine salt — with the 100 g cream cheese as well, if making flan napolitano — until completely smooth, without whipping in foam.
- Strain the custard through a fine sieve into the caramel-lined mould. Straining removes bubbles and chalazae, the enemies of a silken set.
- Cover the mould tightly with foil. Place it in the roasting tin and pour in boiling water to come halfway up the sides of the mould.
- Bake for 50–60 minutes, keeping the bain-marie water at a bare simmer, never a boil — a hot, bubbling bath is what fills flans with holes. The flan is done when the edges are set and the centre still has a gentle, jelly-like wobble when the mould is nudged, not a liquid ripple.
- Lift the mould out of the water bath and cool the flan completely at room temperature, still covered.
- Chill the cooled flan, still in its mould, for at least 6 hours and ideally overnight — the chilling firms the slice and lets the hard caramel soften back into a sauce.
- To unmould, run a thin knife around the inside edge of the mould, place a rimmed serving plate upside down over the top, and invert both together in one confident motion. Lift the mould away slowly and let the caramel flow down over the flan.
- Serve cold, in wedges, with the caramel spooned over each slice. The flan keeps in its mould in the fridge for up to 4 days; once unmoulded, leftovers keep 2 days.
Cooking tips
- Strain the custard — bubbles and chalazae are the enemies of silk.
- The wobble test: the centre should tremble like jelly, not ripple like liquid.
- Overnight chilling firms the slice and deepens the caramel's sauce.
Common mistakes
- Burnt caramel (bitter) or pale caramel (sweet water) — deep amber is the address.
- A hot oven that boils the custard full of holes.
- Unmoulding warm, which collapses the set.
Variations
- Flan napolitano with cream cheese, denser and richer.
- Flan de coco with coconut milk and desiccated coconut.
- Chocoflan ('impossible cake'): flan baked over chocolate cake, the layers swapping places by magic and density.
Serving suggestions
Serve cold in wedges with its caramel spooned over, after rich meals — flan is the cool full stop.
Storage, leftovers & reheating
Keeps refrigerated up to 4 days in its mould. Unmoulded leftovers keep 2 days.
Food safety & allergens: Contains milk and egg; gluten-free. Caramel is dangerously hot — handle with care. Keep refrigerated.
FAQs
Why is my flan full of holes?
The oven was too hot or the water boiled. Gentle heat, a full bain-marie, and a foil lid keep it silken.
Can I make individual flans?
Yes — ramekins bake in 30–35 minutes with the same method.
Testing note: This recipe is published from a carefully researched, standard formulation. Quantities and timings follow the established traditional method. Nutritional values are not shown for this recipe because they have not been reliably calculated for this exact formulation.
Keep cooking
Related recipes
Gulab Jamun
Soft milk-solid dumplings fried low and slow, then soaked in rose and cardamom syrup — the sweet of every celebration.
Tiramisu
Espresso-soaked savoiardi under clouds of mascarpone — Italy's pick-me-up, chilled until the layers marry.
Crème Brûlée
Cold, silky vanilla custard under a sheet of shattering caramel — five ingredients and one very satisfying crack.
Keep exploring