A buttery short-crust tart filled with slow-cooked caramelized onions, Gruyère, and a firm, sliceable custard. Make-ahead friendly for dinner parties.
This tart is built around one long, slow process: three pounds of yellow onions cooked down to about a cup of dark, jammy mass. That reduction — 45-plus minutes of stirring over medium-low heat — is what separates this from a quiche that just happens to have onions in it. The Dijon mustard brushed over the blind-baked shell isn't optional; it seals the pastry against the wet filling and sharpens the savory base note in a way that you'll notice if you skip it.
The finished tart has a short, buttery crust, a custard that sets firm enough to slice cleanly, and a top layer of Gruyère that goes properly golden in the oven. It's a dinner party centerpiece that can be made almost entirely ahead — the dough and onions the day before, the final bake the afternoon of. Serve it at room temperature with a sharp green salad. If your custard puffs dramatically and then sinks in the center, the oven was too hot — 325°F is the ceiling.
🛒 Links may earn us a small commission at no cost to you.
🛒 We may earn a small commission at no extra cost to you. We only recommend gear we'd use ourselves.
A simple frisée or arugula salad dressed with a sharp Dijon vinaigrette cuts through the richness of the custard and cheese. The bitterness of the greens does the work that a squeeze of lemon can't quite do on its own. Avoid sweet dressings — they'll fight the caramelized onion sweetness already in the tart.
For wine, go with an Alsatian Pinot Gris or a dry Riesling from the Mosel. Both have enough acidity to balance the cream and Gruyère without overwhelming the delicate thyme. A white Burgundy or unoaked Chardonnay works well too. If you prefer red, a light Pinot Noir — something from Oregon or Burgundy, not a fruit-forward California bottle — is the move. The tannins stay out of the way.
For a non-alcoholic option, a sparkling water with a slice of lemon and a splash of white grape juice approximates the acidity you'd get from wine without going sweet.
On the bread side, a few slices of sourdough or a simple baguette are all you need. The crust on this tart is already substantial, so skip anything too dense or enriched — brioche would be redundant here.
This recipe is already vegetarian as written. To make it gluten-free, substitute a 1:1 gluten-free flour blend like Bob's Red Mill 1-to-1 for the all-purpose flour in the crust. The texture will be slightly more crumbly and less flaky — chill the dough longer (at least 2 hours) and handle it minimally. Use a tart pan with a removable bottom and don't attempt to free-hand transfer the dough; press it directly into the pan.
For a dairy-free version, use Miyoko's vegan butter in the crust (same weight) and substitute full-fat oat milk blended with 2 teaspoons of cornstarch for the heavy cream. The custard will be looser but will still set. Omit the Gruyère or use a dairy-free shredded Swiss-style cheese — Violife makes a reasonable one. The flavor won't be identical, but the tart will hold together.
Flavor variants worth trying: swap the Gruyère for aged Comté for a nuttier, slightly more complex finish. In fall, add a handful of thinly sliced roasted mushrooms (cremini or shiitake) layered over the onions before pouring the custard. A pinch of smoked paprika in the custard instead of nutmeg shifts the whole profile in a different direction. For scaling, this recipe fits a standard 9-inch tart pan. To make individual tarts in 4-inch pans, reduce bake time for the custard to 20-25 minutes and watch for the same wobble cue.
Yes — it's well-suited to advance prep. The pastry dough can be made up to 3 days ahead and refrigerated, or frozen for up to 2 months. The caramelized onions keep in the fridge for 3 days. You can also blind-bake the shell a day ahead and store it at room temperature, loosely covered.
Wrap leftover slices in plastic wrap or store in an airtight container in the refrigerator for up to 3 days. The crust softens slightly after the first day but the flavor holds well. Bring slices to room temperature before serving or reheat briefly in the oven.
A 300°F oven for 10-12 minutes is the best method — it revives the crust without overcooking the custard. Avoid the microwave; it makes the pastry rubbery and the custard weeps. A toaster oven on a low setting also works well for individual slices.
You can, though the custard texture degrades slightly after freezing and thawing. If you do freeze it, cool it completely first, then wrap the whole tart or individual slices tightly in plastic and then foil. Freeze for up to 6 weeks. Thaw overnight in the refrigerator and reheat in a 300°F oven.
A 9-inch pie plate works in a pinch — you won't get the clean fluted edges, but the recipe functions the same way. Don't try to unmold it from a standard pie plate; just slice and serve directly from the dish. The bake times remain the same.
A refrigerated all-butter pie crust like Trader Joe's or Dufour works, though it won't have quite the same snap or flavor as the homemade Kerrygold version. If you use store-bought, still blind-bake it and brush it with Dijon before filling — those steps matter regardless of the crust source.
Most likely the heat is too low or the pan is too crowded for moisture to escape. Make sure you're using a full 12-inch skillet. If the onions are steaming rather than browning, increase the heat slightly and stir less frequently so they make contact with the pan. Patience matters more here than technique — 45 minutes is a realistic minimum.
Comté is the closest substitute and actually has a slightly deeper, nuttier flavor. Emmental works but is milder. Fontina melts beautifully but is less sharp. Avoid fresh mozzarella — it releases too much water and will make the top of the custard wet.
The edges should be set and lightly puffed, and the Gruyère on top should be golden with some darker spots. The center should have a small, uniform wobble when you shake the pan — not sloshing, just a gentle jiggle. If the whole surface moves as liquid, give it another 5 minutes.
The wine is primarily used to deglaze the fond, so the alcohol cooks off almost immediately and what remains is acidity. A dry vermouth works well as a substitute. If you need to avoid alcohol, use 2 tablespoons of low-sodium chicken or vegetable broth plus a teaspoon of white wine vinegar to approximate the same effect.
Daily Home Cookery is self-funded. If something you cooked here made dinner a little better, a coffee keeps the kitchen running.
☕ Buy me a coffee
Brown butter adds deep, nutty flavor to these chewy chocolate chip cookies. Chilled dough, flaky sea salt finish, and a 12-minute bake.
Crusty, chewy Dutch oven bread with just flour, salt, yeast, and water. Mix it the night before — no kneading, no fuss. Step-by-step with troubleshooting tips.
A thick, smoky black bean soup made in one Dutch oven in 30 minutes. Partial blending gives it a creamy-chunky texture. Great for weeknights and meal prep.