There’s something wonderfully comforting about the flaky crispness of golden phyllo dough paired with a rich, savory filling that feels like a warm hug from the Mediterranean. Spanakopita, or spinach pie, has been a beloved staple in my kitchen ever since I discovered its magical blend of fresh spinach, tangy feta, and fragrant herbs wrapped in delicate layers of buttery pastry. What started as a curiosity led to countless afternoons perfecting this dish — easy enough for weeknight dinners, yet impressive enough for guests. Whether you’re looking to escape the monotony of fast food or bring a taste of Greece to your table, this Spanakopita recipe promises vibrant flavors and satisfying textures that will soon become a favorite in your homemade recipe collection.
Why will Spanakopita delight you?
Flavor Fusion: The vibrant mix of fresh spinach, tangy feta, and fragrant herbs creates a truly irresistible taste. Effortless Elegance: Layering delicate phyllo dough turns this dish into a flaky, golden masterpiece without complicated steps. Versatile Meal: Perfect as a comforting weeknight dinner or impressive appetizer for guests. Time-Saver: Quick to prepare and bakes to crisp perfection in no time. Homemade Goodness: Say goodbye to fast food boredom and welcome wholesome, Mediterranean-inspired comfort straight from your kitchen.
Spanakopita Ingredients
For the Filling
- Fresh spinach – Use well-drained, chopped spinach to keep the filling moist but not soggy.
- Feta cheese – Crumbled feta adds the perfect salty tang essential for authentic Spanakopita.
- Onion – Finely chopped and sautéed for a sweet, mellow base flavor.
- Fresh dill – Adds a fragrant, herbal brightness that elevates the spinach pie.
- Eggs – Helps bind the filling, ensuring it holds together when baked.
- Olive oil – Used for sautéing and drizzling, infuses a subtle richness.
- Salt and pepper – Season to taste to enhance the natural flavors of your filling.
For the Phyllo Layers
- Phyllo dough – Handle with care; keep covered to prevent drying out and achieve crisp layers.
- Butter or olive oil – Brush between filo layers to create the characteristic flaky, golden crust.
Make sure to have all your Spanakopita ingredients prepped and ready for a smooth, enjoyable cooking experience!
How to Make Spanakopita
- Prepare Filling: In a skillet, heat olive oil over medium heat, sauté onion for 3–4 minutes until translucent. Add spinach and cook until wilted, stirring until excess moisture evaporates.
- Mix the Filling: Transfer spinach-onion blend to a bowl, let cool slightly, then stir in crumbled feta, beaten eggs, chopped dill, salt, and pepper until evenly combined.
- Layer the Phyllo Base: Preheat oven to 350°F. Brush a 9×13-inch pan with olive oil, then lay six phyllo sheets, brushing each sheet lightly with melted butter or oil.
- Add Filling and Top Layers: Spread the spinach mixture evenly over the phyllo base. Layer remaining six phyllo sheets on top, brushing each with butter, and fold in the edges neatly.
- Bake Spanakopita: Slide the pan into the oven and bake at 350°F for 30–35 minutes until the pastry is crisp and beautifully golden brown.
- Rest Before Serving: Remove from the oven and allow the spanakopita to rest for 5 minutes. Cut into squares and serve warm to savor the flaky layers.
Optional: Sprinkle with extra fresh dill before serving.
Exact quantities are listed in the recipe card below.

