cozy potato and winter squash gratin with garlic and thyme

3 min prep 45 min cook 3 servings
cozy potato and winter squash gratin with garlic and 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 a gratin transforms simple vegetables into pure comfort food. This potato and winter squash version has become my go-to dish when the weather turns crisp and I crave something that feels like a warm hug on a plate. I first created it on a snowy Sunday afternoon when I had half a butternut squash and some Yukon Golds that needed using up—now it's the recipe my family requests as soon as sweater weather hits.

What makes this gratin special is the way the earthy thyme and fragrant garlic infuse every layer, while the combination of potatoes and squash creates the most satisfying texture contrast. The top gets golden and crispy while the inside stays luxuriously creamy. It's elegant enough for a holiday table but simple enough for a Tuesday night when you want your kitchen to smell like heaven. Trust me, once you make this, you'll find yourself buying squash just as an excuse to whip it up again.

Why This Recipe Works

  • Dual Texture Magic: The starchy potatoes absorb the cream while the squash adds silky sweetness, creating layers that are both tender and structured.
  • Flavor Infusion Technique: Gently warming the cream with garlic and thyme before pouring it over ensures every bite is aromatic, not just the top layer.
  • Perfect Golden Crust: A combination of Gruyère and Parmesan creates that coveted bubbly, golden top with nutty depth that complements the vegetables beautifully.
  • Make-Ahead Friendly: Assemble it the night before and bake when ready—ideal for entertaining without the last-minute rush.
  • Seasonal Flexibility: Works with any winter squash variety and adapts to whatever herbs you have on hand, making it perfect year-round.
  • Comfort Food Elevated: Feels indulgent and restaurant-worthy but uses everyday ingredients you probably already have in your pantry.

Ingredients You'll Need

Ingredients

Before we dive into the cooking process, let's talk about what makes each ingredient shine in this gratin. The beauty of this dish lies in its simplicity—each component plays a crucial role in creating the final symphony of flavors and textures.

Yukon Gold Potatoes are my potato of choice here because their naturally buttery flavor and medium starch content means they hold their shape while still creating that luscious, creamy interior we crave in a gratin. Their thin skin is tender enough that I rarely peel them, saving time while adding a rustic touch. Look for potatoes that are firm with smooth skin—avoid any with green spots or sprouting eyes. If you can't find Yukon Golds, Russets will work but tend to break down more, creating a softer texture.

Butternut Squash brings natural sweetness that balances the richness of the cream and cheese. Its dense flesh becomes meltingly tender while maintaining just enough structure to layer beautifully. When selecting your squash, choose one that feels heavy for its size with a matte (not shiny) skin. The neck should be long and straight, giving you more usable flesh with fewer seeds. If butternut isn't available, kabocha or even sweet potatoes make excellent substitutes.

Heavy Cream is non-negotiable for the silkiest texture. The high fat content prevents curdling and creates that luxurious mouthfeel that defines a proper gratin. I've tested with half-and-half and the result is always disappointingly watery. Spring for the good cream here—your taste buds will thank you. Let it come to room temperature before using for more even cooking.

Fresh Thyme infuses the entire dish with its woodsy, slightly floral notes. Dried thyme simply can't compare to the vibrant flavor fresh sprigs provide. The tiny leaves distribute evenly between layers, ensuring every bite carries that herbaceous essence. Strip the leaves by running your fingers backward along the stem—nature's perfect herb! If fresh isn't available, use half the amount of dried, but honestly, this is worth a grocery run.

Gruyère Cheese is the classic choice for gratins, offering the perfect balance of meltability and complex, nutty flavor. Aged Gruyère brings deeper flavor but can be pricy—Swiss Emmental works beautifully and is more budget-friendly. Whatever you choose, grate it yourself from a block. Pre-shredded cheese contains cellulose that prevents smooth melting.

How to Make Cozy Potato and Winter Squash Gratin with Garlic and Thyme

1

Prep Your Vegetables

