Cheese and onion pie is a hearty British classic, featuring a buttery shortcrust pastry filled with a creamy, savory mixture of melted cheese, soft caramelized onions, and often a touch of potato or leek. This recipe delivers a deeply satisfying comfort food with a golden, flaky crust and a rich, tangy filling. It works beautifully as a main course with sides or as a cold picnic treat, and we’ve also broken down the calorie count per serving so you know exactly what you’re getting.
Ingredients
- 2 tbsp (30 g) unsalted butter
- 3 large onions (about 450 g / 1 lb), thinly sliced
- 1 tsp salt
- 1/2 tsp black pepper
- 1 tsp dried thyme (or 1 tbsp fresh)
- 2 cups (240 g) grated sharp cheddar cheese
- 1 cup (120 g) grated mozzarella or Gruyère
- 1 cup (240 ml) heavy cream
- 2 large eggs, beaten
- 1 tbsp Dijon mustard
- 2 sheets (about 500 g / 1.1 lb) shortcrust pastry (or homemade)
- 1 egg, beaten, for egg wash
Instructions
- Preheat the oven to 375°F (190°C).
- In a large skillet, melt the butter over medium heat. Add the sliced onions, salt, pepper, and thyme. Cook, stirring occasionally, for 15–20 minutes until the onions are soft and golden brown. Remove from heat and let cool slightly.
- In a large bowl, combine the grated cheddar, mozzarella, cream, beaten eggs, and Dijon mustard. Stir in the cooled onions.
- Roll out one sheet of pastry and line a 9-inch (23 cm) pie dish. Trim the edges, leaving a slight overhang.
- Pour the cheese and onion filling into the pastry shell, spreading evenly.
- Roll out the second pastry sheet and place it over the filling. Press the edges to seal, then trim and crimp. Cut a few slits in the top for steam to escape.
- Brush the top with the beaten egg wash.
- Place the pie on a baking sheet to catch drips. Bake for 35–40 minutes, until the pastry is golden brown and the filling is set (internal temperature of the filling should reach 160°F / 71°C, as it contains eggs, per USDA FSIS safe minimum).
- Let rest for 10 minutes before slicing.
Tips
- For a crisp bottom crust, pre-bake (blind bake) the pastry shell for 10 minutes at 375°F (190°C) before adding the filling. This prevents sogginess.
- Use a mix of strong and mild cheeses for more depth. Cheddar plus a bit of Parmesan works well.
- Don’t skip caramelizing the onions slowly—this brings out their natural sweetness and prevents a watery filling.
- If the pastry edges brown too quickly, cover them with foil or a pie shield halfway through baking.
Serving Suggestions
Serve warm with a side of steamed green beans, a crisp salad, or chutney. It also pairs well with mashed potatoes and gravy for a hearty meal. Cold slices are excellent in lunchboxes.
Variations
- Add 1 cup (150 g) cooked, diced potatoes to the filling for extra bulk.
- Swap half the onions for leeks (about 2 leeks, cleaned and sliced) for a milder flavor.
- Use puff pastry for a lighter, flakier top crust.
- Add a handful of fresh spinach or a pinch of nutmeg for extra flavor.
Storage and Reheating
Refrigerate leftover pie within 2 hours of baking, wrapped or in an airtight container, for up to 3–4 days. To reheat, place slices in a 350°F (175°C) oven for 10–15 minutes until hot (165°F / 74°C for leftovers). You can also microwave individual slices for 1–2 minutes, but the crust will soften. The pie can be frozen whole or in slices for up to 3 months; thaw overnight in the fridge before reheating.
Frequently Asked Questions
How many calories are in a slice of cheese and onion pie?
This recipe makes 6 servings, and each slice contains approximately 550–650 calories. The exact number depends on the type of pastry and cheese you use. For a lighter version, use reduced-fat cheese and a lower-calorie pastry.
Can I make this pie ahead of time?
Yes, you can assemble the pie (without egg wash) and refrigerate it for up to 24 hours before baking. Add the egg wash just before putting it in the oven. You may need to add 5–10 minutes to the baking time if starting from cold.
Why is my pie soggy?
Sogginess usually comes from excess moisture in the filling. Make sure your onions are well caramelized and not watery, and consider blind-baking the bottom crust. Also, let the pie rest after baking so the filling sets.
Can I use pre-shredded cheese?
Pre-shredded cheese often contains anti-caking agents that can affect melting. For the smoothest texture, grate cheese from a block. If using pre-shredded, it will still work, but the filling may be slightly less creamy.
Is this pie suitable for vegetarians?
Yes, as written, this recipe is vegetarian. Check that your pastry and cheese contain no animal rennet if that’s a concern.
Can I freeze the unbaked pie?
Absolutely. Assemble the pie, wrap it tightly, and freeze for up to 3 months. Bake from frozen at 375°F (190°C) for 50–60 minutes, covering the edges if needed. Ensure the filling reaches 160°F (71°C) before serving.
Related
- Tom Kha Gai Soup with Rotisserie Chicken
- Chicken Giblet Stew: How to Cook & Simmer Giblets
- Ground Chicken Tostadas: Easy Crispy Recipe
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).