This savory tart combines golden caramelized onions and earthy mushrooms, baked in a crisp, flaky pastry. The rich, creamy filling of eggs, cream, and melted cheese balanced with thyme creates a delightful dish that works well as a main or starter. Cooking involves gently sautéing the vegetables until tender and flavorful before blending with a smooth custard mixture and baking to golden perfection.
There's something about the smell of onions turning golden in a skillet that makes you slow down—the kind of moment that catches you off guard when you're just trying to get dinner on the table. I stumbled onto this tart quite by accident, really, when a friend brought over a bundle of cremini mushrooms from the farmer's market and I had half a sheet of puff pastry lingering in my freezer. What started as an improvisation became something I find myself making whenever I need to impress without the fuss.
I made this for a small dinner party last spring, and what I remember most isn't the compliments (though there were plenty)—it was my neighbor lingering in the kitchen afterward, asking what that incredible savory smell was and whether I'd teach her someday. That's when I realized this tart had become the kind of dish that stops people mid-conversation.
Ingredients
- Puff pastry: One sheet is all you need, and thawing it properly matters more than you'd think—let it sit on the counter for about 20 minutes so it's pliable but still cold enough to hold its shape.
- Olive oil and unsalted butter: The combination gives the onions a richness that oil alone can't quite achieve, and the butter prevents the onions from browning too quickly.
- Yellow onions: Slice them thin and uniform so they cook evenly and transform into that jammy, golden state that makes this tart special.
- Cremini or button mushrooms: Both work beautifully; cremini have more earthy flavor if you can find them, but don't overthink it—what matters is slicing them all the same thickness so they release their moisture at the same rate.
- Garlic and fresh thyme: These go in at the very end to stay bright and herbaceous rather than turning bitter from long cooking.
- Eggs, heavy cream, and Gruyère cheese: This is your custard, and it's where the magic happens—the cream makes it luxurious while the cheese adds depth and the eggs bind everything together.
- Salt and black pepper: Season the custard generously because it's easy to undersalt something this rich.
Instructions
- Get your oven ready and prepare the pastry:
- Preheat to 200°C (400°F) and line your tart pan with parchment paper. Roll out the puff pastry, press it gently into the pan, trim the edges, and prick the base all over with a fork—those little holes let steam escape so the bottom doesn't puff up unevenly. Slide it into the fridge while you work on the filling; the cold helps it hold its shape.
- Caramelize the onions slowly:
- Heat olive oil and butter together over medium heat, then add your sliced onions and let them cook undisturbed for a few minutes before stirring. This is the part where patience actually matters—you want golden, sweet onions, not browned or charred ones, which takes about 12 minutes of gentle stirring. The kitchen will smell absolutely incredible, and you'll understand why this step is worth every minute.
- Add the mushrooms and finish the vegetables:
- Once the onions are soft and honey-colored, add your sliced mushrooms and cook for 8 to 10 minutes longer, stirring occasionally, until they've released their moisture and begun to turn golden themselves. The skillet might seem crowded at first, but the mushrooms will shrink as they cook. Stir in the minced garlic and fresh thyme for just a minute, then remove from heat and let everything cool slightly so it doesn't scramble your eggs when you combine them.
- Make your custard filling:
- In a separate bowl, whisk together the eggs, heavy cream, salt, and pepper until smooth, then stir in the grated Gruyère cheese. The mixture should taste slightly over-seasoned—remember it will be thinned by the vegetables and pastry, and you want it to taste rich and flavorful, not bland.
- Build and bake:
- Spread the cooled onion-mushroom mixture evenly over your chilled pastry shell, then carefully pour the egg and cheese custard over the top. Bake for 25 to 30 minutes until the filling has set (a gentle jiggle in the very center is fine, but it shouldn't look wet) and the pastry edges are a deep golden brown. You'll know it's done when the kitchen smells toasty and the filling has puffed up slightly.
- Rest and serve:
- Let the tart cool for 10 minutes before garnishing with fresh chives or parsley and slicing—this resting time helps the custard set completely so each slice holds together neatly. It's delicious warm, room temperature, or even chilled, which makes it perfect for meals across the whole day.
What I love most about this tart is how it brings people together in the most unselfconscious way. It's the kind of dish that makes you feel like you've done something impressive without requiring you to fuss over it the whole time you have guests.
Why This Tart Works as a Main Course
A slice of this tart with a crisp green salad and a glass of cold white wine is honestly a complete meal—the pastry provides substance, the vegetables offer earthiness, and the creamy custard ties everything together into something that feels both elegant and satisfying. I've served it for lunch, light dinners, and even as part of a larger spread for entertaining, and it never disappoints. The fact that it's vegetarian also means it fits into most tables without anyone feeling like they're eating a side dish instead of a proper dinner.
Flavor Swaps and Variations
Once you master the basic technique, this tart becomes endlessly adaptable. I've made it with goat cheese instead of Gruyère for a tangier taste, swapped the mushrooms for roasted asparagus and sun-dried tomatoes, and even added a splash of dry white wine to the vegetables for extra depth. The structure stays the same, but you can follow your mood or what's in your kitchen.
Make-Ahead Tips and Serving Suggestions
This tart actually improves when made a few hours ahead, which makes it ideal for entertaining because you can focus on other things instead of worrying about timing. You can even assemble it completely the night before, cover it, and bake it fresh the next day—just add a few extra minutes to the baking time since it'll be coming straight from the fridge. Serve it with a green salad dressed in a bright vinaigrette, a chilled glass of Sauvignon Blanc, or both.
- Store leftovers covered in the refrigerator for up to three days and reheat gently in a warm oven so the pastry stays crispy.
- You can freeze the unbaked tart for up to a month—just add a few extra minutes to the baking time and don't thaw it first.
- If white wine isn't your thing, a splash of dry sherry or even vegetable stock works beautifully in place of it.
This tart has become my go-to recipe for the moments when I want to make something that tastes like I spent all day cooking but actually takes just over an hour. It's proof that simple ingredients, when treated with a little care and patience, become something truly memorable.
Questions & Answers
- → What type of mushrooms work best for this tart?
-
Cremini or button mushrooms provide a rich, earthy flavor that complements the caramelized onions well.
- → Can I use homemade pastry instead of ready-made puff pastry?
-
Yes, homemade puff pastry can be used for a fresher taste, but ready-made pastry is a convenient and reliable option.
- → How do I achieve perfectly caramelized onions?
-
Cook the onions slowly over medium heat with butter and oil, stirring often for about 12 minutes until soft and golden.
- → What cheese is recommended for the filling?
-
Gruyère or Swiss cheese melts smoothly and adds a creamy, nutty flavor, but goat cheese or feta can also be used for variation.
- → Can this tart be served warm or at room temperature?
-
Both options work well. Letting it cool slightly enhances the flavors and texture before slicing.
- → Is there a way to add extra flavor to the mushroom mixture?
-
Adding a splash of white wine while cooking mushrooms can deepen the flavor complexity.