There is something incredibly comforting and indulgent about this Baked French Onion Gnocchi Recipe that makes it an instant favorite any time of year. Combining pillowy gnocchi with deeply caramelized onions and a luscious, cheesy sauce, every bite delivers rich layers of flavor and texture. It’s a dish that feels elegant and homey all at once, perfectly bridging the gap between simple weeknight dinners and special occasion meals. Once you try this recipe, it will quickly become one of those go-to dishes you find yourself craving again and again.

Ingredients You’ll Need
The magic of this Baked French Onion Gnocchi Recipe starts with a handful of simple ingredients that come together beautifully to create a dish that’s both rich and balanced. Each component plays an essential role, from the sweetness of the caramelized onions to the creamy, cheesy sauce that binds everything in cozy harmony.
- Olive oil: Helps gently cook the onions and adds a round, fruity undertone.
- Unsalted butter: Essential for caramelizing onions to a deep golden color and adding richness.
- Yellow onions, thinly sliced: The star of the dish, providing sweet, savory depth after slow cooking.
- Salt: Enhances natural flavors and helps draw out moisture from the onions.
- Black pepper: Adds a hint of warmth and subtle spice.
- Fresh thyme leaves: Infuses the sauce with a fragrant, herbaceous note—dried thyme works well too.
- Garlic, minced: Brings a sharp, aromatic punch that complements the onions perfectly.
- Dry white wine (or low-sodium broth): Adds acidity and helps deglaze the pan, lifting all those caramelized flavors.
- Heavy cream: Creates the ultra-smooth, luscious base for the sauce.
- Beef or vegetable broth: Balances richness with savory depth; vegetable broth keeps the dish vegetarian-friendly.
- Potato gnocchi (16 oz): Soft, pillowy dumplings that soak up the sauce beautifully for a satisfying bite.
- Gruyère cheese, shredded: Melts into a nutty, gooey topping that elevates the entire dish.
- Parmesan cheese, grated: Adds a sharp, salty finish that perfectly complements the Gruyère.
How to Make Baked French Onion Gnocchi Recipe
Step 1: Caramelize the onions
Start by heating olive oil and butter in a large oven-safe skillet over medium heat. Add your thinly sliced yellow onions and stir frequently for 20 to 25 minutes until they transform into soft, golden brown ribbons of caramelized sweetness. This step is crucial because those deeply caramelized onions are what give the dish its signature rich flavor.
Step 2: Season and add herbs
Once your onions are beautifully caramelized, sprinkle in salt, black pepper, and fresh thyme leaves. These simple seasonings bring out the onions’ natural sweetness while adding a delicate, earthy note that complements the creamy sauce perfectly.
Step 3: Sauté garlic and deglaze
Stir in minced garlic and cook for about one minute until fragrant, making sure not to burn it. Next, pour in the white wine or broth to deglaze the pan, scraping up all those golden bits stuck to the bottom—this step is like magic, infusing your sauce with concentrated flavor. Let the liquid reduce until mostly evaporated.
Step 4: Create the creamy sauce
Add the heavy cream and broth to your skillet, bringing the mixture to a gentle simmer. This luscious sauce will coat your gnocchi in luxurious creaminess that melds all the flavors beautifully.
Step 5: Cook the gnocchi in the sauce
Directly add your potato gnocchi into the sauce and stir gently for 3 to 4 minutes. The gnocchi will absorb the sauce’s flavors and soften slightly—just the perfect texture before baking.
Step 6: Add cheese and bake
Sprinkle the shredded Gruyère and grated Parmesan evenly across the top of the skillet. Transfer it to the preheated 400°F oven and bake for 10 to 12 minutes until the cheese is bubbly, golden, and irresistibly melty. Allow the dish to rest for five minutes before serving, giving the flavors time to settle.
How to Serve Baked French Onion Gnocchi Recipe

