cheese and onion pie
intro
Golden flaky shortcrust pie packed with slow-cooked sweet onion and melted sharp cheddar, a beloved British comfort food made for cozy shared family meals.
Ingredients
Steps
Make shortcrust pastry
Place 250g plain flour and 1/2 tsp fine sea salt in the small matte white ceramic mixing bowl. Cut 125g cold unsalted butter into 1cm cubes, add to the flour, and rub between your fingertips until the mixture resembles fine pale golden breadcrumbs with no large butter lumps remaining. Gradually stir in 3-4 tbsp ice-cold water, mixing with the tip of the chef’s knife until the dough just comes together into a smooth, soft ball, taking care not to over-knead (overworking develops gluten and makes pastry tough). Wrap the dough loosely in a small piece of parchment and chill in the fridge for 15 minutes while you prepare the filling.
Thinly slice onions
Peel all 700g of yellow onions, trim the tough root and dry stem ends, and place on the beech cutting board. Using the 8-inch stainless steel chef’s knife, slice the onions into uniform 3mm thick half-moon slices, keeping slices as even as possible to ensure consistent cooking. Gather trimmed peels and root ends into a small pile at the corner of the board to discard.
Slow-cook onion filling
Place the 24cm non-stick frying pan over medium-low heat, add the remaining 50g unsalted butter, and once fully melted and foaming slightly, add all sliced onions, remaining 1/2 tsp salt, and picked fresh thyme leaves. Cook for 25 minutes, stirring occasionally with the beech wooden spoon, until onions are completely soft, translucent, and pale golden with no crunchy raw texture remaining. Avoid turning heat higher than medium-low, as high heat will burn the onion edges and create a bitter filling. Remove pan from heat and set aside to cool completely for 10 minutes.
Grate mature cheddar
While onions cool, place the block of mature sharp cheddar on the clean beech cutting board. Use the coarse grating side of the stainless steel box grater to shred all 200g of cheddar into light, fluffy shreds. Once grated, stir 150g of the cheese into the fully cooled onion mixture, along with 1/2 tsp freshly ground black pepper, mixing until evenly combined. Reserve the remaining 50g of grated cheese to layer over the filling before adding the pie lid.
Roll pastry for lining
Lightly dust the clean beech cutting board with a pinch of plain flour. Remove chilled pastry from the fridge, cut into two pieces (one roughly 2/3 of the dough for the base, one 1/3 for the lid). Use the solid beech rolling pin to roll the larger dough piece into a 3mm thick circle, large enough to line the 23cm fluted metal pie dish with 2cm of overhang around the rim. Gently lift the rolled pastry using the rolling pin to avoid tearing, then lay it into the pie dish, pressing firmly into the base and fluted sides. Trim ragged overhang to 1cm with the chef’s knife.
Fill and seal pie
Spoon the cooled onion and cheese mixture evenly into the pastry-lined dish, spreading it flat with the back of the wooden spoon to eliminate air gaps. Sprinkle the reserved 50g grated cheddar evenly over the top of the filling. Roll the smaller pastry piece into a 3mm thick circle large enough to cover the pie top. Use the silicone pastry brush to brush a thin layer of beaten egg along the exposed edge of the base pastry, then lay the top pastry circle over the filling. Press edges firmly together to create a tight seal, then use the metal pastry crimper to crimp the edge decoratively, trimming any excess pastry. Cut a small 2cm cross-shaped steam vent in the center of the pie lid to allow steam to escape during baking.
Bake and rest pie
Use the silicone pastry brush to coat the entire top surface of the sealed pie with the remaining beaten egg, taking care not to let egg pool in the crimped edges (pooled egg will burn and create dark, bitter spots). Place the pie in a preheated oven at 190°C (375°F / Gas Mark 5) on the middle shelf, and bake for 45 minutes until the pastry is a deep, even golden brown across the entire top, and filling bubbles gently through the center steam vent. Once baked, remove from the oven and let rest for 10 minutes at room temperature to allow the filling to set before slicing and serving.
Tips
2.Let the onion filling cool completely before adding it to the pastry case: hot filling will melt the butter in the raw pastry base, leading to a soggy bottom crust and making it difficult to get a tight seal on the pie edges.
3.Let the baked pie rest for a full 10 minutes before slicing: this resting time allows the melted cheese and soft onion filling to set, so slices hold their clean wedge shape instead of oozing out when cut.

