Baked French Onion Gnocchi

September 27, 2026

Deeply caramelized onions, a glossy broth, and a golden Gruyere crust turn a pan of gnocchi into something that eats like the best part of French onion soup with a little more comfort built in. The gnocchi softens right in the sauce, so every bite comes out coated in sweet onion flavor instead of sitting under a separate layer of cheese and broth. That’s what makes this version worth repeating: it bakes into one rich, spoonable dish with enough body to serve as dinner.

The onions matter most here. They need time over medium-low heat until they collapse into a dark amber tangle and taste sweet, not sharp. The wine lifts the browned bits from the pan, the broth gives the dish its French onion backbone, and the cream smooths out the edges so the sauce doesn’t feel thin once the gnocchi goes in. Gruyere finishes the job with a nutty melt that browns beautifully under heat.

Keep reading for the timing on the onions, the cue that tells you the sauce is ready for the oven, and the small adjustment that keeps the gnocchi tender instead of gummy.

“

The onions went soft and jammy instead of staying stringy, and the gnocchi cooked right in the sauce without turning mushy. My husband said it tasted like French onion soup turned into a full meal.

★★★★★— Karen P.

Save this baked French onion gnocchi for the night you want caramelized onions, melty Gruyere, and a one-pan dinner that bakes into its own sauce.

Save to Pinterest

The Secret to French Onion Flavor That Doesn’t Taste Flat

The biggest mistake in a dish like this is rushing the onions. If they only turn translucent or lightly golden, the finished sauce tastes one-note and a little sharp. You want the onions fully collapsed and deeply browned, with the edges catching color in the pan. That is where the sweetness comes from.

Wine does more than add liquid. It loosens the browned bits stuck to the skillet, and those bits carry the concentration of the onions. Let the wine cook off for a minute or two before the broth goes in, or the sauce can taste harsh and boozy. Once the broth and cream are in, the mixture should look silky and lightly thickened before the gnocchi goes on top.

What Each Ingredient Is Actually Doing in This Dish

Baked French Onion Gnocchi, golden Gruyere, caramelized onion
  • Potato gnocchi — Use shelf-stable or refrigerated gnocchi straight from the package. They cook right in the sauce, which is what gives this dish its one-pan ease. If you use homemade gnocchi, keep them on the firmer side so they hold up under the broiler.
  • Onions — This is the backbone of the recipe. Yellow onions give the best balance of sweetness and savory depth after a long cook. White onions work too, but they can taste a little sharper.
  • Dry white wine or dry sherry — This deglazes the pan and adds the subtle acidity that keeps the sauce from feeling heavy. If you skip it, replace it with a splash of extra broth plus a teaspoon of vinegar, though the flavor won’t have quite the same roundness.
  • Beef broth — Beef broth gives the dish its French onion soup character. A good broth makes a noticeable difference here. If you need a lighter version, vegetable broth works, but the final dish will taste less robust.
  • Gruyere — This is the cheese that makes the top taste like French onion soup instead of just baked pasta. It melts smoothly and browns well. Swiss cheese can stand in, but it won’t have the same nutty depth.

The 20 Minutes That Matter Most

Cooking the onions all the way down

Melt the butter with the olive oil, then add the onions and let them cook slowly over medium-low heat. Stir now and then, but don’t keep them moving constantly or they never get a chance to brown. After 35 to 40 minutes, they should be soft, collapsed, and deeply golden with some darker spots at the edges. If they start to stick too hard, add a splash of water and scrape the pan instead of turning the heat up.

Building the sauce in the same pan

Stir in the garlic and thyme for just a minute, then pour in the wine and scrape up every browned bit from the pan. That fond is where the strongest flavor lives. Add the broth and Worcestershire sauce, then the cream, and bring everything to a gentle simmer. The sauce should smell savory and onion-rich, not sharply alcoholic.

Baking the gnocchi until the top turns bronzed

Add the uncooked gnocchi and stir so every piece gets coated in sauce before you scatter the Gruyere over the top. Slide the skillet into a hot oven or under the broiler until the cheese is melted, bubbling, and deep golden in spots. The gnocchi should be tender all the way through, and the sauce should look thick around the edges. If the top browns before the gnocchi is done, cover it loosely with foil and give it a few more minutes in the oven.

How to Adapt This for a Lighter or Meatless Version

Vegetarian version with mushroom broth

Swap the beef broth for a deeply flavored mushroom or vegetable broth. You’ll lose some of the classic French onion soup intensity, but the caramelized onions and Gruyere still give you a rich, savory dish. Use a broth with enough body to stand up to the cream.

Dairy-light version

Replace the heavy cream with half-and-half for a thinner sauce and reduce the broth slightly so the dish still bakes up saucy. The top won’t be quite as lush, but it will still coat the gnocchi nicely. I wouldn’t skip the cheese entirely unless you’re willing to lose the browned crust that makes this work.

Gluten-free version

Use certified gluten-free gnocchi and a Worcestershire sauce labeled gluten-free. The rest of the recipe stays the same. This is one of the easiest dishes to adapt because the sauce doesn’t rely on flour to thicken.

Make it ahead for a faster bake