Preheat your oven to 375°F (190°C). Using a mandoline or sharp knife, slice the potatoes into 1/8-inch thick rounds. Place them in a bowl of cold water to prevent browning while you work. Peel the butternut squash, remove the seeds, and slice into similar thickness. Aim for uniform slices about 1/8-inch thick—this ensures even cooking and beautiful layering. Keep the vegetables separate as they'll be layered separately.

2

Infuse the Cream

In a small saucepan, combine the heavy cream, minced garlic, thyme leaves, salt, white pepper, and a few gratings of fresh nutmeg. Heat over medium-low until tiny bubbles appear around the edges—about 5 minutes. Do not let it boil! Remove from heat and let steep for 10 minutes. This gentle warming coaxes maximum flavor from the aromatics without curdling the cream. Strain if you prefer a completely smooth texture, but I love the rustic bits of garlic and thyme.

3

Butter and Season Your Dish

Generously butter a 2-quart baking dish (about 9x13 inches) with softened butter, making sure to get into the corners. This prevents sticking and adds flavor. Drain the potatoes and pat them very dry with clean kitchen towels. Season both potato and squash slices lightly with salt and pepper—this builds flavor in every layer, not just on top. The key is light seasoning on each layer rather than heavy seasoning all at once.

4

Create the First Layer

Start with a single layer of potato slices, overlapping them like shingles. This potato foundation prevents the squash from sticking to the bottom. Drizzle with about 2 tablespoons of the infused cream, then sprinkle with a light layer of Gruyère. The cheese between layers acts like delicious glue, binding everything together while creating those irresistible cheese pulls when served.

5

Alternate Vegetable Layers

Continue alternating potato and squash layers, ending with potato on top. I like to create a pattern—potato, squash, potato, squash—for visual appeal. Each vegetable layer should be thin enough that you can see the layer beneath, creating a beautiful stained-glass effect. Remember to season and add a sprinkle of cheese between each layer, reserving the most cheese for the top.

6

Add Cream and Press

Pour the remaining cream mixture evenly over the top. Use the back of a spoon to gently press down, ensuring the cream seeps into all the nooks and crannies. The liquid should come about three-quarters up the sides—add a splash more cream if needed. Press a piece of parchment paper directly on the surface. This prevents the top from browning too quickly while the vegetables cook through.

7

First Bake Covered

Cover the dish tightly with foil and bake for 45 minutes. The covered baking steams the vegetables, ensuring they become tender without drying out. Resist the urge to peek—keeping the steam trapped is crucial for even cooking. After 45 minutes, test with a paring knife; it should slide through with slight resistance. The vegetables will continue cooking uncovered, so slightly underdone is perfect.

8

Uncover and Add Final Cheese

Remove the foil and parchment, then sprinkle the remaining Gruyère and all the Parmesan over the top. Return to the oven uncovered for 20-25 minutes more, until the top is golden brown and bubbling. For extra crunch, turn on the broiler for the final 2-3 minutes, watching carefully to prevent burning. The cheese should be deeply golden and the cream should be bubbling up around the edges.

9

Rest Before Serving

Let the gratin rest for 10-15 minutes before serving. This crucial step allows the cream to set slightly, making it easier to serve neat portions. The flavors also meld and intensify as it sits. If you cut into it immediately, you'll have a delicious but soupy mess. Patience here rewards you with picture-perfect servings that hold their shape while remaining luxuriously creamy inside.

Expert Tips

Mandoline Safety

If using a mandoline, always use the safety guard and keep your fingers well clear. For extra protection, cut a flat surface on your vegetables first so they sit securely. A cut-resistant glove adds another layer of safety for confident slicing.

Temperature Check

The gratin is perfectly cooked when the internal temperature reaches 200°F (93°C). At this point, the starches have properly gelatinized, creating that ideal creamy texture without being watery.

Prevent Watery Gratin

Pat your sliced vegetables very dry before layering. Excess moisture is the enemy of a creamy gratin. If your squash seems particularly wet, salt it lightly and let drain in a colander for 15 minutes before patting dry.

Even Cooking

