Cheesy root vegetable gratin is the kind of side dish that gets scooped up first and remembered long after the rest of the meal is gone. The edges turn deeply tender, the top browns into a crisp, nutty crust, and the creamy layers underneath hold their shape just enough to slice cleanly before melting on the plate. It feels generous and a little luxurious without being fussy.
What makes this version work is the balance between starchy potatoes, naturally sweet sweet potatoes, and earthy parsnips. Each one cooks at a slightly different pace, but the warm cream mixture and the long covered bake give everything time to soften together before the cheese finishes the job. Warming the dairy before it goes in matters too; it helps the gratin cook evenly instead of relying on a cold pool of liquid at the bottom of the dish.
Below you’ll find the small details that keep the layers from turning muddy, the top from burning before the center is tender, and the whole dish from falling apart the moment you serve it. It’s a straightforward recipe, but a few good habits make it a lot better.
The layers held together beautifully, and the cream mixture soaked in without turning watery. I baked it the full time, and the top came out golden with the potatoes perfectly tender.
Love the bubbling Gruyere crust and creamy layers in this root vegetable gratin? Save it to Pinterest for your next holiday side dish or Sunday roast.
The Secret to a Gratin That Cooks Through Before the Top Gets Too Dark
A root vegetable gratin fails in one of two ways: the top browns too fast, or the bottom turns soupy before the center is tender. This version avoids both by giving the vegetables a head start under foil, then finishing uncovered once the layers have already softened. That covered bake matters more than people think. It traps steam around the slices, which helps the potatoes, sweet potatoes, and parsnips cook at the same pace instead of leaving you with firm layers hiding under a browned top.
The other thing that helps is slicing everything thinly and evenly. If one vegetable is cut much thicker than the others, it stays firm while the rest collapse. Aim for slices thin enough that they bend slightly before they snap. That lets the cream move between the layers, which is what gives you a clean, spoonable gratin instead of a stack that slides apart.
What Each Ingredient Is Actually Doing in This Dish

- Yukon gold potatoes — These bring the classic gratin texture: creamy, starchy, and sturdy enough to hold the dish together. Russets can turn a little too soft and mealy, while waxier potatoes stay firmer than you want here.
- Sweet potatoes — They add sweetness and a soft, velvety bite that keeps the gratin from tasting flat. Slice them the same thickness as the potatoes so they cook at the same rate.
- Parsnips — This is the ingredient that gives the gratin its edge. They bring a faint peppery, almost nutty note that keeps the whole dish from leaning too sweet and heavy.
- Heavy cream and whole milk — The cream gives richness, while the milk keeps the dish from feeling dense. You need both here; swapping in all milk makes the gratin less plush, and using all cream can turn it overly rich and greasy.
- Gruyere and Parmesan — Gruyere melts into the layers and gives you that stretchy, savory finish. Parmesan goes on top for a harder, saltier crust. If you need a swap, use Emmental or a good Swiss-style cheese for the Gruyere, but keep the Parmesan if you want the top to brown properly.
- Garlic, thyme, and nutmeg — These season the dairy itself, which is what makes every bite taste finished instead of just cheesy. Warm them in the cream mixture so the flavor has time to infuse before it hits the dish.
Building the Layers So the Center Turns Tender
Warming the Cream Mixture
Combine the cream, milk, garlic, thyme, salt, pepper, and nutmeg in a saucepan and heat it until it’s steaming, not boiling. The goal is to wake up the garlic and herbs and help the seasonings dissolve before they meet the vegetables. If you skip this and pour in cold dairy, the bake takes longer and the seasoning stays uneven.
Laying the Vegetables in Even Sheets
Arrange a third of the vegetables in the buttered dish, then scatter on a third of the Gruyere. Keep the slices snug but not packed tight; the cream still needs room to move through the layers. Repeat twice more, and try to distribute the sweeter sweet potato slices throughout the dish instead of clustering them in one section.
Covered Bake First, Then the Golden Finish
Pour the warm cream mixture evenly over the top, cover tightly with foil, and bake until the vegetables are just starting to turn tender. That first stage is what cooks the center through. Once the foil comes off and the Parmesan goes on, watch for bubbling around the edges and a deep golden top. If the surface darkens before a knife slides through easily, the oven is running hot; tent the dish loosely with foil and keep baking until the vegetables yield.
The Rest That Keeps It Sliceable
Let the gratin stand for 10 minutes before serving. That pause lets the cream settle back into the layers instead of running all over the plate. If you cut it straight from the oven, the structure hasn’t had time to firm up, and the serving will slump instead of holding together.
How to Adapt This Gratin Without Losing the Creamy Texture
Make it dairy-free with a rich plant-based cream
Use unsweetened oat cream or a full-fat plant cream substitute in place of the heavy cream and milk, then choose a melting-style dairy-free cheese for the layers. The texture will be a little lighter and the top won’t brown quite the same way, but you’ll still get a creamy, spoonable bake.
Swap the Gruyere for a sharper, easier-to-find cheese
Emmental, Comté, or even a good Swiss cheese will melt well here if Gruyere isn’t in the budget. You’ll lose a little of that nutty depth, so keep the Parmesan on top to preserve the salty crust.
Make it ahead for a dinner party
Assemble the dish up to the point of baking, then cover and refrigerate for up to a day. Let it sit at room temperature for about 30 minutes before it goes into the oven so the middle doesn’t stay icy while the top browns. If it starts cold from the fridge, expect to add a little extra time.
Storage and Reheating
- Refrigerator: Store leftovers covered for up to 4 days. The gratin will firm up as it chills, which actually helps it slice neatly for reheating.
- Freezer: It freezes, but the texture softens a bit after thawing because of the cream. Wrap portions tightly and freeze for up to 2 months for the best result.
- Reheating: Reheat covered in a 350F oven until hot through, then uncover for the last few minutes if you want to bring back the top. The common mistake is blasting it in the microwave, which makes the edges rubbery and the center uneven.
Questions I Get Asked About This Recipe

Cheesy Root Vegetable Gratin
Ingredients
Equipment
Method
- Preheat oven to 375°F, then 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.
- 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.
- Repeat the layers two more times, then pour the warm cream mixture evenly over the top.
- Cover with foil and bake for 45 minutes at 375°F, until the vegetables start to soften.
- Uncover, sprinkle Parmesan over the top, and bake 20-25 minutes until bubbly, golden, and fork-tender.
- Rest the gratin for 10 minutes before serving, so the sauce thickens slightly and slices hold together.