Flan Recipe: How to Make Creamy Caramel Flan at Home

Flan is a creamy caramel custard baked gently in a water bath, chilled and turned onto a plate so its caramel becomes a glossy sauce. This Latin American version uses condensed and evaporated milk for a rich, make-ahead dessert.

Flan at a Glance

Total time8 hr 20 minIncludes about 1 hr cooling and at least 6 hr chilling; overnight is ideal.
Prep20 min
Cook1 hr
Serves10slices
Key ingredientsSugar, condensed milk, evaporated milk, eggs, vanilla and a pinch of salt.
Equipment8- or 9-inch deep cake pan or flanera, roasting pan, saucepan, blender and fine sieve.
Bake at 350°F (175°C) in a water bath. Check from 45 minutes; the center should gently wobble, not remain liquid.

What Is Flan?

Flan is a smooth baked custard made from eggs, milk and sugar, cooked over a layer of caramel and turned out upside down so the caramel becomes a glossy sauce. In Spain and Latin America it is called flan; in France it is crème caramel; in Brazil and Portugal it is pudim.
A whole Latin-style caramel flan on a white plate, its amber caramel sauce pooling around the base
A classic flan, turned out of its mold with the caramel running down the sides.

The texture sits somewhere between a firm pudding and a soft cheesecake: it holds a clean slice but melts the moment it hits your tongue. The flavor is milky and vanilla-sweet, and the caramel adds a toasty, slightly bitter edge that keeps the whole thing from tasting cloying.

There are two main styles. Spanish flan (flan de huevo or flan casero) is made with fresh milk, eggs and sugar, and it is lighter and more delicate. Latin American flan, the version most people in the US know, swaps some or all of the fresh milk for sweetened condensed and evaporated milk, which makes it denser, creamier and more foolproof. The recipe below is the Latin American style.

One thing to know if you search in English: in the UK, a “flan” is an open tart with a pastry or sponge base, a completely different dessert. If you want the full breakdown of flan vs. crème caramel vs. pudim, read what’s the difference between pudim, flan and crème caramel.

Flan Ingredients (and What Each One Does)

Classic Latin flan needs just five ingredients plus a pinch of salt. Here’s what each one contributes, so you know what you can and can’t swap.

For one 8- or 9-inch flan · 10 slices

¾ cupSugar Cooked to deep amber, it lines the mold and becomes the sauce. Go darker for more bittersweet depth.
1 can (14 oz)Sweetened condensed milk Sweetens the custard and gives flan its dense, silky body. It’s why this version almost never curdles.
1 can (12 oz)Evaporated milk Adds creaminess without extra sweetness. Whole milk works in a pinch; the flan will be a little softer.
5 largeEggs The only thing that sets the custard. Use them at room temperature. Fewer eggs give a softer flan; an extra yolk makes it richer.
1 tablespoonVanilla Pure vanilla extract, or Mexican vanilla for a rounder, spicier note. Lime or orange zest is a classic swap.
⅛ teaspoonSalt A pinch sharpens the caramel and keeps the custard from tasting flat.
Flan ingredients on a wooden table: eggs, sugar, milk, vanilla and a caramel-topped flan
Flan comes down to a handful of pantry staples: eggs, milk, sugar and vanilla.

Equipment: an 8- or 9-inch round cake pan at least 2 inches deep, or a traditional lidded flanera (flan mold); a larger roasting pan for the water bath; a blender; and a fine-mesh sieve. An instant-read thermometer is optional but takes the guesswork out of doneness. Look for sweetened condensed milk and Mexican vanilla in the Latin aisle or online.

How to Make Flan, Step by Step

