If you’ve ever dreamed of a dish that brings together the soul-soothing richness of caramelized onions, the pillowy comfort of gnocchi, and a golden, cheesy crust, then this Baked French Onion Gnocchi Recipe is exactly what your dinner table needs. This recipe transforms humble pantry staples into a luscious, comforting meal that’s perfect for cozy nights in or impressing friends with something truly special. With each bite, you’re greeted by the sweetness of slow-cooked onions, the aromatic hint of thyme, and the creamy embrace of melted Gruyère and Parmesan—all baked to bubbly perfection.

Ingredients You’ll Need
Gathering the ingredients for this recipe is straightforward but crucial, as each element plays a unique role in building the layers of flavor and texture that make this dish unforgettable.
- Unsalted butter (1 tbsp): Adds richness and helps caramelize the onions beautifully without overpowering them.
- Olive oil (1 tbsp): Balances the butter and assists in the even cooking of onions.
- Yellow onions, thinly sliced (2 large): The star of the show, caramelized to sweet perfection.
- Salt (1 tsp): Enhances flavors and helps draw moisture from the onions for caramelization.
- Black pepper (½ tsp): Adds just the right amount of warmth and kick.
- Sugar (1 tsp): Encourages the onions to caramelize and deepen in flavor.
- Fresh thyme leaves (1 tsp) or dried (½ tsp): Imparts an earthy, herbal note that complements the richness.
- Garlic, minced (2 cloves): Offers a subtle savory undertone, enhancing the overall depth.
- Dry white wine (½ cup): Deglazes the pan, lifting all those delicious browned bits from the bottom.
- Beef or vegetable broth (¾ cup): Builds the sauce’s savory base and can be chosen to suit your dietary preference.
- Heavy cream (¾ cup): Gives the sauce its luxuriously creamy texture.
- Potato gnocchi (1 lb): Quick-cooking dumplings that soak up the sauce and become incredibly tender.
- Gruyère cheese, shredded (1 cup): Melts smoothly, providing nutty flavor and that irresistible gooeyness.
- Parmesan cheese, grated (¼ cup): Adds a sharp, salty finish and helps achieve that golden-brown topping.
How to Make Baked French Onion Gnocchi Recipe
Step 1: Caramelize the Onions
Start by heating the butter and olive oil together in a large oven-safe skillet over medium heat. Once melted, add your thinly sliced onions along with salt, pepper, and sugar. The magic here is patience—stir frequently and cook for 20 to 25 minutes until the onions transform into a deeply golden, soft, and sweet masterpiece. This slow caramelization is what gives your dish that unforgettable richness and natural sweetness.
Step 2: Add Herbs, Garlic, and Deglaze
Next, stir in the fresh thyme and minced garlic, letting their fragrances bloom for about a minute. Pour in the white wine, scrapping the bottom of the pan as you go to loosen all those flavorsome browned bits stuck to the pan. Let it simmer gently for 2 to 3 minutes, reducing slightly to concentrate the flavors.
Step 3: Build the Sauce
Pour in your broth and heavy cream, bringing the entire mixture to a subtle simmer. This step melds the onion sweetness with creamy, savory notes, setting the stage for the tender gnocchi to soak it all up. Stir occasionally to keep everything beautifully combined.
Step 4: Add and Cook the Gnocchi
Now it’s time to add the potato gnocchi to the skillet. Cook for 3 to 5 minutes, stirring gently as the gnocchi cook through and the sauce thickens and clings to each plump piece. The gnocchi should be tender with just a slight bite, soaking up all that luscious sauce.
Step 5: Cheese and Bake
Sprinkle the shredded Gruyère and grated Parmesan evenly over the top of your gnocchi and onion mixture. Transfer the pan to the preheated oven and bake for 10 to 15 minutes until the cheese is melted, bubbling, and beautifully golden brown. This final baking step crowns the dish with a spectacular cheesy crust that adds both flavor and texture.
Step 6: Rest and Serve
After pulling the pan from the oven, let the gnocchi rest for about 5 minutes. This allows the sauce to settle slightly, making each spoonful a perfect balance of comforting creaminess and crispy cheese.
How to Serve Baked French Onion Gnocchi Recipe