OMG this classic cheese and onion pie was an absolute hit at our Sunday family dinner! I was a little nervous it would be too tricky since it’s marked medium difficulty, but the steps were super straightforward. My 7 and 9 year old went back for seconds, even my picky husband asked when I’m making it again! SO good, already added to our monthly meal rotation.
Really solid cheese and onion pie! Cook time was exactly 1 hour 10 minutes like the recipe said, which is great for weeknight meal prep if you prep the onions the night before. My only note is I added a sprinkle of paprika on top for a little extra kick, and it paired perfectly. Will make again, just wish the crust instructions were a tiny bit more specific for new bakers.
Took this pie on a day hike up in the Rockies last weekend and it was perfect! Slices hold up really well even when packed in a cooler for a few hours, the cheese flavor is rich but not heavy, and the caramelized onions are chef’s kiss. 10/10, way better than the sad granola bars I usually bring.
Okay, full transparency: I messed up the crust the first time around so my pie came out a little lopsided, but the filling was insanely good. I think I overworked the dough, oops. Flavor was on point though, just wish I’d watched a quick pastry tutorial before jumping in. Gonna give it another go next weekend for sure.
Game. Changer. I brought this to our office potluck yesterday and I swear half my team was crowded around the dish asking who brought it. The combination of gooey melted cheese and sweet caramelized onions is so comforting, it tastes like a hug in pie form. Even my gluten free coworker was jealous, I might try making it with a GF crust next time for her!
Great recipe, solid flavor. I prepped all the components on Sunday and baked it Wednesday night for dinner, it held up really well in the fridge. I used a sharp white cheddar instead of the regular cheddar the recipe calls for and it added a really nice depth of flavor. Only reason it’s not 5 stars is I wish there was a little more onion, so I’ll double that next time.
I’ve been making cheese and onion pie for 40 years and I have to say, this recipe is right up there with my mom’s! The ratio of cheese to onion is perfect, not too runny, not too dry, the crust comes out perfectly flaky every time. My grandson said it’s better than the pie I usually make, don’t tell him I used this recipe instead of my old one 😉
I wanted to love this, I really did, but it took me way longer than the 1 hour 10 minutes listed. I spent almost 45 minutes just caramelizing the onions! I get that good onions take time, but I wish the recipe note mentioned that you can’t rush that step if you’re making this on a tight weeknight schedule. Ended up eating dinner at 8pm instead of 6:30, oops.
Made this in my tiny dorm kitchen with a toaster oven and it actually turned out amazing! I used a pre-made refrigerated pie crust to save time and money, mixed shredded cheddar and a little mozzarella I had left over from pizza night, and it was so cheap and filling. Perfect for meal prepping for the week, I had slices for lunch 3 days in a row and didn’t get sick of it.
I was skeptical a cheese and onion pie could be that exciting, but wow, this exceeded every expectation. The little hint of mustard in the filling? *Chef’s kiss* I didn’t even see that coming, it adds such a nice tang that cuts through the richness of the cheese. Served it with a side of simple green salad and it was the perfect cozy Saturday night dinner.
As a lifelong vegetarian, I’m always looking for hearty, satisfying comfort food that doesn’t feel like an afterthought, and this pie delivers! It’s so filling, even my meat-eating roommate said he didn’t miss the sausage or bacon he usually expects in savory pies. I added a handful of chopped spinach to the filling for extra veggies, it worked great. Only knock is my crust got a little too brown on the edges, I should have covered it with foil halfway through.
Made this for our football tailgate last weekend and it was gone before the first quarter even started! Cut it into small hand-held slices, served it with a little side of spicy brown mustard for dipping, and people were raving. Way better than the usual boring chips and dip spread, I’m already making a double batch for the next game.
This was the first thing I baked in my new house’s oven! I was so worried it would turn out terrible since I’m still figuring out how my oven runs hot, but it came out perfect. The cheese was all melty, the onions were sweet, the crust was flaky. We ate half the pie standing up in the kitchen while we unpacked boxes, it was the perfect housewarming meal.
The flavor is great, don’t get me wrong, but I think I used the wrong cheese? I used a super sharp aged cheddar and it ended up being a little too greasy once it melted. The filling oozed out a little when I cut into it too, I think I didn’t let it cool long enough before slicing. Will try again with a milder cheddar and let it rest longer next time.
Super solid recipe for meal prep! A slice of this with a side of roasted veggies is the perfect work lunch, it reheats really well in the microwave (just 30 seconds and it’s good as new) and it keeps for 4 days in the fridge no problem. I added a little cracked black pepper on top before baking for a little extra zing, highly recommend.
Y’all, this pie is SO good. I was worried it would be too plain since it’s just cheese and onion, but the depth of flavor from slow caramelizing the onions is unreal. I served it with a side of dill pickles like my grandma used to do, and it tasted just like the pies I grew up eating at church potlucks. Absolute comfort food perfection.
I have literally never baked a pie before in my life, and I pulled this off! I was so intimidated by making a crust from scratch, but the instructions were easy to follow, and even though my crimping was super messy, it tasted incredible. My roommate said it was the best thing I’ve ever cooked. I feel so accomplished right now!
Made this for my kid’s 10th birthday dinner per his request — he’s obsessed with all things cheese, so this was right up his alley. He said it was “the best birthday dinner ever” so that’s a win in my book. I did add a couple strips of crumbled bacon on top for a little extra savoriness, don’t @ me, I know it’s not traditional, but it slapped. Would definitely make again.
Now that the kids are grown and out of the house, I’ve been cooking smaller portions of all our old family favorites, and this pie works perfectly for two people if you cut the recipe in half! I baked it in a small 6-inch pie dish, had it for dinner with my husband last night, and we had the last slice for lunch today. Tastes just like the cheese and onion pie I made when the kids were little, such a lovely trip down memory lane.