Spanakopita Recipe with Homemade Phyllo
In this article
Spanakopita is the classic Greek spinach pie: a savory filling of spinach, feta, and herbs wrapped in layers of crisp, golden phyllo pastry. While store-bought phyllo works in a pinch, making your own from scratch gives you a flakier, more tender crust and a deeper, buttery flavor that truly elevates the dish. This recipe walks you through both the dough and the filling, with clear steps and realistic timings, so you can enjoy authentic spanakopita right from your own oven.
Ingredients
- For the phyllo dough:
- 2 ½ cups (320g) all-purpose flour, plus more for dusting
- 1 teaspoon salt
- 1 cup (240ml) warm water
- 2 tablespoons olive oil
- 1 teaspoon white vinegar (helps with elasticity)
- For the filling:
- 1 ½ pounds (680g) fresh spinach, washed and roughly chopped (or 2 (10-ounce) boxes frozen chopped spinach, thawed and squeezed dry)
- 1 large onion, finely chopped
- 4 green onions, sliced (white and light green parts)
- 2 cloves garlic, minced
- 3 tablespoons olive oil
- 8 ounces (225g) feta cheese, crumbled
- 2 large eggs, lightly beaten
- ½ cup (15g) fresh dill, chopped (or 2 tablespoons dried)
- ¼ cup (7g) fresh parsley, chopped
- Salt and freshly ground black pepper, to taste
- For assembly:
- ½ cup (1 stick / 115g) unsalted butter, melted (for brushing layers)
- Olive oil for brushing (optional, for a lighter version)
Instructions
- Make the phyllo dough: In a large bowl, mix the flour and salt. Add water, olive oil, and vinegar. Stir with a wooden spoon until a shaggy dough forms. Turn out onto a floured surface and knead for about 10 minutes, until smooth and elastic. The dough should be soft but not sticky; add a little flour if needed. Shape into a ball, cover with a damp cloth, and let rest at room temperature for at least 30 minutes (up to 1 hour).
- Prepare the filling: If using fresh spinach, heat 1 tablespoon olive oil in a large skillet over medium heat. Add the spinach in batches, cooking just until wilted. Drain in a colander, pressing to remove excess liquid. Let cool, then squeeze dry with your hands. If using frozen, make sure it’s thoroughly thawed and squeezed dry. Set aside.
- In the same skillet, heat the remaining 2 tablespoons olive oil over medium heat. Add the onion and cook until soft, about 5 minutes. Add the green onions and garlic, cook for 1 more minute. Remove from heat and let cool slightly.
- In a large bowl, combine the cooked spinach, onion mixture, feta, eggs, dill, parsley, and a pinch of salt and pepper. Mix well. Taste and adjust seasoning—feta is salty, so go easy on the salt.
- Roll out the phyllo: Preheat your oven to 375°F (190°C). Divide the rested dough into 4 equal pieces. Keep the pieces covered with a damp towel while you work. On a floured surface, roll one piece as thin as possible—ideally into a rectangle about 12x16 inches. You can use a rolling pin; the dough should be almost translucent. Dust with flour to prevent sticking. Repeat with the remaining pieces. (If the dough tears, just patch it—it will be layered anyway.)
- Assemble the pie: Brush a 9x13-inch baking dish with melted butter. Place one sheet of phyllo in the dish, letting the edges hang over. Brush lightly with butter. Repeat with a second sheet, placing it perpendicular to the first (or just layering them). Continue until you have 2 sheets on the bottom.
- Spread the spinach filling evenly over the phyllo.
- Place the remaining 2 sheets of phyllo on top, brushing each with butter. Fold the overhanging edges over the top, brush with more butter, and tuck them in. If you have extra phyllo scraps, you can layer them on top for extra flakiness. Brush the entire top with butter.
- Use a sharp knife to score the top into diamond or square portions, cutting only through the top layers (not all the way through). This helps the phyllo crisp and makes serving easier.
- Bake: Place the dish on a baking sheet to catch any drips. Bake for 40–50 minutes, until the phyllo is deeply golden and crisp. Let cool for at least 15 minutes before slicing and serving.
Tips
- Dough consistency: The phyllo dough should be soft and pliable, not stiff. If it’s too dry, add a teaspoon of water at a time. If too sticky, add a little flour. Resting is crucial—it relaxes the gluten, making the dough easier to roll thin.
- Keep it covered: Phyllo dries out quickly. Always keep unused dough covered with a damp (not wet) towel or plastic wrap while rolling and assembling.
- Substitutions: No fresh dill? Use 2 teaspoons dried dill. Out of feta? Try ricotta salata or a mixture of feta and cottage cheese (drained). For a dairy-free version, use olive oil instead of butter and skip the feta (or use a plant-based feta).
- Common mistake: Soggy bottom. Make sure the spinach is very dry before mixing. Squeeze it in a clean kitchen towel to remove as much liquid as possible.
Serving Suggestions
Serve spanakopita warm or at room temperature as a main dish with a Greek salad (tomatoes, cucumber, olives, and feta) and a side of tzatziki. It also makes a great meze (appetizer) cut into small squares, or a hearty breakfast alongside a cup of Greek coffee. For a light dinner, pair it with roasted lemon potatoes or a simple lentil soup.
Variations
- Add herbs: Mix in fresh mint or oregano for extra brightness.
- Add protein: Add ½ cup of cooked, crumbled ground lamb or turkey to the filling for a heartier version.
- Make it a roll: Instead of a pie, roll the filling in phyllo sheets to make spanakopita rolls (like cigars). Bake at 375°F for 25–30 minutes until golden.
- Use store-bought phyllo: If short on time, use 1 pound (450g) of thawed store-bought phyllo sheets. Follow the same assembly, brushing each sheet with butter.
Storage and Reheating
Store leftover spanakopita in an airtight container in the refrigerator for up to 4 days. To reheat, place in a 350°F (175°C) oven for 10–15 minutes until crisp. You can also reheat in an air fryer at 350°F for 5–7 minutes. Avoid microwaving, as it makes the phyllo soggy. For longer storage, wrap tightly in plastic wrap and freeze for up to 2 months. Reheat from frozen in a 375°F oven for 20–25 minutes.
Frequently Asked Questions
Can I make the phyllo dough ahead of time?
Yes, you can make the dough up to 2 days in advance. Wrap it tightly in plastic wrap and refrigerate. Let it come to room temperature for 30 minutes before rolling.
Why is my phyllo dough tearing when I roll it?
This usually happens if the dough is too dry or hasn't rested enough. Make sure you knead it well and let it rest for at least 30 minutes. Also, keep the surface and rolling pin well-floured, and roll gently from the center outward.
Can I use frozen spinach instead of fresh?
Absolutely. Thaw the frozen spinach completely, then squeeze out as much water as possible. You'll need about 2 (10-ounce) boxes. The flavor is very similar to fresh.
How do I know when the spanakopita is done?
The top should be deep golden brown and crispy. You can also insert a knife into the center—it should come out hot and the filling should be set, not runny. Baking times can vary, so start checking at 40 minutes.
Can I make this vegan?
Yes, use olive oil instead of butter for brushing, and replace the feta with a vegan feta or a mixture of crumbled firm tofu with lemon juice and salt. Omit the eggs and add a little cornstarch or chickpea flour to bind the filling.
Why does my spanakopita get soggy on the bottom?
This is almost always due to excess moisture in the filling. Make sure the spinach is squeezed very dry, and consider letting the filling sit for 10 minutes before using to see if any liquid pools—if so, drain it off.