Caramelize the onions and build the sauce up to two days ahead, then reheat it gently before adding the gnocchi and cheese. The onions only get better with time. Don’t add the gnocchi too early or it will start absorbing liquid and lose that tender, pillowy texture in the oven.

Storage and Reheating

  • Refrigerator: Store leftovers in an airtight container for up to 3 days. The gnocchi will soften a bit as it sits, and the sauce thickens in the fridge.
  • Freezer: Freezing isn’t my first choice here. The cream sauce can separate and the gnocchi texture turns softer after thawing. If you do freeze it, cool it completely and reheat gently.
  • Reheating: Warm in a 350°F oven, covered, with a splash of broth to loosen the sauce. Microwaving works in a pinch, but use short bursts so the cheese doesn’t turn greasy and the gnocchi doesn’t get tough at the edges.

Answers to the Questions Worth Asking

Can I use frozen gnocchi?+

Yes, frozen gnocchi works here. Add it straight from the freezer and give the dish a few extra minutes in the oven so the centers cook through. Don’t thaw it first or it can get sticky and lose the texture that keeps it from breaking down in the sauce.

How do I keep the onions from burning while they caramelize?+

Keep the heat at medium-low and stir often enough to prevent hot spots, but not so often that the onions steam. If the pan gets too dark or dry, add a splash of water and scrape up the stuck bits. That keeps the sugars from scorching while the onions slowly turn sweet and jammy.

Can I make this without wine?+

Yes. Use a splash of extra broth with a teaspoon of white wine vinegar or apple cider vinegar to replace the brightness. The dish won’t have the same depth from the deglazing step, but it will still taste balanced instead of flat.

How do I know when the gnocchi is cooked through?+

The gnocchi should be tender when you pierce one with a fork and should no longer taste doughy in the center. The sauce will be bubbling around the edges, and the cheese on top will be fully melted with browned spots. If the top is ready before the gnocchi, cover it loosely and bake a few minutes longer.

Can I use a different cheese instead of Gruyere?+

Yes, Swiss cheese or a mix of mozzarella and Parmesan will melt nicely. You’ll lose some of the nutty, French onion soup flavor that Gruyere brings, so the dish will taste a little milder. If you want the closest result, use half Gruyere and half Swiss.

Baked French Onion Gnocchi

Baked French onion gnocchi with deeply caramelized onions and a bubbly Gruyere crust. Gnocchi bake until tender and coated in rich, savory onion broth.
Prep Time 20 minutes
Cook Time 50 minutes
Total Time 1 hour 10 minutes
Servings: 4 servings
Course: Main Dish
Cuisine: French-American
Calories: 650

Ingredients
  

potato gnocchi
  • 1 lb potato gnocchi Uncooked
onions
  • 3 large onions Thinly sliced
garlic
  • 4 cloves garlic Minced
unsalted butter
  • 3 tbsp unsalted butter
olive oil
  • 1 tbsp olive oil
dry white wine or dry sherry
  • 1 half cup dry white wine or dry sherry
beef broth
  • 2 cup beef broth
Worcestershire sauce
  • 1 tbsp Worcestershire sauce
fresh thyme
  • 1 tsp fresh thyme
heavy cream
  • 1 half cup heavy cream
Gruyere cheese
  • 2 cup Gruyere cheese Shredded
salt
  • 1 salt To taste
pepper
  • 1 pepper To taste

Equipment

  • 1 cast iron skillet

Method
 

Caramelize the onions
  1. Melt the unsalted butter with the olive oil in a large oven-safe skillet over medium-low heat. Cook the onions over medium-low heat for 35-40 minutes, stirring occasionally, until deeply caramelized and dark golden.
Build the French onion broth
  1. Add the dry white wine or dry sherry and deglaze the skillet, scraping up the browned bits. Cook for 2 minutes until the wine smell cooks off.
  2. Add the minced garlic and fresh thyme to the skillet and stir to coat the onions. Cook for 1 minute until fragrant and lightly toasted.
  3. Pour in the beef broth, Worcestershire sauce, and heavy cream, then stir well. Bring the mixture to a simmer, with steady small bubbles around the edges.
Bake with Gruyere
  1. Add the uncooked potato gnocchi and stir to coat them in the sauce. Let the mixture settle so the gnocchi are mostly submerged.
  2. Scatter the shredded Gruyere cheese evenly over the top. Keep the cheese dry on the surface so it melts into a golden layer.
  3. Broil or bake at 425F for 15-18 minutes until the gnocchi are cooked through, the sauce is bubbling, and the cheese is golden. Look for an active simmer at the edges and browned patches on top.
Season and serve
  1. Season to taste with salt and pepper right before serving. Use a pinch at a time until the flavors pop.

Notes

For the deepest flavor, slice onions evenly so they caramelize at the same pace; stir only as needed to prevent scorching. Refrigerate leftovers in a sealed container for up to 3 days and reheat gently in the oven or on the stovetop until hot throughout. Freezing is not recommended because gnocchi can become soft after thawing. For a lighter option, swap heavy cream for half-and-half for a thinner sauce while still keeping the baked Gruyere crust.

Loved this recipe?

Save it to Pinterest for later or print a clean copy for your kitchen.

Save to Pinterest

Leave a Comment

Recipe Rating