Desserts
Mary Berry's cheese and onion pie delivers the perfect balance of crisp golden pastry and rich, savory filling that's impossible to resist. 💛 This classic British favorite transforms humble ingredients into a showstopping dessert that's both comforting and elegant.
The secret lies in using high-quality puff pastry for that signature flaky, golden crust that puffs beautifully in the oven.
What sets this recipe apart is the careful layering of caramelized onions and melted cheese, creating a velvety filling that's rich but never heavy. Mary Berry's approach emphasizes quality ingredients—sharp cheddar for depth, sweet onions for caramelization, and a touch of mustard to brighten the flavors.
The result is a pie with a perfect balance of textures and tastes that will have everyone asking for seconds.
The baking process is where the magic happens, with the pastry achieving that iconic oven spring while the filling bubbles to a golden finish. This pie is ideal for special occasions or when you want to impress guests with a dish that feels both rustic and refined.
The aroma alone will fill your kitchen with warmth and anticipation.
Once baked, the pastry will be crisp and golden, while the filling remains creamy and inviting. Serve it warm with a side salad or crusty bread to soak up every last bit of that delicious cheese and onion goodness.
This is the kind of pie that makes every gathering feel a little more special.
Ingredients for cheese and onion pie recipe mary berry
Six simple ingredients transform into Mary Berry's iconic golden pie—crisp crust, creamy filling.
| Ingredient | Amount | Notes |
|---|---|---|
| Puff Pastry Sheets 🥧 | 2 sheets | Store-bought or homemade, thawed |
| Yellow Onions 🧅 | 3 large | Sweet variety preferred |
| Sharp Cheddar Cheese 🧀 | 8 oz | Grated, matured for flavor |
| Unsalted Butter 🧈 | ½ cup | Cold, cubed for caramelizing |
| Heavy Cream 🥛 | ½ cup | Full-fat for richness |
| Dijon Mustard 🌶️ | 1 tbsp | For subtle tang |
| Salt 🧂 | 1 tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Large Eggs 🥚 | 1 whole | For egg wash |
| Milk 🥛 | 1 tbsp | For egg wash |
The pastry is non-negotiable here. All Butter Puff Pastry from Whole Foods or Waitrose gives that signature flaky texture, but Trader Joe's brand works too if you're in the US. Look for sheets that are cold and firm—never thawed in the fridge for too long. Sweet onions are key (like Vidalia or Maui) for caramelization, but regular yellows work in a pinch. The cheddar? Sharp, matured is essential—young cheddar won't melt right. I always buy Double Gloucester from specialty shops if I can find it, but Sharp Cheddar from the regular dairy aisle is fine too.
No sweet onions? Regular yellows with extra sugar (1 tsp) helps. Running short on butter? Olive oil works at 1:1 ratio, though it won't caramelize the same. The mustard is optional but worth it for that bright note—skip it if you're sensitive to tang. For the egg wash, beat the egg with a splash of milk for extra shine. Pre-made puff pastry? Roll it out to 1/8-inch thickness for even baking. The filling should be thick but pourable—like a cross between mashed potatoes and cheese sauce.
Assemble the pie 1 hour before baking—this gives the filling time to set slightly. Wrap the pastry in plastic and refrigerate until ready to bake. The filling keeps 3 days in the fridge, but the pastry gets soggy if baked later. For make-ahead, bake the pie, cool completely, then freeze. Reheats beautifully in a 350°F oven for 10-15 minutes. Leftovers? Slice and toast for a crispy upgrade.
Why You'll Love This Recipe
- No-Fuss Assembly: I swear by this recipe because it’s basically foolproof—just roll out the puff pastry, layer the caramelized onions and sharp cheddar, brush with butter, and bake. Honestly, the hardest part is waiting for it to golden.
- Creamy Caramelized Magic: That sweet, buttery onion filling with heavy cream? It’s like a hug in pie form. The sharp chedddar melts into gooey perfection, and the puff pastry adds that crispy contrast—every bite is pure satisfaction.
- Lunchbox Hero: Between us, this pie is my go-to for lunches. Slice it up, wrap it in foil, and it stays fresh for days—no reheating needed. My kids (and coworkers) devour it, and I don’t even have to pack anything fancy.
- Budget Baked Gold: Sharp cheddar and onions are cheap staples, and puff pastry stretches further than you’d think. I make this for dinner parties on a shoestring, and no one ever guesses it’s this easy—or this delicious.
Step-by-step instructions for Mary Berry's cheese and onion pie
Let's create this classic British favorite with a perfectly golden crust and creamy, savory filling.
👨🍳 Step 1: Caramelize the Onions for Sweet Depth
Slice the 3 large yellow onions into thin rounds and separate the rings. In a large skillet, melt the 0.5 cup unsalted butter over medium heat. Add the onions and cook for 15-20 minutes, stirring occasionally, until they turn golden brown and sweet-smelling.
Here's the thing—don't rush this step. You want the onions to break down completely and develop that beautiful caramel color. If they start to stick, just add a splash of water and scrape up those delicious browned bits from the bottom of the pan. They're pure flavor!
Once fully caramelized, transfer the onions to a bowl and stir in the 1 tbsp Dijon mustard. This adds just the right amount of tang to balance the sweetness. Let them cool slightly while you prepare the filling.
🍳 Step 2: Mix the Creamy Filling
In a large mixing bowl, combine the cooled caramelized onions with the 8 oz grated sharp cheddar cheese. Add the 0.5 cup heavy cream, 1 tsp salt, and 0.5 tsp black pepper. Mix everything together until you have a thick, creamy filling that's evenly distributed.
I like to use my hands for this part—it helps me feel the texture and ensure the cheese is fully incorporated. The filling should be smooth but still have some bite from the caramelized onions. If it's too thick, you can add a splash of milk later, but it should be ready to go now.
🥘 Step 3: Assemble the Pie
Preheat your oven to 375°F. Roll out one of the 2 puff pastry sheets on a lightly floured surface to fit your pie dish. Press it gently into the bottom and up the sides, creating a crust about 1 inch high. Trim any excess pastry.
Spread the cheese and onion filling evenly into the pastry-lined dish, leaving a ½-inch border at the edges. This border is crucial—it prevents the filling from bubbling over during baking. Roll out the second puff pastry sheet and place it on top of the filling.
Here's a pro tip: Use a fork to crimp the top and bottom edges together, creating that classic pie design. Brush the top pastry with the egg wash (1 whole egg beaten with 1 tbsp milk) for a beautiful golden finish. Cut a few small slits in the top to allow steam to escape.
🔥 Step 4: Bake to Golden Perfection
Place the pie on a baking sheet (to catch any drips) and bake for 35-40 minutes until the pastry is deep golden brown and the filling is bubbling through the slits. The center should be just set but still slightly jiggly—it'll firm up as it cools.
I know it's tempting to open the oven early to check, but resist! The pie needs that steady heat to develop its perfect texture. If the top starts to brown too quickly, tent it loosely with foil for the last 10 minutes of baking.
Let the pie cool for at least 20 minutes before serving. This resting time allows the filling to set properly and makes slicing much easier. The result should be a beautiful pie with a crisp, golden crust and a creamy, savory filling that's perfectly balanced.
Pro Tips For Making Cheese And Onion Pie Recipe Mary Berry
- Bake Blind First: The puff pastry needs a head start—prick it all over with a fork, then bake it empty for 12-15 minutes at 200°C (400°F) before adding the filling. This stops soggy bottoms and lets the cheese caramelize without burning. I learned this the hard way after scraping up a ruined crust from the tray.
- Sweat, Don’t Burn: Slice the onions thin and cook them in butter on medium-low heat until translucent, not browned. Rush this step, and you’ll end up with bitter, rubbery onions that overpower the cheddar. A splash of heavy cream at the end smooths things out, but prevention is easier.
- Grill the Cheese: Cut the sharp cheddar into chunks and scatter them unevenly—some straight from the fridge, some lightly warmed in the oven. The contrast between melted and just-softened cheese adds texture. I was skeptical until I tried it; now I never go back to uniform melting.
- Brush, Don’t Drown: After assembling the pie, brush the top puff pastry with melted butter—not egg wash—then sprinkle with coarse salt. The butter gives a golden finish, while salt cuts through the richness. Skip the egg, or you’ll end up with a chewy, not flaky, top.
Make-ahead tips for this recipe
Prep Ahead
Assemble the pie filling up to 24 hours ahead and store it in an airtight container in the fridge. The flavors meld beautifully overnight, and you'll save time on baking day. I always make this my first step when planning ahead—it's a game-changer for busy days. 💡
Pastry Prep
Roll out both puff pastry sheets and wrap them tightly in plastic wrap. Store them in the fridge for up to 48 hours before using. This keeps them cold and prevents them from becoming too soft.
When ready to assemble, simply unwrap and roll out on a lightly floured surface. Pro tip: Use a rolling pin with a 1/8-inch thickness guide for even results.
Filling Storage
The filling alone keeps well in the fridge for 3 days in an airtight container. If you're making this pie for a gathering, assemble the pie (without the top crust) and refrigerate for 1 hour before baking.
This ensures the filling is cold and sets properly during baking. For extra insurance, chill the assembled pie in the fridge for 30 minutes before baking to prevent any potential leaks.
Freezer-Friendly
This pie freezes beautifully! Assemble the pie completely (including the top crust) and bake as directed. Let it cool completely, then wrap tightly in plastic wrap followed by aluminum foil. Freeze for up to 2 months.
To serve, thaw overnight in the fridge and reheat at 350°F for 15 minutes to restore that golden crust. The filling stays creamy and delicious.
Make-Ahead Baking
Bake the pie completely, let it cool, then store it in an airtight container at room temperature for up to 2 days. For longer storage, freeze the baked pie as described above. Reheat slices in a 375°F oven for 5-7 minutes to crisp up the pastry.
I love making this pie ahead for holiday gatherings—it reheats beautifully and tastes even better the second time around. ✨
Serving Prep
Slice the pie into wedges and arrange them on a serving platter. Garnish with fresh chives or parsley for a pop of color. For an elegant touch, drizzle with a little hot honey> or serve with a side of crusty bread> to soak up the filling.
I always set out a small bowl of extra filling for guests who want seconds—it's that good! 🥧
Nutrition facts
Frequently asked questions
Can I use regular pastry instead of puff pastry?
While you can use shortcrust or rough puff pastry, the texture won't be the same. Puff pastry gives that signature flaky, golden layers that Mary Berry's version is famous for. For a compromise, try all-butter puff pastry from your grocery store—it's the closest alternative and still delivers great results. The filling will taste just as delicious, but the crust will be less crisp and layered.
What's the best way to caramelize the onions without burning them?
Cook them on medium-low heat for 20-25 minutes, stirring every 5 minutes. If they start to stick, add 1 tsp water and scrape up the browned bits—they're packed with flavor! Keep the heat low to prevent burning, and don't rush. Sweet onions like Vidalia or Maui caramelize more easily than regular yellow onions, which may need an extra 5 minutes of cooking time.
Can I make this pie ahead of time?
Assemble the pie (without baking) and refrigerate for 1 hour before baking. The filling will set slightly, making it less likely to leak during baking. For even better results, bake the pie completely, cool it, then store it in an airtight container at room temperature for up to 2 days. Reheat slices in a 375°F oven for 5-7 minutes to restore that golden, crispy crust.
What if my pastry gets soggy?
Soggy pastry usually happens when the filling is too wet or the pie isn't fully cooled before slicing. To prevent this, chill the assembled pie for 30 minutes before baking, and let it cool completely (at least 20 minutes) before serving. If it still happens, try brushing the top pastry with a little extra egg wash before baking, or bake it at 350°F instead of 375°F for a slower, more even cook.
Can I add other vegetables to this pie?
Certainly! Try adding 1 cup of sautéed mushrooms or ½ cup of finely chopped spinach to the filling for extra depth. Just
