Portuguese Custard Tart: Pastel de Nata at Home

Updated November 5, 2026

Total time
2 hr 20 min
prep 35 min · cook 15 min
Serves
12
portions as written
Safe temperature (USDA)
160°F / 71°C
check the thickest piece

Jump to recipe

Portuguese Custard Tart: Pastel de Nata at Home

Portuguese custard tart, known as pastel de nata (plural: pastéis de nata), is a small pastry with crisp, flaky layers and a rich egg-yolk custard. This home-baked version uses store-bought puff pastry and a stovetop custard, then bakes hot until the pastry is browned and the tops are deeply spotted; recipes vary, and a home oven may not reproduce a professional oven’s intense heat.

Ingredients

  • 1 sheet all-butter puff pastry, about 10 oz (280 g), thawed according to package directions
  • 1 cup (240 ml) whole milk, divided
  • ¾ cup (150 g) granulated sugar
  • ¼ cup (60 ml) water
  • 1 cinnamon stick, about 3 in (7.5 cm)
  • 1 wide strip lemon peel, about 2 in (5 cm), with as little white pith as possible
  • 2 tablespoons (15 g) all-purpose flour
  • 6 large egg yolks, about 108 g
  • 1 teaspoon (5 ml) vanilla extract
  • ⅛ teaspoon fine salt
  • Ground cinnamon, for serving (optional)

Instructions

  1. Prepare the pastry. Lightly flour the counter. Unfold the cold puff pastry and, if it is rectangular, roll it gently into a 10-by-12-inch (25-by-30-cm) rectangle. Starting at a short edge, roll it tightly into a log. Wrap and refrigerate for 30 minutes so it firms up and is easier to cut.
  2. Make the syrup. Put the sugar, water, cinnamon stick and lemon peel in a small saucepan. Bring to a boil over medium heat, stirring just until the sugar dissolves. Stop stirring and simmer for 3 minutes. Remove from the heat and let the syrup stand for 10 minutes; remove the cinnamon and peel.
  3. Make a smooth milk mixture. In a medium bowl, whisk the flour with about 3 tablespoons (45 ml) of the milk until no lumps remain. Whisk in the remaining milk. Pour the mixture into a saucepan and cook over medium-low heat, whisking constantly, until it thickens slightly and just begins to steam, about 3 to 5 minutes. Do not let it boil hard.
  4. Finish the custard base. Slowly whisk the warm syrup into the milk mixture. In a separate bowl, whisk the egg yolks, vanilla and salt. Gradually whisk a ladleful of the warm milk mixture into the yolks to temper them, then whisk the yolk mixture back into the saucepan. Cook over low heat, stirring constantly, until smooth and lightly thickened, about 2 minutes. Do not boil or scramble the yolks. Strain into a jug, cover the surface with plastic wrap and cool for 15 minutes.
  5. Heat the oven and prepare the tin. Set a rack in the upper-middle position and preheat the oven to 500°F (260°C), or its highest setting if lower. Grease a standard 12-cup muffin tin lightly. Keep the oven clear of paper towels, plastic and other items that are not oven-safe.
  6. Shape the shells. Cut the chilled pastry log into 12 equal slices. Place one slice, cut side up, in each muffin cup. With damp thumbs, press from the center outward to line the bottom and sides in a thin, even layer, leaving the pastry just above the rim. Keep the rim slightly thicker so it can brown without tearing.
  7. Fill and bake. Divide the cooled custard among the pastry shells, filling each about three-quarters full. Bake for 12 to 15 minutes, rotating the tin once if your oven browns unevenly. The pastry should be deeply golden and the custard set around the edges with dark brown spots on top. A spotty surface is expected. Since the filling contains eggs, check a tart in the center with a food thermometer: USDA FSIS guidance sets 160°F (71°C) as the safe minimum for egg dishes. If needed, bake a little longer and recheck.
  8. Cool before serving. Set the tin on a rack for 10 minutes. Carefully loosen the tarts with a small offset spatula or blunt knife and transfer them to the rack. Cool for at least 20 minutes before eating; the filling is very hot just out of the oven.

Tips

  • Keep the pastry cold. If the cut slices soften while you shape them, refrigerate the tin for 10 minutes before filling. Warm pastry is more likely to stick and lose its flaky layers.
  • Use the hottest safe oven setting. The characteristic dark patches come from intense heat, but ovens vary. Do not use the broiler as a substitute unless your oven’s manual specifically permits it with the tin in that position; keep an eye on the pastries throughout.
  • Choose a practical pastry substitute carefully. All-butter puff pastry gives the best flavor and crisp layers. Standard puff pastry works too; avoid phyllo, which makes a different, more brittle shell. If you cannot find a cinnamon stick, use a small pinch of ground cinnamon in the syrup, though it will leave fine spice flecks.
  • Measure the flour and temper the yolks. Too much flour can make the custard pasty, while adding hot liquid all at once can scramble the eggs. Weigh the flour if possible and whisk the warm mixture into the yolks gradually.

Serving Suggestions

Serve the tarts slightly warm or at room temperature, with ground cinnamon offered at the table. A small cup of strong coffee is a classic companion. They are rich, so one tart per person is a sensible starting portion; serve fresh fruit alongside if you want a lighter contrast. The pastry is crispest on the day it is baked.

Variations

For a gentle citrus variation, replace the lemon peel with a strip of orange peel. You can add a small pinch of ground cinnamon to the custard, but the traditional flavor is often kept simple and cinnamon is sprinkled on at serving. For a dairy-free attempt, use an unsweetened, full-fat oat drink in place of the milk; the custard may be less creamy and may thicken differently, so cook gently and judge by texture rather than relying on the exact minute count. Avoid changing the sugar syrup ratio, which helps the custard set and gives it its characteristic sweetness.

Storage and Reheating

Cool the tarts, then refrigerate them in a covered container within 2 hours of baking. Because the filling is an egg dish, do not leave them at room temperature longer than 2 hours, or 1 hour if the room is above 90°F (32°C). Refrigerated tarts keep for 3 to 4 days, though the pastry softens. Reheat on a baking sheet at 350°F (175°C) for about 5 to 8 minutes, until warmed through; avoid microwaving if you want to preserve the pastry’s texture. If reheating leftovers, bring the center to 165°F (74°C). Let them cool briefly before serving. Freezing is not recommended because thawing tends to make the custard watery and the pastry limp.

Frequently Asked Questions

Can I make the custard ahead?
Yes. Make it up to 1 day in advance, cover the surface directly and refrigerate. Stir until smooth before filling the pastry. Keep it chilled while working, and do not leave the egg custard at room temperature for more than 2 hours.

Why did my tarts stick to the muffin tin?
Custard may have spilled over the pastry, or the tin may not have been greased. Grease each cup lightly, avoid overfilling, and loosen the tarts while they are still slightly warm. A thin offset spatula helps release the pastry without breaking it.

Why is the custard runny?
The tarts may need more baking time, or the custard base may not have thickened sufficiently before it went into the shells. Bake until the edges are set and check the center tart with a thermometer for 160°F (71°C). The filling also firms as it cools.

Can I use a regular cupcake pan?
Yes. A standard 12-cup muffin tin works, though its wells may be deeper or wider than traditional pastel de nata molds. Press the pastry evenly up the sides and fill each cup only about three-quarters full; baking time may vary by a few minutes.

Do the tops need to turn black?
No. Dark brown spots are traditional and add a lightly caramelized finish, but the entire surface need not be black. Use the hottest setting your oven safely supports and take the tarts out when the pastry is browned and the custard is set.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).