Thin layers of potatoes, sweet potatoes, and parsnips turn silky-soft in the oven, then finish under a bubbling Gruyere crust that cracks just a little when you spoon through it. The best versions of this dish have contrast in every bite: sweet earthiness from the roots, richness from the cream, and enough salt and nutmeg to keep the whole pan from tasting heavy.
This gratin works because the cream is warmed before it hits the pan, which helps the garlic and thyme infuse the whole dish and keeps the bake moving evenly from the start. The slices are cut thin enough to soften at the same rate, and the Parmesan goes on at the end so it can brown without turning the top greasy or dull. That last rest matters too; it lets the sauce settle back into the layers instead of running everywhere the second you cut in.
Below, you’ll find the layering order that keeps the vegetables tender all the way through, plus the one detail that keeps the top from browning before the center is done. I’ve also added a few swaps for different root vegetables and a make-ahead note for holiday cooking.
The cream soaked into every layer and the top came out deeply golden without drying out the sweet potatoes. I made it the day before, baked it off at dinner, and it held together beautifully.
Save this cheesy root vegetable gratin for the nights when you want bubbling Gruyere, tender layers, and a make-ahead side that slices cleanly.
The Layering Order That Keeps the Center Tender
Gratins fail when the top looks done before the vegetables underneath have softened. That usually happens when the slices are uneven, the cream isn’t warm enough to start the bake gently, or the dish is packed too tightly for the liquid to move between layers. In this version, the vegetables are sliced thin and layered with some care so the hot cream can seep through the whole pan instead of sitting on top.
The other detail that matters is the cover. Foil holds in steam during the first part of the bake, which is what turns those raw slices into tender ones. Then the top gets uncovered near the end so the cheese can brown and the sauce can reduce just enough to cling instead of pooling.
What Each Cheese Is Doing in the Gratin

- Yukon gold potatoes — These give the gratin its body and that classic silky texture. Their medium starch content helps the cream thicken around the layers without turning gluey, which is why they’re better here than waxy potatoes.
- Sweet potatoes — They bring sweetness and color, and they soften a touch faster than the Yukon golds. Slice them the same thickness as the other vegetables so they don’t collapse while the rest of the pan is still catching up.
- Parsnips — Parsnips add a faint earthy, almost nutty note that keeps the dish from leaning too sweet. If yours are large and woody in the center, trim out that core before slicing.
- Gruyere — This is the cheese that makes the gratin taste French-inspired instead of just creamy. It melts smoothly and browns with a deep, savory edge that holds up against the sweetness of the roots.
- Parmesan — Parmesan goes on at the end for sharpness and better browning. A cheaper grated hard cheese can work in a pinch, but it won’t give the same salty finish or that crisp, lacy top.
- Heavy cream and whole milk — The cream gives richness, while the milk keeps the sauce from feeling too dense. Don’t swap in low-fat milk here; it won’t carry the flavor the same way and the bake can turn watery.
How to Build the Bake So the Top Browns Without Drying Out
Warming the Cream Mixture
Warm the cream, milk, garlic, thyme, salt, pepper, and nutmeg just until steaming, then pull it off the heat. You’re not trying to boil it; you’re giving the garlic and thyme a head start so the flavor runs through the whole dish. If the dairy boils, it can tighten slightly and reduce too fast, which leaves the top thick before the vegetables are tender.
Laying the Vegetables in Even Layers
Spread a third of the sliced vegetables across the dish, then scatter a third of the Gruyere over them. Repeat twice more, keeping the slices fairly level instead of mounding them up in the middle. A packed center can stay undercooked while the edges go soft, so press the layers down gently as you go without compacting them hard.
Finishing Under Foil and Then Uncovered
Pour the warm cream mixture evenly over the layered vegetables, then cover the dish tightly with foil for the first bake. That trapped steam is what cooks the roots through. Once the foil comes off, the surface should look tender and mostly settled; add the Parmesan, then bake until the top is bubbly and deeply golden. If the top darkens too quickly, move the dish one rack lower and keep going until a fork slides through the center without resistance.
Make it sharper with aged cheddar
Swap out up to half the Gruyere for sharp cheddar if you want a bolder, saltier top. The flavor gets louder and less nutty, and the melt won’t be quite as silky, but it still gives you a sturdy, browned crust.
Dairy-free version with a different finish
Use unsweetened oat cream or cashew cream and skip the cheese, then finish with a crisp breadcrumb topping tossed in olive oil and nutritional yeast. It won’t taste like a traditional gratin, but you’ll still get a creamy center and a browned, savory top.
Gluten-free by default
This gratin is naturally gluten-free as written, as long as your cheese and spices are free from anti-caking additives that may contain starch. The texture stays exactly the same because the sauce thickens from the dairy and the starch from the vegetables, not from flour.
Swap the root vegetables based on what you have
Rutabaga, turnips, or celery root can replace part of the potato or parsnip mix if you want a less sweet gratin. Keep the same total volume of sliced vegetables and cut everything to the same thickness so the bake time stays predictable.
Storage and Reheating
- Refrigerator: Store covered for up to 4 days. The sauce firms up as it chills, but the flavor gets even better after a night in the fridge.
- Freezer: It freezes, but the texture softens a bit after thawing. Freeze in portions once fully cooled, then thaw overnight in the refrigerator before reheating.
- Reheating: Reheat covered at 350F until hot in the center, then uncover for the last few minutes to re-crisp the top. Microwaving makes the cream separate and the edges go soggy, so use the oven if you want the layers to hold.
Answers to the Questions Worth Asking

Cheesy Root Vegetable Gratin
Ingredients
Equipment
Method
- Preheat the oven to 375F, then butter a 9x13-inch baking dish. Set the dish aside and keep the oven fully heated for even cooking.
- Warm the heavy cream, whole milk, garlic, thyme, salt, black pepper, and nutmeg until steaming, then remove from heat. Keep it hot so the cream mixture flows between the slices.
- Layer a third of the Yukon gold potatoes, sweet potatoes, and parsnips in the dish, then top with a third of the shredded Gruyere. Spread the vegetables evenly so the layers cook at the same rate.
- Repeat the layers twice, ending with the final third of the shredded Gruyere. Aim for a consistent thickness across the dish.
- Pour the warm cream mixture evenly over the top. Watch for the cream to seep down around the vegetable slices.
- Cover with foil and bake for 45 minutes. The vegetables should be starting to soften and the edges should look creamy.
- Uncover, sprinkle with the grated Parmesan, and bake for 20-25 minutes until bubbly, golden, and fork-tender. Look for a browned crust and tender slices when pierced with a fork.
- Rest the gratin for 10 minutes before serving. This helps the cream set slightly so each scoop holds together.


