Butternut Squash Gratin with Gruyère

November 10, 2026

When the foil comes off, the squash should look softened and the cream should be bubbling gently around the edges. A little later, Gruyère turns golden in spots, and the top gets that savory, browned finish that makes this Butternut Squash Gratin with Gruyère feel right at home beside a roast or on its own as a cozy main.

I warm the cream with garlic, thyme, pepper, and nutmeg before it goes over the squash. That way, the seasoning is already spread through the dish instead of sitting in a few pockets. The squash bakes covered first, so it has time to become tender before the cheese goes on. You get soft slices beneath a browned top, with cream that stays rich rather than boiling away.

Butternut squash gratin with Gruyère golden cheese top
“

Kitchen Note

Give the gratin its full 10-minute rest before serving. The cream settles around the squash as it rests, so the first scoop holds together better instead of sliding apart on the plate.

Save this butternut squash gratin with Gruyère for a golden, creamy side dish that starts with tender layers of squash.

Save to Pinterest

The 1/4-Inch Slice Is What Keeps the Squash Tender Instead of Slumping

Butternut squash softens as it bakes, and the slices need to be thin enough to turn tender in the covered part of the bake. Cut them about 1/4 inch thick and aim for slices that are reasonably even. If some are much thicker than others, the thin pieces can become very soft while the thick centers still resist a knife. It’s worth taking a minute to check the stack as you slice.

The overlapping layers also matter. They keep the squash close together, so the warm cream can move through the gaps and season the whole dish. Don’t pack the slices into a solid, compressed mass; a little room between layers lets the cream settle around them. Once assembled, the squash will look generously layered, but it softens and settles during baking. This balance gives you pieces that stay recognizable on the fork rather than collapsing into a loose mash.

Why Heavy Cream and Gruyère Matter in This Squash Gratin

Butternut squash gratin with Gruyère golden cheese top
  • Butternut squash — Choose a firm squash with unblemished skin; a whole squash is often less expensive than prepared cubes and lets you cut slices to the same thickness. Peel it, scoop out the seeds, and slice it evenly. Pre-cut cubes won’t layer or cook in quite the same way.
  • Heavy cream — Its richness gives the gratin a full, cohesive sauce as the squash bakes. Half-and-half is thinner and won’t give quite the same lush result. Warm the cream with the seasonings rather than pouring it in cold.
  • Gruyère — This cheese melts into a savory, browned topping that stands up to the squash’s sweetness. Freshly shredded cheese melts smoothly; a pre-shredded option is convenient, though it may not melt quite as evenly.
  • Garlic and thyme — Minced garlic seasons the cream throughout, while fresh thyme brings a woodsy note without overpowering the squash. Strip the thyme leaves from their stems before measuring, and mince the garlic finely so it distributes instead of forming strong little bites.
  • Nutmeg and black pepper — Nutmeg adds a warm background note, so keep it subtle. Freshly ground or pre-ground black pepper both work; use what you have on hand.

How to Layer and Bake the Squash Before the Gruyère Goes On

Warm the Seasoned Cream Without Boiling It

Heat the oven to 375°F and butter a 9×13-inch baking dish, including the corners. Warm the heavy cream, minced garlic, thyme, salt, pepper, and nutmeg in a medium saucepan over medium heat. Stop when the cream is steaming; it shouldn’t boil. If you see active bubbles, take the pan off the heat so the cream doesn’t reduce before it reaches the squash.

Arrange the Squash in Overlapping Layers

Lay the squash slices in overlapping layers in the prepared dish. Pour the warm cream mixture evenly over the top, giving it a moment to run into the spaces between slices. Cover the dish tightly with foil; a loose cover lets too much steam escape. Bake covered for 45 minutes before checking the squash.

Check for Tenderness Before Adding Cheese

Remove the foil and slide a knife into a slice near the center of the dish. The squash should be nearly tender, with only a little resistance; if it still feels firm, cover the dish again and bake for 10 more minutes. Don’t add the cheese while the squash is still notably hard, because the topping can brown before the center layers soften. When the knife test shows the squash is nearly tender, uncover the dish.

Brown the Gruyère and Let the Gratin Rest

Scatter the shredded Gruyère evenly over the squash, then bake uncovered for 20 to 25 minutes. Look for tender squash and cheese that’s melted with golden spots across the top. If the cheese is browning quickly, keep an eye on it as it finishes so the topping doesn’t go past golden. Set the gratin aside for 10 minutes before serving.

Three Ways to Change the Flavor or Make This Gratin Dairy-Free

