How to Make a Spinach Pie? A Foolproof Spanakopita Recipe

A homemade spinach pie recipe starts with paper-thin sheets of phyllo layered around a tightly squeezed spinach-and-feta filling, then bakes at 375°F until the top shatters golden and the center sets clean. Most home cooks hit the same two walls: soggy bottoms from watery greens, and phyllo that cracks mid-assembly because nobody told you to cover the stack with a damp towel. Both problems disappear once you treat moisture like the main ingredient it actually is.

Below you’ll find a moisture-first method, a phyllo-handling protocol that keeps every sheet pliable, and a make-ahead timeline that turns this easy spinach pie into a realistic weeknight option.

Spinach Pie Across Mediterranean Kitchens

Regional accents give spinach-and-cheese layered pastry its character across the eastern Mediterranean, even though most home cooks recognize the dish by its Greek name, spanakopita. Turkish börek rolls the dough into cigars or coils around a similar filling, while Lebanese fatayer folds the greens into triangular pockets. In Athens, the triangle version, spanakopita tyropita, sells warm from bakery windows as a portable street snack.

All three share the same skeleton: seasoned spinach and cheese tucked between paper-thin sheets of phyllo brushed with fat. That shared formula is what makes a savory spinach pie so adaptable across borders and home kitchens alike.

The Flavor Trinity Behind the Filling

Three aromatics carry most of the flavor work in the filling. Green onions provide a sharp backbone, fresh dill lifts the greens with a grassy note, and flat-leaf parsley adds color and a mild peppery finish. Skip the dill and your homemade spinach pie tastes flat. Skip the green onions and the filling leans heavy on cheese. Keep all three and the filling earns the brightness that defines a traditional spanakopita.

Building the Filling for Flavor, Not Water

Spinach is roughly 91% water by weight, so the entire filling battle is won or lost before you crack an egg. Fresh greens need a quick wilting in a hot pan, then a hard squeeze in a clean kitchen towel. Frozen spinach needs an even more aggressive drain because commercial freezing ruptures cell walls and releases trapped moisture that fresh greens hold tighter.

The Squeeze-Test That Prevents Soggy Bottoms

Cook your spinach (or thaw frozen), let it cool enough to handle, then gather it into a fistful inside a clean cotton towel or several layers of cheesecloth. Twist the towel over the sink and squeeze until the stream of green liquid slows to a few drops. A properly drained fistful should feel dense and damp, not squishy. For a 10-ounce bag of frozen spinach or about 1.5 pounds of fresh, expect to extract roughly 1/3 to 1/2 cup of liquid. Skip this step and that liquid migrates straight into the phyllo base, turning the bottom crust into leather.

Binding the Filling So It Slices Clean

Crumbled feta brings the signature salty tang, but on its own it doesn’t bind. Two large eggs whisked into the spinach-cheese mixture do the structural work, setting the filling into a soft custard as it bakes. For an even creamier texture, stir in 1/2 cup of whole-milk ricotta. The combination gives you a sliceable interior that holds its shape on the plate rather than weeping onto the serving board.

Once the filling holds its shape, the phyllo needs an equally disciplined hand to keep the whole pie from turning soggy.

A Phyllo Protocol That Tames the Dough

Phyllo (also spelled filo) is tissue-thin dough that browns into shatter-crisp layers when baked, but it dries out in minutes once exposed to air. The single biggest mistake first-timers make is treating phyllo like puff pastry and leaving it uncovered while they prep other ingredients. It cracks, tears, and turns into unusable flakes within ten minutes.

Choosing Your Sheet Thickness

