Cheese and onion pie is a beloved Irish savory tart, featuring a rich, creamy filling of caramelized onions and sharp cheddar cheese encased in a buttery shortcrust pastry. It’s a hearty, comforting dish that works beautifully as a main course with a side salad or as a satisfying snack. The sweetness of the onions balances the tangy cheese, creating a deeply flavorful and utterly delicious pie that’s simple to make and always a crowd-pleaser.
Ingredients
- 2 tbsp (30 g) butter
- 3 large onions (about 600 g / 1.3 lb), thinly sliced
- 1 tsp salt
- 1/2 tsp black pepper
- 1 tbsp all-purpose flour
- 1 cup (240 ml) whole milk
- 2 cups (200 g) grated sharp cheddar cheese
- 1 tsp Dijon mustard (optional)
- 1 large egg, beaten (for egg wash)
- 1 lb (450 g) shortcrust pastry (homemade or store-bought)
Instructions
- Preheat your oven to 375°F (190°C).
- In a large skillet or frying pan, melt the butter over medium heat. Add the sliced onions, salt, and pepper. Cook, stirring occasionally, for 15-20 minutes until the onions are soft and golden brown. If they start to stick, add a splash of water.
- Sprinkle the flour over the cooked onions and stir for 1 minute to cook out the raw flour taste.
- Gradually pour in the milk, stirring constantly to avoid lumps. Bring to a gentle simmer and cook for 2-3 minutes until the mixture thickens into a creamy sauce.
- Remove the pan from the heat and stir in the grated cheddar cheese and Dijon mustard (if using) until the cheese is melted and the sauce is smooth. Taste and adjust seasoning if needed. Let the filling cool slightly while you prepare the pastry.
- Roll out two-thirds of the pastry on a lightly floured surface to fit a 9-inch (23 cm) pie dish. Line the dish with the pastry, pressing it into the edges. Trim any excess.
- Pour the cheese and onion filling into the pastry-lined dish, spreading it evenly.
- Roll out the remaining pastry to form the pie lid. Place it over the filling, crimp the edges to seal, and cut a few small slits in the top to allow steam to escape.
- Brush the top of the pie with the beaten egg to give it a golden, shiny finish.
- Bake for 30-35 minutes, or until the pastry is golden brown and the filling is bubbling.
- Let the pie rest for 10 minutes before slicing and serving.
Tips
- Substitutions: For a milder flavor, use a mild cheddar or a mix of cheddar and mozzarella. You can also add a teaspoon of dried thyme or a pinch of nutmeg to the filling for extra depth.
- Pastry handling: Keep the pastry cold while working with it. If it becomes too soft, chill it in the fridge for 10 minutes before rolling out.
- Common mistake: Don’t skip caramelizing the onions properly. The sweetness is key to balancing the cheese. Rushing this step will result in a less flavorful pie.
- Make ahead: You can assemble the pie completely and refrigerate it unbaked for up to 24 hours. When ready to bake, add 5-10 minutes to the baking time.
Serving Suggestions
Serve the cheese and onion pie warm, sliced into wedges. It pairs wonderfully with a crisp green salad, steamed vegetables, or a bowl of tomato soup. For a heartier meal, serve alongside roasted potatoes or chunky chips. It’s also delicious cold the next day, making it perfect for lunchboxes or picnics.
Variations
Add protein: Stir in 1 cup of cooked, diced ham or crispy bacon to the filling for a more substantial pie. Herb twist: Add a tablespoon of chopped fresh chives or parsley to the cheese sauce. Potato topping: Instead of a pastry lid, top the filling with mashed potato and bake until golden for a shepherd’s pie-style version. Vegan option: Use a plant-based butter, milk, and cheese, and a vegan shortcrust pastry. The result will be slightly less creamy but still delicious.
Storage and Reheating
Store any leftover pie in an airtight container in the refrigerator for up to 3 days. To reheat, place slices in a preheated oven at 350°F (175°C) for 10-15 minutes, or until warmed through. You can also microwave individual slices for 1-2 minutes, though the pastry will be less crisp. The pie can also be frozen, either whole or in slices, for up to 2 months. Thaw overnight in the refrigerator before reheating.
Frequently Asked Questions
Can I use a different type of onion? Yes, you can use white, yellow, or red onions. Red onions will give a slightly sweeter flavor and a bit of color. You can also use shallots for a more delicate taste.
Why is my filling runny? The filling may be runny if the onions were not cooked down enough to release their moisture, or if the sauce wasn’t thickened properly. Make sure to cook the onions until they are soft and golden, and let the sauce simmer until it coats the back of a spoon before adding the cheese.
Can I make this pie without a pastry lid? Absolutely. You can make an open-faced tart by simply omitting the top pastry layer. Bake it for 25-30 minutes, or until the filling is set and the edges are golden.
What is the best cheese for this pie? Sharp cheddar is the classic choice because it melts well and has a strong flavor. However, you can also use Irish cheddar, Red Leicester, or a mix of cheddar and Gruyère for a nuttier taste.
Can I use pre-made pie crust? Yes, store-bought shortcrust pastry works perfectly. Just follow the package instructions for rolling and baking. You can also use puff pastry for a lighter, flakier topping.
Is this pie suitable for freezing? Yes, the pie freezes well. Assemble it completely, but do not brush with egg wash. Wrap tightly in plastic wrap and foil, and freeze for up to 2 months. Bake from frozen, adding 15-20 minutes to the cooking time.
Related
- Cullen Skink with Leeks: Smoky Scottish Soup
- Cullen Skink Without Cream: Smoky & Rich
- Cullen Skink Sauce: Smoky Fish Chowder Sauce
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).