If your oven runs hot or the top is browning too quickly, tent loosely with foil. Every oven is different, so trust your eyes more than the timer. The gratin should be golden, not burnt.

Cheese Selection

While Gruyère is traditional, don't be afraid to experiment. Comté brings nutty complexity, Fontina adds extra creaminess, and a touch of aged cheddar provides sharp contrast to the sweet squash.

Make-Ahead Magic

Assemble completely up to 24 hours ahead. Add 10-15 minutes to the covered baking time if going straight from refrigerator to oven, as the cold dish will need longer to heat through.

Variations to Try

Sweet Potato Swap

Replace half the Yukon Golds with orange sweet potatoes for extra sweetness and beautiful color contrast. Add a pinch of cinnamon to the cream for warm spice notes that complement the sweet potatoes wonderfully.

Herb Garden Blend

Mix fresh rosemary, sage, and parsley with the thyme for a more complex herb profile. Rosemary adds piney notes, sage brings earthiness, and parsley contributes fresh brightness to balance the rich cream.

Smoky Bacon Boost

Fry 4 slices of thick-cut bacon until crisp. Crumble half between the layers and sprinkle the rest on top before the final cheese addition. The smoky saltiness pairs beautifully with the sweet squash.

Vegan Version

Substitute full-fat coconut milk for cream, use nutritional yeast and vegan cheese shreds, and sauté mushrooms in olive oil before layering for umami depth. The result is surprisingly rich and satisfying.

Leek Addition

Sauté 2 sliced leeks in butter until meltingly soft, about 15 minutes. Layer these between the potato and squash for subtle onion sweetness that complements both vegetables without overpowering.

Spicy Kick

Add 1/2 teaspoon of smoked paprika and a pinch of cayenne to the cream. The gentle heat wakes up your palate and adds complexity without overwhelming the dish's inherent comfort factor.

Storage Tips

Refrigeration

Store leftover gratin in an airtight container in the refrigerator for up to 4 days. The flavors actually improve after the first day as they meld together. To reheat, cover with foil and warm in a 325°F (165°C) oven for 20-25 minutes until heated through. Add a splash of cream if it seems dry. Individual portions can be microwaved for 2-3 minutes, though the texture won't be quite as luxurious as oven reheating.

Freezing

While gratins are best fresh, you can freeze portions for up to 2 months. Cool completely, then wrap individual portions tightly in plastic wrap followed by foil. Thaw overnight in the refrigerator before reheating. Note that the cream may separate slightly upon thawing, creating a slightly grainy texture. While still delicious, it's not quite as silky as fresh. For best results, freeze unbaked gratins—wrap tightly and freeze for up to 1 month. Bake from frozen, adding 30-40 minutes to the covered baking time.

Make-Ahead Assembly

Prepare the gratin completely up to 24 hours ahead. Cover tightly with plastic wrap (directly on the surface) then foil. Store in the refrigerator until ready to bake. Remove from the refrigerator 30 minutes before baking to take the chill off. Add 10-15 minutes to the covered baking time. The assembled, unbaked gratin can also be frozen for up to 1 month. Thaw completely in the refrigerator before baking as directed.

Frequently Asked Questions

Absolutely! While butternut is my favorite for its sweet, nutty flavor and smooth texture when cooked, you can use any winter squash. Kabocha squash brings an extra-sweet, almost chestnut-like flavor and holds its shape beautifully. Acorn squash works but has a more fibrous texture. Delicata is lovely with edible skin, adding pretty stripes to your layers. Even sugar pumpkins or sweet potatoes make excellent substitutes. Each will bring its own character—kabocha for sweetness, acorn for a more savory note, delicata for visual appeal.

Curdling usually happens when cream is heated too quickly or to too high a temperature. To prevent this, always use heavy cream (not half-and-half) with at least 36% fat content. Warm it gently—never let it boil. When infusing, keep the heat on low and watch for tiny bubbles around the edges. If you see rapid bubbling, immediately remove from heat. Also, ensure your vegetables aren't overly wet, as excess water can cause separation. Using room temperature cream helps it incorporate more evenly. If curdling occurs, the gratin is still safe to eat—it just won't have the silky texture we want.

