Deeply caramelized onions, pillowy gnocchi, and a blanket of bubbling Gruyere make this baked French onion gnocchi feel like the best parts of French onion soup turned into a proper main dish. The onions cook down until they’re jammy and sweet, the broth turns savory and rich, and the cheese bakes into a bronzed crust that crackles when you spoon through it.
The key is patience at the stove. Those onions need low heat and time until they lose their sharp bite and turn mahogany-colored, because that slow cook builds the base of the whole dish. A splash of wine loosens the browned bits, then the broth and cream create enough liquid for the gnocchi to cook right in the pan without turning mushy.
Below, I’ll walk through the part that matters most: how to caramelize the onions without rushing them, why Gruyere is the right cheese here, and what to do if you want to make this ahead for a later dinner.
The onions got beautifully jammy and the gnocchi cooked right in the sauce without falling apart. That Gruyere top was golden and crisp, and my husband went back for seconds before I’d even sat down.
Save this baked French onion gnocchi for the night you want bubbly Gruyere, sweet onions, and a one-pan dinner that feels special without extra work.
The Part Most People Rush in French Onion Gnocchi
The onions are the whole dish here. If they’re only softened, the sauce tastes flat and the finished bake leans savory in a one-note way instead of deep, sweet, and layered. Give them the full 35 to 40 minutes over medium-low heat until they’re dark golden brown and almost spreadable.
Don’t crank the heat to speed things up. That only browns the outside before the moisture cooks off, and you end up with onions that taste scorched instead of caramelized. A little salt early helps draw out the moisture, and the wine matters because it lifts the browned bits off the pan and folds that flavor back into the sauce.
What Each Ingredient Is Actually Doing in the Pan

- Potato gnocchi — Uncooked shelf-stable gnocchi works best because it drinks in the sauce while baking and stays tender instead of collapsing. Fresh gnocchi can work too, but it cooks a little faster, so watch the bake closely.
- Onions — Use yellow onions if you can. They caramelize into a deeper, sweeter base than white onions, which can taste sharper in this dish.
- Dry white wine or dry sherry — This adds the little acidic edge French onion soup needs. If you skip it, the dish still works, but the sauce tastes heavier and less lifted.
- Gruyere — This is the cheese that gives you the classic nutty stretch and browned top. Swiss cheese can sub in, but it won’t melt with the same rich, savory depth.
- Beef broth and Worcestershire — Together they build the savory backbone that keeps the creamy sauce from tasting bland. A good broth matters here; this isn’t the place for watery stock.
Building the Bake So the Gnocchi Stay Tender
Caramelizing the Onions Slowly
Melt the butter with the olive oil first, then add the sliced onions and keep the heat at medium-low. You want them to soften, then turn golden, then move into a deep brown color without catching on the bottom. If they start sticking too aggressively, a splash of water helps release the pan without resetting all your progress.
When the onions are ready, they’ll smell sweet and almost marmalade-like, and the pan will have a brown film on the bottom. That’s what you want. Those browned bits are the base of the sauce.
Deglazing and Building the Broth
Add the wine and let it bubble for a couple of minutes so the sharp edge cooks off. Then stir in the garlic and thyme briefly, just until fragrant, before adding the broth, Worcestershire, and cream. If you add the garlic too early, it can burn in the dry pan and turn bitter.
Bring the liquid to a gentle simmer, not a hard boil. You’re building a sauce, not reducing soup, and the cream stays smoother when the heat is moderate.
Baking Until the Cheese Blisters
Stir in the gnocchi so every piece gets coated, then scatter the Gruyere over the top. Bake or broil until the sauce is bubbling around the edges and the cheese has melted into a deep golden crust. If the top browns before the gnocchi are tender, cover the dish loosely with foil and give it a few more minutes in the oven.
The finished sauce should be thick enough to coat a spoon, with the gnocchi soft but still holding its shape. Let it sit for a few minutes before serving so the sauce settles instead of spilling out like broth.
Three Ways to Make This Dish Work for Your Table
Make It Vegetarian
Swap the beef broth for a rich vegetable broth and use a vegetarian Worcestershire sauce. You’ll lose a little of the deep meatiness, so choose a broth with some body instead of a thin, salty one.
Make It Without Wine
Use an equal amount of extra broth with a small splash of white wine vinegar or lemon juice at the end. That keeps the sauce from tasting flat, since the wine’s acidity is what keeps the onions and cream from feeling heavy together.
Use a Different Cheese
Fontina or a mix of Swiss and mozzarella will melt well if Gruyere isn’t in the fridge. The flavor will be milder and less nutty, but you’ll still get a good browned top and that stretchy, baked finish.
Storage and Reheating
- Refrigerator: Store leftovers covered for up to 4 days. The gnocchi will absorb some of the sauce, so it gets thicker in the fridge.
- Freezer: It freezes, but the cream sauce can turn a little grainy after thawing. If you freeze it, wrap it tightly and thaw overnight in the fridge before reheating.
- Reheating: Warm it covered in a 350°F oven until heated through, then uncover for a few minutes to re-crisp the top. The biggest mistake is blasting it in the microwave, which makes the gnocchi gummy and the sauce split.
Questions I Get Asked About This Recipe

Baked French Onion Gnocchi
Ingredients
Equipment
Method
- Melt the unsalted butter with the olive oil in a large oven-safe cast iron skillet, then add the thinly sliced onions. Cook over medium-low heat for 35-40 minutes, stirring occasionally, until deeply caramelized and dark golden.
- Pour in the dry white wine or dry sherry to deglaze, scraping up any browned bits from the pan. Cook for 2 minutes until the liquid reduces slightly and smells mellow.
- Add the minced garlic and fresh thyme to the skillet. Cook for 1 minute, just until fragrant, with visible bubbling at the edges.
- Add the beef broth, Worcestershire sauce, and heavy cream to the skillet. Bring the mixture to a simmer, then cook until it looks cohesive and lightly thickened.
- Add the uncooked potato gnocchi to the simmering onion broth and stir to coat evenly. Cook just until the sauce clings to the gnocchi, then scatter Gruyere cheese over the top.
- Bake or broil at 425°F for 15-18 minutes, until the gnocchi are cooked through. Look for bubbling sauce around the edges and golden, melted cheese on top.
- Let the baked french onion gnocchi rest briefly before serving. Taste and season with salt and pepper to taste, then serve hot.