Ingredients:

  • 2 tbsp unsalted butter
  • 2 large yellow onions, thinly sliced
  • 1/2 tsp salt
  • 1/4 tsp baking soda
  • 1 tbsp olive oil
  • 1 sheet frozen puff pastry, thawed but cold
  • 1 1/2 cups Gruyère cheese, grated
  • 1 large egg
  • 1 tsp water
  • 1 tsp dried thyme
  • black pepper

Instructions:

  1. Heat 2 tbsp unsalted butter and 1 tbsp olive oil in a skillet over medium-high heat.
  2. Add the sliced yellow onions and 1/2 tsp salt, stirring to coat.
  3. Stir in 1/4 tsp baking soda and sauté for 10–12 minutes until the onions are soft and a deep golden brown; remove from heat and let cool slightly.
  4. Preheat the oven to 400°F (200°C), placing a rimmed baking sheet inside while preheating to ensure a hot surface.
  5. Roll out the cold puff pastry onto a piece of parchment paper.
  6. Score a 1-inch (2.5cm) border around the edge with a knife, being careful not to cut all the way through.
  7. Spread half of the grated Gruyère cheese inside the scored border.
  8. Evenly distribute the caramelized onions over the cheese layer.
  9. Top with the remaining grated Gruyère cheese and sprinkle with 1 tsp dried thyme and black pepper.
  10. Beat 1 large egg with 1 tsp water and brush the outer border of the pastry with the egg wash.
  11. Carefully slide the parchment paper onto the hot baking sheet.
  12. Bake for 20–25 minutes, or until the edges are puffed and a deep golden brown gold.
  13. Let the tart rest for 5 minutes before slicing into 12 pieces.