This post contains affiliate links. As an Amazon Associate, Dyme Kitchen earns from qualifying purchases.
This easy Spanish flan recipe makes a classic flan de huevo the way it's made in Spain: whole milk, eggs and sugar baked into a silky custard under a glossy layer of amber caramel. There's no condensed milk here. The milk is gently infused with a cinnamon stick and strips of lemon peel, extra yolks enrich the custard, and the flan bakes as one large dessert in a water bath. Once chilled, it's flipped onto a plate so the caramel spills over the top and pools around the edges.
Spanish flan is a baked egg and milk custard with a caramel top, and it's one of the most common desserts in Spain. It's also simpler than it looks. The steps are straightforward, most of the time is hands-off, and the flan has to be made ahead, which makes it an ideal dessert for dinner parties and holidays.
Why You'll Love This Spanish Flan
Light and delicate. Whole milk gives a custard that's tender and smooth instead of heavy, with a clean, eggy flavor.
No condensed milk required. This is a true Spanish flan recipe without condensed milk. You only need milk, eggs, sugar and a few aromatics you probably already have.
Classic Spanish flavor. Lemon peel and cinnamon add a warm, bright fragrance without overpowering the custard.
Built for make-ahead. Flan de huevo needs a long chill, so it's done and waiting in the fridge before guests arrive.
Big presentation, one pan. A single flan baked in a 9-inch round cake pan unmolds into a showstopper with its own built-in sauce.
Spanish flan vs Mexican flan: The main difference is the dairy. Mexican flan and many Latin American flans usually use sweetened condensed milk and evaporated milk, sometimes with cream cheese, which gives a denser, sweeter, richer custard. Spanish-style flan uses whole milk, eggs and sugar, often scented with lemon and cinnamon, for a lighter, more delicate texture. Both are delicious. This easy Spanish flan recipe is for anyone who loves a softer, silkier custard that lets the caramel shine.
Spanish Flan Ingredient Notes
Sugar and water (for the caramel): This recipe uses a wet caramel, meaning the sugar is cooked with a little water. The water helps the sugar melt evenly instead of scorching in spots, and it gives you more time to watch the color develop. That makes it more forgiving than a dry caramel, especially if you don't make caramel often.
Lemon juice (optional): A small splash of acid helps prevent the sugar from crystallizing. It's insurance, not a requirement.
Whole milk: This is a Spanish flan recipe with whole milk for good reason. The fat in whole milk gives the custard body and a creamy mouthfeel. Lower-fat milk produces a thinner, more watery flan, so stick with whole.
Cinnamon stick and lemon peel: These are classic Spanish flavors for flan de huevo. Use a vegetable peeler to remove wide strips of the yellow peel only. The white pith underneath is bitter and will carry that bitterness into the milk. A whole cinnamon stick infuses gently and is easy to fish out; ground cinnamon would cloud the custard and leave specks.
Eggs and extra yolks: Whole eggs provide structure so the flan holds its shape when unmolded. The three extra yolks add richness and give the custard a silkier, more luxurious set. Room-temperature eggs blend smoothly with the warm milk.
Sugar, vanilla and salt: A modest amount of sugar keeps the custard lightly sweet, since the caramel adds plenty more. Pure vanilla rounds out the flavor, and a pinch of salt makes everything taste more like itself.
Kitchen Tools You'll Need
Fat Daddio's Anodized Aluminum Round Cake Pan, 9 x 2 Inch: A solid-bottom, 2-inch-deep pan holds the caramel without leaking and bakes the custard evenly (avoid springform pans for flan). Check price on Amazon
OXO Good Grips 8-Inch Fine Mesh Strainer: Catches bits of egg white and foam so the custard bakes up glassy and smooth. Check price on Amazon
Pyrex Basics 3 Quart Glass Oblong Baking Dish (9x13): Roomy enough to hold the cake pan in a water bath that comes halfway up its sides. Check price on Amazon
ThermoWorks ThermoPop 2 Instant-Read Thermometer: Takes the guesswork out of doneness: pull the flan when the center reads 170 to 175°F. Check price on Amazon
How to Make Spanish Flan
Set up your station. Heat the oven to 325°F (165°C) with a rack in the center. Place a dry 9-inch round cake pan (2 inches deep, not springform or removable-bottom) next to the stove, and put a kettle of water on to boil for the water bath.
Make the caramel. In a small heavy saucepan, combine 3/4 cup sugar, 3 tablespoons water and the lemon juice over medium heat. Swirl the pan (don't stir) until the sugar dissolves. Then let it bubble without stirring, swirling occasionally, for 8 to 12 minutes, until it turns deep amber, like an old copper penny. Color is flavor here: caramel that's too pale tastes only sweet, while caramel that goes too dark tastes bitter and burnt. Pull it as soon as it reaches that rich copper shade, because it darkens quickly.
Coat the pan. Immediately pour the caramel into the cake pan and tilt to coat the bottom and about 1/2 inch up the sides. Be very careful: caramel is extremely hot and causes serious burns. Keep children and pets away, and never touch or taste it. The caramel will harden and may crackle as it cools. That's normal. It melts back into a sauce as the flan bakes and chills.
Infuse the milk. In a saucepan, heat the milk with the cinnamon stick and lemon peel over medium heat until steaming with small bubbles at the edge, about 5 minutes. Don't let it boil. Remove from the heat, cover and steep for 15 minutes, then remove the cinnamon stick and peel.
Mix the custard gently. In a large bowl, whisk the eggs, yolks, 1/2 cup sugar, vanilla and salt just until smooth. Whisk gently; you're blending, not whipping in air. Slowly pour the warm milk into the eggs while whisking gently so the eggs warm gradually.
Strain and pour. Pour the custard through a fine-mesh strainer into a large measuring pitcher. Straining catches bits of egg white and chalazae that would otherwise leave streaks or lumps. Pour the strained custard over the hardened caramel, then skim or pop any bubbles on the surface.
Cover and set up the water bath. Cover the cake pan with foil. Set it in a 9x13-inch baking dish and place the baking dish on the oven rack. With everything already in the oven, carefully pour boiling water into the baking dish until it comes halfway up the sides of the cake pan. Pouring with the pan already on the rack means you never have to carry a sloshing dish of boiling water.
Bake. Bake for 50 to 65 minutes, until the edges are set and the center 2 to 3 inches still jiggle like set gelatin when you nudge the pan. For certainty, an instant-read thermometer inserted into the center should read 170 to 175°F (77 to 79°C), well above the 160°F USDA safe minimum for egg dishes on the FoodSafety.gov temperature chart.
Cool and chill. Carefully lift the pan out of the water bath and cool it on a rack for 1 hour. Cover and refrigerate for at least 6 hours or overnight.
Unmold. Run a thin knife around the edge of the flan. Dip the bottom of the pan in hot water for 30 seconds to loosen the caramel. Place a rimmed serving plate on top, hold the pan and plate together, and invert quickly. Lift the pan away and let the caramel sauce pool around the flan. Cut into wedges and spoon sauce over each slice.
Tips for the Best Flan de Huevo
Respect the water bath and moderate oven. Custard is delicate. The water bath and a 325°F oven provide gentle, even heat that keeps the eggs from curdling, forming holes or turning rubbery. A hotter oven sets the edges too fast and overcooks them before the center is done.
Keep the foil on. Covering the pan prevents a skin from forming and keeps the top from browning, so the unmolded flan has a smooth surface.
Don't stir the caramel. Stirring pushes sugar crystals onto the pan sides, which can trigger crystallization. Swirl instead.
Always strain. It takes thirty seconds and is the difference between a glassy custard and one with streaks or lumps.
Start checking early. Ovens vary, so check at 50 minutes. Overbaking is the most common cause of a disappointing flan.
Be patient with the chill. Six hours lets the custard firm up enough to hold its shape and gives the hardened caramel time to liquefy into sauce, so the flan releases cleanly.
Mind the clock at serving time. Keep flan refrigerated, and don't leave it at room temperature for more than 2 hours (see USDA guidance on leftovers and food safety).
Troubleshooting:
Holes or a spongy texture: The oven was too hot, the flan overbaked, or too much air was whisked into the custard. Whisk gently, strain and bake low and slow.
Weeping liquid: A little caramel sauce is expected, but watery liquid seeping from the custard means it was overbaked. Pull it when the center still jiggles.
Flan sticks: It likely needs more time in the fridge. Chill longer, then dip the pan bottom in hot water for 30 seconds before inverting.
Caramel crystallized: If it turns cloudy and grainy, sugar crystals formed on the pan sides. Start over with fresh sugar, and swirl rather than stir.
When you follow these steps, an easy Spanish flan recipe like this one turns out smooth and dependable every time.
Spanish Flan Variations and Substitutions
Orange and cinnamon: Swap the lemon peel for wide strips of orange peel (no pith) for a Spanish flan with orange and cinnamon. It's slightly sweeter and very fragrant.
Vanilla bean: Split half a vanilla bean, scrape the seeds into the milk and add the pod while it steeps. Remove the pod with the cinnamon and peel, and skip the extract.
Coffee flan: Dissolve 1 tablespoon instant espresso in the warm milk after removing the aromatics.
Richer custard: Replace 1 cup of the milk with half-and-half for a creamier, more indulgent texture.
Individual flans: Divide the caramel and custard among eight 6-ounce ramekins set in the baking dish. Bake about 30 to 40 minutes at the same temperature, using the same jiggle and temperature check.
8-inch pan: An 8-inch round pan works, but the flan will be deeper and take 10 to 15 minutes longer to bake.
Mexican-style flan: That style needs a different recipe built around condensed and evaporated milk. Don't simply swap them into this one; the ratios won't work.
How to Make Ahead and Store Spanish Flan
Flan is a perfect make-ahead dessert, and it's at its best 1 to 2 days after baking, once the caramel has fully melted into sauce. Keep it covered in the pan in the refrigerator for up to 3 days; 4 days is the outer limit. For the best presentation, unmold just before serving. Leftover unmolded slices can be stored in a covered container with their caramel spooned over them.
Don't freeze flan. Freezing makes the custard weep and turn grainy as it thaws.
Spanish flan is served cold, straight from the refrigerator, so there's no reheating. Warming it would loosen the custard and make it fall apart.
What to Serve with Spanish Flan
Fresh raspberries or sliced strawberries for a bright, tart contrast
A dollop of lightly sweetened whipped cream
A few curls of orange or lemon zest to echo the infusion
Strong coffee or café con leche alongside
As the finale after a Spanish tapas dinner
On a holiday dessert table, where it can be sliced ahead and kept chilled
Easy Spanish Flan Recipe FAQ
What is the difference between Spanish flan and Mexican flan?
Spanish flan is made with whole milk, eggs and sugar, while Mexican flan usually uses sweetened condensed and evaporated milk. Some Mexican and Latin American flans also add cream cheese, making them denser, sweeter and richer. Spanish flan de huevo is lighter and more delicate, often flavored with lemon and cinnamon.
Can you make Spanish flan without condensed milk?
Yes, traditional Spanish flan is made without condensed milk. It relies on whole milk, eggs, extra yolks and sugar for a silky custard, so you don't need any canned milk at all.
How do you know when flan is done?
Flan is done when the edges are set, the center 2 to 3 inches jiggle like set gelatin, and the center reads 170 to 175°F on an instant-read thermometer. It will firm up further as it chills.
Why does my flan have holes or bubbles?
Holes and bubbles usually mean the oven was too hot, the flan overbaked, or air was whisked into the custard. Whisk gently, strain the custard, pop surface bubbles, use a water bath and bake at 325°F.
Why did my caramel get hard in the pan?
Caramel hardens as it cools, which is completely normal. During baking and chilling, moisture from the custard dissolves it back into a liquid sauce that pools over the flan when you unmold it.
How far ahead can you make flan?
You can make flan up to 3 days ahead, and it tastes best 1 to 2 days after baking. Keep it covered in the pan in the refrigerator and unmold just before serving. This easy Spanish flan recipe is made for planning ahead.
Serving flan after a Spanish tapas night? Start with our Gambas al Ajillo, Patatas Bravas and Croquetas de Jamón. Love creamy Spanish desserts? Try our Arroz con Leche (Spanish Rice Pudding) next.