Caramelized Onion Gruyere Tart

Featured in: Weekend Comfort Plates

This savory tart combines slowly caramelized onions with the nutty richness of Gruyere cheese, all nestled within a crisp, buttery puff pastry. The onions are gently cooked with butter, olive oil, and thyme, creating a deep sweetness that complements the creamy custard filling made from eggs, cream, and a hint of nutmeg. After assembling, the tart bakes to a golden perfection, offering a harmonious balance of textures and flavors. Ideal for a refined brunch or light meal.

Updated on Mon, 16 Feb 2026 11:13:00 GMT
Caramelized onion and Gruyere tart with golden flaky crust, showcasing sweet onions and melted cheese in elegant layers.  Pin it
Caramelized onion and Gruyere tart with golden flaky crust, showcasing sweet onions and melted cheese in elegant layers. | fungeniusrecipe.com

There's something almost meditative about watching onions transform in a hot pan—that moment when they shift from sharp and raw to glossy amber ribbons is pure kitchen magic. My friend Sophie brought this tart to a summer potluck years ago, and I remember being struck by how something so simple (just onions, cheese, and pastry) could taste so refined. The first bite made me understand why the French have spent centuries perfecting it. I've been making it ever since, and it never fails to impress, whether I'm feeding a crowd or treating myself to a sophisticated lunch.

I'll never forget the afternoon my partner came home to find our kitchen wrapped in the smell of caramelizing onions and buttery pastry. He walked in, paused, and just said 'is that for me?' Before I could answer, he'd already pulled up a stool to wait. We ended up eating it fresh from the oven with a salad and a glass of Sauvignon Blanc while the sun was still high, and it became our default 'let's make something special but not complicated' dinner.

What's for Dinner Tonight? 🤔

Stop stressing. Get 10 fast recipes that actually work on busy nights.

Free. No spam. Just easy meals.

Ingredients

  • Puff pastry (1 sheet, 9-inch round): Thaw it properly—patience here means a crispy, shattered crust that feels luxurious.
  • Unsalted butter (2 tablespoons) and olive oil (2 tablespoons): The combination gives you richness and prevents the onions from sticking; don't skip either one.
  • Yellow onions (4 large, thinly sliced): Large onions caramelize more evenly, and thin slicing means they cook down faster without burning.
  • Salt (1 teaspoon), black pepper (1/2 teaspoon), sugar (1 teaspoon): The sugar isn't about sweetness—it coaxes out the onions' natural sugars and deepens the browning.
  • Fresh thyme (2 teaspoons) or dried thyme (1 teaspoon): Add it near the end so it stays fragrant and doesn't turn bitter.
  • Eggs (3 large), heavy cream (1 cup), whole milk (1/2 cup): This custard base is what makes it tender inside—the ratio matters for the right texture.
  • Ground nutmeg (1/4 teaspoon): A whisper of nutmeg in the custard feels unexpected and sophisticated.
  • Gruyere cheese (1 1/2 cups, grated): The nuttiness of Gruyere is essential; it's worth buying a block and grating it fresh if you can.
  • Dijon mustard (1 tablespoon): This thin layer adds a subtle tang that keeps the filling from tasting one-note.

Tired of Takeout? 🥡

Get 10 meals you can make faster than delivery arrives. Seriously.

One email. No spam. Unsubscribe anytime.

Instructions

