Vegan Cheese Onion and Potato Pie Recipe

Updated November 25, 2026

Total time
1 hr 45 min
prep 30 min · cook 1 hr 15 min
Serves
6
portions as written

Jump to recipe

This vegan cheese, onion, and potato pie is a hearty, comforting bake that layers tender sliced potatoes, sweet sautéed onions, and a rich, creamy, dairy-free cheese sauce under a crisp, golden pastry crust. It’s a plant-based twist on a classic British pub favorite, delivering all the savory, satisfying flavors without any animal products. The combination of starchy potatoes, caramelized onions, and melty vegan cheese makes it a genuinely delicious and filling meal that even non-vegans will love.

Ingredients

  • 1 tablespoon (15 ml) olive oil
  • 2 large onions (about 400 g), thinly sliced
  • 2 cloves garlic, minced
  • 1 teaspoon (5 g) dried thyme
  • 1.5 lbs (680 g) Yukon Gold or other waxy potatoes, thinly sliced (about 1/8 inch / 3 mm thick)
  • 2 tablespoons (30 g) all-purpose flour
  • 2 cups (480 ml) unsweetened plain plant-based milk (soy or oat work best)
  • 1.5 cups (170 g) shredded vegan cheddar-style cheese, divided
  • 1 tablespoon (15 ml) Dijon mustard
  • 1 teaspoon (5 g) salt, plus more to taste
  • 1/2 teaspoon (2.5 g) black pepper
  • 1 sheet (about 250 g) vegan puff pastry, thawed if frozen
  • 1 tablespoon (15 ml) plant-based milk, for brushing

Instructions

  1. Preheat your oven to 400°F (200°C). Lightly grease a 9-inch (23 cm) pie dish or a 10-inch (25 cm) deep pie dish.
  2. Heat the olive oil in a large skillet over medium heat. Add the sliced onions and cook, stirring occasionally, until soft and golden brown, about 15 minutes. Add the minced garlic and dried thyme, and cook for another minute until fragrant. Remove from heat and set aside.
  3. In a large bowl, toss the sliced potatoes with 1/2 teaspoon of the salt and a few cracks of black pepper. Set aside.
  4. In a medium saucepan, whisk together the flour and 1/4 cup (60 ml) of the plant-based milk until smooth. Place over medium heat and gradually whisk in the remaining 1 3/4 cups (420 ml) of milk. Cook, stirring constantly, until the mixture thickens and bubbles, about 5-7 minutes.
  5. Remove the sauce from the heat and stir in 1 cup (113 g) of the shredded vegan cheese, the Dijon mustard, and the remaining 1/2 teaspoon of salt. Stir until the cheese is melted and the sauce is smooth. Taste and adjust seasoning with more salt and pepper if needed.
  6. Spread half of the sliced potatoes in an even layer in the prepared pie dish. Top with half of the sautéed onions. Pour half of the cheese sauce over the onions. Repeat with the remaining potatoes, onions, and cheese sauce. Press down gently to ensure everything is compact.
  7. Roll out the puff pastry on a lightly floured surface to fit the top of your pie dish, with a little overhang. Place the pastry over the filling, tucking the edges under and crimping them to seal. Cut a few small slits in the top to allow steam to escape. Brush the pastry with the plant-based milk.
  8. Place the pie on a baking sheet to catch any drips. Bake for 40-45 minutes, until the pastry is puffed and deep golden brown, and the filling is bubbling. If the pastry browns too quickly, loosely cover with foil for the last 10 minutes.
  9. Let the pie rest for 10 minutes before slicing. This helps the filling set and makes serving easier.

Tips

  • Potato slicing: Use a mandoline or a very sharp knife to get uniformly thin potato slices. This ensures they cook through evenly in the same time as the pastry bakes.
  • Cheese sauce: Don’t skip the flour step; it’s essential for thickening the sauce. If the sauce seems too thick, add a splash more milk. If it’s too thin, cook it a few minutes longer.
  • Puff pastry handling: Keep the puff pastry cold until you’re ready to use it. If it becomes too warm, it will be sticky and difficult to work with. Chill it in the fridge for 10 minutes if needed.
  • Make-ahead: You can assemble the pie (without the pastry top) a day ahead. Cover and refrigerate, then top with pastry and bake as directed, adding 10-15 minutes to the baking time.

Serving Suggestions

Serve this pie hot, straight from the oven, with a side of steamed green vegetables like broccoli or green beans. It also pairs beautifully with a simple mixed salad dressed with a tangy vinaigrette to cut through the richness. For a more substantial meal, serve with roasted carrots or a dollop of vegan gravy.

Variations

  • Add protein: Stir in a cup of cooked, drained lentils or chickpeas into the onion mixture for extra protein and texture.
  • Herb swap: Replace the dried thyme with fresh rosemary or sage for a different flavor profile.
  • Different vegetables: Add a layer of sliced leeks or mushrooms along with the onions for added depth.
  • Top crust: Instead of puff pastry, use a vegan shortcrust pastry or a mashed potato topping for a shepherd’s pie-style twist.

Storage and Reheating

Store any leftover pie in an airtight container in the refrigerator for up to 4 days. To reheat, place a slice in a preheated oven at 350°F (175°C) for 15-20 minutes, or until heated through. You can also reheat individual slices in the microwave for 2-3 minutes, though the pastry will lose some of its crispness. This pie also freezes well; wrap it tightly in plastic wrap and foil, and freeze for up to 3 months. Thaw overnight in the refrigerator before reheating.

Frequently Asked Questions

Can I use regular dairy cheese and milk? Yes, absolutely. If you’re not strictly vegan, you can substitute the plant-based milk with regular dairy milk and the vegan cheese with regular cheddar. The recipe will work exactly the same.

My potatoes are still hard after baking. What went wrong? This usually happens if the potato slices are too thick or the pie wasn’t baked long enough. Make sure to slice the potatoes thinly (about 1/8 inch) and check that they are tender by inserting a knife through the pastry and into the potatoes before removing the pie from the oven. If they’re not done, cover with foil and bake for another 10-15 minutes.

Can I make this pie gluten-free? Yes, you can. Use a gluten-free all-purpose flour blend for the sauce, and choose a gluten-free puff pastry (many brands are available) or make a gluten-free shortcrust pastry. Ensure all other ingredients, like the mustard, are certified gluten-free.

Can I use leftover mashed potatoes instead of sliced? Yes, you can create a layered casserole with mashed potatoes, onions, and cheese sauce, but it won’t have the same texture as the sliced potato version. It will be more like a shepherd’s pie. Reduce the baking time to 30-35 minutes, since the potatoes are already cooked.

What is the best vegan cheese for melting? Look for a vegan cheddar-style block that you grate yourself, as pre-shredded varieties often contain anti-caking agents that hinder melting. Brands that are specifically designed for melting, often containing coconut oil or starch blends, work best.

Do I need to pre-cook the potatoes? No, this recipe is designed so that the potatoes cook through during baking in the oven. Slicing them thinly and baking the pie covered with pastry for 40-45 minutes at 400°F (200°C) is sufficient. If you prefer, you can parboil the potato slices for 5 minutes, but it’s not necessary.

Related

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).