Yes! While it won't have exactly the same richness, you can create a delicious dairy-free version. Substitute full-fat coconut milk for the heavy cream—it has enough fat to prevent curdling and adds a subtle sweetness that complements the squash beautifully. For the cheese, use a combination of nutritional yeast for umami depth and your favorite vegan cheese shreds for melting. Add some sautéed mushrooms for extra savory notes that replace the complexity lost from the Gruyère. The result is surprisingly satisfying and rich, though different from the original. Coconut cream works even better than coconut milk if you can find it.

Aim for 1/8-inch thickness—about the thickness of a credit card. This ensures the vegetables cook through evenly while maintaining some texture. Too thick and they'll be crunchy in the center; too thin and they'll dissolve into mush. A mandoline makes quick work of this, but a sharp chef's knife works too. The key is consistency—try to keep all slices the same thickness so they cook at the same rate. If some are slightly thicker or thinner, group like sizes together in layers. Don't stress about perfection—slight variation adds to the rustic charm.

Absolutely! Crispy bacon is classic—fry 4-6 slices until crisp, crumble half between layers, and save some for the top. Ham cubes add heartiness without overpowering. For a lighter option, rotisserie chicken shredded into bite-sized pieces works beautifully. Even cooked Italian sausage, crumbled and browned, adds wonderful flavor. For vegetarians, crispy fried shallots or garlic chips add protein-free crunch and flavor. The key is adding cooked proteins that won't release excess moisture. Layer them between the vegetables so every bite has a bit of everything.

Excess moisture usually comes from vegetables that weren't dried properly or from using half-and-half instead of heavy cream. Always pat your sliced vegetables very dry with clean kitchen towels. If your squash seems particularly wet (some varieties are), salt the slices lightly and let them drain in a colander for 15-20 minutes, then pat dry. Also ensure you're using heavy cream with at least 36% fat—lower fat dairy products contain more water. Finally, don't skip the resting time after baking; this allows the cream to set and redistribute, preventing a watery bottom when you serve.

cozy potato and winter squash gratin with garlic and thyme
main-dishes
Pin Recipe

Cozy Potato and Winter Squash Gratin with Garlic and Thyme

(4.9 from 127 reviews)
Prep
30 min
Cook
70 min
Servings
8

Ingredients

Instructions

  1. Prep vegetables: Preheat oven to 375°F (190°C). Slice potatoes and squash into 1/8-inch thick rounds. Keep potatoes in cold water to prevent browning.
  2. Infuse cream: In a small saucepan, combine cream, garlic, thyme, salt, white pepper, and nutmeg. Warm over medium-low heat until tiny bubbles appear around edges. Remove from heat and steep 10 minutes.
  3. Prepare dish: Butter a 2-quart baking dish. Drain and pat potatoes very dry. Season both vegetables lightly with salt and pepper.
  4. Layer vegetables: Create alternating layers of potato and squash, starting and ending with potato. Season and sprinkle cheese between layers, reserving 1/2 cup Gruyère and all Parmesan for top.
  5. Add cream: Pour infused cream evenly over vegetables. Press parchment paper directly on surface.
  6. Bake covered: Cover with foil and bake 45 minutes until vegetables are nearly tender when tested with a knife.
  7. Finish baking: Remove foil and parchment. Sprinkle with remaining cheeses. Bake uncovered 20-25 minutes more until golden and bubbling. Broil 2-3 minutes for extra browning if desired.
  8. Rest and serve: Let stand 10-15 minutes before serving to allow cream to set.

Recipe Notes

For the creamiest texture, use heavy cream with at least 36% fat content. The gratin can be assembled up to 24 hours ahead—add 10-15 minutes to covered baking time if baking from cold. Leftovers reheat beautifully in a 325°F oven for 20-25 minutes.

Nutrition (per serving)

425
Calories
12g
Protein
28g
Carbs
32g
Fat

You May Also Like

Discover more delicious recipes

Never Miss a Recipe!

Get our latest recipes delivered to your inbox.