Every product is independently reviewed and selected by our editors. If you buy something through our links, we may earn an affiliate commission at no extra cost to you.
Spanakopita, pronounced “spah-nah-KOH-pee-tah,” is a beloved gem of Greek cuisine.
This savory pie is celebrated for its irresistible combination of flaky, golden phyllo pastry and a vibrant filling of spinach, feta cheese, and aromatic herbs.
Its roots trace back to Greece, where it has been a staple in family kitchens and celebrations for generations.
What makes Spanakopita truly special is its versatility. It can be served as an appetizer, a side dish, or even as the star of the table.
The layers of buttery, crisp pastry create a delightful contrast to the creamy, tangy filling, offering a symphony of textures and flavors in every bite.
Whether you’re new to Greek cooking or a seasoned fan of Mediterranean flavors, Spanakopita is a dish that promises to impress and satisfy.

Health Benefits
Rich in Nutrients
Spinach: Packed with vitamins A, C, and K, spinach supports bone health, boosts the immune system, and promotes healthy skin.
It also provides essential minerals like iron and magnesium.
Feta Cheese: High in protein and calcium, feta cheese supports bone health and muscle function.
It’s also a good source of B vitamins, which are vital for energy production.
Olive Oil: A key component of the Mediterranean diet, olive oil is rich in heart-healthy monounsaturated fats, which can help reduce bad cholesterol levels and lower the risk of cardiovascular disease.
Eggs: A great source of high-quality protein, eggs help with muscle repair and growth, and provide essential vitamins and minerals like vitamin B12 and choline.
What is Spanakopita?
Spanakopita is a traditional Greek dish that has captured the hearts of food lovers worldwide.
At its core, it’s a savory pie made with phyllo dough, a paper-thin pastry that bakes into delicate, crispy layers.
The filling is a rich blend of spinach, feta cheese, onions, garlic, and fresh herbs like dill and parsley, bound together with eggs to create a luscious, savory mixture.
The origins of Spanakopita are deeply tied to Greek culinary traditions, where spinach and cheese play prominent roles in everyday meals.
This dish reflects the Mediterranean philosophy of using fresh, simple ingredients to create something truly delicious.
While the classic recipe remains timeless, regional variations may include additional ingredients such as leeks, ricotta cheese, or even meat, depending on the area and the occasion.
Spanakopita isn’t just a dish; it’s a culinary experience that tells the story of Greek hospitality and a love for wholesome, flavorful food.
Ingredients You’ll Need
To make Spanakopita, you’ll need a handful of fresh and high-quality ingredients that come together to create its distinct flavor and texture.
Phyllo Dough
The foundation of Spanakopita, phyllo dough is a delicate, paper-thin pastry that becomes beautifully crisp and golden when baked.
Look for high-quality, pre-packaged phyllo dough in the freezer section of your local grocery store.
Spinach
Fresh spinach is ideal for a vibrant, earthy flavor, but frozen spinach works just as well.
If using frozen, make sure to thaw and squeeze out any excess water to prevent sogginess.
Feta Cheese
Authentic Greek feta cheese is a must. Its tangy, creamy taste pairs perfectly with the spinach and adds depth to the filling.
Onions and Garlic
These aromatics are sautéed to enhance the filling’s flavor with a touch of sweetness and savory warmth.
Herbs
Fresh dill and parsley are traditional and essential for the signature Mediterranean flavor.
Eggs
Eggs act as a binding agent, holding the filling together and creating a creamy texture.
Olive Oil or Melted Butter
Used to brush each layer of phyllo dough, ensuring crisp, golden perfection.
Optional Ingredients
- Ricotta Cheese for extra creaminess.
- Nutmeg for a hint of warmth in the filling.
- Leeks to add a subtle sweetness to the spinach mixture.
How to Make Spanakopita from Scratch

