Cheesy root vegetable gratin bakes into tender layers with a bubbling golden top and a creamy center that holds together just enough to spoon cleanly. The mix of Yukon gold potatoes, sweet potatoes, and parsnips gives every bite a different kind of sweetness and earthiness, and the Gruyere brings the kind of nutty depth that keeps this from tasting heavy or one-note.
The trick is warming the cream before it goes over the vegetables. That little step helps the garlic and thyme perfume the whole dish and keeps the potatoes from sitting in cold liquid too long before they start cooking. Thin, even slices matter here too; if the pieces are cut unevenly, the top turns golden before the center has a chance to soften.
Below, you’ll find the one timing detail that keeps the gratin creamy instead of watery, plus the swaps I use when I want to lean more savory or make it work with what’s already in the pantry.
The cream soaked into the layers perfectly, and the top turned deeply golden without the potatoes going mushy. I liked how the sweet potato and parsnip kept it from tasting too rich.
Save this cheesy root vegetable gratin for the nights when you want a bubbling Gruyere crust and tender layered potatoes without a fussy sauce.
The Layering Trick That Keeps the Gratin Creamy, Not Soupy
The biggest mistake with gratin is drowning the vegetables in cold cream and hoping the oven sorts it out. It usually doesn’t. The top overbakes before the center softens, and the dish turns watery around the edges while the middle stays stubborn. Warming the cream mixture first starts the cooking process before the baking dish even goes in the oven, which helps the layers settle and the potatoes absorb flavor instead of just sitting in liquid.
Thin, even slices matter just as much. Yukon golds give you that buttery texture that holds together after baking, while sweet potatoes and parsnips add contrast without turning the whole pan into one note. If the slices are too thick, the gratin can take forever to tenderize and the top will brown too early. A mandoline makes this easier, but a sharp knife and steady hand work fine if you keep the slices close in thickness.
What Each Cheese Is Doing in This Dish

- Gruyere — This is the main flavor. It melts smoothly and brings that nutty, savory edge that makes the gratin taste intentional instead of just rich. If you swap it, choose another good melting cheese with some character, like Emmental or fontina, or the dish can taste flat.
- Parmesan — Parmesan goes on at the end for salt and a crisp, bronzed finish. It doesn’t need to melt into the layers, so the pre-grated version is fine here if that’s what you have. What matters is that it hits the top late, where it can toast instead of sink.
- Heavy cream and whole milk — The cream gives body, while the milk keeps the sauce from feeling heavy. You need both for balance. If you use all cream, the dish can turn greasy; if you use all milk, it bakes up thin. Half-and-half works in a pinch, but the sauce won’t cling quite as luxuriously.
- Yukon gold potatoes, sweet potatoes, and parsnips — This trio is what makes the gratin taste layered even before the cheese goes in. Yukon golds stay creamy, sweet potatoes bring softness and natural sweetness, and parsnips add a faint peppery note. Cutting them evenly matters more than any single substitution.
Building the Gratin So the Center Cooks Before the Top Burns
Warm the Cream Before It Hits the Pan
Heat the cream, milk, garlic, thyme, salt, pepper, and nutmeg until it just starts steaming, then take it off the heat. You’re not boiling it; you’re infusing it. If it boils hard, the garlic can turn sharp and the dairy can develop a skin before it ever reaches the oven. Warm liquid also helps the potatoes start relaxing from the first minute.
Layer for Even Cooking, Not for Decoration
Build the gratin in three thin layers, alternating the vegetables and Gruyere as you go. Pack the slices in snugly so the cream can move between them without leaving dry pockets, but don’t mash them down. If you dump everything in unevenly, the thinner pieces can overcook while thicker ones stay firm. The goal is a tight, even stack that bakes into one cohesive dish.
Cover First, Then Brown at the End
Foil traps steam for the first part of the bake, which is what softens the root vegetables all the way through. When the foil comes off, the top dries just enough to take on color, and the Parmesan finishes the job with a deep, crisp crust. If the top browns too fast, the oven is too hot or the dish is set too high; move it to a lower rack and let the center catch up.
Let It Rest Before Serving
The last 10 minutes matter more than they look on paper. Straight from the oven, the cream is still loose and the layers slide apart. Resting gives the sauce time to thicken slightly and the cheese time to settle, so you get clean spoonfuls instead of a puddle. Cut too early and the gratin will taste fine but look messy on the plate.
How to Adapt This for Different Tables and Different Pantries
Dairy-Free Gratin
Use full-fat coconut milk plus unsweetened oat milk in place of the cream and milk, and choose a dairy-free melting cheese with some body. The flavor shifts a little, but the layered texture still works if you keep the vegetable slices thin and bake until the center is fully tender.
Gluten-Free by Default
This gratin is naturally gluten-free as written, which is part of why it’s such a dependable side dish. Just check that your cheese and seasonings are certified gluten-free if you’re cooking for someone with celiac disease, since pre-shredded cheese can sometimes carry anti-caking additives.
More Savory, Less Sweet
If you want the dish to lean less sweet, replace one sweet potato with an equal amount of more Yukon golds or add a pinch more pepper and thyme. That keeps the gratin balanced and lets the nutty cheese read louder than the vegetables.
Storage and Reheating
- Refrigerator: Store covered for up to 4 days. The sauce will set more firmly in the fridge, but the flavor holds beautifully.
- Freezer: It freezes, but the texture softens a bit after thawing. Cool it completely, wrap tightly, and freeze in portions for up to 2 months.
- Reheating: Reheat covered at 325F until hot in the center, then uncover for the last few minutes to bring back the top crust. A microwave will warm it, but it softens the texture and makes the edges watery.
Questions I Get Asked About This Recipe

Cheesy Root Vegetable Gratin
Ingredients
Equipment
Method
- Preheat oven to 375°F and butter a 9x13-inch baking dish.
- Warm heavy cream, whole milk, garlic, fresh thyme leaves, salt, black pepper, and nutmeg until steaming, then remove from heat (do not boil).
- Layer a third of Yukon gold potatoes, sweet potatoes, and parsnips in the dish, then top with a third of shredded Gruyere.
- Repeat the layers twice, then pour the warm cream mixture evenly over the top so it seeps between slices.
- Cover with foil and bake for 45 minutes at 375°F.
- Uncover, sprinkle with 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 gratin sets and slices cleanly.