Onion Confit Recipe: How to Make Confit d'Oignon
Written by MasterClass
Last updated: Mar 16, 2026 • 2 min read
It is simple to make tender, caramelized onion confit. This multiuse condiment can serve as a topping for fish and poultry dishes or an addition to a cheese board.
Learn From the Best
What Is Onion Confit?
Onion confit, also known as confit d'oignon, is a dish of slow-roasted onions in olive oil with aromatics like garlic and fresh herbs, softened over a few hours in a low-heat oven. “Confit” is a French term that refers to an ingredient preserved in fat—either its own, as with duck confit, or in olive oil, like garlic confit. Making onion confit both extends the life of fresh onions and deepens their innate sweetness, resulting in a complex flavor profile that suits several uses.
3 Tips For Making Onion Confit
Consider these tips for making and storing onion confit:
- 1. Add sugar for extra complexity. To enhance the natural sugars in the onions, add a teaspoon of brown sugar or balsamic vinegar to the oil mixture. The low-and-slow cooking process gives the sugar time to develop a deep, caramel flavor, while the tanginess of the balsamic will mellow into an earthy fruitiness.
- 2. Cut the onions. You can use small onions, like pearl onions, or larger varieties, like red or yellow onions, to make confit. If using larger onions, cut them into halves or thick wedges, and place them cut-side down in the baking dish.
- 3. Keep leftover onion confit. Store onion confit in an airtight container in the refrigerator, where it will last for up to one month. Or blend the onions and some of the infused oil to make a spreadable onion jam perfect for grilled cheese sandwiches.
4 Ways to Serve Onion Confit
There are several ways to serve onion confit with appetizers and side dishes. Consider the following culinary applications:
- 1. As a topping: Serve onion confit over pasta as a minimalist sauce (garnished with plenty of grated Parmesan cheese), or spoon it over grilled fish or roasted chicken.
- 2. In salads: Use it as a stand-in for fresh onions in a composed salad like a caprese, with torn mozzarella or burrata, or drizzled with fresh pesto and a pinch of flaky sea salt.
- 3. With cheese: Serve onion confit with a charcuterie board as a spread for soft cheeses like ricotta or goat cheese.
- 4. With toasted bread: Serve onion confit with thick slices of grilled bread or crispy, thin crostini, either on its own, drizzled in aged balsamic, or as part of bruschetta with fresh basil.
Easy Onion Confit Recipe
makes
3 cupsprep time
5 mintotal time
2 hr 5 mincook time
2 hrIngredients
- 1
Preheat the oven to 250 degrees Fahrenheit.
- 2
Combine the olive oil, garlic, thyme, oregano, brown sugar, vinegar, and red pepper flakes in a glass measuring cup and whisk to incorporate.
- 3
Arrange the onions in a single layer, cut-side down, in a baking dish or on a rimmed baking sheet.
- 4
Pour the oil mixture over the onions, and season with salt and pepper. Gently toss to combine the ingredients.
- 5
Roast the confit in the oven until it becomes soft and very tender, but still plump, for about 2 hours.
- 6
Remove the confit from the oven and let it cool to room temperature.
- 7
Pack the confit into jars or storage containers of your choice, along with any leftover liquid or oil.
Become a better chef with the MasterClass Annual Membership. Gain access to exclusive video lessons taught by the world’s best, including Gordon Ramsay, Gabriela Cámara, Chef Thomas Keller, Dominique Ansel, Yotam Ottolenghi, Alice Waters, and more.
Easy Tomato Confit Recipe: 3 Ways to Use Tomato Confit
Sep 21, 2021
Lemon Confit Recipe: 3 Tips for Making the Condiment
Jul 21, 2022
Mushroom Confit Recipe With Shallots and Herbs
Sep 26, 2022
9 Onion Recipes: How to Cook Onions
Feb 10, 2022
A Guide to 6 Different Types of Onions and How to Use Them
Oct 10, 2019
7 Cherry Tomato Recipes: What to Make With Cherry Tomatoes
Feb 11, 2022
Other articles
How to Sauté Onions: Easy Sautéed Onions Recipe and Tips
Dec 7, 2021
Onion Galette Recipe: How to Make Caramelized Onion Galette
Jan 26, 2022
Agrodolce Recipe: How to Make and Serve Agrodolce Sauce
Jan 28, 2022
Gremolata Recipe: How to Make the Minced Parsley Garnish
Mar 16, 2022
French Onion Soup Recipe: Easy Homemade French Onion Soup
Dec 16, 2021
Garlic Confit Recipe: Ottolenghi’s Confit Garlic Oil
Dec 14, 2020