Here’s the method in brief, with the photos that matter most. The full recipe with exact amounts and times is in the recipe card below.

  1. Make the caramel. Cook the sugar with a splash of water over medium heat, swirling (not stirring) until it turns deep amber, like maple syrup. This takes 8 to 10 minutes, and the last 30 seconds go fast.
  2. Coat the mold. Pour the hot caramel straight into your pan and tilt it to cover the bottom. It will harden and may crackle as it cools. That’s normal; it melts back into sauce in the oven.
  3. Blend the custard on low. Condensed milk, evaporated milk, eggs, vanilla and salt go into the blender for 15 to 20 seconds, just until smooth. More blending means more air bubbles.
  4. Rest, strain and skim. Let the custard sit 5 minutes, pour it through a fine sieve and spoon off the foam. This is the step that gives you a glass-smooth flan with no holes.
  5. Bake in a water bath. Pour the custard over the caramel, cover with foil, set the pan in a roasting pan and add hot water halfway up the sides. Bake at 350°F until the edges are set but the center still wobbles.
  6. Chill, then flip. Cool for 30 minutes in the water bath and about 30 minutes on a rack, refrigerate within 2 hours of baking, chill at least 6 hours, run a knife around the edge and invert onto a rimmed plate in one quick motion.
Amber caramel for flan cooking in a saucepan on a gas stove
Step 1: cook the sugar to a deep amber.
Glossy amber caramel poured into a round flan mold, with the custard mixture waiting beside it
Step 2: coat the mold, then let the caramel set.
Caramel safety: melted sugar is well over 300°F and sticks to skin. Use a light-colored pan so you can judge the color, keep a bowl of ice water nearby, and never taste it off the spoon. If the caramel turns black or smells acrid, toss it and start again; burnt caramel makes the whole flan bitter.

How to Tell When Flan Is Done

Underbaked flan collapses when you flip it; overbaked flan turns rubbery and pitted. Use one of these three tests, starting at 45 minutes:

  • The wobble test. Nudge the pan. The outer edge should be set and the center 2 to 3 inches should jiggle like gelatin, not ripple like liquid.
  • The thermometer test. The center reads 170 to 175°F (77 to 80°C). Pull it here; carryover heat finishes the job.
  • The knife test. A thin knife inserted halfway between the edge and the center comes out clean. (It will leave a small mark, which the caramel hides.)
A slice of flan showing its smooth, dense custard and glossy caramel topping
This is what you’re after: a dense, glass-smooth custard with no holes.

Classic Flan Recipe

This is the Latin American condensed-milk flan: creamy, dense, sweet and very forgiving. Make it the day before you want to serve it.

Golden caramel cascades over this perfectly baked flan, highlighting its smooth, creamy custard texture.

Classic Caramel Flan

Yield: 10 slices
Prep Time: 20 minutes
Bake Time: 1 hour
Chill Time: 7 hours
Total Time: 8 hours 20 minutes

Silky, bubble-free Latin-style flan made with sweetened condensed milk, evaporated milk, eggs and vanilla under a deep amber caramel. The custard is mixed in a blender, baked gently in a water bath and chilled overnight.

No Ratings

Ingredients

Caramel

  • ¾ cup (150 g) granulated sugar
  • 3 tablespoons water

Custard

  • 1 can (14 oz / 397 g) sweetened condensed milk
  • 1 can (12 oz / 354 ml) evaporated milk
  • 5 large eggs, at room temperature
  • 1 tablespoon pure vanilla extract
  • ⅛ teaspoon fine salt

