Dinners

Spanakopita Recipe with Spinach and Feta

Updated · By Patriot Kitchen

Total timeprep + cook
1 hr 15 min
Prep
45 min
hands-on
Cook
30 min
oven or stovetop
Serves
8
as written
USDA safe temp
160°F / 71°C
check the thickest part

Jump to recipe Save

Time: 1 hr 15 min, Serves: 8, The key step: Squeezing all excess moisture from the cooked spinach to prevent a soggy crust.

This savory Greek pie features layers of crisp phyllo dough filled with a mixture of spinach, salty feta cheese, and fresh herbs. It has a buttery, flaky texture and a salty, earthy flavor profile that suits a holiday appetizer or a side dish for a dinner party.

Scaling for Different Batch Sizes

Adjust the quantities based on the size of your baking pan. For a standard 9×13 inch (23×33 cm) pan, use the base recipe. If using a smaller 8×8 inch (20×20 cm) pan or wanting to double the output for a large crowd, refer to the table below.

Batch Size Phyllo Sheets Spinach Amount Feta Amount Pan Size
Half Batch 5-6 sheets 10 oz (285 g) 4 oz (115 g) 8×8 in (20×20 cm)
Full Batch 10-12 sheets 20 oz (565 g) 8 oz (225 g) 9×13 in (23×33 cm)
Double Batch 20-24 sheets 40 oz (1.1 kg) 16 oz (450 g) Two 9×13 in pans

Ingredients

  • 1 package (16 oz / 450 g) phyllo dough, thawed according to package directions
  • 1/2 cup (115 g) unsalted butter, melted
  • 20 oz (565 g) fresh baby spinach, roughly chopped
  • 8 oz (225 g) feta cheese, crumbled
  • 2 large eggs, lightly beaten
  • 1/2 cup (120 ml) whole milk or Greek yogurt
  • 3 scallions, thinly sliced
  • 2 cloves garlic, minced
  • 1/4 cup (15 g) fresh parsley, chopped
  • 1/4 cup (15 g) fresh dill, chopped
  • 1/2 tsp (3 g) salt
  • 1/2 tsp (1 g) black pepper
  • 1/4 tsp (1 g) ground nutmeg

Instructions

  1. Preheat the oven to 375°F (190°C). Grease a 9×13 inch (23×33 cm) baking pan with a small amount of melted butter or non-stick spray.
  2. Heat 1 tablespoon (15 ml) of melted butter in a large skillet over medium heat. Add the sliced scallions and minced garlic, sautéing for 2-3 minutes until softened but not browned.
  3. Add the chopped spinach to the skillet in batches, stirring until wilted. This typically takes 3-5 minutes. Remove the skillet from the heat and let the spinach cool for 10 minutes.
  4. Transfer the cooled spinach to a clean kitchen towel or a fine-mesh strainer. Press firmly or twist the towel to squeeze out as much liquid as possible. The spinach should be a dense, dry ball. Chop the squeezed spinach finely.
  5. In a large mixing bowl, combine the squeezed spinach, crumbled feta, beaten eggs, milk (or yogurt), parsley, dill, salt, pepper, and nutmeg. Stir until the ingredients are evenly distributed.
  6. Unroll the phyllo dough and keep it covered with a damp cloth to prevent it from drying out. Lay one sheet of phyllo in the bottom of the prepared pan, allowing the edges to hang slightly over the sides.
  7. Brush the sheet lightly with melted butter. Repeat this process with 5-6 sheets, brushing each one individually.
  8. Spread the spinach and feta mixture evenly over the buttered phyllo layers, smoothing the top with a spatula.
  9. Place another sheet of phyllo on top of the filling and brush with butter. Repeat for another 5-6 sheets, brushing each layer. Fold the overhanging edges of the bottom sheets over the top layers to seal the edges.
  10. Using a sharp knife, score the top layers of phyllo into squares or rectangles (about 2×3 inches / 5×7 cm). Do not cut all the way through to the bottom; only cut through the top layers to allow steam to escape.
  11. Bake at 375°F (190°C) for 25-30 minutes, until the pastry is golden brown and the filling is set. Because this dish contains eggs, ensure the internal temperature reaches the USDA FSIS safe minimum of 160°F (71°C) for egg casseroles, checked with a food thermometer in the center of the filling.
  12. Remove from the oven and let the pie rest for 10 minutes before slicing along the scored lines.

Filling Texture and Crust Integrity

The most common failure in spanakopita is a soggy bottom or a runny center. This is caused by excess moisture from the spinach. Spinach contains a high percentage of water that releases during cooking; if not removed, this water steams the phyllo from the inside out, preventing it from crisping. To fix a runny filling, increase the amount of feta or add a tablespoon of breadcrumbs to the mixture to absorb residual moisture.

If the crust is too dense or lacks flakiness, it is usually because the phyllo sheets were not brushed with enough butter or the sheets were allowed to dry out before baking. Phyllo is extremely thin; without a fat barrier between layers, the sheets fuse together into a single thick layer rather than separating into flakes. Always keep the unused sheets under a damp towel.

A dry or overly browned top can occur if the oven temperature is too high or the baking time is excessive. If the top browns too quickly before the center reaches 160°F (71°C), cover the pan loosely with aluminum foil for the final 10 minutes of baking. This protects the pastry while allowing the interior to finish cooking.

Ingredient Substitutions

For a dairy-free version, replace the butter with melted coconut oil or a plant-based butter alternative. Substitute the feta with a firm tofu crumble mixed with lemon juice and salt to mimic the tangy, salty profile of the original cheese. Use unsweetened almond milk or soy yogurt instead of cow’s milk. Note that plant-based fats may result in a slightly different browning pattern and a less buttery flavor.

If fresh dill or parsley is unavailable, dried herbs can be used, but the ratio changes. Use 1 teaspoon of dried herbs for every tablespoon of fresh herbs. Dried herbs provide a more concentrated flavor but lack the bright, grassy notes of fresh greens. For the spinach, frozen chopped spinach can be used. Thaw the frozen spinach completely and squeeze it through a cheesecloth for at least 2 minutes to ensure all water is removed, as frozen spinach often holds more moisture than fresh.

Spinach and Feta Storage

Once baked, spanakopita must be refrigerated within 2 hours to prevent bacterial growth. Store the slices or the whole pan in an airtight container in the refrigerator. The dish remains safe to eat for 3-4 days. Because of the high moisture content in the filling, the phyllo will lose its crispness over time in the fridge.

To reheat, avoid the microwave, as it makes the pastry chewy. Instead, place slices on a baking sheet and heat in an oven or air-fryer at 350°F (175°C). In an air-fryer, heat for 3-5 minutes, flipping halfway through, until the edges are crisp. In an oven, heat for 10-15 minutes. Ensure leftovers are reheated to an internal temperature of 165°F (74°C) as per USDA guidelines.

For long-term storage, spanakopita can be frozen. Wrap individual slices tightly in plastic wrap and place them in a freezer-safe bag. They will keep for about 2-3 months. To cook from frozen, thaw in the refrigerator overnight and then reheat in the oven at 350°F (175°C) until heated through and crisp.

Related

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).