Layered root vegetables baked in cream turn into something far greater than the sum of their parts: tender slices, a lush custard-like sauce, and a browned cheese top that shatters a little when you cut into it. The sweet potatoes bring softness, the Yukon golds give structure, and the parsnips add that faint peppery edge that keeps every bite from tasting flat. A good gratin should feel rich without turning heavy, and this one lands right there.
The trick is warming the cream mixture before it goes into the dish. Hot cream helps the garlic and thyme flavor the whole pan, and it also gives the vegetables a head start so they soften evenly under the foil. Thin, even slices matter more than anything else here; thick slices leave you with a top layer that browns before the center is tender.
Below, you’ll find the layering method that keeps the cheese distributed all the way through, plus the little resting step that keeps the gratin from collapsing the moment you serve it.
The layers held together beautifully and the cream soaked into every slice without turning watery. I loved how the Gruyere browned on top while the parsnips stayed a little sweet and earthy underneath.
Save this cheesy root vegetable gratin for the nights when you want bubbling Gruyere, tender layered vegetables, and a crisp golden top in one dish.
The Layering Trick That Keeps the Gratin Creamy, Not Watery
The biggest risk with a root vegetable gratin is excess moisture. Potatoes, sweet potatoes, and parsnips all release liquid as they bake, and if the slices are cut unevenly, the dish can end up soft on top and stubborn in the middle. Layering the vegetables with the cheese instead of dumping everything in at once helps the cream coat each slice and keeps the cheese from clumping into one heavy layer.
The other thing that matters is the rest at the end. Straight from the oven, the cream will still be loose and the layers will slide. Ten minutes on the counter gives the sauce time to settle back around the vegetables, which is what turns a pan of baked roots into a gratin that actually slices and serves cleanly.
What Each Ingredient Is Actually Doing in This Gratin

- Yukon gold potatoes — These give the gratin its backbone. They stay creamy instead of grainy, and they hold their shape better than russets. If you swap them, use another waxy or all-purpose potato; starchy potatoes can break down and turn the texture muddy.
- Sweet potatoes — They bring sweetness and a softer texture that balances the sharp cheese. Slice them thinly so they cook at the same pace as the potatoes. If yours are especially large, cut the rounds in half so the layers stay even.
- Parsnips — This is the ingredient that keeps the dish from tasting one-note. Their earthy, slightly peppery flavor cuts through the cream and Gruyere. If you can’t find them, use celery root or more potatoes, but the gratin will lose some of its depth.
- Gruyere — Gruyere melts smoothly and browns with a nutty edge, which is exactly what you want on top and between the layers. Pre-shredded cheese won’t melt as cleanly, so shred it yourself if you can.
- Heavy cream and whole milk — Cream gives the sauce body; milk keeps it from feeling too dense. Warming them first helps the garlic and thyme infuse the liquid before it goes into the dish.
- Nutmeg — It doesn’t taste like dessert here. It rounds out the dairy and makes the vegetables taste fuller. Use a small amount; too much takes over fast.
Building the Gratin So the Center Cooks Before the Top Burns
Warming the Cream Base
Combine the cream, milk, garlic, thyme, salt, pepper, and nutmeg in a saucepan and warm it just until steaming. You want the garlic to perfume the liquid, not brown or simmer hard. If the dairy boils, it can taste flat and the garlic may turn harsh, so pull it off the heat as soon as little wisps of steam rise from the surface.
Creating Even, Tight Layers
Arrange a third of the vegetables in the buttered dish, then scatter on a third of the Gruyere. Repeat twice more, pressing the slices into a snug layer as you go. Loose stacking leaves air pockets, and those pockets bake up dry before the center has a chance to soften. A tight, even layer gives the cream fewer places to pool and helps the whole dish cook at the same rate.
Covering for the First Bake
Pour the warm cream mixture evenly over the top, cover the dish tightly with foil, and bake until the vegetables are beginning to soften. The foil traps steam, which is what finishes the interior. If the foil is loose, the top dries out early and the potatoes can stay firm even after a long bake.
Finishing with a Browned Top
Once the vegetables are fork-tender, remove the foil, add the Parmesan, and bake until the top is bubbling and deeply golden. That last uncovered stretch is where the gratin gets its best texture: a crisp, savory lid over a creamy center. If the top browns too quickly before the middle is tender, move the dish to a lower rack and keep baking until the knife slides through the layers with almost no resistance.
Three Ways to Make This Gratin Fit the Table
Dairy-Free Gratin
Use full-fat oat cream or canned coconut milk plus unsweetened oat milk in place of the dairy, and swap in a dairy-free cheese that melts well. The flavor will be less nutty than Gruyere, and the sauce won’t set as firmly, but the layers still bake up tender and rich.
Gluten-Free by Default
This gratin is naturally gluten-free as written, which makes it an easy side for mixed-diet gatherings. Just check the labels on your cheese and cream if you’re cooking for someone with a strong sensitivity, since some packaged dairy products pick up additives during processing.
Make It Heartier
Add a thin layer of cooked leeks between the vegetable layers or tuck in a little chopped thyme-roasted ham for a more substantial side dish. The leeks add sweetness and the ham adds salt, but keep both additions modest so the gratin still tastes like layered roots, not a casserole trying to do too much.
Using Only One Kind of Potato
If you only have Yukon golds, use them for the whole base and keep the same baking times. The dish will be a little less sweet and a little more classic, but the texture stays excellent because Yukon golds hold their shape and turn creamy in the oven.
Storage and Reheating
- Refrigerator: Store leftovers covered for up to 4 days. The cream will set firmly in the fridge, and the top will soften a bit, but the flavor deepens overnight.
- Freezer: It freezes, but the texture gets softer after thawing because the dairy and root vegetables both release moisture. For best results, freeze in individual portions and thaw in the refrigerator before reheating.
- Reheating: Reheat covered in a 350°F oven until hot in the center, then uncover for a few minutes to bring back the top. The common mistake is blasting it in the microwave, which makes the cream separate and the vegetables turn watery.
Answers to the Questions Worth Asking

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, minced garlic, thyme leaves, salt, black pepper, and nutmeg just until steaming, then remove from heat.
- Layer one third of the Yukon gold potatoes, sweet potatoes, and parsnips in the dish, then top with one third of the shredded Gruyere.
- Repeat the layers twice, then pour the warm cream mixture evenly over the top.
- Cover the dish with foil and bake for 45 minutes at 375°F.
- Uncover the gratin, sprinkle with the grated Parmesan, and bake 20 to 25 minutes at 375°F until bubbly, golden, and fork-tender.
- Rest for 10 minutes before serving so the layers set and the sauce thickens.


