Time: 1 hr 30 min, Serves: 8, The key step: Squeezing all excess moisture from the cooked spinach.
Spanakopita is a savory Greek pastry consisting of layers of buttery phyllo dough filled with a mixture of spinach, feta cheese, and herbs. It has a salty, tangy flavor and a crisp, flaky texture, making it a suitable appetizer for holiday gatherings or a side dish for a lunchbox.
Phyllo and Spinach Basics
The structure of spanakopita depends on the interaction between the fat (butter or oil) and the thin sheets of phyllo dough. Phyllo is a paper-thin unleavened dough that creates a shatteringly crisp crust when baked. To achieve this, each layer must be coated in fat to prevent the sheets from sticking together and to ensure they fry slightly in the oven.
Fresh spinach provides a more vibrant color and a slightly different texture than frozen spinach, but it contains a high volume of water. If this water is not removed, the steam will trap moisture between the phyllo layers, resulting in a soggy bottom and a filling that leaks. The ratio of spinach to feta is typically 2:1 by weight to balance the earthy greens with the sharp saltiness of the cheese.
For those who cannot find feta, a mixture of ricotta and a pinch of salt can be used, though the result will be creamier and less tangy. For a dairy-free version, use a firm tofu crumble mixed with lemon juice and nutritional yeast, and substitute the butter with melted coconut oil or a plant-based butter alternative. Always check labels for allergens when using substitutes.
Ingredients
- 1 lb (450 g) fresh baby spinach, washed and stemmed
- 1 lb (450 g) feta cheese, crumbled
- 1 cup (100 g) onion, finely diced
- 2 cups (60 g) fresh parsley, chopped
- 3 large eggs, lightly beaten
- 2 cloves (6 g) garlic, minced
- 1/4 cup (60 ml) fresh lemon juice
- 1/2 tsp (3 g) salt
- 1/4 tsp (1 g) black pepper
- 1 package (16 oz / 450 g) phyllo dough, thawed
- 3/4 cup (170 g) unsalted butter, melted
Instructions
- Preheat your oven to 350°F (175°C). Grease a 9×13 inch (23×33 cm) baking pan with a small amount of melted butter.
- Heat 1 tablespoon (15 ml) of oil in a large skillet over medium heat. Add the diced onion and garlic, sautéing for 5-7 minutes until translucent.
- Add the fresh spinach to the skillet in batches, stirring until wilted. This typically takes 3-5 minutes. Remove the spinach from the heat and let it cool slightly.
- Place the wilted spinach in a clean kitchen towel or a fine-mesh strainer. Squeeze the spinach firmly with your hands to remove as much liquid as possible. The spinach should feel like a dense ball of greens; if it is still wet, the pastry will become soggy.
- In a large mixing bowl, combine the squeezed spinach, crumbled feta, chopped parsley, beaten eggs, lemon juice, salt, and pepper. Stir until the ingredients are evenly distributed.
- Lay one sheet of phyllo dough in the bottom of the prepared pan, allowing the edges to hang over the sides. Brush the sheet lightly with melted butter.
- Repeat this process with 6-8 sheets of phyllo, brushing each individual layer with butter. This creates the base crust.
- Spread the spinach and feta mixture evenly over the phyllo layers, smoothing the top with a spatula.
- Fold the overhanging edges of the phyllo back over the filling.
- Layer the remaining phyllo sheets on top of the filling, brushing each sheet with butter. Use 6-8 sheets for the top.
- Fold the top edges inward to seal the pie. Using a sharp knife, score the top layers of phyllo into squares or rectangles before baking. This prevents the pastry from cracking randomly and makes serving easier.
- Bake at 350°F (175°C) for 40-45 minutes, until the top is golden brown and the filling is set. Since this is an egg-based casserole, ensure the internal temperature reaches the USDA FSIS safe minimum of 160°F (71°C) as checked with a food thermometer.
- Remove from the oven and let the spanakopita rest for 10-15 minutes before slicing. This allows the filling to firm up.
Filling and Crust Failures
The most common failure in spanakopita is a “soggy bottom,” where the bottom layers of phyllo remain soft and doughy instead of crisp. This is caused by failing to squeeze enough water out of the fresh spinach or by under-buttering the bottom layers. To avoid this, ensure the spinach is pressed dry and that every single layer of phyllo receives a coating of fat.
Another issue is the “shattering top,” where the top layers of phyllo break into many small pieces during slicing. This happens when the pastry is sliced while too hot or when the top was not scored before baking. Scoring the dough creates a guide for the knife, ensuring clean cuts through the delicate layers.
A third mistake is overfilling the pan. If the filling is too thick (more than 2 inches), the heat may not penetrate the center of the pie before the outer phyllo burns. If you have extra filling, bake it separately in a small ramekin or save it for another use rather than piling it too high in the pan.
Storing Spanakopita
Fresh spanakopita should be refrigerated within 2 hours of leaving the oven to prevent bacterial growth. Place the pie in an airtight container or cover the baking pan tightly with foil. It will keep in the refrigerator for 3-4 days.
To reheat, avoid the microwave, as this will make the phyllo dough chewy and soft. Instead, place a slice on a baking sheet and heat it in the oven at 350°F (175°C) for 10-12 minutes. For those using an air-fryer, place the slice in the basket at 325°F (160°C) for 4-6 minutes. Do not overcrowd the air-fryer basket, as air must circulate around the pastry to restore the crunch. Reheat until the internal temperature reaches the USDA FSIS safe minimum of 165°F (74°C).
For long-term storage, spanakopita can be frozen. Slice the pie into portions and wrap each piece individually in plastic wrap and aluminum foil. Store in a freezer-safe bag for up to 3 months. To cook from frozen, thaw in the refrigerator overnight and then reheat in the oven as described above.
Working with Different Quantities
If you are doubling the recipe for a larger crowd, use two 9×13 inch (23×33 cm) pans rather than one deep pan to maintain the correct ratio of crust to filling. If you wish to make individual triangles (spanakopita triangles), cut the phyllo sheets into long strips (about 4-5 inches wide). Place a tablespoon of filling at the wide end of the strip and fold it into a triangle, overlapping the edges. Brush the top with butter and bake at 350°F (175°C) for 20-25 minutes until golden.
When adjusting the amount of spinach, remember that fresh spinach shrinks significantly. One pound of raw spinach typically reduces to about 1 to 1.5 cups after wilting and squeezing. If you prefer a more vegetable-forward pie, you can increase the spinach to 1.5 lbs (680 g) without needing to increase the eggs, provided you squeeze the moisture out thoroughly.
For a smaller batch using a 8-inch (20 cm) round pan, halve all ingredients. Use about 4-5 sheets of phyllo for the bottom and 4-5 for the top. The baking time will remain similar, but start checking for doneness at 30 minutes.
Related
- Nisha Katona’s Saag Aloo Recipe with Spinach and Potatoes
- How to Keep Spring Rolls Fresh
- Low Sugar Spinach Recipes for Easy Dinners
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).