This vegan cheese and onion pie is a hearty, comforting take on the classic British pub favorite. It features a rich, savory filling of sweet caramelized onions and leeks in a creamy, melty cheese sauce, all encased in a golden, flaky pastry crust. This recipe is designed to deliver maximum flavor and satisfaction, proving that a plant-based version can be just as indulgent and delicious as the original.
Ingredients
- 2 tbsp (30 ml) olive oil
- 3 large onions (about 1.5 lb / 680 g), thinly sliced
- 2 leeks (about 1 lb / 450 g), white and light green parts only, thinly sliced
- 3 cloves garlic, minced
- 1 tsp (5 g) salt, plus more to taste
- 1/2 tsp (2 g) black pepper
- 1 tsp (5 g) dried thyme
- 1/4 cup (30 g) all-purpose flour
- 2 cups (480 ml) unsweetened oat milk or soy milk
- 1 tbsp (15 ml) Dijon mustard
- 1 tbsp (15 ml) nutritional yeast (optional, for extra cheesy flavor)
- 2 cups (200 g) vegan cheddar-style shreds (look for a brand that melts well, like Violife or Follow Your Heart)
- 2 sheets (about 1 lb / 450 g) vegan puff pastry, thawed if frozen
- 2 tbsp (30 ml) vegan milk or aquafaba, for brushing the pastry
Instructions
- Heat the olive oil in a large skillet or Dutch oven over medium heat. Add the sliced onions and leeks. Cook, stirring occasionally, for 15-20 minutes, until they are very soft and starting to turn golden brown. This slow caramelization is key for developing a deep, sweet flavor.
- Add the minced garlic, salt, pepper, and dried thyme. Cook for another minute until fragrant.
- Sprinkle the flour over the vegetables and stir well to coat. Cook for 1-2 minutes to cook out the raw flour taste.
- Slowly pour in the oat milk, stirring constantly to avoid lumps. Bring the mixture to a simmer. It will start to thicken after a few minutes.
- Reduce the heat to low. Stir in the Dijon mustard, nutritional yeast (if using), and the vegan cheese shreds. Stir until the cheese is completely melted and the sauce is smooth and creamy. Taste and adjust seasoning with more salt and pepper if needed. Remove from heat and let the filling cool completely. This is important – a warm filling will make the pastry soggy.
- Preheat your oven to 400°F (200°C). Line a baking sheet with parchment paper.
- Roll out one sheet of puff pastry on a lightly floured surface to about 1/8-inch thickness. Place it on the prepared baking sheet. Spoon the cooled filling into the center, leaving a 1-inch border around the edges.
- Brush the edges of the bottom pastry with water. Roll out the second sheet of puff pastry and place it over the filling. Press the edges firmly to seal. Use a fork to crimp the edges for a decorative finish.
- Cut a few small slits in the top of the pastry to allow steam to escape. Brush the top with the vegan milk or aquafaba for a golden, shiny finish.
- Bake for 35-40 minutes, until the pastry is puffed up and deep golden brown. If the edges are browning too quickly, you can cover them with foil or a pie shield.
- Let the pie rest on a wire rack for at least 10 minutes before slicing and serving. This allows the filling to set slightly and makes it easier to cut clean slices.
Tips
- Cool the filling completely: This is the most important step for a crisp pastry bottom. If the filling is even slightly warm, it will steam the pastry and make it soggy. You can speed this up by spreading it on a plate and placing it in the fridge.
- Use a good melting vegan cheese: Not all vegan cheeses melt the same. Look for brands that are specifically labeled as “melting” or “shreds” – they often contain starches and oils that help them melt smoothly. Pre-shredded cheese often contains anti-caking agents that can prevent melting, so if you can, buy a block and grate it yourself.
- Don’t skip the caramelization: The 15-20 minutes you spend cooking the onions and leeks is not wasted time. It’s what creates the sweet, savory depth that makes this pie so special. Be patient and let them get properly golden.
- Make it ahead: You can prepare the filling a day in advance and keep it in the fridge. You can also assemble the entire pie (without brushing with milk) and refrigerate it for up to 24 hours before baking. Just add an extra 5-10 minutes to the baking time.
Serving Suggestions
This vegan cheese and onion pie is a meal in itself, but it pairs beautifully with classic sides. Serve it with creamy mashed potatoes and steamed green beans, or with a simple side salad dressed with a tangy vinaigrette to cut through the richness. It’s also wonderful with a generous pour of vegan gravy or a dollop of chutney for an extra flavor kick.
Variations
- Add potatoes: For a more substantial pie, add 2 cups (about 300 g) of diced, cooked potatoes to the filling along with the cheese sauce. This makes it even more filling and reminiscent of a traditional British “cheese and potato” pie.
- Swap the pastry: If you prefer a shortcrust pastry, you can use that instead of puff pastry. The pie will be more sturdy and less flaky, but just as delicious. You can also make a top-crust-only pie in a pie dish.
- Add herbs: Fresh herbs like chives, parsley, or sage can be stirred into the filling for an extra layer of freshness. Add them just before filling the pie.
- Spice it up: For a bit of heat, add a pinch of cayenne pepper or a finely chopped fresh chili to the onion mixture while it cooks.
Storage and Reheating
Store any leftover pie in an airtight container in the refrigerator for up to 4 days. To reheat, place slices on a baking sheet and warm in a 350°F (175°C) oven for 10-15 minutes, or until heated through. This will help maintain the crispness of the pastry. You can also reheat individual slices in the microwave, but the pastry will be softer. The pie can also be frozen, either whole or in slices, for up to 3 months. Thaw in the refrigerator overnight before reheating.
Frequently Asked Questions
Can I use frozen onions and leeks? Yes, you can use frozen, pre-sliced onions and leeks to save time. However, they will release more water as they cook, so you may need to cook them a bit longer to evaporate the excess liquid and achieve the same caramelized flavor.
My filling is too runny. What went wrong? This can happen if the vegetable mixture wasn’t cooked long enough to evaporate excess moisture, or if the sauce wasn’t simmered long enough to thicken properly. Make sure to cook the onions and leeks until they are very soft and have released most of their water. Also, the sauce should be quite thick before you add the cheese – it should coat the back of a spoon.
Can I make this pie gluten-free? Absolutely. Use a gluten-free all-purpose flour blend in the filling, and make sure to use a gluten-free puff pastry (many brands are available) or a gluten-free shortcrust pastry. Check all other ingredient labels to ensure they are certified gluten-free.
Why is my pastry soggy on the bottom? The most common reason is that the filling was too warm when the pie was assembled. Always cool the filling completely before adding it to the pastry. Another tip is to bake the pie on a preheated baking sheet, which helps the bottom crust cook faster and crisp up.
Can I use a different type of vegan cheese? Yes, you can experiment with different flavors. A smoked vegan gouda or a sharp vegan cheddar would work wonderfully. Just make sure it’s a variety that melts well. You could also use a combination of cheeses for a more complex flavor.
How do I know when the pie is done? The pie is done when the pastry is puffed, golden brown, and the filling is bubbling up through the steam vents. You can also check the internal temperature of the filling – it should be hot, around 165°F (74°C), if you want to be precise.
Related
- Prawn Cocktail Pot Noodle: Easy 15-Min Recipe
- Prawn Cocktail Salad: Retro Recipe, Modern Twist
- Prawn Cocktail on Toast: A Classic Starter
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).