Tasty Onion Gruyere Tart

Featured in: Hearty Meals and Dinner Favorites

This fancy savory tart blends slowly cooked onions with creamy Gruyere cheese in a flaky pastry shell. The onions cook on low heat until they turn golden and develop their natural sweetness, then they're mixed with a rich egg mixture and plenty of nutty cheese. You can add bacon for an extra smoky kick.

The key is taking your time with the onions - about 50 minutes total for that perfect sweetness. Baking the crust first makes sure it stays crisp under the filling. Enjoy it warm with a simple green salad for a tasty meal that's great for breakfast, lunch or dinner.

A woman in a kitchen smiling.
By Chloe Chloe
Updated on Thu, 17 Apr 2025 21:21:09 GMT
A slice of pizza with onions and cheese. Pin it
A slice of pizza with onions and cheese. | cookitdelish.com

This onion and gruyère pastry turns basic items into a classy meal that could fool you into thinking you're dining at a French cafe. The real wonder begins as onions slowly turn into sweet, golden threads that work so well with the rich, nutty gruyère.

I whipped this tart up the first time when hosting friends and needed something I could fix beforehand. They were so blown away they asked which bakery I'd gotten it from. Now it's my top pick when I want to look fancy without breaking a sweat.

Ingredients

  • Pie crust: Grab one from the store to save time, or make your own for extra flakiness if you've got 15 minutes to spare
  • Large onions: They're the main attraction here, so pick sweet ones like Vidalia or yellow for the tastiest results
  • Butter: Go for unsalted so you can add just the right amount of salt yourself
  • Olive oil: Helps stop the butter from burning while the onions slowly cook down
  • Gruyère cheese: Treat yourself to a nicely aged one for that deep nutty flavor
  • Eggs: They hold everything together and make the filling nice and custardy
  • Heavy cream: Brings a smooth, rich feel to every mouthful
  • Fresh thyme leaves: Gives an earthy smell that balances out the richness
  • Bacon pieces: You can skip this, but they add a tasty smoky twist against the sweet onions
  • Salt and pepper: Basic seasonings that make all the other flavors pop

Step-by-Step Instructions

Prepare The Bacon:
Fry your bacon pieces in a big skillet until they're golden and crunchy, about 5-7 minutes on medium heat. The fat melts away, leaving tasty crispy bits that'll give your tart some crunch. Put them on paper towels but keep some of that bacon fat for later.
Caramelize The Onions:
Drop some butter into that same pan with a bit of the saved bacon fat. Throw in your thinly cut onions and cook them on medium for around 10 minutes, stirring often until they start to soften. Then turn down the heat and let them cook slowly for another 40 minutes. This long, slow process brings out all the natural sweetness in the onions. Don't rush this part—the darker they get, the richer your tart will taste.
Prepare The Crust:
Roll your dough out and lay it carefully in your tart pan, pushing it gently into the edges. Poke the bottom all over with a fork so it won't puff up. Cover with parchment and pour in some baking weights or dried beans. Bake at 375°F for 15 minutes, then take out the weights and give it 5 more minutes until it looks slightly golden.
Assemble The Filling:
Scatter a thick layer of grated Gruyère on the warm crust, which keeps it from getting soggy. Spread your sweet onions evenly on top of the cheese. In another bowl, mix up eggs, heavy cream, and thyme until they're well blended, then pour this mix over everything, letting it seep into all the spaces.
Bake To Perfection:
Sprinkle more Gruyère on top and add your bacon bits. Bake in your hot oven for 25-30 minutes until the middle is set and the top turns a nice golden brown. You'll know it's done when the center barely moves when you give the pan a little shake.
Allow To Rest:
Let your tart cool for at least 10 minutes before cutting into it. This waiting time lets everything firm up for prettier slices. The flavors also get better during this rest.
A slice of pie on a white plate. Pin it
A slice of pie on a white plate. | cookitdelish.com

The onions truly make this dish special. My French grandma taught me that you can't hurry good caramelization. She'd spend her Sunday afternoons slowly cooking onions for meals throughout the week, watching them change from sharp and strong to meltingly sweet. Their smell would drift through the whole house, promising good food was coming soon.

Storage Solutions

This tart stays good in the fridge for up to three days. Just wrap it tight with plastic once it's totally cool. When you want to eat it, heat slices in a 350°F oven for about 10 minutes till they're warm through. You can use the microwave too, but the oven keeps the crust crispier.

Creative Variations

You can switch up this basic tart in so many ways. Try using goat cheese instead of Gruyère and add some sweet cooked pears for a different twist. Or go for a Mediterranean feel with feta, sun-dried tomatoes, and some oregano sprinkled on top. To make it more filling, mix in some cooked mushrooms or roasted red peppers. Each change gives you a whole new dish while keeping that comforting base.

Perfect Pairings

Enjoy this tart with a spicy arugula salad dressed with just lemon and olive oil. The tangy greens cut through the richness really well. For a fancy brunch, add a glass of light white wine like Sauvignon Blanc or a mild rosé. The mix of the tart's deep flavors with the wine's brightness makes for a really balanced, classy meal.

