Cheesy Gruyère Scalloped Onions

November 10, 2026

The skillet looks almost too full when all the onions go in, but they soften and shrink as they cook. I like watching that change; it’s the first sign that a pan of humble yellow onions is headed somewhere richer than you might expect. In these Cheesy Gruyère Scalloped Onions, the onions cook down before they meet a creamy thyme sauce, so each spoonful stays tender rather than tasting like a stack of raw onion slices.

The sauce comes together right in the skillet, and the Gruyère melts into it before everything goes into the baking dish. A buttery panko topping adds a crisp contrast to the soft onions underneath. Give the casserole its full rest after baking, and the sauce settles around the onions instead of running across the plate. The top turns golden, the edges bubble, and the center stays creamy.

Cheesy Gruyère Scalloped Onions with golden panko topping
“

Kitchen Note

Take the skillet off the heat before stirring in the Gruyère. The residual heat melts it into the onions without leaving the cheese over direct heat, which helps keep the sauce smooth.

Save these Cheesy Gruyère Scalloped Onions for a cozy side dish with tender onions and a golden, buttery panko top.

Save to Pinterest

Why 1/4-Inch Onion Slices Keep This Casserole Tender

Scalloped onions need enough time to turn soft, but uneven slices can leave you with a mix of textures: thin pieces collapsing into the sauce while thicker ones still feel firm. Cutting the yellow onions about 1/4 inch thick gives them a more even start. It also means the sauce can coat the onions without having to cover a jumble of different-sized pieces.

There’s a useful distinction between tender onions and onions that have disappeared. The onions soften in the skillet, then finish baking in the cream sauce; they should still be easy to find and lift onto a serving spoon. A consistent slice helps preserve that shape while the cheese and sauce bring the pieces together. If you’re slicing by hand, take a moment to keep the pieces close in thickness rather than rushing through the pile. That small bit of care pays off in a casserole where every serving has soft onion layers instead of a few stubborn bites.

What Yellow Onions, Gruyère, and Panko Each Bring to the Dish

Cheesy Gruyère Scalloped Onions bubbling creamy casserole
  • Yellow onions — Their savory bite balances the rich dairy sauce. White onions work as a swap, though they bring a sharper edge; sweet onions make the finished casserole noticeably sweeter. Peel them and slice evenly before cooking.
  • Gruyère — It melts into the sauce with a nutty, savory flavor that stands up to the onions. A block you shred yourself gives the smoothest melt; Swiss cheese is a useful substitute when you want a milder, less distinct cheese flavor.
  • Whole milk and heavy cream — The milk keeps the sauce from feeling too dense, while the cream gives it body. Replacing the cream with more milk makes a less rich, thinner sauce, so keep both if you want the intended creamy texture.
  • All-purpose flour — This thickens the milk and cream into a sauce that clings to the onions. A gluten-free all-purpose blend made for one-to-one baking swaps works in its place; avoid using pure starch as though it were flour.
  • Fresh thyme and nutmeg — Thyme gives the sauce a savory herbal note, and just a little nutmeg rounds out the dairy. Dried thyme can stand in at one-third the amount of fresh thyme, though its flavor is less bright.
  • Panko — Its larger, airy crumbs make a crisp top without weighing down the soft onions. Regular breadcrumbs work, but the topping will be finer and denser.

From a Skillet Full of Onions to a Golden 9×13 Casserole

Soften the onions under cover

Heat the oven to 375°F and grease a 9×13-inch baking dish with 1 teaspoon of the butter. Melt 2 tablespoons plus 2 teaspoons of butter in a 12-inch skillet over medium heat, then add the sliced onions and kosher salt. Cover and cook for 10-12 minutes, stirring once or twice, until the onions begin to soften. They’ll still have plenty of volume at this point; that’s expected.

Let the excess liquid cook away

Uncover the skillet and cook the onions for 10-15 minutes, stirring often. Watch for them to become very tender and for the excess liquid in the pan to evaporate. If you move on while a puddle remains, it can thin the sauce later. Keep the onions moving so they soften evenly without catching on the bottom of the skillet.

Build a sauce that coats the onions

Sprinkle the flour over the onions and stir for 1 minute. Gradually stir in the whole milk and heavy cream, then add the thyme, black pepper, and nutmeg. Simmer for 3-5 minutes, stirring, until the sauce thickens enough to coat the onions rather than pooling thinly around them. Take the skillet off the heat, stir in 6 ounces of the Gruyère, and transfer the mixture to the prepared baking dish.

Add the buttery crumb top and bake

Melt the remaining 1 tablespoon of butter and toss it with the panko. Sprinkle the remaining 2 ounces of Gruyère over the onion mixture, then scatter the panko evenly over the cheese. Bake for 25-30 minutes, until the casserole bubbles and the topping is golden brown. Rest it for 10 minutes before serving so the sauce has a chance to settle around the onions.

