Baked Spanakopita Pasta with Greens and Feta
| ~6 min read | Pasta Recipes
Sections
Baked spanakopita pasta is a casserole that takes the filling of Greek spanakopita — spinach or other greens, feta, eggs, dill, and scallions — and folds it through cooked pasta instead of layering it between sheets of phyllo. The result is a creamy, salty, herb-flecked bake with a crisp top, and it comes together in about an hour with one pot and one baking dish. It is not a traditional Greek dish; it is a modern hybrid that borrows the flavor profile of the pie and applies it to a pasta bake, which makes it forgiving and easy to scale for a crowd.
Where the Idea Comes From
Spanakopita is a Greek savory pie: a spinach and feta filling bound with egg, seasoned with dill and nutmeg, wrapped in buttered phyllo and baked until shatteringly crisp. The filling itself is essentially a custardy vegetable mixture, which is why it translates so well to pasta. The egg sets the cheese and greens into a cohesive sauce, the feta provides the salt and tang, and the pasta gives the whole thing body.
The pasta version keeps the flavor logic but changes the structure. Instead of phyllo, you get a baked crust from cheese and breadcrumbs on top, and the moisture comes from the greens, the cheese, and a dairy base such as milk, cream, or ricotta. Many versions add a béchamel-style white sauce so the bake holds together when sliced; others rely on eggs and ricotta alone, which gives a denser, more quiche-like texture.
What Goes Into It
The core ingredients are consistent across most versions, and the ratios matter more than the exact list.
- Pasta: 12 ounces (340 g) of short shapes — penne, rigatoni, ziti, fusilli, or cavatappi. Short tubes and spirals hold the greens and cheese in their hollows and edges.
- Greens: 1 to 1½ pounds (450–680 g) of fresh spinach, or a mix of spinach and other greens. Frozen spinach works well: about 20 ounces (570 g), thawed and squeezed very dry.
- Feta: 8 to 10 ounces (225–285 g), crumbled. A block in brine tastes better than pre-crumbled, which is drier and saltier.
- Binder: 2 to 3 large eggs, or a combination of eggs and ricotta (about 1 cup / 250 g).
- Dairy: 1 cup (240 ml) whole milk or cream, or a simple white sauce made from 2 tablespoons butter, 2 tablespoons flour, and 1½ cups milk.
- Aromatics and herbs: 4 to 6 scallions or a small onion, 2 to 3 cloves garlic, a generous handful of fresh dill, and a pinch of nutmeg.
- Top: extra feta, grated kefalotyri or Parmesan, and optionally a handful of breadcrumbs for crunch.
How to Make It, Step by Step
- Heat the oven to 375°F (190°C). Bring a large pot of water to a boil and salt it generously — about 1 tablespoon of salt per 4 quarts of water.
- Cook the pasta to 2 minutes short of al dente, since it will continue cooking in the oven. Reserve about 1 cup of pasta water before draining.
- While the pasta cooks, wilt the greens. If using fresh spinach, sauté it in a wide pan until collapsed, then squeeze out excess liquid. If using frozen, thaw and squeeze it hard in a clean towel — wet greens will make the bake soupy.
- Soften the scallions or onion in olive oil over medium heat, add the garlic for the last 30 seconds, then stir in the greens, dill, and nutmeg. Season lightly; the feta will add salt.
- Whisk the eggs with the milk or white sauce, then fold in most of the feta.
- Combine the drained pasta, the greens mixture, and the egg mixture in the pot or a large bowl. Add a splash of reserved pasta water if it looks tight — the mixture should be loose enough to settle into the dish.
- Transfer to a buttered or oiled 9×13-inch baking dish, top with the remaining feta and the grated cheese, and bake 30 to 35 minutes, until set in the center and browned on top.
- Rest 10 minutes before cutting. This lets the custard finish setting.
Getting the Texture Right
The most common failure is a watery bake, and it almost always comes from the greens. Spinach holds a surprising amount of water, and frozen spinach holds more. Squeeze it in a clean kitchen towel or a potato ricer until it feels dry, then squeeze again. If the mixture still looks loose before baking, stir in a tablespoon or two of breadcrumbs or a little extra grated cheese to absorb the excess.
The second issue is undercooking. An egg-based bake needs to reach a safe internal temperature of 160°F (71°C) — check with a food thermometer in the center, not by color. If the top browns before the center sets, cover loosely with foil and continue baking.
For a crisper top, dot with feta and scatter breadcrumbs tossed in olive oil. For a creamier result, use a white sauce instead of plain milk and skip the breadcrumbs.
Variations and Substitutions
- Greens: kale, chard, and beet greens all work, but blanch or sauté them first and squeeze them dry. A mix of spinach and chard gives a more complex flavor.
- Cheese: ricotta makes it lighter and more quiche-like; mozzarella adds stretch; kefalotyri or Parmesan adds a sharper crust.
- Protein: cooked, crumbled sausage or shredded cooked chicken can be added, but if you add poultry, it must reach 165°F (74°C) before going into the dish and the finished bake should still hit that temperature.
- Make-ahead: assemble the dish up to 24 hours ahead, cover, and refrigerate. Add 10 minutes to the baking time if going straight from the fridge.
- Gluten-free: use a gluten-free short pasta and gluten-free breadcrumbs; the rest of the recipe is naturally gluten-free.
Storing, Reheating, and Safety
Cool leftovers within 2 hours (1 hour if the room is above 90°F), then refrigerate in a covered container at 40°F (4°C) or below. Most cooked pasta bakes keep 3 to 4 days in the fridge. To freeze, portion into airtight containers and freeze at 0°F (-18°C) for up to 2 months; thaw in the fridge overnight, never on the counter.
Reheat leftovers to 165°F (74°C) — in a 350°F oven, covered, for about 20 minutes, or in the microwave with a splash of water or milk to keep it from drying out. Because the dish contains eggs and cheese, treat it like any egg dish: cook to 160°F (71°C) and refrigerate promptly. Do not leave it at room temperature for more than 2 hours.
If you are cooking for anyone at higher risk — pregnant people, young children, older adults, or anyone immunocompromised — use pasteurized eggs, and never taste the raw filling to check seasoning. Season a small cooked spoonful instead.
Frequently Asked Questions
Can I use frozen spinach?
Yes, and it is often easier. Use about 20 ounces (570 g), thaw it, and squeeze it very dry in a towel. Skipping the squeeze is the main reason baked spinach pasta turns out watery.
Do I have to cook the pasta first?
Yes. The oven time is for setting the custard and browning the top, not for cooking raw pasta. Cook it 2 minutes short of al dente so it does not turn mushy in the bake.
Can I make it without eggs?
You can, but the texture changes. Without eggs, use a thicker white sauce and more cheese so the bake holds together; expect a looser, more spoonable result rather than clean slices.
How do I know it is done?
The center should be set and no longer jiggle, the top should be browned, and a food thermometer inserted in the middle should read at least 160°F (71°C). Let it rest 10 minutes before serving.
Can I freeze the assembled dish before baking?
Yes. Assemble, cover tightly, and freeze for up to 2 months. Thaw overnight in the fridge, then bake as directed, adding about 10 minutes. Do not thaw on the counter.
What pasta shape is best?
Short shapes with ridges or hollows — penne, rigatoni, ziti, fusilli, or cavatappi — work best because they trap the greens and cheese. Long pasta tends to clump and is harder to portion.