Standard phyllo (often labeled “#4”) works well for spinach pie and forgives beginner mistakes. Extra-thin phyllo (“#7” or “1/2 thickness”) creates a more delicate, shattering crust, but it tears easily and typically needs twice as many layers for the same structural strength. For a 9×13 pan, plan on roughly 8 to 10 sheets on the bottom and 8 to 10 on top with standard thickness, or 12 to 16 each if going extra-thin.

The Damp-Towel Setup That Keeps Every Sheet Pliable

Unroll the phyllo on your counter and immediately drape a slightly damp (not dripping) kitchen towel over the stack. Lay a sheet of plastic wrap on top of the towel. This combo keeps humidity close without making the dough soggy. Pull one sheet at a time, brush it with melted butter or olive oil, then recover the stack. Work at a calm pace. The towel-and-wrap setup buys you at least 30 minutes of working time without a single crack.

Brushing Fat Between Every Layer

Each sheet needs fat on its top surface before the next sheet goes down, otherwise layers fuse into a single tough sheet instead of separating into flakes. Melted unsalted butter gives that bakery-style golden color and rich flavor. Light olive oil produces a slightly more rustic snap and stays fluid longer, which helps when you’re working fast. Either works; brush edge to edge so no dry spots remain.

Brush the final sheet, and you’re at the moment every baker waits for: the cut, the bake, the color.

Assembling, Baking, and Reading the Doneness Cues

Layering is repetitive but unforgiving: miss fat on a sheet and that sheet fuses into the next, costing you flakiness. Spread the filling evenly, then top with the remaining brushed sheets and a final butter drizzle down the center of the top layer.

Layer Order for a 9×13 Pan

Brush the bottom and sides of the pan with butter or oil. Lay down your first stack of 8 to 10 phyllo sheets, brushing each one, with the edges hanging over the pan’s sides. Spread the filling in an even layer, pressing it gently into the corners. Fold the overhanging edges inward, then lay the remaining sheets on top, brushing each. Score the top lightly with a sharp knife in your desired portion pattern (squares, diamonds, or strips). The cuts let steam escape and help you slice cleanly later without crushing the flaky top.

Temperature, Time, and the Cues That Confirm Doneness

Bake at 375°F (190°C) for 35 to 50 minutes. The wide range reflects variation in filling moisture, phyllo brand, and your specific oven. Don’t trust the timer alone. Look for a deep golden-brown top that sounds hollow when you tap it. Listen for a quiet sizzle when you tilt the pan slightly. The filling should feel set when you press the center gently; no jiggle, no wet give. An instant-read thermometer inserted into the center should read 165°F, the safe temperature for the eggs in the filling.

Resting Time Before You Cut

Let the pie rest on a wire rack for at least 10 to 15 minutes before slicing. The eggs finish setting during this window, and the layers firm up enough that a knife cuts cleanly instead of dragging filling across the plate. Cut with a serrated knife in a gentle sawing motion to keep the top from shattering.

That clean slice is the payoff, but most home cooks still want to know what they can change without breaking the result.

Swaps, Substitutions, and Smart Shortcuts

Most substitutions succeed if you adjust for moisture and fat content. A few common swaps fall into clear categories that change this spinach and feta pie in predictable ways.

Ingredient Substitution Matrix

OriginalCommon SwapWhat Changes
1.5 lb fresh spinachTwo 10-oz packages frozen spinach, thawedDrain more aggressively; expect more liquid
8 oz feta, crumbled6 oz feta + 2 oz ricotta salataSlightly milder, still tangy, firmer set
8 oz feta6 oz goat cheese + pinch of saltCreamier, more pronounced tang
1/2 cup ricotta1/2 cup cottage cheese, blended smoothLighter texture, similar bind
Melted butterLight olive oilMore Mediterranean snap, less rich flavor
Store-bought phylloHomemade strudel doughChewier texture, longer prep time

Smart Shortcuts That Don’t Cost Texture

Pre-washed bagged spinach skips a rinsing step but still needs wilting and squeezing. Pre-crumbled feta saves time without flavor loss; block feta crumbles more cleanly if you prefer fewer additives. Phyllo is the one shortcut that genuinely works: store-bought sheets are reliably thin and bake predictably, so homemade dough adds hours without much payoff unless you enjoy the process.

Skip phyllo entirely and the result is a spinach-and-feta crustless quiche, baked in the same 9×13 pan at the same temperature. Adjust egg-to-liquid ratios and bake until the center sets firm.

Make-Ahead Plans, Storage, and Troubleshooting

Spinach pie is one of the rare savory bakes that improves with planning. Most of the work can be done a day or two ahead, and the unbaked pie freezes for months without losing flakiness.

Storage Timeline at a Glance

StageRefrigeratorFreezer
Unbaked, fully assembledUp to 2 days, covered tightUp to 3 months, wrapped in foil then plastic
Baked, fully cooled3 to 4 days, coveredUp to 3 months, wrapped airtight
Individual slices3 days, in a sealed container2 months, in freezer bags

Bake straight from the fridge, adding about 5 extra minutes. Bake from frozen at 375°F for 50 to 60 minutes, tented with foil for the first half so the top doesn’t brown before the center cooks through. Reheat leftover slices on a baking sheet at 350°F for 8 to 10 minutes; the oven restores the flaky top that a microwave turns soft.

Symptom-to-Fix Matrix

  • Soggy bottom crust: Spinach wasn’t drained enough. Squeeze harder next time, or pre-bake the bottom phyllo stack alone for 5 minutes before adding the filling.
  • Cracked top during baking: Top phyllo dried out before assembly. Keep the stack covered and brush each sheet the moment it lands on the pie.
  • Filling weeping out the sides: Filling was too wet or pan was overfilled. Reduce spinach by 1/4 cup next round, or use a deeper dish.
  • Pale top after 50 minutes: Oven runs cool or the top got tented too long. Finish under the broiler for 60 to 90 seconds, watching closely.
  • Center still jiggly at the timer: Filling was loose or the eggs were under-mixed. Add 5 to 10 more minutes, and check internal temp for 165°F.

Serving Leftovers Beyond the Original Slice

Cold wedges pack into lunchboxes and hold their shape well. Day-old pieces reheat into a crisp base for a fried egg. Cut strips and tuck them into pita with cucumber and tomato for a quick sandwich. Leftover filling (minus the phyllo) folds into an omelet or tops baked potatoes for a fast weeknight meal.

Final Thoughts

Spinach pie rewards cooks who treat moisture as the main ingredient. Drain the greens hard, brush the phyllo generously, bake until the center hits 165°F, and let it rest before slicing. Get those four checkpoints right and the rest is just assembly.

FAQ

What is spinach pie made of?

Seasoned spinach combines with crumbled feta, eggs, green onions, fresh dill, and flat-leaf parsley, then gets layered between phyllo sheets brushed with melted butter or olive oil before baking to a golden finish.

Do I need to cook spinach before putting it in a pie?

Yes. Wilt fresh spinach in a hot pan, or thaw frozen spinach, then squeeze it hard in a clean towel to remove excess water before mixing it into the filling.

How do I keep phyllo dough from drying out?

Drape a slightly damp kitchen towel over the unrolled phyllo, then cover the towel with plastic wrap. Pull and brush one sheet at a time, keeping the rest covered the entire time.

What cheese is best for spinach pie?

Crumbled feta is the traditional choice for spanakopita, often paired with ricotta for a creamier texture and better binding. Goat cheese or ricotta salata can replace part of the feta for a milder or sharper flavor.

How long does spinach pie take to bake?

Bake at 375°F (190°C) for 35 to 50 minutes, until the top is deep golden, the center reaches 165°F on an instant-read thermometer, and the filling feels set with no jiggle.

Can I make spinach pie ahead of time?

Yes. Assemble the pie up to 2 days ahead and refrigerate, or freeze it unbaked for up to 3 months. Bake straight from the fridge with 5 extra minutes, or from frozen at 375°F for 50 to 60 minutes tented with foil.

Staff
Staff

Our team brings together health and food enthusiasts who are passionate about discovering reliable health information, nutritious choices, and enjoyable food experiences. From everyday nutrition and healthy eating ideas to recipes, ingredients, food trends, and standout dishes, we share carefully researched and thoughtfully curated content to help readers make informed choices about what they eat and enjoy.