When you think of a caramelized onion gruyere tart, you probably imagine a dish that’s not just rich in flavor, but also brings a real touch of elegance to any table. The flaky puff pastry combined with sweet, buttery onions and melty gruyere cheese creates an irresistible treat that’s great for any occasion.
This recipe tackles issues like burnt onions and soggy pastry, ensuring a rich, flavorful tartlet that’s perfect for gatherings or lunch.

I’ve faced my fair share of kitchen hiccups, like misjudging how long it takes to caramelize the onions. But trust me; this recipe sorts out those challenges with ease. You won’t find yourself struggling with a soggy crust or burnt onions, this approach gives reliable results every time, making it perfect for weeknight dinners or impressing guests unexpectedly.
This tart comes together in about an hour and a half, making it a fantastic choice when you need a solid recipe that won’t keep you tied to the stove. It manages to feel gourmet while being totally approachable, so you can focus on enjoying the time spent with family or friends rather than stressing over every detail.
If you’re keen to try more delicious pastries, check out my Puff Pastry Apple Rosettes.
Table of contents
Why You Will Love This Recipe
- Incredibly Satisfying Texture – The puff pastry provides a flaky crust that contrasts beautifully with the tender, soft caramelized onions, creating a delightful bite every time.
- Rich Flavor Profile – The savory blend of Gruyere cheese and sweet onions creates an irresistible flavor, enhanced by the hint of nutmeg and a touch of Dijon mustard that brings everything together.
- Flexible Serving Options – This tart can shine as a stand-alone appetizer or be paired with a light salad, making it suitable for anything from casual get-togethers to elegant gatherings.
- Make-Ahead Convenience – Prep the tart in advance, and you can simply bake it when the moment calls, allowing you to enjoy more time with your guests and less time in the kitchen.
Caramelized Onion and Gruyere Tart Appetizer
- Prep Time: 45 minutes
- Cool Time:
- Cook Time: 40 minutes
- Total Time: 1 hour 25 minutes
- Yield: 4 servings 1x
- Category: appetizer
- Method: Baking
- Cuisine: French
- Diet: Vegetarian
Description
Delicious caramelized onion and Gruyere tartlets made with flaky puff pastry and a creamy filling.
Ingredients
- 1 sheet (about 9.5” x 10.5″ / 24 x 27 cm) all-butter puff pastry, thawed but still cold
- 4 cups (650 g) yellow onions, peeled and sliced 1/4″ (6 mm) thick
- 1 tbsp (8 g) olive oil
- 2 tbsp (28.5 g) unsalted butter
- 1 tsp (6 g) salt
- 1/4 tsp (1 g) ground nutmeg
- 1/4 tsp (1 g) freshly cracked black pepper, coarse grind
- 2 egg yolks
- 1/2 cup (120 g) whipping cream
- 1 cup (100 g) grated Gruyere cheese
- 2 tbsp grated Gruyere cheese (for topping)
- 1 tbsp (15 g) Dijon mustard
Instructions
- Step 1: Roll out the puff pastry sheet to fit a removable bottom tart pan with a rim 3/4″ to 1″ (2–2.5 cm) high. Place the rolled pastry in the tart pan, forming the rim. Chill in the refrigerator to keep the pastry cold and help maintain flakiness.

- Step 2: Peel and slice yellow onions uniformly to about 1/4-inch (6 mm) thickness using a sharp knife, mandolin slicer, or food processor. Uniform slices ensure even caramelization.

- Step 3: Heat butter and olive oil in a large sauté pan over medium heat. Add sliced onions, salt, freshly cracked black pepper, and ground nutmeg. Stir occasionally to prevent sticking and burning, flipping or mixing every 5 minutes. Adjust heat to medium-low if onions brown too quickly. Continue cooking until onions turn golden and caramelized, about 25-30 minutes.

- Step 4: Remove the cooked onions from heat and allow them to cool for about 10 minutes to prevent the eggs from cooking when combined.

- Step 5: In a bowl, whisk together 2 egg yolks and 1/2 cup (120 g) whipping cream until smooth. Stir the cooled caramelized onions into this mixture.

- Step 6: Take the chilled tart shell out of the refrigerator. Spread 1 tbsp (15 g) Dijon mustard evenly on the bottom of the pastry using the back of a spoon.

- Step 7: Spoon the onion and egg mixture evenly over the mustard-lined pastry shell. Smooth the surface gently with a spatula.

- Step 8: Sprinkle 2 tbsp grated Gruyere cheese evenly over the filling.

- Step 9: Preheat the oven to 375°F (190°C). Place the tart on the bottom rack of the oven. Bake for approximately 40 minutes or until the tart is golden brown, bubbly, and has a slightly puffed crust. Check for an aromatic smell and visual golden color as indicators of doneness.

- Step 10: Remove the tart from the oven and cool on a wire rack for a few minutes to set the filling. This also makes slicing easier.