A Dairy-Free Version with a Different Finish

Use plant-based butter to grease the dish, an unsweetened dairy-free cooking cream formulated for heating in place of the heavy cream, and dairy-free shredded cheese instead of Gruyère. The squash will still bake in a creamy layer, though the topping may brown and melt differently, and the flavor won’t have Gruyère’s nutty character.

Make the Garlic More Prominent

For a stronger garlic note, use two minced cloves instead of one. Warm them in the cream as usual; the extra garlic brings a more savory edge that balances the squash’s sweetness without changing the layering or bake.

Storage and Reheating

  • Refrigerator: Cover leftovers and refrigerate for 3 to 4 days. The squash softens more as it sits, and the cream thickens.
  • Freezer: Freeze cooled portions in an airtight container for up to 2 months. Thaw overnight in the refrigerator; the cream may look slightly less smooth and the squash will be softer.
  • Reheating: Reheat covered in a 350°F oven until the center reaches 165°F, then uncover briefly if you’d like to refresh the top. Avoid reheating uncovered the whole time, which can dry the squash before the center is hot.

Questions That Come Up When Making Butternut Squash Gratin

Can I use half-and-half instead of heavy cream?+

Heavy cream is the better choice here because its higher fat content gives the sauce body as the squash cooks. Half-and-half is thinner and can leave the finished gratin looser, so I wouldn’t use it as a straight swap.

Can I use frozen butternut squash?+

Fresh squash works best because it can be cut into thin, overlapping slices. Frozen pieces release extra moisture as they thaw and won’t make the same neat layers, so the gratin may bake up wetter and less even.

Can I prepare the gratin ahead of time?+

You can peel and slice the squash ahead, then keep it covered in the refrigerator and assemble the dish shortly before baking. I prefer to warm the seasoned cream just before pouring it over the squash, so you’re not starting with a cold assembled dish and guessing at the bake time.

Can I use pre-shredded Gruyère?+

Yes. Pre-shredded Gruyère is convenient and will still make a savory topping. It may melt a little less evenly than cheese shredded from a block, but that won’t stop the top from browning.

How do I keep the cheese from browning before the squash is tender?+

Bake the squash covered first, and wait to add the Gruyère until the slices are nearly tender. If you’ve already added the cheese and it’s coloring faster than the squash is softening, loosely cover the dish with foil while it finishes baking.

Butternut Squash Gratin with Gruyère

Butternut squash gratin with Gruyère bakes in a creamy thyme and garlic sauce beneath a golden, bubbling cheese topping. Thin overlapping squash slices turn tender as the gratin bakes.
Prep Time 20 minutes
Cook Time 1 hour 20 minutes
resting 10 minutes
Total Time 1 hour 50 minutes
Servings: 8 servings
Course: Side Dish
Cuisine: French
Calories: 320

Ingredients
  

For the gratin
  • 1 tbsp unsalted butter softened, for the baking dish
  • 3 lb butternut squash peeled, seeded, and cut into 1/4-inch-thick slices
  • 1.5 cup heavy cream
  • 1 cloves garlic minced
  • 1 tsp thyme fresh leaves
  • 1 tsp salt kosher
  • 0.25 tsp pepper black
  • 0.125 tsp nutmeg ground
For the topping
  • 1.5 cup Gruyère cheese shredded

Equipment

  • 1 9x13-inch baking dish

Method
 

Make the cream
  1. Heat the oven to 375°F.
  2. Grease a 9x13-inch baking dish with the butter.
  3. In a medium saucepan, warm the heavy cream, garlic, thyme, salt, pepper, and nutmeg over medium heat until steaming; do not let it boil.
Assemble and bake
  1. Arrange the squash slices in overlapping layers in the prepared dish.
  2. Pour the warm cream mixture evenly over the squash, cover tightly with foil, and bake for 45 minutes.
  3. Remove the foil and test the squash with a knife.
  4. If it is not nearly tender, cover and bake for 10 more minutes.
  5. Uncover and scatter the Gruyère over the top.
  6. Bake for 20 to 25 minutes, until the squash is tender and the cheese is golden in spots.
  7. Let the gratin rest for 10 minutes before serving.

Notes

For evenly tender squash, slice the pieces to a consistent 1/4-inch thickness. Refrigerate leftovers for 3 to 4 days; freezing is not recommended because the cream sauce may separate. For a vegetarian version, choose Gruyère made with vegetarian rennet.
About the author
Savannah

Leave a Comment

Recipe Rating