These golden, flaky puff pastry squares hide a jammy layer of slow-cooked caramelized onions under a creamy, slightly tangy cheese topping. They look bakery-made, taste like a French onion tart in handheld form, and disappear the second they hit the table.
If you have a sheet of puff pastry and a couple of onions, you can make them. No special tin. No mixer. Just a hot oven and a little patience while the onions turn deep mahogany.
Why You’ll Love These Pastry Squares
Flaky, buttery pastry with a shatter-crisp top
Sweet-savory caramelized onion filling that tastes slow-cooked, not raw
Creamy cheese layer that browns into golden spots
Perfect as an appetizer, brunch bake, or light dinner with salad
Easy to cut into clean squares for parties
Make-ahead friendly — caramelize the onions the day before
Ingredients
For the caramelized onions
3 large yellow onions, thinly sliced
2 tablespoons unsalted butter
1 tablespoon olive oil
1 teaspoon sugar (helps the color)
½ teaspoon salt
¼ teaspoon black pepper
1 teaspoon fresh thyme leaves (or ½ teaspoon dried)
1 tablespoon balsamic vinegar (optional, for extra depth)
For the pastry
- 1 sheet puff pastry (about 250–275 g), thawed but still cold
- 1 egg, beaten with 1 teaspoon water (egg wash)
For the cheese topping
- 150 g cream cheese, softened
- 80 g grated Gruyère or mozzarella
- 40 g grated Parmesan
- 1 small garlic clove, minced (optional)
- Pinch of salt and black pepper
- Extra thyme or cracked pepper for the top
Optional additions
- A spoon of Dijon mustard brushed on the pastry before the onions
- Crumbled goat cheese instead of cream cheese
- A few drops of Worcestershire in the onions
- Chili flakes if you like heat
How to Make Caramelized Onion & Cheese Puff Pastry Squares
Caramelize the onions.
Melt butter and olive oil in a wide pan over medium-low heat. Add the sliced onions, salt, and sugar. Cook slowly, stirring every few minutes, for 30–40 minutes until deep golden-brown and jammy. Do not rush this step on high heat or they will burn instead of sweeten. Stir in thyme and balsamic vinegar in the last 2 minutes. Cool completely.
Heat the oven.
Preheat to 200°C (400°F). Line a baking sheet with parchment.
Prep the pastry.
Unfold the cold puff pastry on a lightly floured surface. Roll it just enough to even the edges, then cut into 6 equal squares (or rectangles). Transfer to the baking sheet, leaving space between them. Score a thin border about 1 cm from the edge of each square — do not cut all the way through. This helps the edges puff up around the filling.
Mix the cheese topping.
In a bowl, beat the cream cheese until smooth. Fold in Gruyère, Parmesan, garlic, salt, and pepper.
Assemble.
Spoon a generous layer of cooled caramelized onions inside the scored border of each square. Spread or dollop the cheese mixture on top of the onions, leaving the pastry border clean. Brush the borders with egg wash.
Bake.
Bake 18–22 minutes, until the pastry is deep golden, puffed, and the cheese is bubbling with browned spots. If the tops brown too fast, tent loosely with foil for the last few minutes.
Rest and serve.
Let the squares sit 5 minutes so the filling sets. Serve warm.
How to Keep Them Crisp
Serve soon after baking. If they sit, the steam from the onions softens the base. For a crisper bottom, bake on a preheated baking sheet or a pizza stone. Reheat leftovers in a 180°C oven for 6–8 minutes — never the microwave if you want the pastry to stay flaky.
How to Serve
- As a starter with a simple green salad and vinaigrette
- On a brunch board with pickles and cold cuts
- Cut into smaller bite-size squares for a party platter
- With a bowl of tomato soup for a cozy lunch
Variations
- French onion soup style: add a splash of beef stock while caramelizing and finish with extra Gruyère
- Mushroom & onion: fold in sautéed mushrooms with the onions
- Spinach & onion: squeeze cooked spinach very dry and mix into the cheese
- Sweet-savory: a thin smear of fig jam under the onions
- Mini version: cut the pastry into 12 small squares and reduce bake time by 3–4 minutes
Tips for Perfect Squares
- Keep the pastry cold until it goes in the oven. Warm pastry slumps instead of puffing.
- Cool the onions fully. Hot filling melts the pastry from underneath.
- Do not overload. Too much filling leaks and sogs the edges.
- Use a sharp knife for clean cuts after baking.
- If your pastry was frozen, thaw overnight in the fridge, not on the counter.
Make-Ahead, Freeze & Store
Caramelized onions: cook up to 3 days ahead and refrigerate in an airtight container. They also freeze well for 2 months.
Assembled unbaked squares: assemble, freeze on a tray until solid, then bag. Bake from frozen at 200°C, adding 4–6 minutes.
Baked leftovers: refrigerate up to 3 days. Reheat in a hot oven until the pastry sings again.
Freezing baked squares is possible but the pastry will never be quite as crisp as day one.
FAQ
Can I use red onions?
Yes. They caramelize beautifully and give a slightly sweeter, deeper color.
Can I use store-bought caramelized onion relish?
You can in a pinch, but drain it well and taste for sweetness. Homemade onions make the 9/10 version.
What cheese works best?
A mix of cream cheese (for the creamy layer you see in the photo) plus a melting cheese like Gruyère or mozzarella, finished with Parmesan for the golden crust.
Can I make this without puff pastry?
Puff pastry is what gives the flaky, bakery look. Shortcrust will work but it will be more like a classic tart, not these puffed squares.
Why did my pastry stay pale?
Oven not hot enough, or the pastry was too warm going in. Always start with a fully preheated oven.
Are these vegetarian?
Yes, as written. Check the puff pastry brand — some use butter, some use vegetable fat.
Final Thoughts
These squares look like you bought them from a pastry case, but they are weeknight-possible once the onions are done. The contrast is the whole point: sticky-sweet onions, cool-tangy cheese, and that shattering golden lid. Rate them a solid 9/10 — they lose one point only because caramelizing onions asks for time you cannot skip.
Make a double batch of onions. You will want these again tomorrow.
Printable Recipe Card
Caramelized Onion & Cheese Puff Pastry Squares
Prep time: 20 minutes
Cook time: 50–60 minutes (includes onion caramelizing)
Total time: about 1 hour 15 minutes
Servings: 6 squares
Rating: 9/10
Ingredients
- 3 large yellow onions, sliced
- 2 tbsp butter + 1 tbsp olive oil
- 1 tsp sugar, ½ tsp salt, thyme
- 1 tbsp balsamic vinegar (optional)
- 1 sheet puff pastry, cold
- 1 egg for wash
- 150 g cream cheese
- 80 g Gruyère or mozzarella
- 40 g Parmesan
Method
- Caramelize onions 30–40 min on medium-low. Cool.
- Heat oven to 200°C. Cut pastry into 6 squares. Score a border.
- Mix cheeses. Top each square with onions, then cheese. Egg-wash borders.
- Bake 18–22 min until deep golden.
- Rest 5 min. Serve warm.