Notes
- Store the tart in an airtight container at room temperature and consume within 2 days to preserve freshness and texture.
- Place in an airtight container in the refrigerator. Keep up to 5 days for flavor development and to prevent spoilage.
- Wrap tightly in plastic wrap, then place in a freezer-safe container. Freeze for up to 2 months. Thaw in the refrigerator overnight before reheating.
- Use yellow onions for their natural sweetness and even caramelization.
- Keep puff pastry cold to maintain flakiness; chilling after fitting it into the tart pan helps prevent shrinking and sogginess.
- Stir onions every 5 minutes during cooking for even color and flavor development. Lower heat if onions brown too fast.
- Cool caramelized onions 10 minutes before mixing with eggs and cream to avoid curdling the mixture.
- If pastry tears, patch gently with small piece of dough and brush with beaten egg to seal.
- To prevent sogginess in crust, sprinkle 1 tbsp cornmeal on pastry bottom before adding filling.
Nutrition
- Serving Size: 1 tartlet
- Calories: not explicitly stated
- Sugar: not explicitly stated
- Sodium: not explicitly stated
- Fat: not explicitly stated
- Saturated Fat: not explicitly stated
- Unsaturated Fat: not explicitly stated
- Trans Fat: not explicitly stated
- Carbohydrates: not explicitly stated
- Fiber: not explicitly stated
- Protein: not explicitly stated
- Cholesterol: not explicitly stated
Find it online: https://bakeitwell.com/caramelized-onion-gruyere-tart

Ingredient Notes
- Onions: Go for yellow onions for their natural sweetness while caramelizing. Their flavor deepens beautifully, making all the difference in your tart.
- Gruyere cheese: Choose a good quality Gruyere for a strong, nutty flavor that melts well. You’ll want it grated for easy melting and to ensure even coverage.
- Puff pastry: Opt for all-butter puff pastry for the best flavor and flaky texture. Make sure it’s thawed but still cold to keep those layers nice and crispy.
- Fresh thyme: Use fresh thyme instead of dried for brighter, more vibrant flavor notes. Take a moment to chop it finely to release its oils and enhance the taste.
- Black pepper: Freshly cracked black pepper adds a nice depth to the flavor profile. You’ll want a coarse grind to give it a little texture in each bite.
- Onions: Go for yellow onions for their natural sweetness while caramelizing. Their flavor deepens beautifully, making all the difference in your tart.
- Gruyere cheese: Choose a good quality Gruyere for a strong, nutty flavor that melts well. You’ll want it grated for easy melting and to ensure even coverage.
- Puff pastry: Opt for all-butter puff pastry for the best flavor and flaky texture. Make sure it’s thawed but still cold to keep those layers nice and crispy.
- Fresh thyme: Use fresh thyme instead of dried for brighter, more vibrant flavor notes. Take a moment to chop it finely to release its oils and enhance the taste.
- Black pepper: Freshly cracked black pepper adds a nice depth to the flavor profile. You’ll want a coarse grind to give it a little texture in each bite.
Recipe Tips
- If onions brown too quickly, reduce heat to medium-low for more even caramelization and stir every 5 minutes during the cooking process.
- When the puff pastry tears, gently patch it using a small piece of pastry dough and brush with a little beaten egg for a seamless repair.
- If the tart crust becomes soggy, sprinkle 1 tablespoon of cornmeal on the bottom before adding the onion filling to absorb moisture.
- For the best flavor, let the caramelized onions cool for 10 minutes before mixing in egg yolks and cream; this avoids cooking the eggs.
- When the tart is done, a golden brown color should appear on top, which typically takes around 40 minutes at 375°F for optimal doneness.
Serving Suggestions
Serve the caramelized onion gruyere tart with a side of mixed greens or arugula salad for added freshness. Pair it with roasted vegetables or a light tomato salad for texture and flavor contrast.
Use to make savory tarts with other cheeses like feta or goat cheese. Add to quiche or as a filling for savory pastries or crepes.
Top with balsamic reduction or a drizzle of herb-infused olive oil for an aromatic finish. Add a dollop of crème fraîche or a sprinkle of fresh herbs to enhance the dish.
Recipe variations
- You can use sliced shallots instead of yellow onions for a milder taste in this caramelized onion gruyere tart recipe, adjusting cooking time accordingly for softness.
- Add 1 teaspoon fresh thyme leaves or 1/2 teaspoon dried rosemary to the onion mixture for an herbed flavor that complements the Gruyere cheese.
- Either store-bought or homemade puff pastry can be used for the tart shell; chill before using to help achieve a flaky texture and easy handling.
- If serving more people, double the onions to 8 cups and Gruyere cheese to 2 cups, using a larger 10-inch tart pan to maintain filling depth and baking time.
Save This Recipe!
How to Store?
To keep your caramelized onion gruyere tart fresh and delicious, follow these storage tips:
Room Temperature: Place the tart in an airtight container at room temperature. Consume within 2 days to maintain freshness and texture.
Refrigeration: Store in an airtight container inside the refrigerator. Keep for up to 5 days, allowing flavors to develop while preventing spoilage.
Freezing: Wrap the tart tightly in plastic wrap, then place it inside a freezer container. Freeze for up to 2 months. Thaw in the refrigerator overnight before reheating.
Other Recipes You’ll Love
- Classic Pumpkin Loaf
- Pumpkin Chocolate Chip Bars
- Pumpkin Cream Cheese Scones
- Copycat Pumpkin Cream Cheese Muffins
If you enjoyed this caramelized onion gruyere tart or any other recipe on my blog, please leave a ⭐ star rating and let me know how it went in the comments below. I appreciate taking time to read about this recipe, thank you!
