Pastel de nata is Portugal's most famous sweet, originating at the Jerónimos Monastery in the Belém district of Lisbon before the 18th century, where monks used large quantities of egg whites to starch their habits, leaving a surplus of egg yolks that were used in making sweets, among them these pastries. After the monasteries closed, the monks sold the recipe to a nearby sugar refinery that later became the famous «Pastéis de Belém» café, which still guards the original secret recipe today.

The secret to the authentic pastry lies in a laminated puff pastry, folded and rolled multiple times to create very thin layers that crisp up when baked, filled with a rich custard flavoured with vanilla and lemon zest, then baked at a very high temperature above 250°C for a short time, which gives the custard top its signature scorched spots, adding a light caramelized flavour without burning the pastry.