The short answer: this flan recipe melts 3/4 cup of sugar into amber caramel, pours a custard of 5 eggs, condensed milk and evaporated milk over it, and bakes it in a water bath at 350°F for about 50 to 60 minutes, until the center reads at least 160°F. Chill it 4 hours or overnight, then flip. Serves 8.
- Key numbers: 9-inch round pan · 5 large eggs · 14-ounce can condensed milk · 12-ounce can evaporated milk · 350°F water bath
- Done test: edges set, center jiggles like gelatin, thermometer at 160°F or above
- Next step: get the free recipe book starter pages (we email it to you), or save it in the Family Recipe Binder ($6.99)
Our picks for flan recipe
Starter pickPrintables
Meal Planner & Grocery List
Weekly meals, a grocery list sorted by aisle, and pantry and freezer inventories so you shop once and waste less.
Printables
Family Recipe Binder
Section dividers, four recipe page layouts with room for the family story, 4x6 and 3x5 cards and a conversion chart - print it or type into the fillable version.
Prep time: 15 minCook time: 1 hrTotal time: 6 hr 21 minServings: 8 servingsTotal includes 5 hr 6 min of resting, chilling or rising.
Flan is mostly hands-off time: about 15 minutes of work, an hour in the oven, and a night in the refrigerator. Plan to make it the day before you serve it.
Flan ingredients
| Ingredient | Amount | Notes |
|---|---|---|
| Granulated sugar | 3/4 cup | For the caramel |
| Water | 3 tablespoons | For the caramel |
| Large eggs | 5 | Refrigerated, uncracked |
| Sweetened condensed milk | 1 can (14 ounces) | |
| Evaporated milk | 1 can (12 ounces) | |
| Pure vanilla extract | 2 teaspoons | |
| Salt | 1 pinch | |
| Cream cheese | 4 ounces, softened | Optional, for a denser flan |
| Hot water | About 6 cups | For the water bath |
Serves 8.
You also need a 9-inch round cake pan (at least 2 inches deep) or a 9-inch pie dish, a larger roasting pan that the cake pan fits inside, a fine strainer and an instant-read thermometer.
How to make flan
- Heat the oven to 350°F with a rack in the middle. Put a kettle of water on to boil for the water bath. Set the 9-inch pan inside the roasting pan.
- Make the caramel. Combine the sugar and 3 tablespoons of water in a small, light-colored saucepan over medium heat. Swirl the pan (do not stir) until the sugar dissolves, then let it bubble until it turns a deep amber, about 6 to 10 minutes. Pour it immediately into the 9-inch pan and tilt to coat the bottom. It will harden; that is expected. Caramel is extremely hot, so keep children and bare fingers away.
- Make the custard. In a large bowl or blender, combine the eggs, condensed milk, evaporated milk, vanilla, salt and cream cheese, if using. Whisk gently or blend on low for 15 seconds, just until smooth. Beating in air causes bubbles.
- Pour the custard through a fine strainer onto the hardened caramel. Skim off any foam on the surface.
- Set the roasting pan on the oven rack and carefully pour hot water into the roasting pan until it comes about halfway up the side of the flan pan. Cover the flan pan loosely with foil.
- Bake 50 to 60 minutes. Start checking at 45 minutes. The flan is done when the edges are set, the center wobbles slightly as one piece when you nudge the pan, and a thermometer in the center reads at least 160°F.
- Lift the flan pan out of the water bath and let it cool on a rack for 1 hour. Cover and refrigerate at least 4 hours, or overnight.
- To unmold, run a thin knife around the edge. Set a rimmed serving plate upside down on the pan, hold both together and flip in one motion. Lift the pan off and let the caramel run over the flan.
The rim on the serving plate matters. The caramel turns into a thin syrup in the refrigerator and will run off a flat plate.
Egg safety for flan
Flan is a baked egg custard, so the thermometer check is not optional. The FDA's egg safety guidance notes that fresh eggs, even those with clean, uncracked shells, may contain Salmonella, says casseroles and other dishes containing eggs should be cooked to 160°F, and recommends using a food thermometer to be sure. Insert it into the center of the flan, where it sets last. A well-set flan usually reads a little higher than 160°F, which is fine; 160°F is the minimum.
A few habits keep the custard safe:
- Buy eggs from a refrigerated case, and check that shells are clean and not cracked, per the same FDA page.
- Do not taste the raw custard. It contains raw eggs until it bakes.
- Refrigerate the cooled flan promptly. The FDA says not to leave cooked eggs or egg dishes out of the refrigerator for more than 2 hours, or 1 hour when it is above 90°F.
- Children, older adults, pregnant women and people with weakened immune systems are at greater risk of severe illness, according to the FDA, so the thermometer step matters most when they are eating.
Flavor variations
- Classic milk flan (creme caramel style): replace the condensed and evaporated milk with 3 cups of whole milk and 1/2 cup of sugar, warmed until the sugar dissolves, and use 4 eggs plus 2 yolks. It is lighter and less sweet.
- Cream cheese flan (flan de queso): include the optional 4 ounces of cream cheese. The texture is closer to a soft cheesecake, which is baked in a water bath for the same reason.
- Coconut flan: replace the evaporated milk with a 13.5-ounce can of coconut milk.
- Coffee flan: dissolve 2 teaspoons of instant espresso in the vanilla before blending.
- Orange or lime flan: add 1 teaspoon of finely grated citrus zest to the custard, then strain as usual.
- Individual flans: divide the caramel and custard among 8 six-ounce ramekins in the water bath and start checking at 30 minutes, using the same 160°F test.
Flan is one of the classic desserts in our Mexican desserts guide, alongside tres leches and arroz con leche. For a stovetop custard-adjacent dessert with no oven, see the rice pudding recipe.
Troubleshooting
Bubbles, holes or a spongy texture. The custard had too much air, the oven ran hot, or there was no water bath. Blend on low, strain, and confirm the oven temperature with an oven thermometer.
Curdled or weeping custard. It overbaked. Pull the flan when the center still wobbles; it firms as it chills. Pull it earlier next time, but always confirm 160°F.
Center still liquid. It needs more time. Keep baking in 5-minute increments until the thermometer reads at least 160°F and the center jiggles as a whole instead of sloshing.
Bitter caramel. The sugar went past deep amber toward dark brown or smoked. Start over; burnt caramel will flavor the whole flan.
Caramel crystallized into grainy sugar. It was stirred, or sugar crystals on the pan sides fell in. Swirl instead of stirring, and brush the sides of the pan with a wet pastry brush.
Flan stuck in the pan. It was not chilled long enough, or the knife did not reach the bottom. Run the knife around again and set the bottom of the pan in hot water for 1 minute before flipping.
Make ahead and storage
Flan is a make-ahead dessert by design. Bake it 1 to 2 days before serving and keep it in the pan, covered, in the refrigerator, then unmold it shortly before dessert. The FDA's egg safety page says to refrigerate leftover cooked egg dishes and use them within 3 to 4 days. Keep slices covered and refrigerated, and spoon the caramel syrup over them before serving.
Do not freeze flan. The custard weeps and turns grainy as it thaws.
For a party, the FDA's safe food handling guidance on the 2-hour rule applies to the dessert table too: bring the flan out close to serving and put leftovers back in the refrigerator within 2 hours.
Serving and holiday menus
Cut flan into 8 wedges with a thin knife dipped in hot water. Serve it plain with its caramel, or with sliced strawberries, mango or a little whipped cream. Flan is a natural make-ahead choice for a crowded holiday oven because it is finished the day before. More ideas are in Christmas desserts and bread pudding, another egg-custard dessert that feeds a group.
A dessert from pantry staples
Flan needs eggs, sugar, vanilla and two shelf-stable cans of milk. Keeping a can each of condensed and evaporated milk in the pantry means an elegant dessert for 8 is possible on any week you have eggs in the refrigerator. If dessert is part of your weekly food budget, plan it like a meal so the eggs are bought once and used fully; the meal planning on a budget guide shows how to shop the pantry first.
Plan the dessert