Two Useful Ways to Adapt This Gruyère-Onion Bake

Make it gluten-free

Use a one-to-one gluten-free all-purpose flour blend in place of the all-purpose flour, and choose gluten-free panko for the topping. Keep the same method; the crumb texture may vary a little by brand, but you’ll still get a creamy onion casserole with a crisp top.

Use Swiss cheese for a milder finish

Swap the Gruyère for the same amount of shredded Swiss cheese. It melts well in the sauce and on top, but the casserole will taste milder and less nutty than the Gruyère version.

Storage and Reheating

  • Refrigerator: Refrigerate within 2 hours and keep covered for 3-4 days. The panko softens as it sits.
  • Freezer: Freeze baked portions in an airtight container for up to 2 months. Thaw in the refrigerator; the sauce may loosen and the topping won’t be as crisp.
  • Reheating: Warm covered in a 350°F oven until heated through, then uncover near the end to refresh the topping. Reheat leftovers to 165°F; the microwave is quicker but leaves the panko soft.

Questions That Come Up When Baking Scalloped Onions

Can I prepare the onion mixture a day ahead?+

Yes. Cook the onions and sauce through the simmering stage, cool and refrigerate them covered, then gently warm the mixture in a skillet the next day. Take it off the heat before stirring in the Gruyère, transfer it to the baking dish, and add the topping just before baking.

Can I use pre-shredded Gruyère?+

You can, though it may not melt quite as smoothly as cheese shredded from a block. For the creamiest sauce, shred the Gruyère yourself and stir it in after taking the skillet off the heat.

Can I leave off the panko?+

Yes. The casserole will still bake with its Gruyère topping, but you’ll lose the crisp contrast from the buttered crumbs. Keep an eye on the cheese as it bakes and take the dish out when it’s bubbling and the top is golden.

Can I bake this in a smaller casserole dish?+

A smaller dish makes a deeper layer, so the center will take longer to heat and bubble while the topping browns. The 9×13-inch dish gives the onions room to bake in an even layer; use two dishes rather than crowding the mixture into one smaller pan.

Cheesy Gruyère Scalloped Onions

Cheesy Gruyère scalloped onions bake sliced yellow onions in a creamy thyme sauce beneath a golden panko topping. This bubbling casserole makes a rich, savory side dish with tender onions and plenty of Gruyère.
Prep Time 20 minutes
Cook Time 56 minutes
Resting 10 minutes
Total Time 1 hour 26 minutes
Servings: 8 servings
Course: Side Dish
Cuisine: American
Calories: 520

Ingredients
  

For the onion mixture
  • 4 tbsp butter unsalted, divided
  • 3 lb yellow onions peeled and sliced 1/4 inch thick
  • 1 tsp salt kosher
  • 3 tbsp flour all-purpose
  • 2 cup milk whole
  • 1 cup cream heavy
  • 1 tsp thyme leaves fresh
  • 0.5 tsp black pepper
  • 0.125 tsp nutmeg ground
  • 8 oz Gruyère cheese shredded and divided
For the topping
  • 0.5 cup panko breadcrumbs

Equipment

  • 1 9x13-inch baking dish
  • 1 12-inch skillet

Method
 

Cook the onions and sauce
  1. Preheat the oven to 375°F.
  2. Grease a 9x13-inch baking dish with 1 teaspoon of the butter.
  3. Melt 2 tablespoons plus 2 teaspoons of the butter in a 12-inch skillet over medium heat, then add the onions and salt. Cover and cook for 10-12 minutes, stirring once or twice, until the onions begin to soften.
  4. Uncover and cook for 10-15 minutes, stirring often, until the onions are very tender and excess liquid has evaporated.
  5. Sprinkle the flour over the onions and stir for 1 minute, then gradually stir in the milk and heavy cream. Add the thyme, black pepper, and nutmeg, and simmer for 3-5 minutes, stirring, until the sauce thickens enough to coat the onions.
  6. Remove the skillet from the heat and stir in 6 ounces of the Gruyère, then transfer the mixture to the prepared baking dish.
Top and bake
  1. Melt the remaining 1 tablespoon butter and toss it with the panko. Sprinkle the remaining 2 ounces Gruyère over the onions, then scatter the panko evenly on top.
  2. Bake for 25-30 minutes, until the casserole is bubbling and the topping is golden brown.
  3. Let the casserole rest for 10 minutes before serving.

Notes

For evenly tender onions, slice them uniformly. Refrigerate leftovers for 3-4 days; freezing is possible, though the creamy sauce may change texture. For a gluten-free option, use gluten-free all-purpose flour and gluten-free panko.
About the author
Savannah

Leave a Comment

Recipe Rating