Cheesy root vegetable gratin earns its place on the table because the vegetables turn tender without going mushy, and the top bakes into a bronzed, bubbling crust that cuts cleanly instead of sliding apart. The mix of Yukon gold potatoes, sweet potatoes, and parsnips gives every bite a little contrast: earthy, sweet, and buttery all at once.
The key is slicing the vegetables thinly and evenly so they soften at the same pace. Warming the cream with garlic, thyme, nutmeg, and seasoning before it goes into the dish does more than add flavor — it helps the gratin bake evenly and keeps the dairy from feeling flat. Gruyere brings the nutty melt, while Parmesan finishes the top with sharper salt and a better crust.
Below, I’ve included the small details that keep this gratin from turning watery or undercooked, plus the swaps that still give you a creamy, layered bake when you need to work with what’s in the pantry.
The cream soaked into the vegetables perfectly and the top turned deeply golden without drying out. I used a mandoline for the slices, and the gratin came out tender all the way through after the full rest.
Save this cheesy root vegetable gratin for the nights when you want a bubbling Gruyere crust and tender layered vegetables without extra fuss.
The Reason Gratin Turns Watery Before It Ever Gets Golden
The biggest mistake with a root vegetable gratin is stacking in thick slices and expecting the oven to fix it. Potatoes, sweet potatoes, and parsnips all cook at slightly different rates, and if the slices are uneven, you end up with a dish that has soft corners, firm centers, and a pool of cream at the bottom. Thin, even slices let the vegetables release and absorb moisture at the same pace, which is what gives you that dense, spoonable texture instead of a loose casserole.
Warming the dairy before it goes into the pan matters more than most people think. Cold cream slows the bake, and cold liquid can leave the top browned before the center turns tender. A hot cream mixture also carries the garlic, thyme, and nutmeg through the layers more evenly, so every forkful tastes seasoned instead of just salty on top.
- Even slicing — Use a mandoline if you have one. If not, take your time with a sharp knife and keep the cuts as close in thickness as you can.
- Warm dairy — The cream and milk should be steaming, not boiling. That gives the gratin a head start in the oven.
- Foil first, uncovered later — Covered baking softens the vegetables without scorching the cheese. Uncovering at the end is what builds the crust.
What Each Ingredient Is Doing in the Layers

The balance of starchy and sweet vegetables is what makes this gratin feel complete. Yukon gold potatoes bring body and a creamy bite, sweet potatoes add gentle sweetness and color, and parsnips contribute an earthy, almost buttery note that keeps the dish from tasting one-dimensional.
- Yukon gold potatoes — These hold their shape without turning chalky. Russets can work, but they’re drier and can break down faster.
- Sweet potatoes — They soften quickly and lend sweetness to the savory cheese. Slice them the same thickness as the potatoes so they don’t disappear into the dish.
- Parsnips — They bring a faint nuttiness that makes the gratin taste more layered. If you can’t find them, use celery root for a drier, more savory edge.
- Gruyere — This is the cheese that melts into the vegetables without getting greasy. Fontina is the closest substitute if you need one, though the flavor will be milder.
- Parmesan — Save this for the top. It doesn’t just add salt; it helps the crust brown and crisp.
- Nutmeg and thyme — These two are subtle, but they keep the cream from tasting heavy. Don’t skip them unless you’re changing the whole direction of the dish.
Building the Gratin So the Center Cooks as Fast as the Top
Warming the Cream Base
Put the cream, milk, garlic, thyme, salt, pepper, and nutmeg in a small saucepan and heat it just until steaming. You want the garlic fragrant and the dairy hot, not simmering. If it boils, the milk can take on a cooked flavor and the seasoning gets harder to judge. Pull it off the heat as soon as you see steam and tiny bubbles around the edge.
Layering the Vegetables
Spread a third of the sliced vegetables in the buttered dish, then add a third of the Gruyere. Repeat that twice, keeping the layers loose enough for the cream to move between them. Pressing everything down hard packs the slices too tightly and can make the center cook unevenly. The dish should look full, but not smashed flat.
Adding the Cream and Baking Covered
Pour the warm cream mixture evenly over the top so it sinks into the layers instead of sitting in one corner. Cover tightly with foil and bake until the vegetables are nearly tender. If the foil is loose, the top dries out before the middle softens, so crimp it around the dish well.
Finishing for a Golden Crust
Uncover the gratin, scatter the Parmesan over the top, and keep baking until the surface is bubbling and deeply golden. A knife should slide through the center with little resistance. Let it rest for 10 minutes before serving; that pause lets the cream settle so the slices hold together when you scoop them out.
How to Change the Gratin Without Losing the Creamy Texture
Dairy-Free Version with Coconut Milk
Swap the cream and milk for full-fat canned coconut milk and skip the Parmesan, or use a dairy-free hard cheese on top. The gratin will still turn rich and tender, but it will taste slightly sweeter and a little less savory, so lean harder on thyme and pepper.
Gluten-Free as Written
This recipe is naturally gluten-free as long as your cheese is certified safe. The texture doesn’t depend on flour or a roux, which is part of why the layers stay clean and silky.
Swap the Cheese for a Milder Finish
Fontina or Emmental can stand in for Gruyere if that’s what you have. The gratin will still melt beautifully, but you’ll lose some of the nutty sharpness that makes the original taste so balanced.
Storage and Reheating
- Refrigerator: Keep leftovers covered for up to 4 days. The layers will firm up as they chill, which is normal.
- Freezer: It freezes, but the texture softens after thawing. Freeze portions tightly wrapped, then thaw overnight in the fridge before reheating.
- Reheating: Warm in a 325F oven, covered at first, until hot in the center. The usual mistake is blasting it in the microwave, which turns the potatoes rubbery and the top greasy instead of crisp.
Answers to the Questions Worth Asking

Cheesy Root Vegetable Gratin
Ingredients
Equipment
Method
- Preheat the oven to 375F. Butter a 9x13-inch baking dish.
- Warm the heavy cream, whole milk, garlic, thyme, salt, black pepper, and nutmeg over medium heat until steaming. Remove from the heat.
- Layer a third of the Yukon gold potatoes, sweet potatoes, and parsnips in the dish. Top with a third of the shredded Gruyere.
- Repeat the layers twice with the remaining vegetables and shredded Gruyere. Pour the warm cream mixture evenly over the top.
- Cover with foil and bake at 375F for 45 minutes. The vegetables should be starting to soften.
- Uncover and sprinkle with the grated Parmesan. Bake at 375F for 20-25 minutes until bubbly, golden, and fork-tender.
- Rest the gratin for 10 minutes before serving. The layers will set slightly for cleaner slices.