Crafting Spanakopita from scratch is a rewarding process that fills your kitchen with the comforting aromas of buttery pastry and savory filling. Follow these steps to create a flawless Spanakopita:
Step 1: Prepare the Filling
- Heat olive oil in a large skillet over medium heat. Add finely chopped onions and garlic, sautéing until fragrant and translucent.
- Gradually add fresh spinach, stirring until wilted. If using frozen spinach, make sure it is thawed and squeezed dry before adding it to the skillet.
- Remove the skillet from heat and let the spinach mixture cool slightly.
- In a large mixing bowl, combine the cooled spinach mixture, crumbled feta cheese, chopped fresh dill, parsley, and a pinch of nutmeg. Mix well.
- Crack in the eggs and stir until the mixture is evenly combined. Season with salt and pepper to taste.
Step 2: Prepare the Phyllo Dough
- Preheat your oven to 375°F (190°C) and grease a baking dish with olive oil or melted butter.
- Carefully unroll the phyllo dough and keep it covered with a damp kitchen towel to prevent it from drying out.
- Place one sheet of phyllo dough into the baking dish and brush it lightly with melted butter or olive oil. Repeat this process, layering 6–8 sheets to form the base.
Step 3: Assemble the Spanakopita
- Spread the spinach and feta filling evenly over the layered phyllo base.
- Continue layering sheets of phyllo dough over the filling, brushing each layer with butter or oil. Use 6–8 sheets for the top layer.
- Tuck in the edges of the phyllo to seal the pie, ensuring a neat finish.
Step 4: Bake to Perfection
- Using a sharp knife, score the top layer of phyllo into squares or triangles. This will make it easier to cut after baking.
- Bake in the preheated oven for 35–40 minutes, or until the top is golden brown and crisp.
- Allow the Spanakopita to cool slightly before serving, as this helps the layers set for easier slicing.
Serving Suggestions
Serve as an appetizer: Pair Spanakopita with a Greek salad, olives, and a light dipping sauce like tzatziki for a full Mediterranean appetizer spread.
Pair with soup: Serve alongside a tomato soup or a bowl of lentil soup for a satisfying light meal.
Accompany with a fresh salad: A simple mixed greens salad with lemon-oregano dressing will complement the richness of the Spanakopita.
Great for a picnic: Pack slices of Spanakopita with some fresh fruit and drinks for a delicious and easy-to-carry picnic meal.
Storage Guide
Refrigeration: Store leftover Spanakopita in an airtight container in the refrigerator for up to 3-4 days.
To reheat, cover with foil and warm in the oven at 350°F (175°C) for about 10-15 minutes.
Freezing: Unbaked Spanakopita can be wrapped tightly in plastic wrap or aluminum foil and stored in the freezer for up to 2 months.
Bake directly from frozen at 375°F (190°C), adding 10-15 minutes to the baking time.
Storage Tips: To prevent phyllo dough from becoming soggy, place a paper towel between layers of Spanakopita when storing in the refrigerator.
Pro Tips for the Perfect Spanakopita
To achieve a Spanakopita that’s restaurant-quality, here are some expert tips to keep in mind:
Handling Phyllo Dough
- Keep it covered: Phyllo dough dries out quickly. Always cover unused sheets with a damp towel while assembling.
- Brush lightly: Use a light hand when brushing butter or oil between layers to prevent greasiness.
Perfecting the Filling
- Squeeze out excess moisture: If using frozen spinach, squeeze out as much water as possible. A wet filling can make the phyllo soggy.
- Balance the flavors: Taste the filling before adding salt, as feta cheese can be quite salty on its own.
Achieving the Ideal Texture
- Layer generously: Ensure you use enough phyllo sheets for both the base and the top to achieve a flaky, crisp texture.
- Score before baking: Scoring the top layers before baking prevents the phyllo from cracking unevenly.
Serving and Storing
- Let it rest: Allow the pie to cool slightly after baking so it holds its shape when sliced.
- Reheat with care: Reheat leftovers in the oven to maintain crispness, rather than in the microwave.
Variations of Spanakopita
Spanakopita is a wonderfully versatile dish, and there are countless ways to adapt it to suit different tastes, dietary preferences, or occasions. Here are some popular and creative variations:
Mini Spanakopita Triangles
Perfect for parties or on-the-go snacks, these bite-sized Spanakopita triangles are made by folding phyllo sheets into neat little pockets.
They’re crispy, portable, and just as flavorful as the full-sized pie.
Vegan Spanakopita
To make this dish vegan, substitute feta cheese with a plant-based alternative like tofu crumbles or cashew cheese.
Use olive oil instead of butter for brushing the phyllo dough, and omit the eggs or replace them with a flaxseed egg substitute.
Gluten-Free Spanakopita
For those with gluten intolerance, replace traditional phyllo dough with a gluten-free pastry alternative or thin rice paper sheets.
The texture may differ slightly, but the flavors remain true to the original dish.
Spanakopita with Meat
For a heartier option, add cooked ground beef, lamb, or chicken to the filling.
This variation is popular in some regions of Greece and turns Spanakopita into a complete meal.
Cheesy Spanakopita
Enhance the creaminess of the filling by adding ricotta, cream cheese, or a blend of other cheeses like mozzarella or gruyere for a richer flavor profile.
These variations allow you to customize Spanakopita for different occasions or dietary needs while still preserving its authentic charm.
Conclusion
Spanakopita is a culinary masterpiece that brings the flavors of Greece straight to your kitchen.
Its flaky, golden layers and savory spinach-feta filling make it a dish that’s as satisfying to make as it is to eat.
Whether you stick to the traditional recipe or explore one of the many variations, Spanakopita is a versatile and delightful addition to any meal.
By following the steps and tips outlined here, you can recreate this beloved dish with confidence and finesse.
Don’t forget to experiment with different herbs or fillings to make it uniquely yours.
Share your Spanakopita adventures in the comments, and enjoy every flaky, delicious bite!
Would you like any additional details or refinements?
Frequently Asked Questions
1. Can I freeze Spanakopita?
Yes, Spanakopita freezes beautifully. You can freeze it before or after baking.
For unbaked Spanakopita, assemble the dish, cover tightly, and freeze. When ready to bake, thaw it in the fridge overnight and bake as usual.
If freezing baked Spanakopita, let it cool completely before freezing. Reheat in the oven to retain its crispness.
2. How do I prevent soggy phyllo dough?
To avoid soggy phyllo dough, ensure your spinach mixture is as dry as possible by thoroughly squeezing out excess moisture.
Additionally, avoid overloading the filling and bake the Spanakopita until golden and crispy.
3. What herbs can I use besides dill and parsley?
If you’d like to experiment, you can use mint, oregano, or chives for a different flavor profile.
However, dill and parsley are the most traditional choices for Spanakopita.
4. Can I make Spanakopita ahead of time?
Absolutely! You can assemble the dish a day in advance and store it in the refrigerator until you’re ready to bake it.
Alternatively, bake it ahead of time and reheat it in the oven before serving.
5. How long does leftover Spanakopita last?
Leftover Spanakopita can be stored in the refrigerator for up to 3–4 days in an airtight container.
To enjoy it at its best, reheat it in the oven to restore its crisp texture.

