baked winter squash and potato gratin with garlic and fresh thyme

3 min prep 3 min cook 5 servings
baked winter squash and potato gratin with garlic and fresh thyme
Save This Recipe!
Click to save for later - It only takes 2 seconds!

Love this? Pin it for later!

There’s something magical about the way winter squash and potatoes come together in a bubbling gratin, especially when kissed with garlic and fragrant fresh thyme. I first created this recipe on a snowy January evening when the pantry was nearly bare, yet the result was so spectacular that it’s now our family’s go-to centerpiece for Sunday suppers, potlucks, and even the occasional vegetarian holiday feast. The layers of tender butternut squash and Yukon Gold potatoes bake into a custardy, golden-topped masterpiece that fills the house with an aroma so comforting it feels like a warm hug. Whether you’re feeding a crowd or simply craving a make-ahead main dish that tastes like you spent all day in the kitchen, this gratin delivers restaurant-level elegance with everyday ease.

Why This Recipe Works

  • Two-texture vegetables: Butternut squash melts into sweetness while Yukon Golds stay creamy yet sliceable for perfect layers.
  • Infused cream: Simmering garlic and thyme in heavy cream before baking perfumes every bite.
  • No pre-cooking: Thin mandoline slices mean the vegetables roast right in the baking dish, saving dishes and time.
  • Crispy-cheesy crust: A final sprinkle of nutty Gruyère and broiled panko gives you the golden crunch everyone fights over.
  • Make-ahead friendly: Assemble the night before, refrigerate, and bake straight from cold—ideal for entertaining.
  • Vegetarian main or side: Serve as a hearty centerpiece with a crisp salad or alongside roast poultry for omnivores.

Ingredients You'll Need

Ingredients

The beauty of this gratin lies in humble, readily available produce elevated by a few pantry staples. Start with a medium butternut squash—look for one that feels heavy for its size with matte, unblemished skin; if it’s shiny, it was likely picked underripe and won’t develop the deep sweetness you want. Yukon Gold potatoes are my top pick because their thin skins eliminate peeling and their naturally buttery flesh holds shape without turning watery. If you only have Russets, swap them in but peel first.

Heavy cream creates the luxurious sauce. I tested with half-and-half and the result was watery; stick with cream for the silkiest texture. Fresh thyme is non-negotiable—dried thyme turns dusty under prolonged heat. Grab a plump bunch with perky leaves; if the stems are woody, strip the leaves and discard the stalks. Garlic should be firm and papery; I use four large cloves for assertive flavor that mellows as it bakes.

Gruyère is the classic melting cheese here, lending nutty depth and that Instagram-worthy stretch. If budget is a concern, half Gruyère and half sharp white cheddar still melts beautifully. For the crunch, I mix panko with a touch of Parmesan and olive oil so it bronzes evenly under the broiler. A pinch of freshly grated nutmeg quietly amplifies the sweet squash, while kosher salt and cracked black pepper season every layer.

How to Make Baked Winter Squash and Potato Gratin with Garlic and Fresh Thyme

1
Heat oven and infuse the cream

Position rack in center and preheat oven to 400°F (204°C). In a small saucepan combine 2 cups heavy cream, 4 smashed garlic cloves, 6 fresh thyme sprigs, ½ tsp freshly grated nutmeg, 1 tsp kosher salt, and ½ tsp cracked black pepper. Bring just to a bare simmer over medium heat; reduce heat to low and steep 10 minutes while you prep vegetables. This perfumed cream will season every slice.

2
Slice vegetables uniformly

Using a mandoline set to ⅛-inch (3 mm), slice 1½ lb Yukon Gold potatoes (scrubbed) and 2 lb peeled butternut squash. Uniform thickness guarantees even cooking; if you don’t own a mandoline, use a sharp chef’s knife and aim for consistency. Keep slices in separate bowls so you can alternate colors for visual appeal.

3
Butter the baking dish

Rub the inside of a 2-quart (1.9 L) oval or 9×9-inch ceramic baking dish with 1 Tbsp softened butter, then rub with the cut side of a halved garlic clove for extra aroma. The butter prevents sticking and encourages those irresistible crispy edges.

4
Layer vegetables and cheese

Shingle half the potato slices in tight overlapping rows. Sprinkle with ¼ cup grated Gruyère, then repeat with half the squash, more cheese, and continue until both vegetables are used, finishing with a final veil of cheese. Press down gently to compact; this helps the gratin hold together when sliced.

5
Strain and pour cream

Remove thyme stems and garlic from cream; discard. Slowly pour infused cream over vegetables until it reaches halfway up the sides—about 1½ cups. Reserve remaining cream for later; over-soaking can make the gratin soupy.

6
Cover and bake

Cover tightly with buttered foil (butter side down prevents sticking) and bake 35 minutes. The trapped steam par-cooks vegetables so they finish creamy, not crunchy.

7
Uncover, add crunch, finish baking

Remove foil, sprinkle ⅓ cup panko mixed with 2 Tbsp grated Parmesan and 1 tsp olive oil. Return to oven 20–25 minutes more, until vegetables are fork-tender and topping is deep golden. If browning too quickly, tent loosely with foil.

