Food

Savory Spinach and Onion Tart With a Flaky Crust

By Hayride Live · Updated

Total time
1 hr 15 min
Prep
30 min
Cook
45 min
Serves
8

A well-made spinach and onion tart delivers a tender, flaky crust holding a rich, savory filling that balances the earthiness of greens with the sweet depth of slow-cooked onions. This method avoids the common pitfall of a soggy bottom by thoroughly removing moisture from the spinach and building a protective butter barrier on the dough before adding the custard.

Gather the Ingredients for the Filling and Crust

  • 1 sheet (about 9 ounces or 255 g) frozen puff pastry, thawed but still cold
  • 2 tablespoons unsalted butter
  • 1 large yellow onion (about 8 ounces or 225 g), thinly sliced into half-moons
  • 10 ounces (about 280 g) fresh baby spinach (roughly 6 packed cups)
  • 3 large eggs
  • 1 cup (about 240 ml) heavy cream
  • ½ cup (about 50 g) freshly grated Parmesan cheese
  • ¼ teaspoon ground nutmeg
  • ½ teaspoon kosher salt, plus more to taste
  • ¼ teaspoon freshly ground black pepper
  • Pinch of cayenne pepper (optional, for subtle heat)

Caramelize the Onions Until Deeply Golden

  1. Preheat the oven to 400°F (200°C). Position a rack in the center of the oven so the tart bakes evenly.
  2. Melt the butter in a large skillet over medium-low heat. Add the sliced onions and a pinch of salt to help draw out moisture. Stir to coat the onions in the butter.
  3. Cook the onions gently for 25 to 30 minutes, stirring occasionally. The goal is to soften them completely and turn them a deep golden brown. Do not rush this step with high heat, or the sugars will burn rather than caramelize. If the pan looks dry, add a splash of water to deglaze any stuck bits.
  4. Transfer the cooked onions to a small bowl and set aside. Wipe the skillet clean if you plan to use it for the next step, though it is not strictly necessary.

Wilt the Spinach and Remove Excess Water

This is the most critical step for preventing a watery tart. Fresh spinach contains about 90% water, which must be removed before baking.

  1. Add the fresh spinach to the warm skillet (no need to add more fat). Toss constantly with tongs for 1 to 2 minutes until the leaves are fully wilted and dark green.
  2. Immediately transfer the hot spinach to a fine-mesh sieve or a clean kitchen towel placed over a bowl. Press firmly with the back of a spoon or squeeze the towel tightly to wring out as much liquid as possible. You should end up with a compact, dry ball of spinach. Discard the collected liquid.
  3. Chop the dried spinach roughly once it is cool enough to handle.

Assemble the Custard and Build the Tart

  1. Prepare the Pastry Base: On a lightly floured surface, roll out the thawed puff pastry into a rectangle slightly larger than your baking sheet or tart pan. Place the pastry on a parchment-lined baking sheet. Using a fork, prick the entire surface of the dough to prevent large air bubbles from forming during baking.
  2. Blind Bake Partially: Bake the pastry shell alone for 10 minutes at 400°F (200°C). Remove it from the oven. This pre-baking sets the structure and creates a seal against the wet filling.
  3. Mix the Filling: In a mixing bowl, whisk together the eggs, heavy cream, Parmesan cheese, nutmeg, salt, pepper, and cayenne. Stir in the chopped spinach and the caramelized onions until evenly distributed.
  4. Fill and Finish: Pour the spinach mixture into the partially baked pastry shell. Use a spatula to spread it evenly. Return the tart to the oven and bake for 25 to 30 minutes. The tart is done when the custard is set in the center (it should jiggle slightly like gelatin, not slosh like liquid) and the edges of the pastry are puffed and golden brown.
  5. Rest Before Slicing: Remove the tart from the oven and let it rest on the pan for at least 10 minutes. This allows the custard to firm up further, making clean slices possible.

Fix Common Texture Problems

If your tart turns out too runny, the spinach was likely not squeezed dry enough, or the custard was underbaked. Always check that the center is set before removing it from the oven. If the bottom crust is soggy, ensure you blind-baked the pastry for the full 10 minutes and did not overload the filling. For a denser texture, avoid overmixing the custard; gentle folding preserves the airy lift from the eggs and cream.

Swap Ingredients Without Ruining the Dish

  • Cream Substitute: Use whole milk instead of heavy cream. The tart will be less rich and slightly less stable, so reduce the bake time by 5 minutes to prevent overcooking.
  • Pastry Swap: A store-bought pie crust works in a pinch, but puff pastry provides the necessary lift and flakiness. If using pie crust, skip the blind bake and brush the raw dough with beaten egg white before adding the filling to create a moisture barrier.
  • Cheese Variation: Gruyère or Swiss cheese can replace Parmesan for a nuttier, milder flavor profile.

Store Leftovers Safely

Allow the tart to cool completely to room temperature before storing. Refrigerate leftovers in an airtight container within 2 hours of cooking. The tart keeps well in the refrigerator for 3 to 4 days. To reheat, place individual slices in a toaster oven or conventional oven at 350°F (175°C) for 10-15 minutes until warmed through. Avoid microwaving, as this can make the pastry rubbery. Do not freeze unbaked assembled tarts, as the raw custard may separate upon thawing. Frozen cooked tart slices can be reheated directly from the freezer in a 350°F (175°C) oven for 20 minutes.

Check Doneness and Safety

Egg dishes must reach a safe internal temperature to eliminate bacteria. Insert an instant-read thermometer into the center of the tart; it should read 160°F (71°C), which is the USDA FSIS safe minimum for egg casseroles. If the temperature is lower, return the tart to the oven for 2-3 minute increments and check again.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.