Golden, bubbling, and spoon-tender in the middle, this cheesy root vegetable gratin turns simple winter vegetables into the kind of side dish people hover over before the main course even hits the table. The top bakes into a deep Gruyere crust, while the layers underneath stay silky with cream and just enough structure to slice cleanly.
The trick is in the cut and the order. Thin, even slices help the potatoes, sweet potatoes, and parsnips cook at the same pace, and warming the cream with garlic, thyme, and nutmeg pulls more flavor into every layer before the dish ever goes in the oven. That little step keeps the gratin tasting rich instead of just heavy.
Below, you’ll find the timing that keeps the vegetables tender without turning mushy, plus a few smart swaps if you need to work with what’s in your kitchen. The resting time matters here, too. It’s what turns a loose bake into neat, creamy servings.
The vegetables came out perfectly tender and the top got that crisp, cheesy edge without drying out. Warming the cream with the garlic first made a bigger difference than I expected.
Save this cheesy root vegetable gratin for the nights when you want a bubbling Gruyere crust and tender layered vegetables with almost no fuss.
The Thin-Slice Trick That Keeps the Gratin Creamy, Not Patchy
This dish lives or dies by even slicing. Potatoes, sweet potatoes, and parsnips all soften at slightly different speeds, and thick slices leave you with a watery bottom and a firm top. Thin, uniform slices let the cream move through the layers and cook everything at the same rate, which is what gives you that spoonable texture instead of a casserole that eats like half-done vegetables in sauce.
The other place people go wrong is rushing the bake uncovered. If the top browns before the center is tender, the cream underneath never gets a chance to settle into the layers. The foil does the quiet work first, trapping steam so the roots soften before the cheese finishes the job.
- Yukon gold potatoes — These stay creamy instead of falling apart, which helps the gratin hold its shape after resting. Russets work in a pinch, but they’re drier and a little fluffier.
- Sweet potatoes — They bring sweetness and color, and they soften faster than the potatoes, so keep their slices just as thin. Bigger wedges won’t cook through on the same schedule.
- Parsnips — They add a subtle earthy note that keeps the dish from tasting one-note. If yours are large and woody in the center, trim that core away before slicing.
- Gruyere — This is the cheese that gives the gratin its nutty pull and real French-style flavor. Swiss cheese can stand in, but it tastes flatter and less savory.
- Heavy cream plus whole milk — The cream carries richness; the milk loosens it just enough so the dish doesn’t bake up greasy. Using all cream makes the final texture heavier and can mute the vegetables.
Building the Layers So the Cheese Melts Through Every Bite

- Warm cream mixture — Heating the cream, milk, garlic, thyme, salt, pepper, and nutmeg before it goes into the dish wakes up the aromatics and helps the seasoning spread evenly. Don’t boil it; steaming is enough. A hard boil can make the dairy taste dull and cook off some of the fresh garlic edge.
- Parmesan finish — Parmesan goes on at the end because it browns faster than Gruyere and gives you that crackly, salty top. If it goes in from the start, it can darken before the vegetables are tender.
- Nutmeg — It’s a small amount, but it matters here. Nutmeg bridges the sweetness of the root vegetables and the richness of the dairy without making the gratin taste dessert-like.
Getting the Bake Time Right Without Drying Out the Top
Prepping the Dish
Butter the baking dish well so the cream doesn’t bake onto the edges. Lay the first layer snugly, with the slices overlapping like shingles; gaps create uneven pockets that cook faster than the rest. A 9×13-inch dish gives the gratin room to spread without turning too deep in the center.
Building the Layers
Use a third of each vegetable layer at a time, then scatter over a third of the Gruyere. The cheese shouldn’t sit only on top or it’ll melt into one blanket and miss the interior layers. When the warm cream mixture goes in, pour it slowly around the edges and over the surface so it settles between the slices instead of washing them around.
Covered First, Then Exposed
The foil-covered bake is where the vegetables soften. Pull the foil too early and the top can harden before the middle is tender. Once you uncover it, the gratin should be bubbling around the edges and the surface should start turning spotted gold before the Parmesan goes on.
The Resting Time
Let it sit for 10 minutes before serving. That pause lets the cream thicken back up so the gratin cuts into neat spoonfuls instead of running across the plate. If it seems loose right out of the oven, that’s normal; it sets as it rests.
How to Adapt This Gratin for Different Tables and Leftovers
Dairy-Free Version with Cashew Cream
Swap the cream and milk for unsweetened cashew cream or a full-fat oat cream, then use a dairy-free cheese that melts well. The flavor gets a little less nutty and more neutral, but the texture still lands creamy if you keep the bake covered long enough for the vegetables to soften.
Extra-Savory Version with Leeks or Onions
Softly cook sliced leeks or onions in butter and tuck them between the layers. They add sweetness and depth, and they make the gratin taste more like a main-event side dish. Don’t add them raw unless they’re sliced very thin, or they’ll stay sharp and underdone.
Gluten-Free by Default
This gratin is naturally gluten-free as written, which is one reason it’s such a useful side for mixed gatherings. Just check the cheese labels if you’re serving someone with a serious allergy, since some pre-shredded cheeses include anti-caking additives.
Storage and Reheating
- Refrigerator: Store covered for up to 4 days. The cream will set more firmly in the fridge, and the layers will slice even cleaner after chilling.
- Freezer: It freezes, but the texture softens a bit after thawing because of the dairy. Freeze tightly wrapped portions for up to 2 months, then thaw in the refrigerator before reheating.
- Reheating: Reheat covered at 325F until hot in the center, then uncover for the last few minutes if you want the top to crisp again. The main mistake is blasting it at high heat, which separates the cream and dries out the edges before the middle is warm.
Questions I Get Asked About This Recipe

Cheesy Root Vegetable Gratin
Ingredients
Equipment
Method
- Preheat the oven to 375F, then butter a 9x13-inch baking dish. Set the dish aside while you warm the cream.
- Warm heavy cream, whole milk, garlic, fresh thyme leaves, salt, black pepper, and nutmeg over low heat until steaming. Remove from the heat once the mixture is steaming but not boiling.
- Layer a third of the Yukon gold potatoes, sweet potatoes, and parsnips in the baking 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 so it settles between slices.
- Cover with foil and bake at 375F for 45 minutes. The vegetables should be starting to soften and the edges should look slightly set.
- Uncover, sprinkle with grated Parmesan, and bake for 20-25 minutes at 375F. Bake until the top is bubbly, golden, and the vegetables are fork-tender.
- Rest the gratin for 10 minutes before serving. This helps the creamy layers set so you can slice cleanly.