How to Store and Freeze Spanakopita
Room Temperature: Allow Spanakopita to cool completely, then store it uncovered at room temperature for up to 2 hours. This helps maintain the flaky texture.
Fridge: Store any leftovers in an airtight container in the fridge for up to 3 days. Reheat in the oven to restore crispness—set at 350°F for about 10 minutes.
Freezer: Wrap individual slices tightly in plastic wrap, then foil, and freeze for up to 2 months. When ready to enjoy, bake from frozen at 350°F for 25-30 minutes.
Reheating: For best results, reheat in the oven rather than the microwave to keep the pastry crisp. Enjoy your homemade Spanakopita at its finest!
Expert Tips for Perfect Spanakopita
- Keep Phyllo Covered: Always keep phyllo dough covered with a damp cloth while working to prevent it from drying out and cracking.
- Drain Spinach Well: Thoroughly squeeze out excess moisture from spinach to avoid soggy filling and maintain crisp, flaky pastry.
- Even Butter Layers: Brush each phyllo sheet evenly with butter or olive oil to achieve golden, crunchy layers without greasiness.
- Bind Filling Properly: Use eggs in the filling to hold the mixture together, preventing it from falling apart when sliced.
- Rest Before Cutting: Let Spanakopita rest after baking; this helps the filling set and keeps slices intact.
- Use Fresh Herbs: Fresh dill or parsley brightens the flavor, so avoid dried herbs for authentic Spanakopita taste.
What to Serve with Spanakopita?
There’s nothing quite like the delight of pairing comforting dishes that elevate your meal experience to new heights.
-
Tzatziki Sauce: This cooling yogurt and cucumber dip balances the warm, savory flavors of Spanakopita with refreshing notes.
-
Greek Salad: Crispy cucumbers, ripe tomatoes, and briny olives create a fresh counterpart, brightening each bite of the flaky pie.
-
Roasted Tomatoes: The sweetness and slight acidity of roasted tomatoes perfectly complement the creamy feta and spinach filling.
-
Hummus and Pita Chips: Nutty hummus and crunchy pita make for a wonderful appetizer that enhances the Mediterranean flair of Spanakopita, perfect for sharing.
-
Lemon Rice: Fluffy rice infused with zesty lemon harmonizes beautifully with the savory filling, adding a comforting touch to your meal.
-
Wine Pairing: A chilled, crisp white wine like Sauvignon Blanc or a light-bodied red brings out the flavors in the dish while enhancing the dining experience.
-
Baklava for Dessert: To finish off your meal, the sweet, nutty layers of baklava provide a delicious contrast to the savory Spanakopita, creating a perfect Mediterranean feast.
Spanakopita Variations & Substitutions
Feel free to get creative and personalize your Spanakopita with these enticing twists and substitutions that will tantalize your taste buds!
-
Dairy-Free: Substitute feta with crumbled tofu seasoned with lemon juice and nutritional yeast for a creamy, vegan option.
-
Herb Infusion: Experiment with different fresh herbs, like parsley or mint, for a unique flavor profile that brightens your filling.
-
Meat Option: Add cooked ground lamb or beef to the spinach mixture for a heartier version that’s rich and satisfying.
-
Nutty Delight: Incorporate toasted pine nuts or walnuts into the filling for an added crunch that beautifully contrasts with the soft spinach.
-
Spicy Kick: Stir in a pinch of red pepper flakes or sautéed chili peppers to the filling for a delightful spicy twist that warms the soul.
-
Whole Wheat Phyllo: Use whole wheat phyllo dough for a healthier option that adds a nutty flavor while enhancing the nutritional value.
-
Veggie Power: Mix in finely chopped cooked mushrooms or artichokes for added depth, bringing a mixture of earthy flavors to your pie.
-
Zesty Lemon: Add a squeeze of fresh lemon juice to the filling for a zesty brightness that elevates the dish with vibrant citrus notes.
Make Ahead Options
These Spanakopita are perfect for busy home cooks looking to save time during the week! You can prepare the filling up to 3 days in advance; simply sauté the onions and spinach as instructed, then mix in the feta, eggs, and seasonings. Store the mixture in an airtight container in the refrigerator to keep it fresh. Additionally, you can layer the phyllo dough in the baking pan and add the filling, covering it tightly with plastic wrap, for up to 24 hours before baking. This way, you can simply pop it in the oven when you’re ready for a comforting meal that tastes just as delicious as if it were freshly made. Enjoy restaurant-quality Spanakopita with minimal effort on busy nights!
Easy Homemade Spanakopita Recipe That Will Wow Your Taste Buds Recipe FAQs
What kind of spinach should I use for Spanakopita?
I recommend using fresh spinach that’s vibrant green with no dark spots or wilting. Baby spinach or regular spinach both work well, just be sure to drain and chop it finely to keep the filling moist but not soggy.
How long can I store leftover Spanakopita in the fridge?
You can keep your leftovers fresh in an airtight container for up to 3 days. When reheating, warm it in the oven at 350°F for about 10 minutes to restore that perfect crispness—microwaving tends to make the pastry soggy.
Can I freeze Spanakopita? If so, how?
Absolutely! Freeze individual slices by wrapping each tightly in plastic wrap, then a layer of foil. Place them in a freezer-safe bag or container and store for up to 2 months. To reheat, bake from frozen at 350°F for 25-30 minutes until heated through and flaky again.
My phyllo dough keeps drying out and cracking—any tips?
Phyllo is delicate! Always keep your sheets covered with a damp cloth when you’re not working with them. That moisture stops them from drying out, which helps you achieve those luscious, flaky layers. Work quickly but gently for best results.
Is Spanakopita safe for my pets to taste?
Spanakopita contains ingredients like onions and garlic which are toxic to dogs and cats, so definitely keep this dish away from your pets. If you want to treat them, try pet-safe recipes instead to keep everyone happy and healthy!

Easy Homemade Spanakopita Recipe That Will Wow Your Taste Buds
Ingredients
Equipment
Method
- In a skillet, heat olive oil over medium heat, sauté onion for 3–4 minutes until translucent. Add spinach and cook until wilted, stirring until excess moisture evaporates.
- Transfer spinach-onion blend to a bowl, let cool slightly, then stir in crumbled feta, beaten eggs, chopped dill, salt, and pepper until evenly combined.
- Preheat oven to 350°F. Brush a 9x13-inch pan with olive oil, then lay six phyllo sheets, brushing each sheet lightly with melted butter or oil.
- Spread the spinach mixture evenly over the phyllo base. Layer remaining six phyllo sheets on top, brushing each with butter, and fold in the edges neatly.
- Slide the pan into the oven and bake at 350°F for 30–35 minutes until the pastry is crisp and beautifully golden brown.
- Remove from the oven and allow the spanakopita to rest for 5 minutes. Cut into squares and serve warm to savor the flaky layers.




