The short version
Perfect flan comes down to a handful of habits: cook the caramel to amber but not dark, mix the custard gently, strain it, bake it slowly in a water bath, take it out while the center still jiggles, and chill it thoroughly before unmolding. Each tip below explains why.
Get the caramel right
Cook sugar (with a little water if you like) until it is a deep amber, then pour it into the mold immediately. If it goes too dark it turns bitter, and it keeps cooking in the hot pan for a few seconds after you pull it off the heat, so stop a shade early. Take care with hot sugar, as it can cause serious burns.
Don’t worry if the caramel hardens in the mold. It softens into sauce as the flan bakes and chills.
Mix gently and strain
Stir or whisk the eggs and milks together rather than beating them hard. Air bubbles rise during baking and leave holes or a foamy top. Pour the mixture through a fine strainer to catch bits of egg white and chalazae, which gives a smoother texture. If foam remains on the surface, skim it off before baking.
Use a water bath
A water bath (bain-marie) keeps the custard from overheating, so the eggs set gently. Set the mold in a larger pan and add hot water about halfway up the sides. Covering the mold with foil also helps prevent a dry or browned top.
Egg-rich custards that cook too hot or too fast can turn rubbery or develop tiny holes, so a moderate oven (many recipes use about 300 to 350°F) is a safer choice than a hot one.
Know when it is done
Gently shake the mold. The edges should look set, and the center should wobble slightly, like gelatin, rather than slosh. The flan continues to firm up as it cools. If it is completely firm in the oven, it may be overbaked and could turn out grainy or watery.
Cool and chill fully
Let the flan cool in its water bath for a while, then refrigerate it, covered, for at least several hours, and preferably overnight. Cold flan holds together when unmolded and tastes better as the flavors settle.
Unmold with care
Run a thin knife around the edge, then set the mold briefly in warm water if needed. Place a rimmed plate on top, flip the two together, and lift the mold slowly. Leave a moment for the caramel to drip down.
Common problems
- Holes in the custard: too much air or too-high heat.
- Watery pool around the flan: often overbaking.
- Won’t release: not chilled enough.
- Eggy taste: a little extra vanilla, or a strip of citrus zest, can balance it.
If you are building a dessert with it, our leche flan cake recipe shows how to pair the custard with a soft sponge. And if you wonder about the dairy choices, read why use evaporated milk in flan.