Love this? Pin it for later!
There’s a particular kind of magic that happens when the first real cold snap hits. The air turns sharp, the light turns silvery, and suddenly every craving shifts toward warmth: steaming mugs, crackling fires, and anything that emerges from the oven in a gratin dish, fragrant and bubbling. That first winter I moved to Vermont, I had nothing but a tiny rental kitchen, a single battered sheet pan, and an ancient Le Creuset I’d rescued from a yard sale. One late-November evening, after trudging home through wet snow, I cobbled together this gratin from the dregs of my CSA box: a knobby butternut, a couple of sweet potatoes, some cream left over from Thanksgiving pie, and the last sprig of thyme that hadn’t surrendered to frost. What came out of the oven forty-five minutes later felt like alchemy—sweet, savory, garlicky, herby, and impossibly comforting. I ate it straight from the dish while standing at the counter in my coat, boots still dripping onto the linoleum.
Eight winters later, it’s still the recipe I turn to when I need edible hygge. It works as a vegetarian main for a holiday table, a make-ahead meal for ski-weekend guests, or a weeknight supper paired with nothing more than a bitter-green salad and a glass of crisp cider. The leftovers (should you be so lucky) reheat like a dream and the flavors deepen overnight. If you’re feeding skeptics who think vegetarian food can’t be “cozy,” slide this gratin in front of them and watch the conversion happen in real time.
Why This Recipe Works
- Double-layered aromatics: Fresh thyme infuses both the cream and the vegetable layers, giving depth without overwhelming.
- Precision slicing: A mandoline (or sharp knife) ensures even ⅛-inch coins that cook uniformly and absorb sauce like little flavor sponges.
- Two-cheese strategy: Nutty Gruyère melts silkily while a whisper of Parmesan on top adds crave-worthy crackly bits.
- Make-ahead friendly: Assemble up to 24 hours in advance; the flavors meld and actually improve overnight.
- Vegetarian main or side: Serve as a centerpiece with crusty bread or alongside roast poultry for omnivores.
- Freezer hero: Bakes straight from frozen with only a modest time bump—perfect for post-holiday meal fatigue.
Ingredients You'll Need
Before we dive into the method, let’s talk produce shopping. For squash, look for a 2½–3 lb butternut, kabocha, or sugar pumpkin with matte, unblemished skin and a fat “neck” that will yield generous rounds. Sweet potatoes should be firm, without any green tinges or soft spots—jewel or garnet varieties give the creamiest texture. Fresh thyme is non-negotiable; dried thyme turns musty in long bakes. If your grocery store thyme looks sad, grab a pot of living herbs from the produce section and you’ll have enough for this recipe plus weeks of winter stews.
The cream sauce is where we build insurance against blandness. Use whole milk (2 % is fine in a pinch but skip skim) and real unsalted butter; margarine will break under heat. Nutmeg should be freshly grated—those little jars lose their perfume within weeks. For cheese, splurge on imported Swiss Gruyère with AOP certification; domestic versions are often younger and won’t melt as smoothly. A small block of Parmigiano Reggiano for the crust is worth it, but in a pinch, Pecorino Romano or even aged white cheddar works.
Finally, the garlic. I like to smash two cloves to infuse the sauce, then finely grate another two directly into the béchamel for layered, mellow sweetness. If you’re a garlic fiend, go ahead and add a fourth clove—just don’t say I didn’t warn your dinner companions.
How to Make Warm Winter Squash and Sweet Potato Gratin with Garlic and Thyme
Prep your produce
Peel squash and sweet potatoes. Using a mandoline set to ⅛-inch (or a steady hand and chef’s knife), slice into uniform coins. Place in a large bowl and toss with 1 tsp kosher salt and ½ tsp freshly ground black pepper; this seasons from the inside out and draws out excess moisture so the gratin doesn’t swim.
Build the béchamel
In a heavy saucepan melt 3 Tbsp butter over medium. Add smashed garlic cloves and thyme sprigs; swirl 2 minutes until fragrant but not browned. Whisk in 3 Tbsp flour; cook 90 seconds to eliminate raw taste. Slowly pour in 2 cups cold whole milk, whisking constantly. Bring to a gentle simmer; cook 4–5 minutes until thick enough to coat the back of a spoon. Off heat, stir in ½ cup grated Gruyère, ½ tsp salt, ¼ tsp white pepper, and a whisper of nutmeg.
Layer and lacquer
Heat oven to 400 °F. Butter a 2-quart oval gratin dish. Spoon 2 Tbsp sauce into the base. Arrange overlapping slices of squash and sweet potato in tight concentric circles, alternating colors for a sunset effect. Tuck tiny thyme leaves between layers. Pour half the remaining sauce, repeat layers, then finish with the last of the sauce. Press gently so liquid rises just to the surface.
Top and tent
Combine remaining ½ cup Gruyère with ¼ cup grated Parmesan; sprinkle evenly over surface. Lightly coat a sheet of foil with non-stick spray and tent over dish, greased side down, so cheese won’t stick while steam escapes.
Bake low and slow
Bake 30 minutes covered. Remove foil, reduce heat to 375 °F, bake 25–30 minutes more until vegetables are fork-tender and top is mottled mahogany. If you like extra crunch, slip under broiler for 1–2 minutes, rotating pan for even browning.
Rest and serve
Let stand 10 minutes; this allows sauce to set so slices hold together. Garnish with fresh thyme leaves and a crack of black pepper. Serve bubbling hot with crusty bread to swipe the edges of the dish.
Expert Tips
Don’t skip the salt rest
Salting the raw slices draws out moisture so the sauce stays thick and concentrated rather than watery.
Cold milk, hot roux
Adding cold milk prevents lumps and keeps the flour from seizing so you get silk-smooth béchamel every time.
Mandoline safety
Use the finger guard or cut the last piece flat-side down so you don’t shave off fingertips—trust me, I’ve tested the ER option.
Crust insurance
If the top browns too quickly, tent loosely with foil mid-bake; every oven has hot spots and cheese is eager to burn.
Overnight magic
Assemble the night before, cover tightly, and refrigerate. Next day, let sit at room temp 30 minutes before baking—flavors intensify beautifully.
Freezer shortcut
Freeze unbaked gratin up to 2 months. Bake from frozen at 350 °F for 1 hour 15 minutes, adding foil if top browns early.
Variations to Try
- Smoky kale twist: Wilt 2 cups shredded lacinato kale in butter, layer between squash rounds for earthy depth.
- Apple & sage: Sub thin apple slices for half the sweet potato and swap thyme for fried sage leaves.
- Spicy harissa: Whisk 1 Tbsp harissa paste into béchamel for North-African heat and rosy color.
- Vegan comfort: Use oat milk, olive-oil roux, and nutritional-yeast “cheese” topping—surprisingly creamy.
- Holiday luxury: Slip in a handful of sautéed chanterelles and finish with truffle salt for an upscale riff.
- Breakfast encore: Reheat leftovers topped with a runny egg and a drizzle of hot sauce—next-day brunch gold.
Storage Tips
Refrigerator: Cool completely, cover tightly, and refrigerate up to 4 days. Reheat individual portions in microwave at 70 % power, or warm entire dish at 325 °F for 20 minutes until center is steaming.
Freezer: Wrap unbaked gratin (in a metal or foil pan) with plastic plus foil to prevent freezer burn. Label and freeze up to 2 months. Bake from frozen as directed above, adding 15–20 extra minutes and checking with a knife for doneness.
Leftover love: Dice cold gratin into 1-inch cubes, pan-sear in butter until edges crisp, and serve over bitter greens with a squeeze of lemon—chef’s treat!
Frequently Asked Questions
warm winter squash and sweet potato gratin with garlic and thyme
Ingredients
Instructions
- Prep vegetables: Toss squash and sweet potato slices with 1 tsp salt and ½ tsp pepper; let stand 10 minutes to draw out moisture.
- Make béchamel: Melt butter with smashed garlic and thyme sprigs over medium heat 2 minutes. Whisk in flour 90 seconds. Gradually whisk in cold milk; simmer 4–5 minutes until thick. Off heat, stir in ½ cup Gruyère, grated garlic, ½ tsp salt, ¼ tsp pepper, and nutmeg.
- Assemble: Butter a 2-quart gratin dish. Spread 2 Tbsp sauce on base. Arrange overlapping slices of vegetables in concentric rows. Pour half of remaining sauce, repeat layers, finish with sauce.
- Top: Mix remaining ¾ cup Gruyère with Parmesan; sprinkle evenly. Lightly coat foil with spray, tent over dish greased side down.
- Bake: Bake 30 minutes at 400 °F covered. Remove foil, reduce heat to 375 °F, bake 25–30 minutes until vegetables are tender and top is golden. Optional: broil 1–2 minutes for extra crust.
- Serve: Rest 10 minutes, garnish with fresh thyme leaves, and serve hot.
Recipe Notes
Mandoline slicing guarantees even cooking. If your baking dish is glass, lower oven temp by 25 °F to prevent over-browning edges.