This baked gratin highlights thinly sliced sweet potatoes layered with rich caramelized onions and a blend of Gruyère and cheddar cheeses. The creamy sauce, infused with thyme and nutmeg, ties the dish together, baked until golden and tender. Perfect as a hearty side or main, garnished with fresh chives for a delicate finish. Preparation involves caramelizing onions slowly, preparing the cream sauce, layering ingredients, baking covered then uncovered, and resting before serving.
The smell of caramelized onions hitting cream still makes me pause in my tracks like I did that first autumn afternoon, wooden spoon hovering over the stove while my kitchen windows fogged up. I was testing recipes for a friend's Thanksgiving potluck, skeptical about mixing sweet potatoes with heavy dairy and onions. One forkful changed everything. Now this gratin shows up at every comfort food gathering I host.
My sister called me halfway through her first attempt, voice slightly panicked because her onions were turning dark brown and sticking to the pan. Thats exactly when I told her to keep going. She brought that slightly over caramelized version to Christmas dinner, and honestly, it might have been the best batch any of us ever tasted.
Ingredients
- Sweet potatoes: Peel them thinly and slice about 1/8 inch thick because thinner layers mean more even cooking and that creamy texture throughout
- Yellow onions: Thinly slice them and take your time caramelizing because the deeper the color, the more natural sweetness they contribute
- Heavy cream and whole milk: This mixture creates the velvety base that binds everything together without overwhelming the sweet potato flavor
- Gruyère and sharp cheddar: Gruyère brings that nutty sophistication while sharp cheddar punches through with the familiar comfort people crave
- Fresh thyme and nutmeg: The thyme adds an earthy backbone and just a pinch of nutmeg makes the cream sauce feel cozy and complete
Instructions
- Get your oven ready:
- Preheat to 375°F and butter a 9x13 baking dish thoroughly, getting into the corners so nothing sticks later.
- Caramelize the onions:
- Melt 2 tablespoons butter in a large skillet over medium heat, add onions with a pinch of salt, and cook slowly for 20 to 25 minutes until deeply golden and sticky.
- Warm the cream mixture:
- Heat cream, milk, thyme, nutmeg, pepper, and remaining butter in a small saucepan until steaming, whisking in flour if you want a slightly thicker sauce.
- Build the first layer:
- Arrange half the sweet potato slices in the baking dish, sprinkle lightly with salt, then spread half the caramelized onions over the top.
- Add the cheese:
- Sprinkle half of both cheeses evenly across the onions, making sure some reaches the edges for those crispy bits everyone fights over.
- Repeat and pour:
- Layer remaining potatoes, onions, and cheese, then slowly pour the warm cream mixture over everything, letting it seep through the layers.
- Bake covered:
- Cover tightly with foil and bake for 40 minutes so the potatoes steam through and soften in their own creamy bath.
- Finish uncovered:
- Remove the foil and bake another 20 minutes until the top is bubbling and golden brown with those irresistible crispy edges.
- Rest before serving:
- Let the gratin sit for 10 minutes so the cream sets slightly and each serving holds its shape beautifully.
This recipe officially became a family tradition after my dad quietly went back for thirds at Easter, then asked if there was any left to take home. Seeing someone who usually sticks to basic mashed potatoes fall in love with something layered and complex reminded me why I bother spending extra time on the details.
Making This Your Own
I have added sautéed mushrooms between layers when cooking for vegetarians who wanted something more substantial. A pinch of smoked paprika in the cream sauce brings this subtle smoky warmth that plays nicely against the sweet potatoes natural sugar.
Timing Everything Right
The onions can be caramelized up to two days ahead and stored in the refrigerator, which actually makes the assembly go much faster on busy cooking days. Just bring them to room temperature before layering so they heat evenly in the oven.
Serving Suggestions
A crisp white wine like Sauvignon Blanc cuts through the richness beautifully, or pour a light Pinot Noir if red wine feels more like the occasion. This gratin holds its own alongside roast chicken or stands alone as a vegetarian main with a simple green salad.
- Let guests know it needs to rest before serving because the first piece always wants to slide apart if you cut too soon
- Fresh chives on top add this bright pop of color and mild onion flavor that lightens each bite
- The dish travels well if you need to bring it somewhere, just keep it covered until you arrive
There is something deeply satisfying about pulling that bubbling, golden dish out of the oven and watching peoples faces light up. This is the kind of comfort food that turns a regular Tuesday dinner into something worth remembering.
Recipe Questions & Answers
- → How do I caramelize onions properly?
-
Sauté sliced onions slowly over medium heat with butter and a pinch of salt, stirring frequently until they turn golden and soft, typically 20-25 minutes.
- → Can this dish be made gluten-free?
-
Yes, use gluten-free flour to thicken the cream sauce and check cheese labels to avoid additives containing gluten.
- → What cheeses are best for this gratin?
-
A combination of Gruyère and sharp cheddar offers meltiness and depth, balancing creamy and tangy flavors.
- → How to ensure the sweet potatoes cook evenly?
-
Slice sweet potatoes thinly and uniformly, layer evenly in the dish, and bake covered first to retain moisture before uncovering to brown.
- → Can I prepare this dish ahead of time?
-
Yes, you can assemble it in advance and refrigerate; reheat gently before serving to maintain flavors and texture.