Caramelized onions, pillowy gnocchi, and a blanket of Gruyere turn this baked French onion gnocchi into the kind of dinner that disappears fast. The sauce gets deeply savory from the slow-cooked onions and beef broth, then finishes with a bubbling, bronzed top that crackles just a little when it comes out of the oven. It eats like comfort food, but it still feels special enough to put in the center of the table.
What makes this version work is patience at the beginning and restraint at the end. The onions need time over medium-low heat to soften, darken, and sweeten without burning. Once the broth, cream, and Worcestershire go in, the sauce should taste a touch aggressive before the cheese mellows everything out. The gnocchi go in uncooked, which lets them finish in the sauce and soak up all that oniony richness instead of turning soft and dull in a separate pot.
Below, I’ve included the timing cues that matter, the ingredient swaps that still keep the dish balanced, and the one reheating trick that keeps the sauce from turning grainy the next day.
The onions cooked down into this sweet, jammy base and the gnocchi came out tender without falling apart. I was worried the sauce would be thin, but it thickened up beautifully under the Gruyere.
Save this baked French onion gnocchi for the nights when you want a bubbling Gruyere top and a rich onion sauce without making a separate pasta pot.
The Trick to Keeping the Sauce Rich Instead of Watery
The biggest mistake with baked gnocchi dishes is rushing the onion base. If the onions are only softened, the sauce tastes flat and the final dish can feel loose instead of concentrated. You want the onions deeply golden and almost spreadable before anything else goes in; that slow caramelization is where the sweetness and body come from.
The other place this recipe can go sideways is with the liquid balance. Gnocchi releases a little starch as it bakes, which helps tighten the sauce, but it can’t rescue a broth that was too thin from the start. The wine deglaze, Worcestershire, and cream all have jobs here: brightness, depth, and roundness. Together, they keep the sauce layered instead of heavy.
What the Gruyere and Gnocchi Are Each Doing Here

- Potato gnocchi — Uncooked gnocchi is the right move because it finishes in the sauce and drinks in all that onion flavor. Shelf-stable gnocchi works fine here, and fresh gnocchi is even softer, but either way it should go straight from the package into the pan.
- Onions — This is the backbone of the dish. Yellow onions are the best choice because they caramelize into sweetness without turning mushy too quickly, and slicing them evenly helps them cook at the same pace.
- Dry white wine or dry sherry — The deglaze lifts the browned bits from the pan and keeps the sauce from tasting one-note. If you skip it, add a splash of broth plus a teaspoon of vinegar, but the wine or sherry gives a cleaner finish.
- Gruyere — This cheese matters because it melts into a stretchy, nutty top instead of just oiling out. Pre-shredded cheese works in a pinch, but freshly shredded Gruyere melts more smoothly and browns better.
- Beef broth — Use a broth you’d actually sip. A weak broth makes the whole dish taste thin, while a good one gives the sauce its savory edge.
Building the Sauce Before the Cheese Goes On
Caramelizing the Onions
Melt the butter with the olive oil in a large oven-safe skillet, then add the onions and a pinch of salt. Cook them over medium-low heat for 35 to 40 minutes, stirring often enough that nothing catches but not so often that they steam. You’re looking for a deep amber color and a soft, jammy texture. If the heat is too high, the onions will brown on the outside before they’ve actually sweetened, and the final sauce will taste sharp instead of mellow.
Deglazing and Seasoning the Base
Pour in the wine or sherry and scrape up every browned bit from the bottom of the pan. Let it cook for about 2 minutes so the raw alcohol cooks off and the liquid tightens slightly. Add the garlic and thyme and cook just until fragrant. Garlic burns fast in this dish, so don’t walk away at this stage.
Bringing the Sauce Together
Stir in the broth, Worcestershire sauce, and cream, then bring the mixture to a gentle simmer. The sauce should look cohesive and glossy, not separated or oily. Taste it before the gnocchi goes in. It should be a little bolder than you want in the final dish because the cheese and starch will soften it as it bakes.
Baking Until Bubbling and Golden
Add the uncooked gnocchi and stir to coat them in the sauce, then scatter the Gruyere evenly over the top. Bake or broil at 425°F for 15 to 18 minutes until the sauce is bubbling around the edges and the cheese is melted with browned spots. If you broil, watch it closely; Gruyere goes from golden to scorched fast. Let it sit for a few minutes before serving so the sauce settles and coats the gnocchi instead of rushing off the spoon.
Three Ways to Make This Work in Your Kitchen
Dairy-Free Version
Swap the butter for more olive oil and use a creamy unsweetened dairy-free cooking cream that can handle heat. You’ll lose the classic Gruyere finish, but a good melting dairy-free cheese can still give you a browned top. Keep the sauce a little thicker before baking because some plant-based creams loosen as they heat.
Vegetarian Swap
Use vegetable broth instead of beef broth and add an extra teaspoon of Worcestershire only if yours is vegetarian, or replace it with a little soy sauce plus a splash of balsamic. The dish will taste lighter and less deeply savory, but the caramelized onions and cheese still carry plenty of weight.
Gluten-Free Check
Use gluten-free gnocchi and confirm your Worcestershire sauce is gluten-free, since some brands include malt vinegar. The texture stays close to the original as long as the gnocchi is sturdy enough to hold in the oven. If your gluten-free gnocchi tends to soften quickly, bake just until the cheese melts and serve right away.
Make It Ahead
Caramelize the onions and build the sauce up to a day in advance, then chill it and rewarm gently before adding the gnocchi and cheese. This saves the most time and actually improves the flavor because the onions mellow as they rest. Don’t fully bake it ahead unless you plan to reheat it carefully, or the gnocchi can turn too soft.
Storage and Reheating
- Refrigerator: Store leftovers covered for up to 3 days. The gnocchi will soften a bit as it sits, but the flavor gets even deeper.
- Freezer: It freezes, but the texture changes noticeably because the cream sauce and gnocchi both loosen after thawing. Freeze only if you need to, and expect a softer result.
- Reheating: Rewarm covered in a 350°F oven with a splash of broth or cream to loosen the sauce. The common mistake is blasting it in the microwave until the sauce breaks and the cheese turns rubbery.
Answers to the Questions Worth Asking

Baked French Onion Gnocchi
Ingredients
Equipment
Method
- Melt the butter with the olive oil in a large oven-safe skillet, then add the onions and cook over medium-low heat for 35-40 minutes until deeply caramelized, stirring occasionally so they soften and turn a deep golden brown.
- Pour in the white wine or dry sherry to deglaze and cook for 2 minutes, scraping up any browned bits for maximum flavor.
- Add the minced garlic and fresh thyme, then cook for 1 minute until fragrant and lightly softened.
- Add the beef broth, Worcestershire sauce, and heavy cream, then bring the mixture to a simmer until it looks glossy and slightly thickened.
- Add the uncooked potato gnocchi to the simmering onion broth and stir to coat so the gnocchi are evenly covered.
- Scatter the shredded Gruyère cheese over the top so it melts into a browned crust.
- Broil or bake at 425F for 15-18 minutes until the gnocchi are cooked through, the sauce is bubbling around the edges, and the cheese is golden.