Product image
Quickly chop vegetables, mince herbs, and blend sauces for faster, everyday meal preparation.
Check price on Amazon
Prepare your canvas:
Preheat your oven to 375°F and fit the thawed puff pastry into your tart pan, letting it settle naturally into the corners. Prick the base all over with a fork—this stops it from puffing dramatically—then slide it into the refrigerator while you work on the filling. This chill time is non-negotiable; it keeps the pastry crisp.
Coax the magic from onions:
Heat butter and olive oil in a large skillet over medium-low, then add your sliced onions with the salt, pepper, and sugar. This is where patience becomes your greatest ingredient—stir frequently as they cook down, watching them go from pale to golden to deep mahogany brown over 30 to 35 minutes. Toss in the thyme in the final 5 minutes, then set aside to cool slightly while you prep the custard.
Build the custard foundation:
Whisk together eggs, heavy cream, milk, nutmeg, salt, and pepper in a bowl until the mixture is smooth and homogeneous. Don't overthink it—just make sure everything is incorporated.
Layer and fill:
Brush the base of your chilled pastry shell lightly with Dijon mustard, then spread the cooled caramelized onions in an even layer. Sprinkle the grated Gruyere evenly over the onions, then pour the custard mixture slowly and carefully over everything, letting it settle into the gaps.
Bake until golden:
Slide the tart into your preheated oven and bake for 35 to 40 minutes, until the custard is set (it should jiggle just slightly in the very center when you give the pan a gentle shake) and the top is a deep golden brown. When you pull it out, the smell is absolutely intoxicating.
Rest before serving:
Let the tart rest for 10 minutes—this allows the custard to firm up just enough to slice cleanly while still being tender. Slice into wedges and serve warm, room temperature, or even chilled.
Rich savory tart featuring slow-cooked caramelized onions and nutty Gruyere cheese baked in buttery pastry for a gourmet brunch centerpiece.  Pin it
Rich savory tart featuring slow-cooked caramelized onions and nutty Gruyere cheese baked in buttery pastry for a gourmet brunch centerpiece. | fungeniusrecipe.com

This tart has become my go-to when I need to feel like I've done something impressive without actually spending the whole day in the kitchen. There's something grounding about the ritual of slow-cooking onions on a quiet morning—it's the kind of food that makes an ordinary Tuesday feel a little more intentional.

Still Scrolling? You'll Love This 👇

Our best 20-minute dinners in one free pack — tried and tested by thousands.

Trusted by 10,000+ home cooks.

The Secret of Slow Onions

Caramelizing onions properly is less about technique and more about respecting their timeline. Low heat and frequent stirring prevent them from burning while allowing their natural sugars to concentrate and deepen into something complex and almost wine-like. I've found that adding the sugar early helps them brown more evenly, creating that beautiful mahogany color that makes you know you've done it right. The thyme goes in at the very end precisely because if it cooks too long, it turns sharp and bitter—a small moment of timing that shifts everything.

Why This Works as Brunch and Dinner

The elegance of this tart is that it doesn't shout—it whispers. Serve it warm at brunch with fresh greens and mimosas, or cool it to room temperature and pair it with a crisp salad and wine for a casual dinner. The custard stays tender and the pastry stays flaky regardless of temperature, which means you can make it hours ahead without worrying. I've even sliced leftovers cold straight from the refrigerator and found them oddly satisfying with a cup of tea the next morning.

Variations and Wine Pairings

While I adore the purity of onion and Gruyere, this tart welcomes gentle additions and substitutions. A splash of white wine stirred into the onions during their final minutes adds a subtle depth, or try swapping the Gruyere for Emmental or even aged Swiss cheese—both work beautifully. The mustard can be adjusted to your taste, and some people add crispy bacon or prosciutto between the onions and custard, though I prefer it vegetarian to let the caramelization shine. As for wine, a Sauvignon Blanc or Chablis feels perfect alongside a slice.

  • If you're feeling adventurous, add a tablespoon of white wine to the onions in their final minutes of cooking.
  • Don't oversalt the onions during caramelization—you'll add more salt in the custard, and Gruyere itself is already quite salty.
  • Make the tart up to a day ahead and reheat it gently in a 300°F oven for 10 minutes if you prefer it warm.
Product image
Stir sauces, sauté vegetables, and serve meals gently while adding a charming touch to everyday cooking.
Check price on Amazon
Warm caramelized onion and Gruyere tart fresh from the oven, with bubbly cheese and golden crust ready to slice and serve. Pin it
Warm caramelized onion and Gruyere tart fresh from the oven, with bubbly cheese and golden crust ready to slice and serve. | fungeniusrecipe.com

This tart reminds me that sometimes the most satisfying meals are built on patience and a handful of quality ingredients. Make it, share it, and watch people's faces light up at that first bite.

Recipe FAQs

