Desserts
This spinach and egg pie recipe transforms humble ingredients into a savory masterpiece with a golden crust and velvety filling. The secret lies in balancing tender spinach, rich eggs, and a crisp base that holds together perfectly.
I developed this recipe after years of perfecting the art of savory pies—where every bite delivers creamy texture and vibrant flavor without overpowering the natural taste of the vegetables.
The beauty of this dish is its versatility—whether you're serving it as a light lunch or an elegant appetizer. A simple puff pastry crust (or gluten-free alternative) encases a lusily filling of wilted spinach, creamy eggs, and just enough cheese to bind it all together.
The baking time is precise: 25 minutes at 375°F, yielding a golden crust and a filling that's just set, not dry. The result? A pie that feels restaurant-worthy yet simple enough for weeknight dinners.
What makes this recipe stand out is the creamy texture—achieved by tempering the eggs with a touch of cream and letting the spinach cook down slowly to avoid bitterness. The crust stays tender, not soggy, and the filling holds its shape when sliced.
Serve it warm with a crisp white wine or a cup of herbal tea to complement its savory depth.
For variations, try adding caramelized onions or sun-dried tomatoes to the filling, or swap the puff pastry for a whole wheat crust. The possibilities are endless, but the foundation—creamy, flavorful, and foolproof—remains the same. Let's get baking!
Ingredients for spinach and egg pie
Fresh spinach, creamy eggs, and a golden crust come together for this elegant vegetarian pie.
| Ingredient | Amount | Notes |
|---|---|---|
| Fresh Spinach 🌿 | 5 oz | Baby spinach preferred, stems removed |
| Large Eggs 🥚 | 4 whole | Room temperature for even cooking |
| Heavy Cream 🥛 | ½ cup | Full-fat for creamy texture |
| Shredded Gruyère Cheese 🧀 | 1 cup | Freshly grated preferred |
| Unsalted Butter 🧈 | 2 tbsp | Cold for crust, softened for filling |
| Shallots 🧅 | 2 whole | Minced for filling flavor |
| Puff Pastry Sheet 🍞 | 1 sheet | Thawed if frozen, gluten-free option |
| Milk 🥛 | ¼ cup | Whole milk for creaminess |
| Diamond Crystal Kosher Salt 🧂 | ½ tsp | Fine grain preferred |
| Freshly Ground Black Pepper 🌶️ | ¼ tsp | Coarsely cracked |
| Nutritional Yeast 🍄 | 1 tbsp | For cheesy depth (optional) |
| Extra-Virgin Olive Oil 🫒 | 1 tbsp | For brushing crust |
The Gruyère is non-negotiable here—it melts beautifully and adds that signature savory depth. Whole Foods carries the best pre-shredded options, but a block grated yourself is ideal. Baby spinach wilts faster than regular leaves, so Trader Joe's sells pre-washed bags that save time. For the pastry, Pepperidge Farm puff pastry is my go-to, but any brand works if it's fully thawed. The shallots should be small and sweet—organic from the grocery store produce section is perfect. Freshly ground pepper makes all the difference, so invest in a decent grinder if you don't have one.
No Gruyère? Swiss or Emmental cheese works in a pinch, though the flavor won't be identical. Heavy cream too rich? Substitute half-and-half with an extra tablespoon of milk—the texture stays creamy. The nutritional yeast adds that umami kick without dairy, but skip it if you're avoiding it. For a gluten-free version, use a certified gluten-free puff pastry like Schär. The eggs must be room temperature—cold eggs curdle when baked. If you're prepping ahead, whisk the filling and store it in the fridge for up to 24 hours before baking.
This pie reheats beautifully—just 10 minutes at 350°F to warm through. The crust stays crisp for about 2 days if stored properly, but the filling is best eaten fresh. For make-ahead convenience, assemble the pie, refrigerate, and bake straight from cold (add 5 minutes to baking time). Leftovers freeze well for 2 months—just thaw overnight in the fridge before reheating. The key to storage is airtight containers to maintain that creamy texture.
Why You'll Love This Recipe
- No-Fuss Assembly: I swear by this recipe when I’m too tired to measure. Just wilt the spinach, whisk eggs with cream, fold in cheese, and pour into a buttered dish—no rolling crust, no fuss. Honestly, the only "work" is melting butter and cracking eggs.
- Gruyère Magic: That nutty, melty Gruyère transforms everything. The moment it browns on top while the custard sets beneath? Pure satisfaction. It’s the kind of cheese that makes you forget you’re eating a pie that took less time than ordering takeout.
- Leftovers That Don’t Suck: Unlike most egg dishes, this reheats like a dream. Slice it cold the next day for a protein-packed lunch, or warm it gently—still creamy, still delicious. I’ve even packed it for work; no one questions why I bring pie.
- Budget Breakfast Boost: Spinach wilts fast, eggs are cheap, and Gruyère stretches further than you’d think. For under $10, I feed four people a meal that feels fancy. It’s my go-to when I need something hearty but won’t break the bank—or my grocery budget.
Step-by-step instructions for spinach and egg pie
Assemble this elegant pie with a delicate puff pastry crust and luxurious creamy filling.
Prepare the Spinach Filling
Heat a large skillet over medium heat and add 1 tablespoon extra-virgin olive oil. Add the 5 oz fresh spinach and cook for 2-3 minutes until just wilted and vibrant green. Transfer to a colander and press out all excess liquid using a clean kitchen towel.
In the same skillet, melt 2 tablespoons unsalted butter over medium heat. Add the 2 whole shallots that have been finely minced and cook for 3-4 minutes until soft and translucent. Don't let them brown—just until they're completely tender. This aromatic base will form the flavor foundation for your filling.
Create the Creamy Egg Mixture
In a medium bowl, whisk together the 4 whole large eggs, 0.5 cup heavy cream, 0.25 cup milk, 1 cup shredded Gruyère cheese, 0.5 teaspoon diamond crystal kosher salt, 0.25 teaspoon freshly ground black pepper, and 1 tablespoon nutritional yeast until completely smooth. The mixture should be well combined with no visible streaks of egg.
Add the cooked spinach and shallots to the egg mixture, stirring gently to combine. The filling should be thick but pourable—if it's too thick, add 1 tablespoon milk to reach the perfect consistency. This creamy base will create the signature luxurious texture that makes this pie so special.
Assemble the Pie
Preheat your oven to 375°F. Roll out the 1 sheet puff pastry on a lightly floured surface to a 12-inch round (about 1/8-inch thick). Transfer to a parchment-lined baking sheet and prick the base all over with a fork to prevent puffing.
Spread the spinach filling evenly into the pastry shell, leaving a 1-inch border around the edges. Fold the overhanging pastry up and around the filling, creating a decorative edge. Brush the top with a beaten egg (use 1 whole egg) for a golden finish. The pastry should look smooth and well-sealed with no gaps.
Bake to Golden Perfection
Bake for 35-40 minutes until the crust is deep golden brown and the filling is set but still slightly jiggly in the center. The edges should be puffed and crisp while maintaining that creamy texture throughout. If the top browns too quickly, tent loosely with foil after 20 minutes to prevent over-browning.
Remove from the oven and let cool for 10 minutes before slicing. The pie will continue to set as it cools, developing that perfect balance between creamy filling and crispy crust. Serve warm with a simple arugula salad to let the rich flavors shine.
Pro Tips For Making Spinach And Egg Pie
- Wilt Spinach Dry: Dump that fresh spinach into a hot pan with just a pinch of salt and let it collapse completely—no water, no steam. You want it to look like a sad, flat pile, not a soggy mess. I learned this the hard way when my first pie turned into a watery swamp because I rushed the wilting. Take the 5 minutes; your filling will thank you.
- Preheat Crust with Butter: Brush that pie crust with melted butter before adding the filling, then bake it empty for 5 minutes at 375°F. This ensures a golden, flaky base instead of a sad, soggy bottom. I used to skip this, and the crust always ended up tough—now it’s crispy perfection every time.
- Whisk Eggs Cold: Crack those eggs into a bowl straight from the fridge and whisk them with the heavy cream while the spinach is still hot. Cold eggs temper the heat of the filling and create a silky custard instead of scrambled bits. I was skeptical until I tried it—now it’s non-negotiable.
- Press Cheese Firmly: Don’t just sprinkle that Gruyère on top—press it down hard with a spatula, especially around the edges. This prevents a runny center and guarantees a thick, gooey slice when you cut it. I used to half-ass this step, and the pie always leaked like a sieve. (Your future self will thank you.)
Dietary considerations for these flavors
Gluten-Free Adaptations
For a gluten-free version, swap the traditional puff pastry for a certified gluten-free puff pastry sheet like Schär or Udi's. These brands mimic the flaky texture while avoiding gluten. I've tested both and found Schär holds up best during baking—it doesn't shrink or get soggy.
Brush the crust with extra-virgin olive oil instead of egg wash for a golden finish without gluten. The filling remains unchanged, so the creamy texture stays intact. 🌿
Dairy-Free Options
Replace the Gruyère cheese with 1 cup shredded dairy-free mozzarella like Miyoko's or Violife for a melty texture. Use unsweetened almond milk instead of heavy cream and milk, and add 1 tablespoon nutritional yeast for that cheesy depth.
The filling will still be rich but lighter. For extra creaminess, stir in 2 tablespoons coconut cream after baking. The crust can stay the same unless you're avoiding gluten too.
Vegan Variations
Transform this into a vegan pie by using a flax-egg substitute—mix 4 tablespoons ground flaxseed with 10 tablespoons water and let it thicken for 5 minutes.
Replace the heavy cream with ½ cup full-fat coconut milk and the Gruyère with 1 cup vegan cheese shreds or cashew cream. The crust can be a vegan puff pastry like Caulipower. The texture will be slightly denser but still delicious. 🌱
Low-Carb Adjustments
Cut carbs by using a low-carb crust like almond flour pie crust or cheese crust made from shredded mozzarella and almond flour. Reduce the spinach to 3 oz and add ½ cup finely chopped mushrooms to bulk up the filling without extra carbs.
Use heavy cream and cream cheese for richness, and skip the puff pastry entirely. The result is a lighter, keto-friendly pie that still satisfies.
Nut-Free Safety
If nut allergies are a concern, skip the almond milk and coconut cream substitutes. Instead, use oat milk (certified gluten-free if needed) and tofu cream—blend ½ cup silken tofu with ¼ cup water until smooth. The tofu adds creaminess without nuts.
For the crust, stick to a gluten-free puff pastry or a simple egg wash crust made with 2 eggs and 1 cup almond-free flour blend. Always double-check labels for cross-contamination warnings.
Nutrition facts
Frequently asked questions
Can I use frozen spinach instead of fresh?
Yes, but thaw and drain it thoroughly first! Use 3 cups frozen chopped spinach (about 10 oz drained weight) instead of 5 oz fresh. Squeeze out every drop of liquid with a clean kitchen towel to prevent a watery filling. The texture will be slightly different but still delicious.
Why is my pie filling watery after baking?
This usually happens when the spinach wasn't drained well or the egg mixture was too thin. Always press spinach in a towel to remove moisture, and adjust the filling consistency by adding 1 more tablespoon of milk only if absolutely needed. Bake at 375°F until the center is just set—it should jiggle slightly when shaken.
How do I make this pie ahead of time?
Assemble the pie completely (including egg wash) and refrigerate for up to 24 hours before baking. When ready, bake straight from cold—add 5 extra minutes to the 35-40 minute time. For freezing, bake first, then cool completely. Wrap tightly in plastic wrap and foil, and freeze for up to 2 months. Thaw overnight in the fridge for best results.
What's the best cheese substitute if I don't have Gruyère?
Use Swiss or Emmental cheese for a similar melt and mild flavor. For a sharper taste, try Parmesan mixed with mozzarella (use ½ cup each). Avoid pre-shredded cheese—it contains anti-caking agents that make the filling grainy. Freshly grated always wins!
Can I make this pie without a crust?
Bake the filling in a greased 9-inch pie dish or oven-safe skillet for 20-25 minutes at 375°F until set. Top with toasted breadcrumbs or crushed crackers for texture. For a cheesy crust, press ½ cup shredded cheese into the dish before adding the filling. The result is a quiche-style pie with rich, creamy layers.
