Spanakopita is a traditional Greek savory pie made with spinach, feta, onions, dill, eggs, and olive oil.
You’ve seen it on menus — golden, flaky pastry that cracks open to reveal a vivid green filling. Maybe you’ve ordered it as an appetizer or a main. But when someone asks “What’s in spanakopita?,” the answer isn’t just spinach and cheese.
The dish is a traditional Greek pie where spinach, feta, olive oil, and herbs are baked in a golden, crispy phyllo shell. The precise mix varies by household, but the core ingredients stay consistent. Understanding each component helps you make better spanakopita at home and tells you what to look for when buying one. From the type of feta to how the spinach is handled, small choices change the final texture and flavor.
What Exactly Goes Into a Classic Spanakopita
The filling starts with spinach — usually frozen, defrosted, and squeezed bone-dry. Feta cheese brings salt and creaminess. Onions and leeks add sweetness, while fresh dill contributes a grassy, aromatic note.
Extra-virgin olive oil is essential, both in the filling and brushed between every layer of phyllo. Some recipes include a beaten egg to bind the mixture, and a pinch of nutmeg is common for warmth. Seasoning is kept simple: salt and pepper to taste.
The pastry is thin, buttery phyllo dough. A standard package contains about 20 sheets, and you stack them with oil or melted butter to create that signature crispness. Spanakopita is often served as a large pie cut into squares, or shaped into individual triangles for parties.
Why Each Ingredient Matters
Every ingredient in spanakopita has a job. They balance moisture, salt, richness, and crunch. Here’s what each one contributes.
- Spinach: Provides the bulk and a mild, earthy flavor. Frozen spinach is convenient but must be thoroughly drained — excess water makes the phyllo soggy.
- Feta cheese: Adds salt and tang. Use a block of Greek feta in brine, not pre-crumbled, for the best texture and flavor.
- Onions (and sometimes leeks): Offer sweetness and moisture when sautéed. Leeks are milder and slightly sweeter than standard onions.
- Dill: The signature herb. Fresh dill lifts the filling with its clean, slightly anise-like flavor. Dried dill can substitute, but use half the amount.
- Egg: Acts as a binder, keeping the spinach and feta from falling apart when you slice the pie.
Olive oil isn’t just for flavor — it also keeps the phyllo layers separate and crispy. A good extra-virgin Greek oil makes a noticeable difference. Phyllo dough is the shell that holds everything together; keeping the sheets covered with a damp towel prevents them from drying out.
Beyond the Basics: Variations and Tips
While the classic version uses spinach and feta, a similar Greek pie called Hortopita swaps the spinach for wild greens like chard or beet greens. The technique is nearly identical, but the flavor becomes more earthy and slightly bitter.
You can also make spanakopita without feta for a vegan version, using tofu or a plant‑based cheese alternative. The egg binder is replaced with flaxseed or cornstarch slurry, and olive oil does double duty.
| Aspect | Classic Spanakopita | Vegan Spanakopita | Hortopita |
|---|---|---|---|
| Main green | Spinach | Spinach | Wild greens (chard, beet, etc.) |
| Cheese | Feta | None (or vegan cheese) | Feta (often) |
| Binder | Egg | Flax or cornstarch | Egg or none |
| Flavor profile | Salty, creamy, herbaceous | Lighter, less salty | Earthy, slightly bitter |
| Common herbs | Dill, maybe nutmeg | Dill, garlic | Dill, mint, wild herbs |
Regardless of the variation, one rule holds: use quality ingredients. Olivetomato describes spanakopita as a traditional Greek dish where good feta and fresh herbs shine. The phyllo should always be slightly larger than your pan for proper layering.
How to Get the Perfect Texture Every Time
The texture of spanakopita — crisp outside, moist but not soggy inside — comes down to a few critical techniques.
- Squeeze the spinach dry. After defrosting frozen spinach, wrap it in a clean kitchen towel and wring out as much liquid as possible. This is the single most important step.
- Season lightly. Feta is already salty, so go easy on added salt. A pinch of freshly grated nutmeg and some black pepper are enough.
- Layer phyllo with oil. Brush each sheet lightly with olive oil or melted butter, stacking them in alternating directions to create strength and flakiness.
- Cover unused phyllo. Place a damp (not wet) kitchen towel over the stack while you work. Dry phyllo cracks and shatters.
- Trim sheets to fit. If using standard 13×18 sheets, trim about 1½ inches from a short edge and a long edge so they nest neatly in your pan.
Let the baked spanakopita rest for at least 10 minutes before slicing. This allows the layers to set and prevents the filling from spilling out. If you’re making triangles, cut the phyllo into strips before folding and reduce the bake time. The pie is delicious warm or at room temperature — leftovers can be reheated in the oven to restore crispness.
The Secret Ingredient (and What to Skip)
Some home cooks swear by adding a tablespoon of rice to the filling. The raw rice absorbs excess moisture during baking and gives the pie a slightly fuller texture. It’s not traditional, but it works well if your spinach is especially wet.
What you should skip? Pre‑shredded or low‑quality feta cheese. Per Themediterraneandish’s spinach and feta cheese guide, a good block of feta in brine is non‑negotiable for the best flavor and texture. Also don’t skip squeezing the spinach — soggy filling ruins the dish.
| Ingredient | Good Substitute | Avoid |
|---|---|---|
| Feta | Ricotta + salt (for creaminess) | Pre‑crumbled feta (dry, less flavor) |
| Spinach | Chopped kale (blanch first) | Canned spinach (too mushy) |
| Dill | Fresh parsley or mint | Dried dill (use half) |
| Phyllo | Puff pastry (different texture) | Shortcrust pastry (too heavy) |
A good feta is salty, crumbly yet creamy, with a tang that cuts through the richness of the olive oil. Cheap feta tastes one‑dimensional and may be too dry. If you’ve never worked with phyllo, buy an extra package in case some sheets tear.
The Bottom Line
Spanakopita is a simple dish, but the quality of each component determines the outcome. Frozen spinach, good feta, fresh dill, and careful phyllo handling are the foundation. Whether you stick to the classic or try a vegan twist, the principles stay the same.
Next time you crave spanakopita, remember: it’s not just spinach and feta — it’s a balance of texture and flavor that starts with squeezing every drop of water from that spinach.
References & Sources
- Olivetomato. “Greek Spinach and Feta Pie Spanakopita” Spanakopita is a traditional Greek dish where spinach, feta, olive oil, and herbs are baked in a golden, crispy phyllo dough.
- Themediterraneandish. “Spanakopita Recipe Greek Spinach Pie” The key filling ingredients in a classic spanakopita recipe are spinach and feta cheese.