Garnishes
For a beautiful final touch, sprinkle fresh thyme leaves or finely chopped parsley over the cheesy crust to add a pop of color and brightness. A light dusting of extra Parmesan or a drizzle of good quality olive oil also works wonders at enhancing both the presentation and taste.
Side Dishes
This Baked French Onion Gnocchi Recipe pairs wonderfully with light, refreshing sides that balance its richness. A crisp green salad with a tangy vinaigrette or some crusty artisan bread to soak up every cheesy bite are fantastic companions. You can even add roasted seasonal vegetables for added texture and vitamins.
Creative Ways to Present
Serve this gnocchi bake straight from the oven in the skillet for a rustic, cozy vibe. Alternatively, plate the gnocchi individually in shallow bowls and garnish with a sprinkle of microgreens or edible flowers for a touch of elegance. For parties, consider making this recipe in smaller ramekins to create charming personal servings.
Make Ahead and Storage
Storing Leftovers
Leftover Baked French Onion Gnocchi Recipe can be transferred to an airtight container and stored in the refrigerator for up to three days. Keeping the gnocchi in the sauce helps maintain moisture, preventing it from drying out.
Freezing
For longer storage, freeze portions in freezer-safe containers for up to two months. While the texture may soften slightly upon thawing, reheating gently will help retain as much of the original creaminess as possible.
Reheating
Reheat leftovers in a preheated oven at 350°F until warmed through and bubbly, typically about 15 minutes. Cover with foil to keep moisture in, removing it near the end for that delicious golden top. You can also reheat individual servings in the microwave, though the oven method is preferable to preserve texture.
FAQs
Can I use frozen gnocchi for this recipe?
Absolutely! Frozen gnocchi works perfectly for this dish. Just ensure you don’t thaw it beforehand—add it straight to the sauce from frozen and cook a little longer if needed until tender.
What can I substitute for Gruyère cheese?
If Gruyère is unavailable, Swiss cheese is a great alternative offering a similar nuttiness and melting quality. You can also try mozzarella for a milder flavor, though it won’t be quite as rich.
Is this recipe vegetarian-friendly?
Yes, this recipe can be vegetarian if you use vegetable broth instead of beef broth. The combination of caramelized onions, thyme, and cheeses provides plenty of depth without meat.
Can I make this recipe dairy-free?
To make it dairy-free, swap butter for a plant-based alternative, use coconut or oat cream in place of heavy cream, and choose vegan cheeses. The flavor will be different but still delicious and comforting.
How long does it take to make this dish?
The total time for this Baked French Onion Gnocchi Recipe is about 50 minutes, including 10 minutes of prep and 40 minutes of cooking. It’s a wonderfully simple but impressive meal that fits perfectly into a busy weeknight or weekend dinner.
Final Thoughts
If you’re searching for a dish that feels like a warm hug in food form, this Baked French Onion Gnocchi Recipe won’t disappoint. It’s one of those rare meals that feels indulgent yet somehow effortless, perfect for sharing with loved ones or enjoying on a cozy night in. Don’t hesitate to make it soon—you’ll wonder how you ever lived without this rich, creamy, and utterly crave-worthy bake.
Print
Baked French Onion Gnocchi Recipe
- Prep Time: 10 minutes
- Cook Time: 40 minutes
- Total Time: 50 minutes
- Yield: 4 servings
- Category: Main Course
- Method: Baking
- Cuisine: French-Inspired
- Diet: Vegetarian
Description
This Baked French Onion Gnocchi is a comforting and indulgent dish featuring tender potato gnocchi simmered in a rich, creamy caramelized onion sauce, topped with melted Gruyère and Parmesan cheese. Perfectly baked until bubbly and golden, this French-inspired main course is ideal for a cozy dinner that combines rustic flavors with a luxurious cheesy finish.
Ingredients
For the Caramelized Onion Sauce
- 1 tablespoon olive oil
- 2 tablespoons unsalted butter
- 2 large yellow onions, thinly sliced
- 1/2 teaspoon salt
- 1/4 teaspoon black pepper
- 1 tablespoon fresh thyme leaves (or 1 teaspoon dried)
- 2 cloves garlic, minced
- 1/2 cup dry white wine (or low-sodium broth)
- 1 cup heavy cream
- 1/2 cup beef or vegetable broth
Main Ingredients
- 1 package (16 oz) shelf-stable or refrigerated potato gnocchi
- 1 1/2 cups shredded Gruyère cheese
- 1/2 cup grated Parmesan cheese
Instructions
- Preheat oven: Preheat the oven to 400°F (200°C) to prepare for baking the gnocchi dish after stovetop preparation.
- Caramelize onions: In a large oven-safe skillet, heat olive oil and butter over medium heat. Add the thinly sliced onions and cook for 20 to 25 minutes, stirring often, until they are deeply golden brown and caramelized. This slow cooking releases their natural sweetness and flavor. Season with salt, black pepper, and fresh thyme to enhance the aromatic base of the sauce.
- Add garlic and deglaze skillet: Stir in the minced garlic and cook for 1 minute until fragrant. Pour in the white wine (or broth) to deglaze the pan, scraping up any browned bits stuck to the skillet. Allow the liquid to simmer until mostly evaporated, concentrating the flavors.
- Simmer creamy sauce: Stir in the heavy cream and broth, then bring the mixture to a gentle simmer. This creates the rich creamy base that will coat the gnocchi beautifully.
- Cook gnocchi in sauce: Add the potato gnocchi directly into the sauce, cooking for 3 to 4 minutes and stirring gently. The gnocchi will begin to soften and absorb the sauce flavors without boiling separately.
- Add cheese and bake: Remove the skillet from heat, sprinkle the shredded Gruyère and grated Parmesan evenly over the gnocchi. Transfer the skillet to the preheated oven and bake for 10 to 12 minutes until the cheese is bubbly and golden brown on top.
- Rest and serve: Let the baked French Onion Gnocchi rest for 5 minutes after baking, allowing the sauce to thicken slightly and flavors to meld before serving.
Notes
- Gruyère cheese can be substituted with Swiss cheese if unavailable.
- For added depth of flavor, substitute the broth with mushroom or beef broth.
- This dish pairs wonderfully with a simple green salad or crusty bread for a complete meal.

