
Spanakopita is one of those dishes that looks like it took hours but really just takes patience with a few simple steps. Layers of crisp phyllo wrap around a filling of wilted spinach, salty feta, and fresh herbs, and every slice gives you that contrast between the crunchy top and the soft, savory center. This spanakopita recipe sticks to ingredients most home cooks already keep on hand, and the method is straightforward enough for a first timer working with phyllo dough. It works as a main dish, a side, or something to bring to a potluck where people always ask for the recipe. Once you make this from scratch, the frozen version from the store stops being tempting.

- 2 lbs fresh spinach, roughly chopped , Or use 2 packages frozen spinach, thawed and squeezed dry.
- 1 cup feta cheese, crumbled , Pat dry with a paper towel first if it feels wet.
- 0.5 cup ricotta cheese
- 0.25 cup Parmesan cheese, grated
- 1 medium yellow onion, finely diced
- 3 cloves garlic, minced
- 4 green onions, sliced
- 2 tablespoons fresh dill, chopped
- 2 tablespoons fresh parsley, chopped
- 2 large eggs, beaten
- 3 tablespoons olive oil , Divided.
- salt and black pepper , To taste.
- 0.25 teaspoon nutmeg , Optional.
- 1 package (16 oz) phyllo dough, thawed , Thaw overnight in the fridge, not on the counter.
- 0.75 cup unsalted butter, melted , Olive oil works too for a lighter version.
- Large mixing bowl
- Large skillet
- 9x13 inch baking dish
- Pastry brush
- Sharp knife
- Colander or fine mesh strainer
- Clean kitchen towel

- Cook the spinach and onion together, then let the mixture cool all the way down.
- Mix the cooled spinach with feta, ricotta, herbs, and eggs.
- Layer buttered phyllo sheets in the baking dish.
- Spread the filling over the base layer, then cover with more buttered phyllo.
- Score the top, bake until golden, and let it rest before you slice it.

