Zimt

Caramelized Onion Sunny Side Egg Tart Recipe

· 5 min read · Pastry and Pies

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

This caramelized onion sunny side egg tart is a savory pastry that combines the deep sweetness of slowly cooked onions with the rich, runny yolk of a perfectly fried egg, all nestled in a flaky, buttery crust. It works because the caramelized onions provide a jammy, umami-packed base that contrasts beautifully with the creamy egg and crisp pastry. It’s an impressive yet surprisingly simple dish that works for brunch, lunch, or a light dinner.

Ingredients

  • 1 sheet puff pastry (about 9x9 inches / 23x23 cm), thawed if frozen
  • 2 large yellow onions, thinly sliced
  • 2 tablespoons unsalted butter
  • 1 tablespoon olive oil
  • 1/2 teaspoon salt
  • 1/4 teaspoon black pepper
  • 1 teaspoon fresh thyme leaves (optional)
  • 1/2 cup grated Gruyère or sharp cheddar cheese (about 2 oz / 55 g)
  • 4 large eggs
  • 1 egg yolk mixed with 1 teaspoon water (for egg wash)
  • Flaky sea salt, for finishing

Instructions

  1. Caramelize the onions: In a large skillet over medium-low heat, melt the butter with the olive oil. Add the sliced onions and salt. Cook slowly, stirring occasionally, for 25–30 minutes, until the onions are deeply golden brown and jammy. If they start to stick, add a tablespoon of water. Stir in the black pepper and thyme (if using) in the last 5 minutes. Remove from heat and let cool slightly.
  2. Preheat and prep the pastry: Preheat your oven to 400°F (200°C). Line a baking sheet with parchment paper. On a lightly floured surface, roll the puff pastry out just slightly to smooth any creases. Cut the pastry into 4 equal rectangles (about 4x4 inches each). Place them on the prepared baking sheet, leaving space between them.
  3. Chill the pastry: Refrigerate the pastry rectangles for 10 minutes. This helps them hold their shape and puff evenly.
  4. Add the filling: Remove the pastry from the fridge. Using a sharp knife, score a border about 1/2 inch (1 cm) from the edge of each rectangle, being careful not to cut all the way through. Prick the inner area with a fork. Brush the outer border with the egg wash. Divide the caramelized onions evenly among the four tarts, spreading them within the scored border. Sprinkle the grated cheese over the onions.
  5. Bake the tarts: Bake for 12 minutes, until the pastry is lightly golden and puffed around the edges.
  6. Add the eggs: Remove the baking sheet from the oven. Carefully crack one egg into the center of each tart, keeping the yolk intact. Be gentle so the white doesn’t spill over the border.
  7. Finish baking: Return the tarts to the oven and bake for another 8–10 minutes, until the egg whites are set but the yolks are still soft and runny. If you prefer firmer yolks, bake for 12–14 minutes.
  8. Rest and serve: Let the tarts rest on the baking sheet for 2 minutes. Sprinkle with flaky sea salt and extra thyme if desired. Serve warm.

Tips

  • Don’t rush the onions: Caramelizing onions slowly over low heat is key. High heat will burn them and make them bitter. If you’re short on time, you can cook them on medium-low for 15–20 minutes, but the depth of flavor won’t be as rich.
  • Keep the pastry cold: Warm puff pastry becomes sticky and difficult to handle. If it gets too soft, pop it back in the fridge for 5 minutes before baking.
  • Prevent soggy bottoms: The cheese acts as a barrier between the onions and the pastry, helping to keep the crust crisp. Don’t skip it, and avoid overloading with onions.
  • Egg placement: If you’re nervous about breaking yolks, crack each egg into a small bowl first, then slide it onto the tart. This also helps you avoid shell fragments.

Serving Suggestions

Serve these tarts hot from the oven with a simple green salad dressed in lemon vinaigrette. They also pair well with roasted tomatoes or a handful of arugula on top. For a heartier meal, add a side of crispy bacon or smoked salmon. They make a lovely brunch centerpiece alongside fresh fruit and coffee.

Variations

  • Herb twist: Add chopped chives, dill, or parsley to the onions before baking.
  • Spicy kick: Sprinkle red pepper flakes or a few drops of hot sauce over the egg before baking.
  • Different cheese: Swap Gruyère for feta, goat cheese, or smoked gouda for a different flavor profile.
  • Add greens: Wilt a handful of spinach or kale into the onions during the last 2 minutes of cooking.
  • Mini version: Cut the pastry into 12 small squares and adjust baking time to 6–8 minutes after adding the eggs. Perfect for appetizers.

Storage and Reheating

These tarts are best eaten fresh, but leftovers can be stored in an airtight container in the refrigerator for up to 2 days. To reheat, place them on a baking sheet and warm in a 350°F (175°C) oven for 5–7 minutes, or until the pastry is crisp and the yolk is warmed through. Avoid microwaving, as it will make the pastry soggy and the egg rubbery.

Frequently Asked Questions

Can I use frozen puff pastry?

Yes, frozen puff pastry works perfectly. Thaw it in the refrigerator overnight, or at room temperature for about 30 minutes until pliable but still cold.

Can I make these ahead of time?

You can prepare the caramelized onions up to 3 days ahead and store them in the fridge. Assemble the tarts (without the egg) and refrigerate for up to 4 hours before baking. Add the eggs just before the final bake.

How do I know when the eggs are done?

The whites should be completely set (no translucent jiggle), but the yolks should still wobble when you gently shake the pan. If you prefer firmer yolks, bake until the yolks are just set but still slightly soft in the center.

Why did my pastry shrink during baking?

Puff pastry shrinks if it’s not chilled properly or if you roll it too thin. Always chill the cut rectangles before baking, and avoid stretching the dough as you place it on the baking sheet.

Can I use a different type of onion?

Yellow or sweet onions (like Vidalia) are best for caramelizing because they have a high sugar content. Red onions work too, but they may turn a less appealing color. White onions are fine but less sweet.

Can I use a tart pan instead of free-form rectangles?

Yes, you can press the pastry into individual 4-inch tart pans. Bake the shells blind (with pie weights) for 10 minutes before adding the filling, then proceed with the recipe.