How do you achieve perfectly caramelized onions for this tart?

Cook thinly sliced onions slowly over medium-low heat with butter and olive oil, stirring frequently, until deep golden and sweet—about 30-35 minutes.

Can I substitute Gruyere with another cheese?

Yes, Emmental or Swiss cheese work well as alternatives, offering similar meltability and nutty flavor.

What is the best type of pastry to use?

Store-bought puff pastry provides a flaky, buttery base that complements the tart’s filling perfectly.

How do I prevent the pastry from becoming soggy?

Prick the chilled pastry base with a fork before adding fillings and brush with Dijon mustard to create a barrier that helps retain flakiness.

Can this tart be enjoyed warm or cold?

It’s best served warm, allowing the filling to be creamy and the flavors at their peak, though it can also be enjoyed at room temperature.

20-Minute Dinner Pack — Free Download 📥

10 recipes, 1 shopping list. Everything you need for a week of easy dinners.

Instant access. No signup hassle.

Caramelized Onion Gruyere Tart

Flaky tart featuring slow-cooked onions and creamy Gruyere in a buttery pastry, ideal for brunch or light lunch.

Prep time
25 minutes
Cook time
55 minutes
Complete time
80 minutes
Created by Fungeniusrecipe Chloe Anderson

Recipe category Weekend Comfort Plates

Skill level Medium

Cuisine type French

Portions 6 Number of servings

Dietary details Meatless

What You Need

Pastry

01 1 sheet (9-inch) thawed puff pastry

Caramelized Onions

01 2 tablespoons unsalted butter
02 2 tablespoons olive oil
03 4 large yellow onions, thinly sliced
04 1 teaspoon salt
05 1/2 teaspoon freshly ground black pepper
06 1 teaspoon sugar
07 2 teaspoons fresh thyme leaves

Filling

01 3 large eggs
02 1 cup heavy cream
03 1/2 cup whole milk
04 1/4 teaspoon ground nutmeg
05 1/2 teaspoon salt
06 1/4 teaspoon freshly ground black pepper
07 1 1/2 cups grated Gruyere cheese
08 1 tablespoon Dijon mustard

How to Make

Step 01

Prepare Oven and Pastry: Preheat oven to 375°F. Roll out puff pastry and fit into 9-inch tart pan with removable bottom. Trim excess and prick base with fork. Refrigerate while preparing filling.

Step 02

Caramelize Onions: In large skillet over medium-low heat, melt butter with olive oil. Add sliced onions, salt, pepper, and sugar. Cook, stirring frequently, for 30-35 minutes until golden brown and deeply caramelized. Add thyme during final 5 minutes. Cool slightly.

Step 03

Prepare Custard Filling: In mixing bowl, whisk together eggs, heavy cream, milk, nutmeg, salt, and pepper until smooth and fully combined.

Step 04

Assemble Tart: Brush chilled pastry base with Dijon mustard. Spread caramelized onions evenly over base. Sprinkle grated Gruyere cheese over onions. Pour egg custard mixture evenly over cheese and onions.

Step 05

Bake and Cool: Bake for 35-40 minutes until filling is set and top is golden brown. Remove from oven and cool for 10 minutes before slicing and serving.

You Just Made Something Great 👏

Want more like this? Get my best easy recipes — free, straight to your inbox.

Join 10,000+ home cooks. No spam.

Equipment needed

  • 9-inch tart pan with removable bottom
  • Rolling pin
  • Large skillet
  • Mixing bowls
  • Whisk
  • Knife and cutting board

Allergy details

Don’t forget to check each item for allergens. Talk to a healthcare professional if you’re unsure.
  • Contains milk
  • Contains eggs
  • Contains wheat gluten
  • May contain traces of nuts or soy

Nutrition (each serving)

These nutrition facts are for reference only. Always consult an expert for medical advice.
  • Calorie count: 410
  • Fat content: 29 g
  • Carbohydrates: 26 g
  • Protein content: 13 g

Cooking Shouldn't Be Hard ❤️

Get a free recipe pack that makes weeknight dinners effortless. Real food, real fast.

Free forever. Unsubscribe anytime.