Cheese and Onion Pie
A rich, savory pie filled with sweet caramelized onions and sharp cheddar cheese, all encased in a buttery, flaky shortcrust pastry. This comforting pub-style classic is perfect for lunch, dinner, or a weekend picnic. Serve it warm from the oven with a simple green salad.
For 4 servings
- prep · ~10 min
Make the shortcrust pastry dough.
In a large bowl, mix the flour and salt. Add the cold, cubed butter and rub it into the flour with your fingertips until the mixture resembles coarse breadcrumbs. Gradually add the ice-cold water, one tablespoon at a time, mixing with a knife until the dough just comes together. Form into a disc, wrap, and chill.
TIPHandle the dough as little as possible to keep the pastry flaky. - rest · ~30 min
Rest the pastry in the fridge.
Wrap the dough disc in plastic wrap and refrigerate for at least 30 minutes to relax the gluten and firm up the butter.
TIPCold dough is crucial for a tender, flaky crust that doesn't shrink. - saute · ~30 min
Caramelize the onions slowly.
Melt the butter for the filling in a large skillet over medium-low heat. Add the sliced onions with a pinch of salt. Cook gently, stirring occasionally, for 25-30 minutes until they are deeply golden, sweet, and reduced to a soft, jammy consistency. Remove from heat and let cool slightly.
TIPDon't rush this step; low and slow heat brings out the onions' natural sweetness. - mix · ~2 min
Mix the cheese and onion filling.
In a bowl, combine the grated cheddar cheese, cooled caramelized onions, beaten eggs, Dijon mustard, and a pinch of black pepper. Mix everything together thoroughly until well combined.
- prep
Preheat the oven to 375°F.
Position a rack in the center of your oven and preheat it to 375°F (190°C).
- bake · ~20 min
Roll out dough and blind bake the crust.
On a lightly floured surface, roll out the chilled pastry to an 11-inch circle. Line a 9-inch pie dish with the pastry, trimming any overhang. Prick the base all over with a fork. Line with parchment paper, fill with pie weights, and blind bake for 15 minutes. Remove the paper and weights and bake for another 5 minutes until the base is pale golden and dry.
TIPBlind baking ensures the bottom crust is crisp and not soggy from the filling. - bake · ~30 min
Fill the crust and bake the pie.
Spoon the cheese and onion filling into the par-baked crust, spreading it evenly. Bake in the preheated oven for 25-30 minutes, or until the filling is set, lightly puffed, and golden brown on top.
TIPLet the pie cool for 5-10 minutes before slicing to allow the filling to set perfectly. - serve
Slice and serve the pie warm.
Allow the pie to cool slightly in the dish before slicing into 4 wedges. Serve warm, garnished with fresh herbs if desired.
What to keep in mind.
6 tips from the recipe — small details that make a real difference to the final dish.
- 1Chill the pastry dough for at least 30 minutes to prevent shrinkage during baking.
- 2Caramelize the onions low and slow for a deep, sweet flavor—don’t rush this step.
- 3Blind bake the crust with pie weights to keep the base crisp and not soggy.
- 4Use sharp cheddar for maximum flavor; a mix of cheddar and Parmesan works too.
- 5Let the pie rest for 5–10 minutes after baking for clean, neat slices.
- 6Store leftover pie in the fridge for up to 3 days; reheat in a 350°F oven to refresh the crust.
Adapt it for your goals.
Herb & Garlic
Add 2 minced garlic cloves to the onions during the last 5 minutes of caramelizing, and stir in 1 tablespoon each of fresh thyme and chopped chives with the cheese. This variation adds aromatic depth for those who enjoy herbaceous flavors.
Spicy KickSpicy Kick
Mix in 1/2 teaspoon of smoked paprika and a pinch of cayenne pepper with the onions. For extra heat, add 2 tablespoons of finely chopped pickled jalapeños. This variation appeals to those who want a warming, smoky-spicy twist on the classic.
VeganVegan
Replace butter in the pastry with a vegan block butter (like Earth Balance) and use a flax egg (1 tbsp ground flax + 3 tbsp water per egg) instead of eggs. Substitute cheddar with a high-quality vegan cheddar shreds that melt well. This allows those on a plant-based diet to enjoy the pie.
Bacon & OnionBacon & Onion
Cook 4 slices of diced bacon until crisp before caramelizing the onions, then use the rendered fat instead of butter for the filling. Crumble the bacon into the cheese mixture. This adds a smoky, salty crunch that meat-eaters love.
Gluten FreeGluten-Free
Use a 1:1 gluten-free all-purpose flour blend for the pastry, adding an extra 1-2 tablespoons of ice water if the dough feels dry. Ensure the blend contains xanthan gum for structure. This makes the pie accessible to those with gluten intolerance.
Why this is on our healthy list.
Rich in Protein from Cheese & Eggs
The cheddar cheese and eggs provide high-quality protein, which supports muscle repair and keeps you feeling full longer.
Onions Support Heart Health
Onions are a good source of quercetin, an antioxidant that may help reduce inflammation and support healthy blood pressure.
Contains Calcium for Bones
Cheddar cheese is rich in calcium, which is essential for maintaining strong bones and teeth.
Butter Provides Fat-Soluble Vitamins
Butter contains small amounts of vitamins A, D, E, and K2, which support immune function and bone health.
Frequently asked questions
Yes, you can make the pastry dough up to 2 days in advance. Wrap it tightly in plastic wrap and keep it refrigerated. Let it sit at room temperature for 5–10 minutes before rolling out.







