Vanilla Bean Flan

Recipe by Mia Castro

A foundational dessert in Puerto Rican cuisine, flan is made by gently baking a delicate custard in a caramel-coated pan (think France’s crème caramel but richer and more deeply colored). This recipe, excerpted from Mia Castro’s book Cocina Puerto Rico, takes this notoriously tricky dessert and makes it failproof. A nod to her mother’s own recipe, “flan de Mami,” Mia’s version is the product of years of making flan (and messing up). Mia adds mascarpone cheese, which produces an extra-silky texture, and vanilla bean paste for those signature flecks, plus she cooks her caramel to a deep golden color, which adds bitter notes that contrast the mild custard. If you’ve been too intimidated to make flan in the past, this recipe is the best place to start.

Prep
30 mins
Bake
1 hr 20 mins to 2 hrs
Total
9 hrs
Yield
one 9" flan
A round flan with three slices and one slice on a pie knife. - select to zoom
A round flan with three slices and one slice on a pie knife. - select to zoom
A slice of flan on a white plate with a bite on a spoon. - select to zoom
Close up of a slice of flan seen from above. - select to zoom
Flan seen from above with a single slice in the bottom right corner. - select to zoom
A slice of flan on a white plate. - select to zoom
A lid being removed from a flan showing a dramatic shadow and the full desert. - select to zoom
A flan with three slices made into the the right side. - select to zoom
Our Best Products

Instructions

Prevent your screen from going dark as you follow along.
  1. Preheat the oven to 325°F with a rack in the center. 

  2. To make the caramel: Place a straight-sided 9" aluminum round pan and a small white plate near the stovetop. Be sure the pan is dry. 

  3. In a medium saucepan, combine the sugar and salt. Gently pour the water over the sugar and shimmy the pan just enough to fully hydrate the sugar. Bring to a gentle simmer over medium heat and cook, without stirring, until the sugar dissolves and caramelizes to a golden amber color (similar to honey), about 10 to 15 minutes. Test the color of the caramel by spooning a few small drops onto the white plate.  

  4. Remove the caramel from the heat. Quickly but carefully pour the hot caramel into the 9" pan and, using a kitchen towel or oven mitts, carefully pick up the pan and slowly rotate it to distribute the caramel evenly over the bottom and about halfway up the sides. Set aside to cool while you prepare the custard. 

  5. To make the custard: In a blender, combine the condensed milk, evaporated milk, whole milk, mascarpone, vanilla, and salt. Blend on medium speed until there are no visible lumps of mascarpone, 10 to 15 seconds.  

  6. Add the eggs and blend on low speed until just incorporated, about 15 seconds. Gently tap the blender a few times to encourage air bubbles to rise to the surface and use a large spoon to skim off any foam that may have formed. 

  7. Pour the custard through a fine-mesh sieve into the caramel-coated pan; discard any solids in the sieve. Gently tap the pan against the counter a few times again to force air bubbles to the surface; pop any that appear with a toothpick. 

  8. Set up a water bath by placing a 12" roasting pan or 12" round pan on the middle rack in the oven. Cover the custard pan with a piece of foil and place it in the roasting pan. Gently pour enough hot water around the custard pan to come halfway up the sides of the pan, being careful not to splash any water into the custard.  

  9. Bake for 1 hour, covered, and then remove the foil and bake uncovered in 5-minute increments until the custard is jiggly in the center (like Jell-O) when the pan is lightly shimmied; you may need up to 30 additional minutes of baking time to achieve this texture. (If it’s firm in the center, it’s overcooked.) 

  10. Carefully remove the water bath from the oven and place it on the stovetop. Leave the flan in the water bath to cool completely, about 1 hour. Remove from the water bath and refrigerate, covered, for at least 6 hours or up to overnight before serving. 

  11. To unmold the flan: Uncover the pan and run a thin knife or small offset spatula around the edges, keeping the blade pressed against the pan to avoid cutting into the sides of the custard. Place the pan in hot water for 10 to 15 seconds; this helps melt and loosen the caramel underneath. If you hear a crack, don’t panic – that's just the hard caramel. 

  12. Remove from the hot water bath and place a serving plate with a slight rim over the top of the pan. Holding the plate and pan firmly together, flip them over in one smooth motion. 

  13. Give the pan a gentle shake or a small tap to help the flan release from the pan. Slowly lift the pan up, allowing the caramel to flow over the custard. 

  14. Slice and serve the flan cold, with plenty of caramel, spooning any pooled caramel from the pan onto the flan.  

  15. Storage information: Store leftover flan, covered, in the refrigerator for up to 1 week. 

Tips from our Bakers

  • Be aware: Some of your baking ingredients can be a hidden source of gluten. Learn more at our blog post: For gluten-free baking, think beyond just flour. For additional information on King Arthur-produced products, read the complete details of our allergen program, including our contact-prevention practices.

  • The recipe can also be baked in an 8" round pan. There will be a thicker layer of caramel in the pan, the custard will come nearly to the top edge, and you will need to extend the baking time by 20 to 30 minutes.  

  • For the most even, consistent heating, Mia recommends baking flan in an aluminum pan. If you choose a different type of pan, expect the baking time to vary.  

  • Recipe reprinted with permission from Cocina Puerto Rico © 2026. Published by Union Square & Co., an imprint of Grand Central Publishing, a division of Hachette Book Group.