If you are looking for an appetizer that feels impressive but is secretly simple, this caramelized onion tart is about to become your new signature dish. Golden, flaky puff pastry cradles a spoonful of deeply caramelized onions and a generous layer of nutty, melty Gruyere, all baked into perfect little bite-sized squares. One taste and you will feel like you have been whisked away to a charming French café, no passport required.
These tartlets were born from a late-night craving and a refrigerator raid, and they have since earned a permanent place on my entertaining menu. They have appeared at wine nights, tucked into lunchboxes, and even played the role of a Thanksgiving appetizer. The flavors are classic and comforting, the technique is forgiving, and the results look far fancier than the effort suggests.
Why You’ll Love This Recipe
The magic of this recipe lies in its balance of ease and elegance. From start to finish it takes under an hour, and much of that time is hands-off while the onions slowly caramelize on the stove. There is no need for special pans or advanced pastry skills; a sheet of store-bought puff pastry does all the heavy lifting for that irresistibly flaky, buttery base.
It is also wonderfully make-ahead friendly, which makes it a lifesaver when you are entertaining. You can assemble the tartlets in advance and bake them right before guests arrive, or bake them fully and simply reheat to bring back their crisp edges. Whether served warm from the oven or at room temperature on a grazing board, they hold their charm beautifully.
Then there is the flavor itself. Sweet, jammy onions play against the savory, slightly funky depth of Gruyere, while a whisper of fresh thyme ties everything together. It is the kind of combination that has people quietly reaching for a second, and then a third, before they even realize it.
Ingredients
The foundation of this caramelized onion tart is the onions themselves. You will need two large yellow onions, thinly and evenly sliced so they cook down uniformly, along with two tablespoons of unsalted butter to start them off and one teaspoon of sugar to coax out their natural sweetness as they caramelize. A pinch of salt at the beginning helps draw out their moisture.
For the base, reach for one sheet of thawed puff pastry, keeping it cold right up until you use it for the flakiest possible results. The star of the topping is one cup of shredded Gruyere cheese, prized for its nutty, melting quality, though Swiss or white cheddar make fine substitutes if Gruyere is hard to find. A single beaten egg gives the pastry edges a glossy, golden egg wash.
To finish, you will want one teaspoon of fresh thyme leaves, or half a teaspoon dried, plus salt and freshly cracked pepper to taste. If you want to add another layer of depth, a splash of balsamic vinegar stirred into the onions near the end works beautifully, though it is entirely optional.

Step-by-Step Instructions
Begin by preheating your oven to 400°F (200°C) and lining a baking sheet with parchment paper. Then turn your attention to the onions, which are the most time-consuming part but also the most rewarding. Melt the butter in a large skillet over medium heat, add the sliced onions with a pinch of salt, and cook, stirring occasionally, for about 25 to 30 minutes until they are deeply golden and jammy. Around the 20-minute mark, stir in the teaspoon of sugar to boost the caramelization, and if you like, add a teaspoon of balsamic vinegar for extra richness.
While the onions work their magic, roll out your puff pastry on a lightly floured surface and cut it into nine squares of roughly three by three inches. Using a knife, lightly score a quarter-inch border inside each square without cutting all the way through; this creates a raised, puffed edge as it bakes. Transfer the squares to your prepared baking sheet and brush the borders with the beaten egg.
Once the onions are done, stir in the fresh thyme and season with salt and pepper, then let them cool slightly. This brief rest matters, because piling piping-hot onions onto raw pastry can make it soggy. Spoon a mound of caramelized onions onto each pastry square, staying inside the scored border, and top with a generous sprinkle of Gruyere.
Bake the tartlets for 18 to 22 minutes, until the pastry is puffed and golden and the cheese is bubbly with lightly browned edges. Let them cool for about five minutes before serving warm, or allow them to cool completely if you are prepping ahead. The whole process, from first slice of onion to first delicious bite, comes together in about 45 minutes.

Tips for the Best Caramelized Onion Tart
Patience is everything when it comes to the onions. Resist the urge to crank up the heat to speed things along, because low and slow is what transforms sharp raw onion into something sweet and almost jam-like. If they start to stick or brown too quickly, add a small splash of water and lower the heat; you want a rich mahogany color, not scorched edges.
Keeping your puff pastry cold is the other secret to success. Warm pastry turns greasy and loses its lift, so work quickly and, if your kitchen is hot, pop the cut squares back into the fridge for a few minutes before topping them. A pizza cutter or bench scraper makes slicing the pastry into neat squares effortless. If you love easy, crowd-pleasing starters like this, you might also enjoy our mini cheese balls with herbs and nuts or these fresh caprese skewers with balsamic glaze.
For a truly showstopping finish, brush the baked tartlets with a little olive oil straight out of the oven to give them a glossy sheen. Garnish with extra thyme, a scattering of arugula, or even a few crispy bits of bacon or prosciutto, and pair them with sparkling wine or a dry cider for a match made in appetizer heaven.
Kitchen Gear for This Recipe
- Instant-Read Meat Thermometer
- Enameled Cast Iron Dutch Oven
- Heavy-Duty Sheet Pan Set
- Glass Mixing Bowl Set
As an Amazon Associate, The Kitchen’s Aid earns from qualifying purchases at no extra cost to you.
Frequently Asked Questions
Can I make these ahead of time?
Absolutely. You can assemble the tartlets up to a day in advance and bake them right before serving, or bake them completely, refrigerate, and reheat in the oven to crisp them back up.
Can I freeze them?
Yes. Freeze the unbaked assembled tartlets on a tray, then transfer them to a zip-top bag once solid. Bake straight from frozen, adding about five extra minutes to the baking time.
What if I don’t have puff pastry?
You can use phyllo dough or even pie crust cut into rounds. The texture will be a little different, but the tartlets will still be delicious.
What can I use instead of Gruyere?
Swiss cheese or a good white cheddar both melt well and offer a similar savory quality. For a tangy twist, try goat cheese, or mix it with the Gruyere.
How do I keep the pastry from getting soggy?
Let the caramelized onions cool slightly before topping the pastry, and avoid overloading each square. Keeping the filling inside the scored border and the pastry cold before baking also helps it stay crisp.
These little tartlets prove that elegant entertaining does not have to be complicated, and they pair wonderfully with a spread of other feel-good bites and healthy eating ideas. If you give this caramelized onion tart a try, I would love to see it, so tag @thekitchensaid on Instagram and share your beautiful creations with us.
Caramelized Onion Tart with Gruyere
French · Appetizer

Flaky puff pastry tartlets topped with deeply caramelized onions and nutty Gruyere cheese, an easy and elegant make-ahead appetizer.
Ingredients
- 2 tablespoons unsalted butter
- 2 large yellow onions, thinly sliced
- 1 teaspoon sugar
- 1 sheet puff pastry, thawed
- 1 cup shredded Gruyere cheese
- 1 teaspoon fresh thyme leaves
- 1 egg, beaten
- Salt and pepper to taste
Instructions
- Preheat oven to 400F (200C) and line a baking sheet with parchment paper.
- Melt butter in a skillet, add sliced onions and a pinch of salt, and cook 25 to 30 minutes until deeply caramelized, adding sugar around the 20-minute mark.
- Roll out puff pastry, cut into 9 squares, and score a quarter-inch border on each. Brush borders with beaten egg.
- Stir thyme into the cooled onions and season. Top each pastry square with onions and Gruyere inside the border.
- Bake 18 to 22 minutes until puffed and golden. Cool 5 minutes and serve warm or at room temperature.
Nutrition: 190 calories
Made this? Rate it