Garnishes
A simple sprinkle of fresh thyme leaves or finely chopped chives adds a lovely pop of color and freshness that cuts through the richness. You can also add a light dusting of extra Parmesan just before serving to highlight the cheesy goodness.
Side Dishes
This dish pairs wonderfully with crisp green salads dressed with a bright vinaigrette or roasted vegetables such as asparagus or Brussels sprouts. These lighter sides add contrast and balance, keeping the meal well-rounded and satisfying.
Creative Ways to Present
For an impressive presentation, serve the baked gnocchi directly in the rustic skillet it was baked in. Alternatively, scoop it into individual ramekins before baking for personalized servings. A drizzle of truffle oil or a sprinkle of toasted pine nuts can also elevate the dish with a gourmet touch.
Make Ahead and Storage
Storing Leftovers
Leftovers can be stored in an airtight container in the refrigerator for up to three days. The flavors deepen overnight, making it an excellent next-day meal that reheats beautifully.
Freezing
While best enjoyed fresh, you can freeze the baked French onion gnocchi if needed. Allow the dish to cool completely, then transfer to a freezer-safe container and freeze for up to two months. Thaw overnight in the fridge before reheating.
Reheating
Reheat leftovers in the oven at 350°F until warmed through to retain the crispy top and creamy interior. Alternatively, a stovetop reheating in a covered pan with a splash of broth or cream can revive the sauce’s luscious texture.
FAQs
Can I use store-bought gnocchi for this recipe?
Absolutely! This recipe works wonderfully with shelf-stable or refrigerated potato gnocchi, making it both convenient and delicious without sacrificing quality.
Is this dish vegetarian?
Yes, it can be vegetarian if you use vegetable broth instead of beef broth. The vegetable broth keeps the rich flavor while making the dish suitable for vegetarians.
Can I make this recipe dairy-free?
To make it dairy-free, substitute the butter with a plant-based alternative, use a dairy-free cream substitute, and swap the cheeses for vegan-friendly versions. Keep in mind that this will change the final flavor and texture somewhat.
How do I prevent the gnocchi from sticking together?
Stirring gently when adding the gnocchi to the sauce and cooking just until they are tender helps prevent sticking. Using a non-stick or well-oiled pan is also beneficial.
What wine pairs well with this dish?
A dry white wine such as Sauvignon Blanc or Chardonnay complements the French onion flavors wonderfully. If you prefer red, a light Pinot Noir works nicely with the cheesy richness.
Final Thoughts
This Baked French Onion Gnocchi Recipe is truly a celebration of comforting, layered flavors wrapped in creamy, cheesy goodness. It’s the kind of dish that feels like a warm hug at the end of a long day, yet elegant enough to share with loved ones for a special occasion. Don’t hesitate—gather your ingredients and give this recipe a try! Your taste buds will thank you for bringing such deliciousness to your table.
Print
Baked French Onion Gnocchi Recipe
- Prep Time: 15 minutes
- Cook Time: 45 minutes
- Total Time: 1 hour
- Yield: 4 servings
- Category: Main Course
- Method: Baking
- Cuisine: French-Inspired, American
- Diet: Vegetarian
Description
This Baked French Onion Gnocchi recipe combines tender potato gnocchi with deeply caramelized onions, creamy sauce, and melted Gruyère and Parmesan cheeses. The dish is cooked first on the stovetop to develop rich flavors, then baked to achieve a bubbly, golden cheese crust. Perfect as a comforting main course, this French-inspired vegetarian dish offers a delightful balance of savory, creamy, and sweet onion notes in every bite.
Ingredients
Base Ingredients
- 1 tbsp unsalted butter
- 1 tbsp olive oil
- 2 large yellow onions, thinly sliced
- 1 tsp salt
- ½ tsp black pepper
- 1 tsp sugar
- 1 tsp fresh thyme leaves (or ½ tsp dried)
- 2 cloves garlic, minced
Liquids and Sauce
- ½ cup dry white wine
- ¾ cup beef or vegetable broth
- ¾ cup heavy cream
Main Ingredient
- 1 lb shelf-stable or refrigerated potato gnocchi
Cheeses
- 1 cup shredded Gruyère cheese
- ¼ cup grated Parmesan cheese
Instructions
- Preheat and prepare skillet: Preheat your oven to 400°F (200°C). Place a large oven-safe skillet or sauté pan over medium heat and melt the butter combined with olive oil to create a flavorful base for caramelizing onions.
- Caramelize onions: Add the thinly sliced yellow onions along with salt, pepper, and sugar to the pan. Cook, stirring frequently, for 20–25 minutes until the onions become deeply golden brown and caramelized, developing rich, sweet flavor.
- Add aromatics: Stir in the fresh thyme leaves and minced garlic, cooking for an additional minute to release their fragrant flavors into the onion mixture.
- Deglaze the pan: Pour in the dry white wine, scraping the bottom of the pan to loosen any browned bits. Simmer for 2–3 minutes until the wine reduces slightly and melds with the caramelized onions.
- Create the sauce: Add the broth and heavy cream, bringing the mixture to a gentle simmer. This creates a creamy, flavorful base for the gnocchi.
- Cook gnocchi: Add the potato gnocchi to the pan and cook for 3–5 minutes, stirring occasionally, until the gnocchi are tender and the sauce has thickened to coat them well.
- Add cheese and bake: Sprinkle the shredded Gruyère and grated Parmesan cheeses evenly over the top. Transfer the skillet to the preheated oven and bake for 10–15 minutes until the cheese is bubbly and golden brown.
- Rest and serve: Remove the skillet from the oven and let the dish rest for 5 minutes to set before serving. Enjoy warm as a hearty, comforting meal.
Notes
- For extra depth of flavor, use beef broth for a more traditional French onion taste.
- To save time, caramelize the onions in advance and store them in the fridge for up to 3 days.
- Serve with a crisp green salad or roasted vegetables to complete the meal.