Dinners

Spanakopita Filling Recipe for Savory Spinach Pie

Updated · By Patriot Kitchen

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

Jump to recipe Save

Spanakopita filling is a salty, tangy mixture of spinach and feta cheese that provides a savory core for flaky phyllo pastry. This filling is suitable for holiday appetizers, potluck platters, or a weekend brunch, and it is typically served with a side of tzatziki or a fresh Greek salad.

Filling Components

The balance of this filling depends on the ratio of greens to cheese and the removal of excess moisture. Spinach provides the bulk and earthy tone, while feta adds the necessary salt and acidity. Fresh dill and green onions provide a sharp, aromatic contrast to the richness of the cheese. Lemon juice is used to brighten the flavor and prevent the spinach from tasting overly metallic or flat.

Ingredients

  • 1 lb (450 g) fresh baby spinach, washed and stemmed
  • 1 tbsp (15 ml) olive oil
  • 1 cup (150 g) chopped green onions, white and light green parts
  • 2 cloves garlic, minced
  • 8 oz (225 g) feta cheese, crumbled by hand
  • 2 large eggs, lightly beaten
  • 1/4 cup (15 g) fresh dill, finely chopped
  • 1 tbsp (15 ml) lemon juice
  • 1/2 tsp (1 g) ground black pepper
  • 1/4 tsp (1 g) ground nutmeg
  • 1/4 tsp (1 g) salt (adjust based on feta saltiness)

Instructions

  1. Heat 1 tbsp (15 ml) olive oil in a large skillet over medium heat for 2 minutes. Add the chopped green onions and minced garlic, sautéing for 3-5 minutes until the onions are translucent and fragrant but not browned.
  2. Add the fresh baby spinach to the skillet in batches. Stir frequently for 3-5 minutes until the spinach is completely wilted and the moisture has mostly evaporated.
  3. Transfer the cooked spinach mixture to a colander set over a bowl. Press down firmly with the back of a spoon or a weight for 5-10 minutes to squeeze out as much liquid as possible. This step is necessary to prevent the phyllo pastry from becoming soggy.
  4. Place the squeezed spinach in a large mixing bowl. Use a fork or potato masher to break up any large clumps of spinach until the texture is uniform.
  5. Stir in the crumbled feta cheese, beaten eggs, chopped fresh dill, lemon juice, black pepper, and ground nutmeg.
  6. Add 1/4 tsp (1 g) of salt. Mix gently with a spatula until the ingredients are combined but the feta still has some small chunks.
  7. If using this filling for a baked pie or triangles, ensure the final egg-based mixture reaches a safe minimum internal temperature of 160°F (71°C) for egg dishes and casseroles, as per USDA FSIS guidelines, checked with a food thermometer in the center of the pastry.

Ingredient Substitutions

Different greens or cheeses can be used depending on availability or dietary needs. The following table outlines common swaps and their effects on the final filling.

Original Ingredient Substitute Ratio Resulting Change
Fresh Spinach Frozen Chopped Spinach 1:1 by weight Requires more squeezing to remove water; slightly less bright color.
Fresh Spinach Swiss Chard 1:1 by weight More bitter, earthy flavor; stems must be finely diced and sautéed longer.
Feta Cheese Ricotta and Salt 1:1 by volume Creamier, milder taste; requires additional salt to mimic feta’s tang.
Feta Cheese Firm Tofu (crumbled) + Lemon 1:1 by weight Dairy-free version; neutral flavor, less creamy texture.
Fresh Dill Dried Dill 3:1 (dried to fresh) Less pungent aroma; flavor is more muted.

Required Equipment

A large skillet (12-inch / 30-cm) is needed to ensure the spinach has enough room to wilt without steaming in its own juices for too long. A fine-mesh colander is essential for the draining process. For those without a colander, a clean kitchen towel or cheesecloth can be used to wrap the cooked spinach and twist it tightly to force out the water.

When mixing the ingredients, a stainless steel or glass bowl is preferred over plastic to avoid absorbing the scent of the garlic and onions. A digital food thermometer is required to verify that the internal temperature of the baked filling reaches the USDA FSIS safe minimum of 160°F (71°C).

Managing Filling Moisture

The most common failure in spanakopita is a “soggy bottom,” which occurs when the filling releases water into the phyllo layers during baking. To prevent this, the spinach must be squeezed until no more liquid drips from the mass. If the filling appears too loose after adding the eggs and cheese, stir in 1 tbsp (8 g) of breadcrumbs or cornstarch to absorb the excess moisture.

Another factor is the temperature of the filling. If the filling is added to the pastry while still hot from the skillet, it will melt the butter between the phyllo layers prematurely, preventing the pastry from puffing. Allow the spinach mixture to cool to room temperature (about 30-60 minutes) before assembling the pie. If you are in a rush, spread the cooked spinach on a baking sheet to cool it faster.

Filling Quantity Examples

Depending on the size of the pastry, you may need to scale the recipe. For a standard 9×13 inch (23×33 cm) baking pan, the quantities listed above are sufficient for a single layer of filling. For individual phyllo triangles (about 2 inches / 5 cm wide), this recipe yields approximately 24 to 30 pieces.

If making a deep-dish pie with multiple layers of filling, double the ingredients. When doubling, increase the sauté time for the onions and garlic to ensure they soften evenly. Be cautious with the salt when doubling; taste the mixture after adding the feta, as different brands of feta vary significantly in salt content. If the feta is very salty, omit the additional 1/4 tsp (1 g) of salt entirely.

Filling Storage and Safety

Raw spanakopita filling contains eggs and dairy, making it a perishable item. It must be refrigerated within 2 hours of preparation. Store the filling in an airtight container in the refrigerator at or below 40°F (4°C). The filling will keep for 3 to 4 days.

For long-term storage, the filling can be frozen. However, it is recommended to freeze the filling before adding the eggs. Mix the spinach, feta, and herbs, freeze in a freezer-safe bag for up to 3 months, and then thaw in the refrigerator overnight. Stir in the beaten eggs just before assembling the pastry to ensure the binder remains effective and the texture does not separate.

When reheating leftover baked spanakopita, heat until the internal temperature reaches 165°F (74°C) to comply with USDA FSIS guidelines for reheating leftovers. Use an oven or air-fryer to maintain the crispness of the pastry; microwave reheating will make the phyllo soft and chewy.

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