Dinners

Gluten Free Spanakopita Recipe

Updated · By Patriot Kitchen

Total timeprep + cook
55 min
Prep
20 min
hands-on
Cook
35 min
oven or stovetop
Serves
6
as written

Jump to recipe Save

Spanakopita is a Greek savory pastry filled with spinach, feta and herbs, traditionally wrapped in phyllo dough. It serves as a light main or appetizer and fits a vegetarian diet.

Ingredients

  • 1 package (16 oz / 454 g) frozen chopped spinach, thawed and drained
  • 8 oz (225 g) feta cheese, crumbled
  • 1/2 cup (60 g) grated Parmesan cheese
  • 1/4 cup (15 g) fresh dill, chopped
  • 1/4 cup (15 g) fresh mint, chopped
  • 2 large eggs, lightly beaten
  • 1/2 cup (120 ml) milk
  • 1/2 cup (120 g) gluten‑free all‑purpose flour blend
  • 1/2 teaspoon (2 g) baking powder
  • 1/4 teaspoon (1 g) salt
  • 1/4 teaspoon (1 g) black pepper
  • 12 sheets phyllo dough, thawed
  • 1/2 cup (115 g) unsalted butter, melted

Instructions

  1. Preheat oven to 375°F/190°C. Lightly grease a 9×13 inch/23×33 cm baking dish. Use a metal spatula to check that the greasing is even; excess butter can cause soggy spots.
  2. In a large bowl, combine spinach, feta, Parmesan, dill, mint, eggs, milk, gluten‑free flour, baking powder, salt and pepper. Mix until evenly combined. Drain spinach thoroughly; excess water makes the filling soggy.
  3. Lay one sheet of phyllo on a clean surface. Brush lightly with melted butter. Repeat for 6 sheets, brushing each layer. Keep remaining sheets covered with a damp towel to prevent drying.
  4. Spread spinach mixture evenly over the layered phyllo. Use a spatula to smooth the surface; thickness should be about 1/4 inch.
  5. Cover with remaining 6 sheets of phyllo, brushing each with butter. Trim edges to fit the dish. Press gently to seal edges; any gaps will let filling leak.
  6. Bake uncovered for 30-35 minutes, until golden and set. Internal temperature should reach 160°F/71°C for egg safety (USDA FSIS). Insert an instant‑read thermometer into the center; it should read at least 160°F.
  7. Let cool 10 minutes before cutting into squares. Cooling allows the filling to set, making clean cuts.

Serving

Serve warm with a simple green salad dressed with lemon vinaigrette. To make the vinaigrette, whisk together 2 tablespoons (30 ml) olive oil, 1 tablespoon (15 ml) fresh lemon juice, 1 teaspoon (5 g) Dijon mustard, a pinch of salt and pepper. The acidity brightens the buttery pastry.

It pairs well with chilled white wine such as Sauvignon Blanc or a crisp rosé. If serving at a potluck, arrange squares on a platter and garnish with extra dill sprigs.

Variations

For a dairy‑free version, substitute dairy‑free feta and use olive oil instead of butter. The flavor will be milder; add an extra pinch of salt to the filling.

For a gluten‑free crust alternative, use pre‑made gluten‑free puff pastry sheets, brushing with oil instead of butter. This reduces prep time but yields a slightly less flaky texture.

If you prefer a spicier profile, add 1/4 teaspoon (1 g) crushed red pepper flakes to the filling. This adds heat without overwhelming the herb notes.

Storage

Refrigerate leftovers in an airtight container for up to 3 days. To reheat, place squares on a baking sheet and warm in a 350°F/175°C oven for 10 minutes; this restores crispness better than microwave heating.

For longer storage, freeze unbaked or baked squares on a tray, then transfer to a freezer bag. They keep for up to 2 months. Thaw overnight in the refrigerator and reheat as above.

Raw flour and raw eggs in this recipe require safety steps. Heat‑treat the gluten‑free flour by spreading it on a baking sheet and baking at 350°F/175°C for 5 minutes, then cool before use. Use pasteurised eggs if serving pregnant guests, young children or immunocompromised individuals.

Ingredient Substitutions

If fresh dill or mint is unavailable, use 1 teaspoon (2 g) dried dill and 1 teaspoon (2 g) dried mint. Dried herbs are more concentrated; use one‑third the amount.

For milk, you may use unsweetened almond milk (120 ml) but the texture will be slightly thinner; increase flour by 1 tablespoon (8 g) to maintain binding.

If gluten‑free flour blend contains xanthan gum, no extra addition is needed. If it does not, add 1/4 teaspoon (1 g) xanthan gum to improve structure.

Equipment Tips

Use a 9×13 inch baking dish made of metal or glass; ceramic may require a slightly longer bake time. A silicone baking mat on the tray prevents sticking and makes cleanup easier.

When brushing phyllo, use a pastry brush with natural bristles; synthetic brushes can melt in melted butter. Work quickly to keep sheets from drying out.

For even browning, rotate the dish halfway through baking. If the top browns too quickly, tent with foil for the last 10 minutes.

Check doneness by inserting a thin knife near the center; it should come out clean and the internal temperature should meet the USDA safe minimum of 160°F/71°C for egg dishes.

Scaling the Recipe

To double the recipe for a larger gathering, multiply all ingredients by 2 and use a 12×18 inch/30×45 cm baking dish. Keep bake time the same; check for golden color and internal temperature after 35 minutes.

For a single serving, halve the ingredients and bake in a 6×8 inch/15×20 cm dish for 25 minutes; monitor closely as smaller portions cook faster.

When scaling, maintain the same ratio of spinach to feta (about 2:1 by weight). Adjust salt to taste after mixing, especially if using different feta brands.

Worked example: If you use 1 cup (120 g) of gluten‑free flour instead of 1/2 cup, increase baking powder proportionally to 1 teaspoon (4 g) to keep leavening balanced.

Checking the Result

After baking, the pastry should be golden brown and spring back lightly when pressed. The filling should be set, not jiggle. If it still jiggles, return to the oven for 5‑minute intervals until firm.

Use a food thermometer to verify the internal temperature reaches at least 160°F/71°C; this ensures egg safety without overcooking.

Allow the spanakopita to rest for 10 minutes before slicing; this prevents the filling from spilling out.

Store any leftovers in a sealed container in the refrigerator; consume within 3 days for best texture and safety.

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