There’s something special about the quiet comfort of homemade cooking after a busy day. A warm tray of golden pastries fresh from the oven instantly fills the kitchen with that familiar cozy feeling.
This spanakopita recipe brings together tender spinach, creamy feta, and delicate layers of crisp phyllo dough. It’s the kind of homemade comfort food that feels both satisfying and surprisingly balanced.
Whether you’re preparing a relaxed family dinner or planning ahead for a make-ahead meal, these flaky spinach triangles offer a nourishing little bite that feels right at home on the table.
What Makes This Dish So Comforting
Spanakopita has long been a beloved classic, and it’s easy to see why. The combination of warm, flaky pastry and savory spinach filling creates a texture that feels both crisp and soft in every bite.
This homemade version keeps that traditional charm while offering a slightly lighter, more balanced feel. Fresh spinach and herbs bring brightness, while feta adds just enough richness to keep the filling deeply satisfying.
The result is a cozy meal that feels indulgent yet nourishing, perfect for relaxed evenings or shared plates at a family gathering.
Everything You’ll Bring to the Table
The ingredients for this recipe are wonderfully simple and approachable. Each one contributes to the comforting layers and savory flavor that make spanakopita so memorable.
Fresh Ingredients
- 2 tablespoons olive oil, divided
- 2 pounds fresh spinach leaves
- 1/2 cup onion, finely chopped
- 1/2 cup green onions, thinly sliced
- 1 teaspoon minced garlic
- 2 tablespoons chopped fresh parsley
- 2 tablespoons chopped fresh dill
These fresh components create the bright, wholesome base of the filling while keeping the dish naturally satisfying.
Creamy Filling
- 8 ounces feta cheese, crumbled
- 1 egg, lightly beaten
- Salt and pepper to taste
Feta brings that classic tangy flavor while the egg gently binds everything together for a smoother, more comforting texture.
Crispy Layers
- 1 pound phyllo dough sheets, thawed
- 3/4 cup butter, melted
These thin pastry layers bake into delicate, golden sheets that give spanakopita its signature crisp finish.
From Kitchen to Table
Prepare the Oven
Preheat the oven to 375°F and line two sheet pans with parchment paper.
This small step keeps everything baking evenly and makes cleanup wonderfully simple.
Cook the Spinach
Heat 1 tablespoon olive oil in a large pan over medium heat. Add half the spinach and cook until wilted, then add the remaining spinach.
Let it cook for about 3–4 minutes until fully softened.
Allow the spinach to cool, then wring out excess water and chop it coarsely. This helps the filling stay rich and flavorful without becoming watery.
Build the Flavor Base
Wipe the pan clean and heat the remaining tablespoon of olive oil over medium heat.
Add the chopped onion and cook for 3–4 minutes until softened. Stir in the green onions, garlic, parsley, and dill and cook briefly for about 30 seconds to release their aroma.
Transfer this mixture to a bowl with the chopped spinach, feta cheese, and beaten egg. Season generously with salt and pepper, then stir until everything is beautifully combined.
Layer the Phyllo Dough
Unroll the phyllo dough on a flat surface and keep it covered with plastic wrap or a damp towel while working. This keeps the sheets soft and easy to handle.
Lay one sheet of phyllo dough with the long side facing you and brush lightly with melted butter.
Place a second sheet on top and brush it again with butter.
Shape the Spanakopita
Cut the layered dough vertically into 3-inch strips.
Add about 1½ teaspoons of filling to one end of each strip. Fold the corner over the filling to form a triangle.
Continue folding the dough over itself, just like folding a flag, until you reach the end. Brush the top lightly with melted butter and place the triangle on the prepared baking sheet.
Repeat until the dough and filling are used.
Bake Until Golden
Arrange the triangles about 1½ inches apart on the sheet pan.
Bake one pan at a time for 18–20 minutes, until the pastries turn beautifully golden and crisp.
Serve warm for the best flaky texture and comforting flavor.
Simple Ways to Make It Work for You
Make-Ahead Friendly
Spanakopita triangles can be assembled ahead of time and stored in the refrigerator until baking. It’s a helpful solution for busy weeknight cooking.
Protein Boost
Adding a small amount of cottage cheese or ricotta to the filling can gently increase the protein while keeping the texture creamy.
Budget-Smart Tip
Frozen spinach can be used in place of fresh when needed. Just thaw and squeeze it well before mixing.
Gluten-Free Option
A gluten-free phyllo alternative can easily adapt the recipe while still creating a crisp, layered finish.
Meal Prep Ease
These pastries store beautifully in the refrigerator for several days and reheat well in the oven, making them ideal for quick lunches or cozy evening meals.
A Cozy Moment Worth Repeating
There’s a simple kind of joy in pulling a tray of golden pastries from the oven and watching the flaky layers crackle slightly as they cool.
This homemade spanakopita recipe brings together nourishing ingredients, comforting textures, and the timeless pleasure of cooking something special in your own kitchen.
It’s the kind of cozy meal that invites you back to the table again and again.
Spanakopita Recipe
Equipment
- Large skillet Used to cook spinach and aromatics
- Mixing bowl For combining the filling ingredients
- Sheet pans For baking spanakopita triangles
- Pastry brush To brush melted butter on phyllo dough
Ingredients
- 2 tablespoons olive oil, divided use
- 2 pounds fresh spinach leaves
- 1/2 cup onion, finely chopped
- 1/2 cup green onions, thinly sliced
- 1 teaspoon minced garlic
- 2 tablespoons fresh parsley, chopped
- 2 tablespoons fresh dill, chopped
- 8 ounces feta cheese, crumbled
- 1 egg, lightly beaten
- salt and pepper to taste
- 1 pound phyllo dough sheets, thawed
- 3/4 cup butter, melted
Instructions
- Preheat the oven to 375°F and line two sheet pans with parchment paper.
- Heat 1 tablespoon olive oil in a large pan over medium heat. Add half the spinach and cook until wilted, then add remaining spinach and cook 3–4 minutes until fully softened.
- Let the spinach cool, squeeze out excess water, then coarsely chop.
- Heat remaining olive oil in the pan. Cook onion for 3–4 minutes until softened. Stir in green onions, garlic, parsley, and dill and cook for 30 seconds.
- Combine onion mixture, chopped spinach, feta cheese, and egg in a bowl. Season with salt and pepper and mix well.
- Lay one sheet of phyllo dough on a flat surface and brush with melted butter. Place another sheet on top and brush again.
- Cut dough vertically into 3-inch strips.
- Place about 1½ teaspoons filling at the end of each strip and fold the dough into a triangle shape, continuing to fold like a flag until the end.
- Brush the tops with melted butter and place on prepared baking sheets about 1½ inches apart.
- Bake one pan at a time for 18–20 minutes until golden brown. Serve warm.

