Layers of Yukon gold potatoes, sweet potatoes, and parsnips turn silky under cream and settle into a bubbling, golden crust of Gruyere. The mix of roots keeps every bite from tasting flat. You get earthy, sweet, and savory all at once, with edges that brown into something spoonable and rich.
This version works because the cream is warmed first with garlic, thyme, and nutmeg, so the flavor starts in the liquid instead of sitting on the surface. The slices are cut thin enough to soften at the same rate, which matters when you’re layering different vegetables that don’t cook exactly the same way. Gruyere melts cleanly and brings the kind of nutty pull that makes the gratin feel substantial, while Parmesan on top sharpens the finish.
Below you’ll find the small details that keep the layers tender instead of watery, plus the one resting step that makes serving neat slices much easier.
The cream soaked into the potatoes and parsnips perfectly, and the top got deeply golden without the middle turning soupy. I let it rest the full 10 minutes and it sliced beautifully.
Love the bubbling Gruyere crust and layered root vegetables? Save this cheesy gratin for the next time you need a French-inspired side dish that bakes up creamy and golden.
The Reason the Layers Cook Evenly Instead of Turning Watery
Gratins fall apart for two main reasons: the slices are uneven, or the liquid goes in cold and stays stubbornly thin while the vegetables steam themselves soft. Warmed cream does more than season the dish. It helps the garlic and herbs bloom, and it starts the bake without shocking the pan full of cold vegetables. Thin, even slices matter just as much. If the potatoes are cut much thicker than the sweet potatoes or parsnips, you end up with a pan where some layers collapse before others are tender.
The other thing that keeps this gratin in shape is the rest at the end. Pulling it from the oven and slicing immediately dumps the cream before it has a chance to settle. Ten minutes is enough for the sauce to tighten around the vegetables without losing that spoonable texture.
What the Cheese Is Doing in This Gratin

- Gruyere — This is the cheese that gives the gratin its nutty, elastic melt. It matters here because a milder cheese can taste lost against the sweet potatoes and parsnips. If you need a substitute, use Swiss or Emmental; they melt well, but the flavor will be a little less deep.
- Parmesan — Parmesan doesn’t need to carry the dish. It gives the top a drier, sharper finish so the crust browns instead of turning greasy. Use the real grated stuff here if you can, since pre-shredded Parmesan often melts less cleanly.
- Heavy cream and whole milk — The cream brings richness, while the milk keeps the dish from feeling heavy or gluey. If you swap in more milk, the gratin can turn looser and less silky. For a lighter version, replace the whole milk with half-and-half, not skim milk.
- Yukon gold potatoes — These hold their shape and give the gratin a naturally buttery texture. Russets work in a pinch, but they break down faster and can make the layers a little softer and more starchy.
- Parsnips and sweet potatoes — These add sweetness and contrast, which keeps every bite interesting. Slice them as evenly as the potatoes so they soften on the same schedule; thicker parsnips will stay firm when the potatoes are already tender.
Building the Gratin So the Center Turns Tender Before the Top Burns
Warming the Cream Mixture
Warm the cream, milk, garlic, thyme, salt, pepper, and nutmeg until the mixture is steaming but not boiling. That brief heat softens the garlic and pulls the thyme into the dairy, which gives the whole dish a more rounded flavor. If the liquid boils, the garlic can taste harsh and the dairy can take on a skin before it reaches the pan.
Layering for Even Cooking
Start with a third of the vegetables, then a third of the Gruyere, and repeat the pattern twice more. Keep the layers loose rather than packing them down; tight layers trap uneven pockets of liquid and take longer to cook. Pour the warm cream evenly over the top so it works its way down through the slices instead of sitting on one corner of the pan.
Baking Covered, Then Uncovered
The foil-covered bake is what turns the sliced vegetables tender. When the top is covered, the steam stays in the dish and the center cooks without drying out. Once you uncover it and add the Parmesan, the last stretch in the oven is all about color and evaporation. If the top browns too fast, tent it loosely with foil while the center finishes.
Resting Before Serving
The gratin needs that final 10-minute rest on the counter. This is when the cream thickens enough to cling to the vegetables instead of pooling at the bottom. Cut too soon and the slices slump. Wait, and you’ll get a clean scoop with distinct layers and a creamy sauce around the edges.
How to Adapt It When You Need a Different Pan, a Lighter Finish, or a Dairy-Free Version
Make It Ahead for a Dinner Party
Assemble the gratin up to the point of baking, cover it tightly, and refrigerate it for up to a day. Add 10 to 15 extra minutes to the covered bake since it’s starting cold. That head start matters more than it sounds; a cold dish straight from the fridge needs a little longer for the center to soften.
Dairy-Free Gratin
Use full-fat coconut milk or an unsweetened oat cream in place of the cream and milk, and skip the Parmesan unless you have a dairy-free version that melts well. The texture will be a touch looser and the flavor less classic, but the roots still bake into a rich, spoonable side dish. Add a little more salt than you would with dairy because the substitute won’t carry seasoning the same way.
Gluten-Free by Default
This gratin is naturally gluten-free as written, so there’s nothing to change in the base recipe. Just check the cheeses if you’re using packaged shreds, since some brands add anti-caking agents that can slightly change the melt. Block cheese that you shred yourself gives the cleanest finish.
Storage and Reheating
- Refrigerator: Store leftovers covered for up to 4 days. The cream will tighten as it chills, and the top will soften a bit.
- Freezer: It freezes, but the texture turns softer after thawing because dairy-based gratins can separate slightly. If you do freeze it, wrap portions tightly and thaw overnight in the fridge before reheating.
- Reheating: Warm covered in a 325F oven until hot in the center. Reheating uncovered can dry the top before the middle is heated through, so keep it covered for most of the time and uncover only at the end if you want to re-crisp the top.
Questions I Get Asked About This Gratin

Cheesy Root Vegetable Gratin
Ingredients
Equipment
Method
- Preheat the oven to 375°F and butter a 9x13-inch baking dish.
- Warm the heavy cream, whole milk, garlic, fresh thyme leaves, salt, black pepper, and nutmeg over heat until steaming, then remove from the heat.
- Layer a third of the Yukon gold potatoes, sweet potatoes, and parsnips in the baking dish, then top with a third of the shredded Gruyere.
- Repeat the layers twice more, then pour the warm cream mixture evenly over the top.
- Cover with foil and bake at 375°F for 45 minutes.
- Uncover, sprinkle with Parmesan, and bake 20 to 25 minutes at 375°F until bubbly, golden, and fork-tender.
- Rest the gratin for 10 minutes before serving.