- Heat 1 tablespoon of olive oil in a large skillet over medium heat. Add the diced onion and cook for 4 to 5 minutes until it softens.
- Add the minced garlic and cook for about 30 seconds, just until you can smell it.
- Add the chopped spinach in batches, letting each batch wilt down before adding more. Cook until all the liquid has cooked off, roughly 8 to 10 minutes. If you are using frozen spinach, squeeze out as much water as you can before this step.
- Move the spinach mixture to a colander and let it sit for about 15 minutes to cool and drain. Press down with a spoon to push out any remaining moisture. This step matters more than people expect. Leftover liquid is the main reason spanakopita turns soggy.
- In a large bowl, combine the cooled spinach with feta, ricotta, Parmesan, green onions, dill, and parsley.
- Stir in the beaten eggs. Season with salt, pepper, and nutmeg if you are using it. Taste before adding more salt since feta cheese already brings a strong salty flavor.
- Preheat your oven to 375°F (190°C). Brush the baking dish with a bit of melted butter.
- Unroll the phyllo and keep it covered with a slightly damp kitchen towel while you work. It dries out fast and cracks easily once exposed to air.
- Lay one sheet of phyllo in the dish, letting the edges hang over the sides if needed. Brush lightly with butter. Repeat with 8 to 10 sheets total, brushing butter between each one.
- Spread the spinach and feta filling evenly over the phyllo base.
- Cover the filling with another 8 to 10 sheets of phyllo, brushing butter between each layer. Tuck in or trim off any overhanging edges.
- Using a sharp knife, score the top layers into squares or diamonds. Only cut through the top few sheets, not down into the filling. This makes slicing much easier once it is baked.
- Bake for 40 to 45 minutes, until the top is deep golden brown and firm to the touch.
- Let the pie rest for at least 10 minutes before cutting along the lines you scored earlier. This gives the layers time to set so they hold together instead of falling apart when you serve them.
- Thaw phyllo dough in the refrigerator overnight instead of on the counter. Quick thawing tends to make the sheets tear.
- Keep a damp towel over the phyllo you are not using at that exact moment. Even a few minutes of open air will dry it out.
- Drain the spinach well. This one step decides whether your pie comes out crisp or watery.
- Use a thin, sharp knife when scoring the top so you do not drag or tear the layers underneath.
- Brush the butter on thin. A heavy hand with butter makes the phyllo greasy instead of crisp.
- Let the filling cool completely before you stir in the eggs, otherwise you will end up with small scrambled bits mixed through it.
- If your kitchen runs warm, work with the phyllo in smaller stacks so it does not dry out before you get to it.
- Skipping the step where you drain the spinach, which leaves you with a watery, soggy filling.
- Using phyllo straight from the freezer without letting it thaw properly, which causes cracking as soon as you unroll it.
- Packing in too much filling so the layers cannot hold their shape once you cut into the pie.
- Baking at too low a temperature, which leaves the top pale and chewy instead of golden and crisp.
- Cutting into the pie right after it comes out of the oven instead of letting it rest, which causes the filling to spill out.
- Adding salt before tasting the filling, since feta is already fairly salty on its own.
- Swap the ricotta for well drained cottage cheese if you want a slightly tangier filling.
- Use puff pastry instead of phyllo if working with phyllo feels intimidating. It gives you a heartier, flakier crust.
- Add chopped leeks or shallots along with the onion for a little extra depth in the filling.
- Skip the ricotta and use a bit more feta if you want a filling that is heavier on the dairy side.
- Make individual spanakopita triangles using single sheets of phyllo instead of one large pie. These work well for parties since guests can grab one without needing a plate.
- Use olive oil instead of butter between the layers for a lighter, dairy light version.
- Greek salad with cucumber, tomato, red onion, and olives
- Lemon garlic roasted potatoes
- Tzatziki sauce on the side for dipping
- Grilled chicken or lamb skewers if you want a fuller meal
- A simple bowl of orzo tossed with olive oil and herbs
- Store leftovers in an airtight container in the refrigerator for up to 4 days.
- Reheat in the oven at 350°F for 10 to 12 minutes to bring the crispness back. The microwave will leave the phyllo soft and chewy, so it is worth the extra few minutes in the oven.
- To freeze before baking, assemble the whole pie, wrap it tightly, and freeze for up to 2 months. Bake it straight from frozen, adding 10 to 15 extra minutes to the cook time.
- To freeze after baking, let it cool completely, slice it into portions, and freeze in a single layer before moving the pieces into a bag. Reheat from frozen in the oven at 350°F until warmed all the way through.

Yes. Assemble the whole dish, cover it tightly, and refrigerate it for up to 24 hours before baking. Bake as directed, adding a few extra minutes if it goes into the oven cold.
This almost always comes down to too much moisture in the spinach. Drain it thoroughly and press out the liquid before mixing it into the filling.
Yes. Thaw it fully and squeeze out as much liquid as you can using a clean towel or your hands before adding it to the filling.
It helps a lot. Thawing it slowly in the refrigerator keeps the sheets intact. Rushing the thaw at room temperature or in the microwave usually leads to tearing.
Yes, as written it is vegetarian. For a gluten free version, look for gluten free phyllo dough at a specialty grocery store, though the texture will be a little different.
Keep the sheets you are not using covered with a slightly damp kitchen towel the whole time you work. Uncover only the sheet you are about to use.
- Fresh herbs make a real difference here. Dried dill and parsley will not give you the same brightness.
- If your feta feels wet, pat it dry with a paper towel before crumbling it into the bowl.
- This recipe scales up well for a crowd. Use a larger baking dish and add a few extra sheets of phyllo on the top and bottom.
- Any leftover filling, without the phyllo, works well in an omelet or as a stuffing for bell peppers.
Spanakopita rewards patience more than it rewards skill. Once you get comfortable draining the spinach properly and working with phyllo without overthinking it, this turns into a recipe you can make without much planning, whether it is for a weeknight dinner or a table full of guests. The contrast between the crisp pastry and the soft, herby filling never really gets old, and the leftovers hold up better than most baked dishes do. Keep this one in your regular rotation. After you have made it from scratch a couple of times, you will notice how much better it tastes compared to anything from the freezer aisle, and you will likely find yourself pulling out this spanakopita recipe again sooner than you expect, especially when you want something a little more thoughtful without spending your whole afternoon in the kitchen.