A slice of pizza with onions and cheese. Pin it
A slice of pizza with onions and cheese. | cookitdelish.com

This tart brings together fancy dining and comfort food in one dish. It'll surely become a staple in your kitchen!

Frequently Asked Questions

→ How long does it take to caramelize onions properly?

Good onion caramelization needs about 50 minutes all up - cook them on medium for the first 10 minutes, then turn down the heat and let them go for another 40 minutes, giving them a stir now and then. This slow method lets the natural sugars in the onions fully develop that sweet, deep flavor you want. If you try to rush it, you'll just get sautéed onions instead of that true caramelized goodness.

→ Can I make this tart ahead of time?

You sure can! Make the whole tart a day early and stick it in the fridge. Or break it down - cook the onions up to 3 days ahead and keep them cold, and get the crust baked a day before. Put it all together when you're ready to bake. Another option is to fully cook the tart, let it cool all the way, then keep it in the fridge for up to 3 days. Just warm it back up in a 350°F oven for about 15 minutes before you serve it.

→ What can I substitute for Gruyere cheese?

No Gruyere around? Try Swiss cheese for a similar but milder nutty taste, or go with Fontina which melts really well and has a gentle flavor. Other good options are Emmental, Jarlsberg, or even a mix of mozzarella for that melty texture and Parmesan for extra flavor punch.

→ What should I serve with this onion tart?

This tart goes really well with a basic green salad with light dressing to cut through the richness. For a bigger meal, add some roasted veggies, a bowl of tomato soup, or a light fruit salad on the side. Drink-wise, try a crisp white wine like Sauvignon Blanc or a lighter red like Pinot Noir.

→ How can I prevent a soggy tart bottom?

To keep that bottom crisp, always pre-bake the crust first with pie weights for 15 minutes, then another 5 minutes without them until it looks golden. A neat trick is to sprinkle some cheese on the bottom of your pre-baked crust before adding the onion mix - it makes a barrier that stops the wet filling from soaking in. Also, let the tart cool for 10-15 minutes after baking so everything can set up nicely before you cut into it.

→ Can I freeze this tart?

Definitely! You can freeze it either before or after baking. For unbaked, get everything ready up to the baking part, wrap it really well in plastic and foil, and pop it in the freezer for up to 3 months. Just thaw it in the fridge overnight before baking. For already-baked tarts, let it cool completely, wrap it tight, and freeze for up to 2 months. Thaw in the fridge and warm it up in a 350°F oven until it's heated through.

Onion Gruyere Tart

Slow-cooked sweet onions paired with rich Gruyere cheese nestled in a flaky pastry for a simple yet fancy savory dish.

Prep Time
20 Minutes
Cook Time
90 Minutes
Total Time
110 Minutes
By Chloe: Chloe

Category: Main Dishes

Difficulty: Intermediate

Cuisine: French

Yield: 8 Servings (1 tart)

Dietary: ~

Ingredients

→ Crust

01 1 store-bought pie shell

→ Filling

02 3 big onions, cut into thin slices
03 2 tablespoons butter
04 1 tablespoon olive oil
05 1 cup shredded gruyere cheese
06 3 eggs
07 1/2 cup heavy cream
08 1 teaspoon fresh thyme leaves
09 Salt and pepper to taste
10 Bacon chunks (if you want)

Instructions

Step 01

Turn your oven on to 375°F (190°C).

Step 02

First, fry bacon chunks in a big skillet until they're crunchy. Put them aside and keep some of the fat.

Step 03

Drop butter into the same skillet with your sliced onions. Cook them over medium heat for 10 minutes, giving them a stir now and then. Turn down the heat and let them cook another 40 minutes until they're brown and sweet. Add some salt and pepper.

Step 04

Spread out your dough and fit it into a tart dish. Poke holes in the bottom with a fork and bake it for 15 minutes with baking weights. Take the weights out and bake 5 more minutes till it's got a golden color.

Step 05

Layer Gruyère cheese on the bottom of the crust. Pile the browned onions on next. In a bowl, whisk eggs, cream, and thyme together. Pour this mix over the onions.

Step 06

Scatter more Gruyère and the bacon bits on top. Stick it in the oven for 25-30 minutes until it's firm and the surface is golden.

Step 07

Let your tart sit and cool a bit before you cut into it.

Notes

  1. Slice your onions super thin so they'll brown evenly
  2. Take your time with browning the onions - you can't rush good flavor
  3. Try adding a bit of balsamic vinegar to your onions for extra tastiness
  4. Make sure your crust is fully baked before adding wet stuff or it'll get soggy
  5. Wait about 10-15 minutes before cutting so you'll get neater slices
  6. Pop leftover tart in the fridge in a sealed container and eat within 3 days
  7. Warm up slices in a 350°F oven for around 10 minutes
  8. You can freeze uncooked tarts for up to 3 months

Tools You'll Need

  • Big frying pan
  • Tart dish
  • Baking weights
  • Mixing bowl

Allergy Information

Please check ingredients for potential allergens and consult a health professional if in doubt.
  • Has dairy
  • Has eggs
  • Has gluten
  • Has pork (when using bacon)