Write flan on the plan for the day before you need it, so it has time to chill.
- Meal Planner & Grocery List, $3.99. A weekly menu and an aisle-sorted grocery list, so the canned milks and eggs are on one trip.
- Family Recipe Binder, $6.99. Write down your pan, your oven's bake time and how dark you like the caramel.
Browse more kitchen printables in the printables shop.
Want the starter pages by email? Get the free recipe book pages (we email them to you).
Frequently asked questions
What is flan made of? Flan is made of eggs, milk and sugar baked into a custard over a layer of caramelized sugar. This version uses 5 eggs, a can of sweetened condensed milk, a can of evaporated milk and vanilla, which is a common style in Mexican and Latin American kitchens.
How do you know when flan is done? Flan is done when the edges are set, the center jiggles slightly like gelatin when you nudge the pan, and a thermometer in the center reads at least 160°F. The FDA says dishes containing eggs should be cooked to 160°F.
Why do you bake flan in a water bath? Flan bakes in a water bath because the hot water keeps the custard's edges from overheating while the center catches up. Without it, flan tends to curdle, turn rubbery and fill with small holes.
Why is my flan full of bubbles or holes? Flan gets bubbles or holes when the custard was whisked too hard, was not strained, or baked too hot. Stir gently, pour it through a fine strainer, keep the oven at 350°F and always use a water bath.
Why did my flan caramel get hard? Flan caramel hardens in the pan as it cools, which is normal; it melts back into a sauce during baking and chilling. Caramel that stays stuck after unmolding can be loosened by setting the empty pan in hot water.
How long does flan need to chill? Flan needs at least 4 hours in the refrigerator to set firm enough to unmold cleanly, and overnight is better. Warm flan breaks when you flip it.
How long does flan last in the fridge? Homemade flan keeps 3 to 4 days in the refrigerator, covered. The FDA says to refrigerate leftover cooked egg dishes and use them within 3 to 4 days, and not to leave them out for more than 2 hours.
Can you freeze flan? Flan does not freeze well because the custard weeps and turns grainy when thawed. It is better to make flan 1 to 2 days ahead and keep it in the refrigerator.
Is it safe to taste raw flan custard? Raw flan custard should not be tasted because it contains raw eggs. The FDA notes that fresh eggs, even with clean, uncracked shells, may contain Salmonella. Taste the flan after it is baked to 160°F and chilled.
What is the difference between flan and creme caramel? Flan and creme caramel are both caramel-topped baked custards. Creme caramel is the French name and is usually made with whole milk, while many Latin American flans use condensed and evaporated milk for a denser, sweeter custard.
Where can I keep my family flan recipe? The Family Recipe Binder ($6.99) from HomeBase Paper Co. has fillable recipe pages, so the pan size, bake time and caramel color your family likes are written down.
