Layered root vegetables turn luxurious when they bake under cream, garlic, and a crust of Gruyere. The potatoes go soft and silky, the sweet potatoes bring a little sweetness, and the parsnips add a faint earthy note that keeps the dish from tasting one-dimensional. By the time it comes out of the oven, the top is browned and bubbling while the layers underneath hold together in spoonable slices.
The part that makes this gratin work is the balance of starch, fat, and moisture. Warming the cream with garlic, thyme, and nutmeg lets the seasoning spread through every layer instead of sitting on top, and slicing the vegetables thinly means they cook through before the cheese on top overbrowns. Gruyere melts with a little stretch and a lot of flavor, while Parmesan gives the crust a sharper finish.
Below, you’ll find the one timing step that keeps the middle from staying firm, plus a few smart swaps if you need to work around what’s in your kitchen. This is the kind of side dish that looks like effort and eats like comfort.
The cream soaked into every layer and the top came out perfectly browned without the vegetables turning mushy. I rested it for 10 minutes like you said, and it sliced cleanly instead of collapsing.
Pin this cheesy root vegetable gratin for the nights when you want a bubbling Gruyere crust and tender layers of potato, sweet potato, and parsnip.
The Reason This Gratin Stays Creamy Instead of Turning Dense
The difference between a gratin that eats like silk and one that turns heavy is the way the cream gets handled before it goes into the dish. Heating it with the garlic, thyme, salt, pepper, and nutmeg does two things: it wakes up the aromatics and it keeps the dairy from having to cold-start in the oven, which helps the sauce move evenly through the layers. That matters because root vegetables release moisture as they bake, and a cold cream mixture can sit in pockets instead of coating everything.
Thin slices matter just as much. If the potatoes or parsnips are too thick, the top browns before the center softens, and you end up with a crunchy lid over underdone vegetables. Aim for slices thin enough to bend slightly but not fall apart. A mandoline makes the job faster and more even, but a sharp knife works if you keep the pieces as uniform as you can.
What Each Cheese Is Doing in the Pan

- Gruyere — This is the cheese that gives the gratin its nutty, melty backbone. It melts smoothly and browns well, which is why the top gets that bronzed, bubbling finish instead of turning greasy. If you need a substitute, Comté or Swiss is the closest swap.
- Parmesan — Parmesan goes on at the end for a sharper, saltier crust. It doesn’t melt as evenly as Gruyere, and that’s the point here; it helps the top color fast and adds a little grit to the crust in the best way. Grate it finely so it doesn’t sit in dry clumps.
- Heavy cream and whole milk — Cream gives body, while the milk keeps the sauce from feeling too thick or rich. You can replace the milk with half-and-half if that’s what you have, but don’t cut the cream any further or the gratin starts tasting thin. The ratio here is what makes the final dish spoonable, not soupy.
- Sweet potatoes and parsnips — These aren’t just fillers for the potatoes. Sweet potatoes bring sweetness that balances the cheese, and parsnips add a mild peppery note that keeps each bite interesting. Slice them the same thickness as the potatoes so they finish at the same time.
Building the Layers So the Center Cooks Through
Warming the Cream
Put the cream, milk, garlic, thyme, salt, pepper, and nutmeg in a saucepan and heat just until steaming. You don’t want a hard simmer; that’s how dairy can start to separate before it even hits the oven. The goal is a fragrant base that tastes seasoned all the way through, not a mixture that looks reduced. Pull it from the heat as soon as you see steam rising and tiny bubbles around the edge.
Stacking the Vegetables
Butter the baking dish well, then layer the vegetables in a pattern that spreads the colors evenly. A third of the potatoes, sweet potatoes, and parsnips goes in first, followed by a third of the Gruyere, then repeat until everything is used. Keep the layers loose but even; packing them too tightly slows the heat and makes it harder for the cream to move between the slices. Pour the warm cream mixture over the top slowly so it sinks into the dish instead of running straight to one corner.
Covering, Then Browning
Cover the dish tightly with foil for the first bake so the vegetables steam and soften before the cheese on top has a chance to scorch. After 45 minutes, uncover it, add the Parmesan, and bake until the top is bubbly and deeply golden and a knife slips easily through the center. If the top is browning too fast before the vegetables are tender, tent it loosely with foil again for the last part of baking. The gratin should rest for 10 minutes before serving so the cream settles and the slices hold together.
Swap the Gruyere If You Need a Different Melt
Comté, Emmentaler, or a good Swiss cheese will keep the nutty, melty character close to the original. Mozzarella will melt, but it tastes too mild and gives up the savory edge that makes this gratin stand out. If you use a sharper cheese like aged cheddar, expect a punchier flavor and a slightly less silky melt.
Make It Dairy-Free Without Losing the Structure
Use unsweetened cashew cream in place of the heavy cream and milk, then choose a meltable dairy-free cheese for the top if you have one that browns well. The result will be a little less rich and a little less stretchy, but the layering and baking method still give you tender vegetables and a creamy finish. Keep the seasoning bold, since plant-based dairy tends to taste quieter.
Gluten-Free by Default
This gratin already fits a gluten-free table as written, as long as your cheese and seasonings are certified gluten-free if that matters for your kitchen. Nothing needs to be swapped in the method, which makes this a useful side dish for a mixed crowd. The texture stays the same because the dish relies on starch from the vegetables, not flour.
Storage and Reheating
- Refrigerator: Store covered for up to 4 days. The layers will firm up as they chill, which is normal.
- Freezer: It freezes, but the cream can separate a little and the potatoes soften after thawing. Freeze individual portions tightly wrapped if you want the best chance of keeping the texture.
- Reheating: Reheat covered in a 350F oven until hot in the center, then uncover for the last few minutes to bring back the top crust. The mistake to avoid is blasting it in the microwave, which makes the potatoes rubbery and the sauce greasy.
Answers to the Questions Worth Asking

Cheesy Root Vegetable Gratin
Ingredients
Equipment
Method
- Preheat oven to 375°F, then butter a 9x13-inch baking dish so the gratin releases easily after baking.
- In a saucepan, warm heavy cream, whole milk, garlic, thyme, salt, black pepper, and nutmeg until steaming, then remove from heat.
- Layer a third of the sliced Yukon gold potatoes, sweet potatoes, and parsnips in the buttered baking dish, then top with a third of the shredded Gruyere.
- Repeat the layers twice, arranging the vegetable slices evenly so they bake uniformly and the cheese disperses throughout.
- Pour the warm cream mixture evenly over the top to help the vegetables soften and form a creamy center.
- Cover the dish with foil and bake at 375°F for 45 minutes, until the vegetables begin to look tender at the edges.
- Uncover, sprinkle with the remaining Parmesan, and bake 20-25 minutes at 375°F until bubbly, golden, and fork-tender with a set, bronzed top.
- Rest the gratin for 10 minutes before serving so the layers settle and hold together when scooped.