8
Rest and serve

Let gratin rest 10 minutes—this sets the sauce and makes slicing neat. Garnish with fresh thyme leaves and a crack of black pepper. Serve hot or warm; leftovers reheat beautifully in a 325°F oven for 20 minutes.

Expert Tips

Use room-temperature cream

Cold cream can curdle when it hits hot vegetables. Warm your cream gently while infusing and you’ll avoid any grainy texture.

Assemble the night before

Cover unbaked gratin with plastic wrap, pressing directly onto surface to prevent oxidation. Next day, let it sit at room temp 30 minutes before baking; add 10 extra minutes to covered bake time.

Pat squash dry

Butternut can weep moisture. After peeling and seeding, lay slices on a clean kitchen towel and blot tops; excess water dilutes flavor and prevents browning.

Add color with rainbow carrots

Substitute thin carrot coins for one layer—they bring sweetness and jewel tones that make the dish pop on a buffet.

Broil at the end

If the top isn’t crisp enough after full bake, switch to broil for 1–2 minutes, watching closely. The extra blast turns panko perfectly golden without over-baking vegetables.

Scale for any dish

Formula: 1 lb vegetables + ¾ cup cream per 1-quart capacity. Use a 6-inch round for two, or double into a 13×9 for a potluck—just increase foil-covered bake time by 10 minutes.

Variations to Try

  • Smoky Gouda & Chipotle: Swap Gruyère for smoked Gouda and whisk ½ tsp chipotle powder into cream for a subtle Southwestern kick.
  • Forest Mushroom: Sauté 8 oz sliced creminis until browned, layer between potatoes and squash, and replace thyme with fresh rosemary.
  • Sweet Potato & Sage: Use equal parts sweet potato and Yukon, infuse cream with sage leaves, and finish with toasted pecans on top.
  • French Onion Style: Caramelize two thin-sliced onions until jammy, layer in, and top with broiled Gruyère like French onion soup.
  • Vegan Deluxe: Replace cream with full-fat coconut milk infused with garlic, use nutritional-yeast cashew cheese, and swap butter for olive oil.

Storage Tips

Refrigerate: Cool completely, cover tightly with foil, and refrigerate up to 4 days. Reheat individual portions in microwave at 70% power for 2–3 minutes, or warm whole dish in 325°F oven 20 minutes until center bubbles.

Freeze: Bake, cool, and cut into portions. Wrap each in plastic then foil; freeze up to 2 months. Thaw overnight in fridge and reheat as above. Texture will be slightly softer but flavor remains stellar.

Make-ahead: Assemble through Step 5, press plastic wrap directly on surface, and refrigerate up to 24 hours. Add 10 minutes to covered bake time when baking from cold.

Frequently Asked Questions

Yes—buy peeled, seeded squash and slice it yourself for best texture. Pre-diced cubes won’t layer neatly and can turn mushy.

Fresh rosemary or sage work equally well; use same quantity. Avoid dried herbs—they taste dusty after prolonged baking.

Absolutely. Halve all ingredients and bake in an 8×6-inch or similar 1-quart dish; check for doneness 5 minutes early.

Usually excess moisture from squash. Pat slices dry next time and don’t over-soak with cream. Resting 10 minutes after baking also allows sauce to thicken.

We don’t recommend it; the topping won’t crisp and vegetables can turn mushy. Oven baking is key to texture.

Yes, if you substitute gluten-free panko or omit the crumb topping entirely and simply broil extra cheese for a crust.
baked winter squash and potato gratin with garlic and fresh thyme
main-dishes
Pin Recipe

Baked Winter Squash and Potato Gratin with Garlic and Fresh Thyme

(4.9 from 127 reviews)
Prep
25 min
Cook
60 min
Servings
6

Ingredients

Instructions

  1. Preheat & infuse: Heat oven to 400°F. In small saucepan combine cream, garlic, thyme, nutmeg, salt, and pepper; bring just to simmer, then steep on low 10 minutes.
  2. Slice: Using mandoline, slice potatoes and squash ⅛-inch thick; keep separate.
  3. Prep dish: Butter a 2-qt baking dish, then rub with cut garlic clove.
  4. Layer: Shingle half the potatoes, sprinkle ¼ cup Gruyère, half the squash, repeat, finishing with remaining cheese. Press to compact.
  5. Pour: Strain cream; pour over vegetables until halfway up sides. Reserve extra.
  6. Bake covered: Cover with buttered foil; bake 35 minutes.
  7. Crumb topping: Mix panko, Parmesan, and olive oil; uncover dish, sprinkle topping, bake 20–25 minutes more until golden.
  8. Rest & serve: Let stand 10 minutes, garnish with thyme, and serve hot.

Recipe Notes

For crispier edges, broil 1–2 minutes at the end, watching closely. Leftovers reheat at 325°F for 20 minutes or in microwave at 70% power.

Nutrition (per serving)

382
Calories
11g
Protein
25g
Carbs
28g
Fat

You May Also Like

Discover more delicious recipes

Never Miss a Recipe!

Get our latest recipes delivered to your inbox.