Instructions

  1. Get set up. Heat the oven to 350°F (175°C) with a rack in the middle. Set an 8- or 9-inch round cake pan (at least 2 inches deep) or a 1½-quart flanera inside a larger roasting pan. Put a kettle of water on to boil.
  2. Make the caramel. Put the sugar and water in a small, light-colored saucepan over medium heat. Swirl the pan (don't stir) until the sugar dissolves, then let it bubble, swirling now and then, until it turns a deep amber, like maple syrup, 8 to 10 minutes.
  3. Coat the pan. Immediately pour the caramel into the cake pan and tilt it so the caramel covers the bottom and about ½ inch up the sides. Set it aside. The caramel will harden and may crackle; that's normal and it will melt back into sauce in the oven.
  4. Blend the custard. Add the condensed milk, evaporated milk, eggs, vanilla and salt to a blender. Blend on low for 15 to 20 seconds, just until smooth. Let it stand 5 minutes, then pour it through a fine-mesh sieve into a pitcher and skim off any foam.
  5. Fill and cover. Pour the custard over the hardened caramel. Cover the pan tightly with foil.
  6. Add the water bath. Set the roasting pan on the oven rack and carefully pour in hot water until it comes halfway up the sides of the flan pan.
  7. Bake. Bake 50 to 65 minutes, until the edges are set and the center 2 to 3 inches still wobble like gelatin when you nudge the pan. An instant-read thermometer in the center should read 170 to 175°F (77 to 80°C). Start checking at 45 minutes; a 9-inch pan bakes faster than an 8-inch pan.
  8. Cool and chill. Leave the flan in the water bath for 30 minutes, then lift it out and cool on a rack for about 30 minutes more. Refrigerate within 2 hours of baking; chill at least 6 hours, preferably overnight.
  9. Unmold. Run a thin knife around the edge. Dip the bottom of the pan in hot water for 30 seconds. Set a rimmed serving plate upside down on top, hold both together and flip in one confident motion. Lift off the pan and let the caramel run over the flan. Slice and spoon the sauce over each piece.

Notes

Pan size: An 8-inch pan gives a taller flan and needs the longer bake time; a 9-inch pan gives a thinner flan that sets in about 45 to 55 minutes. For ramekins, divide the caramel and custard among 8 six-ounce ramekins and bake 30 to 35 minutes.

No bubbles: Blend on low, rest the custard, strain it and skim the foam. Too much heat (no water bath, or an oven running hot) is what turns flan spongy and full of holes.

Flan de queso (flan napolitano): Blend in 8 oz (225 g) softened cream cheese with the other custard ingredients and bake about 10 minutes longer.

Storage: Keep flan covered in the refrigerator with its caramel for up to 4 days. Freezing is not recommended; the custard weeps and turns grainy when thawed.

Flan Problems and How to Fix Them

Almost every flan failure comes down to heat. Here’s what went wrong and how to fix it next time.

Problem Why it happens How to fix it
Bubbles or holes Too much air whipped in, or the custard boiled because the oven was too hot Blend on low, rest and strain the custard, skim the foam, always use a water bath
Rubbery or grainy Overbaked; the eggs tightened and squeezed out liquid Pull it while the center still wobbles, at 170 to 175°F
Didn’t set Underbaked, too few eggs, or not chilled long enough Bake until the edges are firm, and chill a full 6 hours or overnight
Cracked top Oven too hot or pan not covered Cover with foil, use the water bath, and let it cool slowly in the bath
Bitter taste The caramel went past amber to dark brown Take the sugar off the heat the moment it looks like maple syrup
Caramel stuck in the pan Flan too cold, or unmolded too soon Dip the pan in hot water for 30 seconds before flipping; pour a little hot water into the empty pan to melt the rest into extra sauce
Caramel crystallized Stirring, or sugar crystals on the pan sides Swirl instead of stirring, and brush the sides down with a wet pastry brush
Liquid pooling around it Weeping from overbaking, or it sat too long after unmolding Bake a little less, and unmold just before serving

Flan Around the Latin World

Every Spanish-speaking country has its own flan, and each tweak tells you something about the local pantry. Here’s how the main versions differ.

Spanish flan de huevo with caramel on a white plate

SpainFlan de huevoThe original: fresh milk, eggs and sugar, often scented with lemon peel and cinnamon. Lighter than Latin versions. Spanish desserts →
Mexican flan on a decorated plate over a pink woven cloth

MexicoFlan napolitanoCondensed milk, evaporated milk and cream cheese, blended and baked into a dense, cheesecake-like custard. Mexican desserts →
Cuban flan slice with dark caramel sauce on a white plate

CubaFlan de lecheRich and eggy, often steamed on the stovetop in a lidded flanera. A must for Nochebuena. Cuban desserts →
Dominican Christmas flan in a ring shape on a white plate

Puerto Rico & Dominican Rep.Flan de queso, de coco, de calabazaCream cheese, coconut and pumpkin versions share the table at Christmas. Puerto Rican desserts →
Venezuelan quesillo slice showing its small air holes

VenezuelaQuesilloMore eggs and a shorter blend give it a spongier, “cheesy” texture full of tiny holes, on purpose. Quesillo recipe →
Brazilian pudim de leite condensado in a ring mold shape

BrazilPudim de leiteA tall ring-shaped flan made with condensed milk and baked in a tube pan. Brazil’s favorite dessert. Pudim recipe →
Peruvian crema volteada, a tall caramel custard

PeruCrema volteada“Turned-over cream”: a tall, dense flan, often baked in a loaf or tube pan. Crema volteada recipe →
Costa Rican flan de coco on a white plate with coffee

Costa Rica & the CaribbeanFlan de cocoCoconut milk and shredded coconut for a tropical flan with a toasted top layer. More custards →

Beyond Latin America, the same dessert turns up as leche flan in the Philippines (steamed in oval llaneras, made with lots of yolks) and as purin in Japan. For the wider Latin family, including natillas, crema catalana and tocino de cielo, see our guide to Latin American and Spanish custards.

Flan Variations to Try

Once you’ve made the classic, the base recipe takes flavors easily. Change one thing at a time.

Flan de queso (cream cheese flan)
Blend 8 oz softened cream cheese into the custard and bake about 10 minutes longer. Denser and tangier, like a cross with cheesecake.
Coconut flan (flan de coco)
Swap the evaporated milk for a can of coconut milk and stir in ½ cup sweetened shredded coconut after blending. The coconut floats up and toasts.
Coffee flan
Dissolve 2 teaspoons instant espresso in the vanilla before blending. Great with a darker caramel.
Pumpkin flan (flan de calabaza)
Blend in 1 cup pumpkin purée, 1 teaspoon cinnamon and a pinch of nutmeg. Bake 10 to 15 minutes longer.
Dulce de leche flan
Replace the condensed milk with dulce de leche for deep caramel flavor all the way through. Get the recipe.
Chocoflan (impossible cake)
Chocolate cake batter on the bottom, flan on top, and they switch places in the oven. Get the recipe.
Fruit flan
Blend in ½ cup passion fruit pulp, mango or pineapple purée, and cut the evaporated milk by the same amount.
Spanish-style flan (no condensed milk)
Warm 2 cups whole milk with a strip of lemon peel and a cinnamon stick, cool, then whisk with 4 eggs, 2 yolks and ½ cup sugar. Lighter and more delicate.

Other Ways to Cook Flan

  • Individual ramekins: Divide the caramel and custard among 8 six-ounce ramekins, bake in a water bath at 350°F for 30 to 35 minutes, and unmold each one onto a small plate.
  • Stovetop (steamed) flan: This is how many Cuban and Dominican families do it. Use a lidded flanera set on a rack in a large pot with 2 inches of simmering water, cover the pot and steam on low for 45 to 50 minutes, until the center wobbles.
  • Instant Pot: Use a pressure-cooker flan recipe developed for your pan size and appliance. A short timing for individual ramekins does not apply to this whole flan; follow that recipe’s liquid, pressure-release and doneness instructions.

How to Serve and Store Flan

A slice of flan drizzled with caramel sauce and topped with whipped cream
Serve flan cold, with plenty of caramel spooned over each slice.

Serving: Flan is best cold, straight from the fridge, with the caramel spooned over each slice. Unmold it on a plate with a rim so the sauce doesn’t run off. It needs nothing else, but fresh berries, a little whipped cream or a small cup of cortadito are all traditional companions.

Make ahead: Flan is a perfect make-ahead dessert. Bake it up to 3 days ahead, keep it covered in its pan, and unmold it right before serving so the caramel looks glossy.

Storing: Keep leftovers covered in the refrigerator, sitting in their caramel, for up to 4 days. Because it’s made with eggs and dairy, don’t leave it at room temperature for more than 2 hours.

Freezing: You can freeze flan, but it’s not recommended. The custard weeps and turns grainy as it thaws.

A Short History of Flan

Custards of eggs, milk and honey go back to ancient Rome; the Roman cookbook attributed to Apicius includes one. The word itself comes from the Old French flaon, from the Late Latin flado, a flat cake. In medieval Europe a “flan” could be sweet or savory, filled with cheese, fish, spinach or almonds, and flans were especially popular during Lent.

Spain is where flan took the form we know: a sweet custard baked over caramelized sugar and turned out upside down. Spanish cooks carried it to the Americas and to the Philippines, where it became leche flan. In Latin America, canned sweetened condensed and evaporated milk became kitchen staples in the 20th century, and they turned flan into the creamier, denser dessert that most of the Americas makes today. Along the way each country put its own stamp on it, from Venezuela’s quesillo to Peru’s crema volteada.

A classic Cuban flan with shiny caramel on a white plate against a dark background
A Latin American favorite for generations, and still the dessert of choice for holidays and family parties.

Flan is still a celebration dessert. It’s on the table at Cuban and Puerto Rican Nochebuena dinners, at Puerto Rican Christmas, birthdays and Sunday lunches all over Latin America, and on the menu of nearly every Spanish restaurant.

Flan FAQs

What is flan made of?

Flan is made of eggs, milk and sugar. Latin American flan usually uses sweetened condensed milk and evaporated milk instead of fresh milk, plus vanilla. The sugar is cooked into caramel that lines the mold and becomes the sauce.

What’s the difference between flan and crème caramel?

They are essentially the same dessert: a baked custard over caramel, turned out to serve. Crème caramel is the French name and is usually made with fresh milk or cream, so it’s lighter. Latin American flan is usually made with condensed and evaporated milk, so it’s denser and sweeter.

What’s the difference between flan and pudding?

Pudding is cooked on the stove and thickened with starch. Flan is baked, set only by eggs, and served upside down with caramel. Flan is firmer and holds a clean slice.

Is flan Mexican or Spanish?

Both. Flan came to Mexico from Spain, and both countries treat it as a national dessert. The version made with condensed and evaporated milk is the Latin American one; the lighter fresh-milk version is Spanish.

Why does my flan have holes or bubbles?

Too much air or too much heat. Blend on low, let the custard rest, strain it, skim the foam, and always bake in a water bath at 350°F so the custard never boils.

Can I make flan without a water bath?

You can, but the edges overcook before the center sets, so you get a rubbery, pitted flan. The water bath keeps the custard below boiling. If you have no roasting pan, steam it on the stovetop instead.

How long does flan need to chill?

At least 6 hours, and overnight is better. Chilling finishes setting the custard and melts the caramel into sauce. Warm flan will fall apart when you flip it.

Can I make flan without condensed milk?

Yes. That’s Spanish-style flan: 2 cups whole milk, 4 eggs, 2 yolks and ½ cup sugar, flavored with lemon peel and cinnamon. It’s lighter and more delicate.

How long does flan last?

Up to 4 days covered in the refrigerator. Keep it with its caramel so it stays moist.

Is flan gluten-free?

Yes. Classic flan has no flour, so it’s naturally gluten-free. Check the labels on your vanilla and condensed milk if you’re cooking for someone with celiac disease.

More Flan and Latin Custards

Flan proves that a few simple ingredients, cooked with patience, can make one of the best desserts in the world. Make the caramel dark, bake it low and slow, give it a night in the fridge, and you’ll have a flan that slices clean and shines on the plate. For more ideas, browse all of our Latin American and Spanish desserts.

More Latin Favorites

See all →

Please Share & Spread the Love of Latin Foods!

Leave a Comment

Skip to Recipe