This dish features thinly sliced sweet potatoes layered with deeply caramelized onions and a mix of Gruyère and sharp cheddar cheeses. A creamy sauce seasoned with thyme, nutmeg, and black pepper gently envelops the ingredients before baking. The gratin is baked covered, then uncovered until golden and tender. It makes a rich, hearty side or main dish perfect for cozy meals.
The first time I made this gratin, I was attempting to impress my new in-laws at Thanksgiving. I had this moment of pure panic when I realized I'd forgotten the regular potatoes and only had sweet potatoes in the pantry. Sometimes the kitchen disasters turn into the best discoveries.
My father-in-law took three servings that night and quietly asked for the recipe before he left. Now it's the one dish my family requests for every holiday gathering, birthday celebration, or random Tuesday when we need something deeply comforting.
Ingredients
- Sweet potatoes: Peel them and slice as thinly as possible for even cooking
- Yellow onions: Take your time caramelizing them properly because that deep flavor is the backbone
- Garlic: Add it near the end so it does not burn and turn bitter
- Gruyère and sharp cheddar: This combination gives you both nutty complexity and sharp tang
- Heavy cream and whole milk: The fat content is essential for that luxurious texture
- Butter: Use it for caramelizing the onions and in the cream mixture
- Thyme: Fresh or dried works to add earthy notes
- Nutmeg: Just a quarter teaspoon enhances the cream without making it taste like dessert
- Salt and black pepper: Season each layer as you build the gratin
- Optional flour: Helps thicken the cream slightly if you prefer a more sauce-like consistency
Instructions
- Preheat your oven:
- Set it to 375°F and generously butter a 9x13 baking dish so nothing sticks
- Caramelize the onions:
- Melt 2 tablespoons butter in a large skillet and cook the sliced onions with a pinch of salt over medium heat for 20 to 25 minutes until they are deep golden and fragrant
- Add the garlic:
- Stir in the minced garlic for just one minute then remove the pan from heat
- Warm the cream mixture:
- In a small saucepan combine the cream milk thyme nutmeg pepper and remaining butter and heat until steaming but not boiling whisking in flour if using
- Build the first layer:
- Arrange half the sweet potato slices in the prepared dish and season them lightly with salt
- Add flavor:
- Spread half the caramelized onions over the potatoes then sprinkle with half of both cheeses
- Repeat the layers:
- Add the remaining potatoes onions and cheeses creating beautiful layers that will melt together
- Pour over the cream:
- Distribute the warm cream mixture evenly over everything so it seeps into all the layers
- Cover and bake:
- Tent the dish tightly with foil and bake for 40 minutes so the potatoes cook through
- Uncover and finish:
- Remove the foil and bake for 20 more minutes until the top is golden brown and bubbly
- Rest before serving:
- Let the gratin sit for 10 minutes to set slightly so each serving holds its shape beautifully
Last Christmas my sister finally confessed she had been buying pre-made gratins from the store for years until she tasted this version. Now she calls me every time she makes it just to confirm she is caramelizing the onions long enough.
Make It Ahead
You can assemble the entire gratin up to a day before baking and keep it covered in the refrigerator. Just add 10 minutes to the covered baking time since it will be cold going into the oven.
Cheese Substitutions
I have used fontina and Monterey Jack when I could not find Gruyère at my regular grocery store. The flavor profile shifts slightly but it is still absolutely delicious.
Serving Suggestions
This gratin pairs beautifully with roasted chicken or pork loin. It is rich enough to stand alone as a vegetarian main with a simple green salad on the side.
- A crisp white wine like Sauvignon Blanc cuts through the richness perfectly
- Leftovers reheat surprisingly well in the microwave or oven
- The top layer gets even better the next day
There is something deeply satisfying about watching people take that first bite and go completely quiet. This is the kind of side dish that can turn an ordinary Tuesday dinner into something special.
Recipe FAQs
- → How do you caramelize the onions properly?
-
Sauté sliced onions in butter over medium heat, stirring frequently, until they turn deep golden and sweetly fragrant, about 20-25 minutes.
- → Can I make this gratin dairy-free or vegan?
-
This version relies on cheeses and cream for creaminess; substitutions like plant-based cheeses and milks can be tried but may alter texture and flavor.
- → What is the best way to slice the sweet potatoes?
-
Use a sharp knife or mandoline to slice sweet potatoes thinly and evenly to ensure uniform cooking throughout the gratin.
- → How do I prevent the gratin from becoming too watery?
-
Lightly seasoning the potato layers with salt and using a gently thickened cream mixture helps control excess moisture.
- → Can I prepare this dish ahead of time?
-
Yes, assemble the layers and refrigerate before baking. Bake when ready, then reheat gently for best results.