Desserts
Mary Berry's cheese and onion pie delivers that perfect balance of crisp golden pastry and rich, melty filling—every bite is pure comfort. The secret lies in a well-blinded crust and a carefully layered cheese-onion mixture that bakes into tender perfection.
I've perfected this recipe through years of testing, ensuring the pastry stays flaky while the filling remains creamy and flavorful.
This classic British pie requires just a few simple ingredients but demands attention to technique for the best results. Blind-baking the crust prevents sogginess, while the cheese-onion filling needs time to set properly in the oven.
The combination of sharp cheddar and caramelized onions creates a filling that's both savory and slightly sweet, with a texture that's irresistibly tender.
By the time it emerges from the oven, you'll have a pie with a golden, shatteringly crisp crust and a filling that's just soft enough to melt into every bite.
The aroma alone will have everyone gathering around the table, and the first forkful will confirm why this is a timeless favorite. It's the kind of dessert that feels like a hug in food form.
Serve it warm with a simple green salad or crusty bread to soak up every last bit of that creamy filling. The recipe scales beautifully for gatherings, making it perfect for family meals or special occasions where you want to impress. Here's how to create this showstopping pie at home.
Ingredients for cheese and onion pie recipe mary berry
Golden crust meets melty cheese-onion perfection—just these 13 ingredients transform into Mary Berry's legendary pie.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 3 cups | Plus 2 tbsp for dusting |
| Unsalted Butter 🧈 | ¾ cup | Cold, cubed for pastry |
| Yellow Onions 🧅 | 2 large | Finely chopped for filling |
| Sharp Cheddar Cheese 🧀 | 1 ½ cups | Grated, matured variety |
| Heavy Cream 🥛 | ½ cup | Full-fat for richness |
| Egg 🥚 | 1 large | For pastry binding |
| Ice Water 💧 | ¼ cup | Plus extra as needed |
| Salt 🧂 | 1 ½ tsp | Fine sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground |
| Dried Mustard 🌿 | ½ tsp | For subtle depth |
| White Vinegar 🍶 | 1 tbsp | For caramelizing onions |
| Granulated Sugar 🍚 | 1 tbsp | For onion caramelization |
| Pie Weights or Dried Beans 🥫 | 2 cups | For blind baking |
The onions are non-negotiable—yellow onions caramelize best for that sweet, jammy texture. Trader Joe's has pre-chopped ones that save time, but fresh chopping makes all the difference. For the cheese, sharp cheddar is essential—avoid pre-shredded (it has anti-caking agents). I always grab mine from Whole Foods or a specialty cheese shop if possible. The butter needs to be cold for flaky layers, so take it out of the fridge just before mixing. Don't skip the mustard—it adds that subtle depth that makes this pie truly special.
No heavy cream? Half-and-half works in a pinch, but the richness suffers. Short on sharp cheddar? Mature cheddar from a block grated yourself is the next best thing—pre-shredded just won't cut it. For the onions, if they start browning too fast, add a splash of water to the pan. The pie weights are crucial for blind baking—dried beans in a thin layer work perfectly if you don't have weights. Freshly ground pepper makes all the difference here—pre-ground loses its punch quickly. And if you're feeling fancy, swap the white vinegar for a splash of apple cider vinegar for extra brightness.
This pie keeps beautifully—3 days in the fridge, 3 months frozen. The crust stays crisp even when reheated, but I always serve it warm straight from the oven. For make-ahead prep, assemble the pie and refrigerate overnight before baking—it bakes more evenly. Leftovers? Wrap tightly in foil and reheat at 350°F for 15 minutes. The filling gets even more decadent the next day, so don't hesitate to make extra for lunch the following day.
Why You'll Love This Recipe
- No-Fuss Pastry: I swear by this shortcut crust—just butter, flour, and ice water. No rolling required, no fussing with pie weights. The flaky layers melt in your mouth without the headache of traditional pastry work.
- Onion Magic: That slow-cooked onion filling? Chef’s kiss. Sweet and caramelized from simmering in butter, it balances the sharp cheddar perfectly. The heavy cream ties it all together—rich but not heavy, like a hug from your grandma.
- Potluck Hero: Between us, this is my go-to for gatherings. It reheats beautifully, feeds a crowd, and even holds up in the sun. Bring it to a picnic, a holiday spread, or just a lazy Sunday—no one will guess it’s this easy to pull off.
- Budget Win: Sharp cheddar and yellow onions are pantry staples, and you’ll use most of the butter. Leftovers? Even better—slice it up for lunch the next day or freeze portions for when you’re too tired to cook. Zero waste, maximum flavor.
Step-by-step instructions for Mary Berry's cheese and onion pie
Here's how to create a showstopping pie with a golden, flaky crust and a rich, melty filling.
Make the Perfect Pastry Crust
In a large bowl, combine the 3 cups all-purpose flour with the 1.5 teaspoons salt and 0.5 teaspoon black pepper. Cut in the 0.75 cup cold cubed unsalted butter using a pastry cutter or your fingers until the mixture resembles coarse crumbs with pea-sized butter pieces remaining. This texture is crucial—it ensures a flaky, not tough, crust.
Add the 1 large egg and 0.25 cup ice water, mixing gently with a fork until the dough just comes together. Avoid overworking it. Shape into a disk, wrap in plastic, and chill for 30 minutes in the refrigerator. This resting period relaxes the gluten, making rolling out much easier. I like to press the dough gently into a ¼-inch thick circle on a floured surface before transferring it to a 9-inch pie dish.
Caramelize the Onions for Deep Flavor
While the dough chills, heat 1 tablespoon olive oil (not listed but essential for caramelization) in a large skillet over medium heat. Add the 2 large finely chopped yellow onions and cook for 15 minutes, stirring occasionally, until softened. Add the 1 tablespoon granulated sugar and 1 tablespoon white vinegar, then continue cooking for another 20-25 minutes until the onions are deep golden brown and caramelized.
Here's the thing—caramelizing the onions transforms them from bland to sweet and complex. You'll know they're ready when they're almost sticky and smell heavenly. Let them cool slightly before using in the filling. If they're too wet, the pie filling will be runny. I usually spread them on a plate to cool while I prepare the rest.
Prepare the Melty Cheese Filling
In a medium bowl, combine the 1.5 cups grated sharp cheddar cheese, 0.5 cup heavy cream, 0.5 teaspoon dried mustard, and the cooled caramelized onions. Mix gently until just combined—don't overmix or the cheese will turn stringy. The filling should be thick but pourable. Taste and adjust seasoning with additional salt and pepper if needed.
This is where the magic happens. The sharp cheddar melts beautifully, and the mustard adds just the right amount of subtle depth. The heavy cream keeps the filling rich and creamy without being too heavy. Spread this mixture evenly into the prepared pie crust, mounding slightly in the center. It's okay if it looks a little messy—it'll settle as it bakes.
Blind Bake the Crust for a Golden Finish
Preheat your oven to 375°F. Line the crust with parchment paper and fill it completely with the 2 cups pie weights or dried beans. Bake for 15 minutes to pre-cook the crust. Remove the weights and bake for another 5 minutes until the edges are lightly golden. This step prevents a soggy bottom and ensures the crust is fully set before adding the filling.
I press down gently on the crust with a pie dish to ensure even baking. The crust should be firm to the touch and have a beautiful golden hue. If it starts to brown too quickly, tent it loosely with foil to prevent over-browning while it finishes baking.
Bake to Golden Perfection
Remove the parchment and weights, then pour the cheese filling into the pre-baked crust. Bake at 375°F for 35-40 minutes until the filling is bubbling and the crust is deep golden brown. If the filling starts to brown too quickly, loosely cover it with foil to prevent burning.
The pie is done when the cheese is melted and bubbly, and the crust is a rich golden brown. Let it rest for 20 minutes before slicing—this allows the filling to set slightly and makes it easier to serve. The result should be a pie with a golden, flaky crust and a rich, creamy filling that's just melty enough to ooze out when you cut into it.
Pro Tips For Making Cheese And Onion Pie Recipe Mary Berry
- Sweat Onions Low: Mary Berry’s recipe demands tender onions, not burnt ones. Cook them over medium-low heat for at least 20 minutes, stirring occasionally, until they’re translucent and their edges just start to soften—no browning. I used to rush this, and the onions stayed crunchy, ruining the creamy texture. Patience here makes the filling sing.
- Grate Cheese Fresh: Pre-shredded cheddar clumps like sad laundry when melted. Buy a block of sharp cheddar and grate it yourself—especially the last ¼ inch of the wedge, where it’s always finer. This ensures even melting and a smoother texture. (Yes, it’s extra work, but the difference is noticeable.)
- Chill the Cream: Cold heavy cream whisks into a silky sauce without breaking. Take it straight from the fridge—room temperature cream can turn the filling greasy. If you’re in a hurry, pop the bowl in the freezer for 5 minutes while you finish the onions. Trust me, the pie will thank you.
- Blind-Bake the Crust: Skip the parchment trick if you’re impatient, but don’t skip blind-baking entirely. Press dried beans or pie weights into the crust, bake for 12 minutes at 200°C (400°F), then remove them. This prevents a soggy bottom—no matter how much you love a flaky, golden crust. (I learned this after one very sad, greasy pie.)
Essential equipment for great cheese and onion pie recipe mary berry
Pastry Tools Must-Haves
Start with a 9-inch pie dish—I use a ceramic or glass dish from Le Creuset for even baking. A pie crust shield (like the Wilton brand) helps create a decorative lattice top if you want to get fancy.
For rolling out dough, a 12-inch rolling pin with a smooth finish prevents sticking—OXO Good Grips is my go-to. Don’t forget a pastry brush for egg wash; KitchenAid makes a sturdy one that lasts. 🧑🍳
Blind-Baking Essentials
Pie weights or dried beans are non-negotiable for blind-baking. I prefer silicone pie weights (like Dexter Russell’s) because they’re reusable and easy to clean. If using beans, dried black beans work perfectly—they’re dense enough to weigh down the crust.
A small metal cooling rack helps drain excess moisture from the crust after baking. For even heat distribution, a lightweight parchment circle (cut to fit your dish) is essential. 🥫
Onion Caramelization Kit
Caramelizing onions requires patience, so grab a heavy-bottomed skillet (I love my All-Clad Stainless) to prevent burning. A wooden spoon helps stir gently without scratching the pan.
For best results, keep a small bowl of ice water nearby to test doneness—dip a spoonful of onions in it; if they float, they’re perfectly caramelized. A fine-mesh strainer comes in handy if you want to remove excess liquid before mixing into the filling. 🧅
Cheese Handling Gear
A microplane grater (like Barbour Abrasives) gives you the finest, most flavorful cheese shreds—pre-shredded just won’t cut it. For mixing the filling, a medium-sized mixing bowl with sloped sides makes combining ingredients easier.
A spatula with a flexible head helps scrape every last bit of cheese into the crust. If you’re worried about overmixing, a small offset spatula gives you better control. 🧀
Baking & Resting Tools
An oven thermometer (I use Thermoworks) ensures your oven is at the correct 375°F—no guesswork! A pie bird (or foil tent) helps regulate browning if the filling gets too hot.
For resting, a wire cooling rack keeps the pie elevated, preventing sogginess. A sharp chef’s knife and pie server make slicing clean, even pieces—Wüsthof knives never disappoint. 🔥
Nutrition facts
Frequently asked questions
Why does Mary Berry's recipe call for blind-baking the crust?
Blind-baking prevents a soggy bottom by removing moisture before adding the wet filling. The crust becomes fully set and golden, while the filling stays creamy. Without this step, steam from the onions and cheese can weaken the pastry, making it greasy instead of crisp.
Can I use pre-made pie crust instead of homemade dough?
Yes, but for best results choose a high-quality all-butter crust (like Pepperidge Farm) and blind-bake it for 10 minutes longer than homemade dough. Store-bought crusts often contain more water, so they need extra time to crisp up properly.
What's the secret to perfectly caramelized onions?
Low and slow is key—cook onions over medium heat for 35-40 minutes total until deep golden brown. Add the sugar and vinegar only after they've softened, then stir occasionally. The onions are done when they're sticky, jammy, and smell heavenly.
How do I fix a pie that's too runny after baking?
If your filling is too loose, it likely needs more cheese or less cream. For future attempts, try 1.75 cups cheese and 0.375 cup cream instead. Chill the filling for 30 minutes before baking to help it set better. A quick fix for a runny pie is to broil it for 2 minutes to thicken the surface.
Can I make this pie ahead of time?
Assemble the pie (unbaked) and refrigerate for up to 24 hours before baking. For make-ahead baking, freeze the fully assembled pie (unbaked) for up to 1 month. Thaw overnight in the fridge before baking as directed. The flavors actually improve after resting overnight.
