Cheesy root vegetable gratin lands on the table with tender layers, a bubbling edge, and a browned top that cracks a little under the spoon before giving way to creamy potatoes, sweet potatoes, and parsnips. The flavor is rich without being heavy, and the sweet earthiness of the roots keeps every bite interesting instead of one-note.
What makes this version worth repeating is the balance: enough cream to soften the vegetables, but not so much that the dish turns soupy, and enough Gruyere to melt into the layers without drowning them. Warming the cream with garlic, thyme, nutmeg, salt, and pepper before it goes in helps the flavors spread evenly, and slicing the vegetables thinly is what gets you that fork-tender finish in under two hours.
Below, I’ve included the part that matters most for gratin success: how to keep the layers creamy instead of watery, which swaps actually work, and what to do if you want to make it ahead for a holiday table or a weeknight side.
The cream soaked into the layers perfectly and the top turned golden without drying out. I made it a day ahead and reheated it covered, and it still came out creamy and sliceable.
Save this cheesy root vegetable gratin for the night you want layered potatoes, sweet potatoes, and parsnips under a bubbling Gruyere crust.
The Reason This Gratin Stays Creamy Instead of Turning Watery
Root vegetable gratin can go wrong in two common ways: the vegetables cook unevenly, or the sauce breaks into a loose pool at the bottom. Thin, even slices solve the first problem because everything softens at the same rate. Warming the dairy before it goes into the dish helps the garlic and thyme infuse quickly, and it keeps the baking time focused on tenderizing the vegetables instead of trying to heat cold cream from scratch.
The other key is restraint. You want enough liquid to seep between the layers, not flood them. If the gratin looks soupy before it goes in the oven, the vegetables were sliced too thick or packed too loosely. Once the foil comes off, the top should brown while the cream thickens slightly around the edges. That resting time at the end matters too; cut it too soon and the sauce runs.
What Each Ingredient Is Actually Doing in This Gratin

- Yukon gold potatoes — These give the gratin its soft, buttery base. Russets can work, but they break down more and can turn the dish a little loose. Yukon golds hold their shape while still turning creamy in the oven.
- Sweet potatoes — They bring natural sweetness and a softer texture that contrasts with the potatoes. Use fresh sweet potatoes, not canned. Canned slices will collapse and water out the dish.
- Parsnips — Parsnips add a light earthy sweetness that keeps the gratin from tasting flat. If yours are thick and woody, peel them generously and slice them thin so they cook at the same pace as the potatoes.
- Heavy cream and whole milk — The cream gives body, and the milk keeps the sauce from becoming too rich or greasy. You can swap in all cream for a richer dish, but don’t use low-fat milk here; it can thin out instead of coating the layers.
- Gruyere and Parmesan — Gruyere melts into the layers and gives the gratin that nutty, savory pull. Parmesan goes on top for sharper flavor and better browning. If you need a substitute, use another good melting cheese for the Gruyere, but keep at least some Parmesan on top for crust.
- Garlic, thyme, and nutmeg — These are the quiet backbone of the dish. Nutmeg won’t taste obvious, but it rounds out the cream and keeps the whole thing from tasting one-dimensional. Fresh thyme is worth using if you have it; dried thyme works in a pinch, but use less because it’s stronger by volume.
Layering and Baking the Gratin the Right Way
Building the First Layers
Butter the baking dish well and start with a third of the sliced vegetables in a loose, even layer. Don’t press them down hard; the cream needs little gaps to move through the dish. Sprinkle on a third of the Gruyere, then repeat twice more so the cheese is distributed through the middle, not just trapped on top. If the slices are stacked in thick clumps, the center stays firm while the edges overcook.
Adding the Warm Cream
Heat the cream, milk, garlic, thyme, salt, pepper, and nutmeg until steaming, then pull it off the heat before it boils. Pour it evenly over the layered vegetables so the liquid settles down through the gaps instead of sitting on the top. If you pour hot cream over a tightly packed dish, it can pool in one corner and leave dry spots elsewhere. The goal is an even, glossy surface with just enough liquid showing between the slices.
Baking Under Foil, Then Browning the Top
Cover the dish tightly with foil for the first part of baking so the vegetables steam and soften. After about 45 minutes, the slices should be close to tender when pierced with a knife. Uncover, add the Parmesan, and bake until the top is deeply golden and the sauce is bubbling around the edges. If the top browns before the vegetables are done, the heat is too high or the slices were cut too thick.
Resting Before Serving
Give the gratin 10 minutes to settle before scooping. That pause lets the cream thicken and keeps each serving from sliding apart the moment it hits the plate. This is the difference between a creamy slice and a puddle. If you want clean portions, let it rest a little longer rather than rushing it straight to the table.
How to Adapt This Gratin When You Need a Different Result
Make it dairy-free
Use full-fat canned coconut milk or an unsweetened oat cream in place of the dairy, and swap the cheeses for a dairy-free melting blend plus a little nutritional yeast for depth. The texture will be slightly less silky and the flavor will lean different, but it still bakes into a rich, spoonable casserole.
Make it gluten-free
This recipe is naturally gluten-free as written, so the only thing to watch is your cheese labels if you’re cooking for someone with celiac disease. Keep the baking dish and foil clean, and you’re set.
Use what’s left in the crisper drawer
You can swap in turnips, rutabaga, or carrots for part of the vegetables as long as everything is sliced to the same thickness. Turnips bring more bite, rutabaga adds sweetness, and carrots bake a little firmer, so the flavor shifts with the mix.
Storage and Reheating
- Refrigerator: Store leftovers covered for up to 4 days. The cream will firm up as it chills, which is normal.
- Freezer: It freezes, but the texture softens a bit after thawing. For best results, freeze in portions after the gratin has cooled completely, then thaw overnight in the fridge.
- Reheating: Rewarm covered at 325F until hot in the center. If you heat it uncovered the whole time, the top dries out before the middle is warm.
Answers to the Questions Worth Asking

Cheesy Root Vegetable Gratin
Ingredients
Equipment
Method
- Preheat oven to 375F, then butter a 9x13-inch baking dish. The dish should be evenly coated so the top browns without sticking.
- Warm heavy cream, whole milk, minced garlic, thyme leaves, salt, black pepper, and nutmeg over heat until steaming, then remove from heat. Look for steam rising from the pot and small bubbles at the edges.
- Layer a third of the sliced Yukon gold potatoes, sweet potatoes, and parsnips in the baking dish, then top with a third of the shredded Gruyere. You should see distinct layers with cheese sprinkled on top.
- Repeat the layers twice so the vegetables are divided evenly through three rounds. Keep the slices relatively uniform so they bake tender at the same rate.
- Pour the warm cream mixture evenly over the top. The liquid should settle between slices and come close to the surface.
- Cover with foil and bake 45 minutes at 375F. The vegetables should soften and the dish should look steamy beneath the foil.
- Uncover, sprinkle grated Parmesan over the top, and bake 20-25 minutes at 375F until bubbly, golden, and fork-tender. Watch for active bubbling and browned edges across the surface.
- Rest the gratin 10 minutes before serving. It will thicken slightly so the layers hold together when you scoop.