How Long Does Flan Last in the Fridge?
Flan is a perishable egg-and-milk custard. Refrigerate it promptly, keep it covered, and use the cooked-egg safety guidance below. A named recipe's storage period is specific to that recipe and is not automatically a safety deadline.
Quick answer
Cook the custard to 160°F (71°C), checked with a food thermometer. Follow the recipe's cooling directions, then refrigerate the flan covered; do not leave a large pan out for an extended cooling period.
The storage clock begins after cooking. If not serving right away, place in shallow portions or otherwise cool promptly and refrigerate within two hours, or one hour above 90°F (32°C).
Keep covered at 40°F (4°C) or below. University of Minnesota Extension advises using prepared or baked egg dishes within 3 to 4 days when promptly refrigerated; flan is an egg dish, so this is the conservative household safety interval used here.
Count from cooking and prompt refrigeration. Use the 3–4-day cooked-egg safety guidance; a longer recipe instruction is not used to extend that window because it gives no safety basis.
Return it to refrigeration promptly. FDA's general limit for foods that require refrigeration is two hours at room temperature, reduced to one hour when the air is above 90°F (32°C).
Count the total time out of refrigeration, including serving; chilling it again does not reset the clock.
Discard immediately if
- Discard flan left above 40°F for more than two hours, or more than one hour when the air is above 90°F; do not use smell or appearance to judge safety.
- Discard flan with visible mold or other clear spoilage; do not taste it to decide whether it is safe.
Why guidance varies
This guide covers baked custard flan, often cooked over a caramel layer and unmolded with liquid caramel. Egg and dairy proportions, pan depth, recipe method, cooling, and whether the caramel stays on top affect handling and texture. A maker's storage instruction for one recipe does not establish a universal endpoint for all flan.
Flan is a chilled custard dessert
Flan is usually baked as an egg-and-milk custard over a layer of caramel, then chilled and turned out so the liquid caramel coats the dessert. That makes it different from a shelf-stable candy or a plain cake: its cooked custard needs refrigeration. King Arthur Baking's vanilla bean flan recipe illustrates the method: the custard bakes in a water bath, cools, and is refrigerated covered before unmolding. Its ingredients and pan size are recipe-specific, so use the method and storage directions for the recipe you actually made.
Use temperature, not wobble, for egg safety
Custard recipes often describe a set edge and a softly wobbly center as the desired texture. Those visual cues are about doneness and texture, not a verified safety temperature. University of Minnesota Extension says egg dishes should reach 160°F (71°C), measured with a food thermometer. Check the center of the custard without touching the pan. If the recipe's texture cue conflicts with a safe temperature check, use a reliable thermometer and a recipe designed to produce a safe custard.
Cool and refrigerate leftovers promptly
If flan will not be served right away, refrigerate it within two hours after cooking, or within one hour when the air is above 90°F (32°C). FDA recommends a refrigerator at or below 40°F (4°C). Cover the dish to protect it from spills and other foods. For a large batch, shallow portions cool faster than leaving the whole pan on the counter. Once refrigerated, use the general prepared-egg guidance of 3 to 4 days. Although a named recipe gives a longer refrigerator direction, it does not explain a safety basis for going beyond cooked-egg guidance. This guide follows the 3–4-day egg safety window and does not treat that longer recipe direction as permission to extend it.
Serve cold and handle the caramel separately
Flan is normally served chilled. Keep serving portions out only for the meal, then return the remainder to the refrigerator before the two-hour limit (one hour above 90°F). A caramel layer may liquefy around the custard as it chills; that change is part of the dessert and does not tell you whether the custard is safe. Discard flan left too long at warm temperatures, or any portion with visible mold or other clear spoilage. Smell and appearance cannot rule out harmful bacteria. Freezing can affect custard texture; use a recipe-specific method rather than assuming every flan freezes the same way.
Match the product state, storage conditions and source clock above. This guide does not provide an automatic expiry timer.
Frequently asked questions
Does flan need to be refrigerated?
Yes. Flan contains cooked egg and milk custard. Refrigerate it promptly at 40°F (4°C) or below and keep it covered.
How long does flan last in the refrigerator?
Use promptly refrigerated baked egg dishes within 3 to 4 days, following University of Minnesota Extension. King Arthur gives a longer direction for its exact recipe, but does not establish that it is safe beyond the cooked-egg guidance; this guide does not extend the safety window.
How do I know flan is cooked safely?
Use a food thermometer and check that the egg custard reaches 160°F (71°C). Appearance or a jiggle test alone is not a food-safety measurement.
Can I freeze flan?
This guide does not establish a flan-specific freezing method. Custard texture can change; follow a tested recipe's freezing and thawing directions if you choose to freeze it.
Sources for this answer
- A King Arthur Baking: Vanilla Bean Flan — A named baked flan recipe uses an egg-and-milk custard, cools it, then refrigerates it covered; its storage directions apply to that recipe.
- A University of Minnesota Extension: Purchase, Store, and Prepare Eggs — Cook egg dishes to 160°F (71°C); promptly refrigerate prepared or baked egg dishes and use within 3 to 4 days.
- A FDA: Are You Storing Food Safely? — Keep refrigerated foods at or below 40°F, use the two-hour limit (one hour above 90°F), and do not rely on smell or appearance to establish safety.