Spanakopita
Equipment
- 1 large skillet
- 1 Sharp Knife
- 1 Cutting board
- 1 Mixing Bowl
- 1 9×13-inch baking dish
- 1 Pastry brush
- 1 Damp kitchen towel
Ingredients
For the Filling
- 1 tablespoon Olive oil
- 1 medium Onion finely chopped
- 2 cloves Garlic minced
- 8 cups Fresh spinach roughly chopped (or 16 ounces frozen spinach, thawed and squeezed dry)
- 8 ounces Feta cheese crumbled
- 2 large Eggs
- 2 tablespoons Fresh dill finely chopped
- 2 tablespoons Fresh parsley finely chopped
- 1/4 teaspoon Nutmeg optional
- 1/2 teaspoon Salt adjust to taste
- 1/4 teaspoon Black pepper
For the Phyllo Layers
- 1 pound Phyllo dough thawed
- 1/2 cup Unsalted butter melted (or olive oil)
Instructions
Prepare the Filling
- Heat olive oil in a large skillet over medium heat. Add the chopped onion and sauté until soft and translucent, about 3–4 minutes.
- Stir in the garlic and cook for another minute until fragrant.
- Add the spinach in batches, stirring until wilted. If using frozen spinach, simply mix it in until heated through. Remove the skillet from the heat and let the mixture cool slightly.
- In a large mixing bowl, combine the spinach mixture with feta cheese, eggs, dill, parsley, nutmeg, salt, and pepper. Stir until evenly combined.
Assemble the Spanakopita
- Preheat your oven to 375°F (190°C). Grease a 9×13-inch baking dish with olive oil or melted butter.
- Lay one sheet of phyllo dough into the baking dish and brush it lightly with butter. Repeat this process with 6–8 sheets to create the base. Keep the remaining phyllo covered with a damp towel to prevent drying.
- Spread the spinach and feta filling evenly over the phyllo base.
- Layer the remaining phyllo sheets on top of the filling, brushing each with butter. Use 6–8 sheets for the top layer. Tuck in the edges for a neat finish.
- Using a sharp knife, score the top layers into squares or triangles to make slicing easier after baking.
Bake and Serve
- Bake in the preheated oven for 35–40 minutes, or until the phyllo is golden brown and crisp.
- Let the Spanakopita cool for 5–10 minutes before slicing and serving.
Notes
- Make-Ahead Tip: Spanakopita can be assembled a day in advance and stored in the refrigerator until ready to bake.
- Freezing: Unbaked Spanakopita can be frozen for up to 2 months. Bake straight from frozen at 375°F (190°C), adding an extra 10–15 minutes to the baking time.
- Phyllo Tips: Work quickly and keep unused phyllo sheets covered with a damp towel to prevent them from drying out.
- Variations: Add ricotta cheese for creaminess, or substitute the spinach with kale or chard for a unique twist.