
This rich savory pie wraps creamy potatoes, sweet caramelized onions, and mature cheddar in a flaky homemade pastry. It is hearty enough for dinner, elegant enough for a picnic, and just as good served warm or cold.
Make the pastry. Combine the plain flour, rye flour, cayenne pepper, onion seeds, grated Parmesan, and salt in a mixing bowl. Rub in the cold cubed butter with your fingertips until the mixture looks like fine breadcrumbs. Add about half of the beaten egg and 2 tbsp cold water, then bring the dough together by hand. Knead briefly until smooth, divide into one smaller third and one larger two-thirds portion, flatten both into discs, wrap, and chill for at least 30 minutes.
Prepare the filling while the pastry chills. Melt the butter in a saucepan over medium heat, then add the sliced onions, bay leaves, thyme, salt, and black pepper. Cook slowly for about 10 minutes, stirring often, until the onions soften and begin to caramelize. Add the sliced potato, cover, and cook for 8-10 minutes more, stirring occasionally, until the potato is tender and starting to break down.
Stir the cream into the potato and onion mixture, then remove the pan from the heat. Let the filling cool completely, discard the bay leaves, and fold in the cheddar. Cooling the filling prevents the pastry from softening before it bakes.
Roll the smaller pastry disc on a lightly floured surface into a circle about the size of a dinner plate. Transfer it to a parchment-lined baking sheet. Roll the larger pastry disc, including any scraps, into a circle about 5 cm wider than the base.
Spoon the cooled filling onto the center of the smaller pastry circle, leaving a 4 cm border. Brush the border with beaten egg, then lay the larger pastry round over the filling. Press around the mound to seal, trim the edge neatly, and crimp with a fork or the handle of a cutlery knife. Brush the top with beaten egg and add pastry decorations from the trimmings if desired.
Heat the oven to 210°C/190°C fan/gas 7. Bake the pie for 35-40 minutes, brushing with the remaining beaten egg halfway through, until the pastry is deep golden and crisp. Let it rest on the baking sheet for at least 20 minutes before slicing, or cool completely and serve cold.
Use a floury potato such as Maris Piper or King Edward for the best soft, creamy filling. If you prefer a vegetarian pie, choose a vegetarian hard cheese instead of Parmesan. The pastry can be made up to 2 days ahead and kept chilled; the baked pie keeps well in the fridge for up to 3 days.




