This gratin combines sweet potatoes sliced thinly and layered with deeply caramelized onions and a blend of Gruyère and cheddar cheeses. A creamy mixture of milk, cream, and butter is poured over the layers, then baked until golden and tender. The dish offers a warm, comforting texture and rich flavors enhanced by thyme, nutmeg, and freshly chopped chives for garnish. Perfect as a satisfying side or main dish for gatherings.
The first time I made this gratin was during a rainy October dinner party when I needed something comforting but impressive. My friend Sarah took one bite and actually went quiet, which never happens, then proceeded to ask for thirds. Something about the way the sweet potatoes soak up that creamy, savory mixture creates this incredible depth that people just dont expect from a humble root vegetable.
Last Thanksgiving, I made three of these gratins because my family kept requesting it year after year. Watching my usually skeptical uncle go back for fourths was all the validation I needed. The way the house smells while the onions are slowly caramelizing is pure comfort—earthy, sweet, and incredibly cozy.
Ingredients
- 2 lbs sweet potatoes, thinly sliced: Using a mandoline creates perfectly even layers that cook uniformly, though a sharp knife works too
- 2 large yellow onions, thinly sliced: Take your time caramelizing these properly because theyre the secret ingredient that makes the dish sing
- 2 cloves garlic, minced: Add this at the very end of caramelizing so it doesnt burn and turn bitter
- 2 cups shredded Gruyère cheese: This melts beautifully and adds that sophisticated nutty flavor
- 1 cup shredded sharp cheddar cheese: The sharpness cuts through the sweetness of the potatoes and cream
- 1 1/2 cups heavy cream: Creates that luxurious, velvety texture that makes gratins so irresistible
- 1/2 cup whole milk: Lightens the cream slightly so the dish isnt overwhelmingly heavy
- 3 tbsp unsalted butter: Use 2 tablespoons for the onions and save 1 for the cream mixture
- 1/2 tsp dried thyme: Adds an earthy note that pairs beautifully with sweet potatoes
- 1/2 tsp ground black pepper: Freshly ground makes a noticeable difference here
- 1/2 tsp salt plus more to taste: Remember the cheese is salty, so season carefully
- 1/4 tsp ground nutmeg: Just a pinch enhances the creaminess without being detectable
- 1 tbsp flour, optional: Helps thicken the cream slightly if you prefer a more custard-like texture
- 2 tbsp fresh chives: Adds a pop of color and mild onion flavor as a garnish
Instructions
- Preheat and prepare your baking dish:
- Set your oven to 375°F and butter a 9x13-inch baking dish thoroughly, getting into all the corners
- Caramelize the onions slowly:
- Melt 2 tablespoons butter in a large skillet over medium heat, add the sliced onions with a pinch of salt, and cook them gently for 20 to 25 minutes until they turn deep golden brown, stirring frequently so they dont burn
- Add the garlic:
- Stir in the minced garlic during the last minute of cooking so it becomes fragrant but doesnt brown, then remove the pan from heat
- Warm the cream mixture:
- In a small saucepan, heat the cream, milk, thyme, nutmeg, pepper, remaining 1 tablespoon butter, and flour if using over medium-low heat until steaming but not boiling
- Start layering:
- Arrange half the sweet potato slices in the bottom of your prepared dish, overlapping them slightly like shingles, and sprinkle with a tiny bit of salt
- Add the first layer of flavor:
- Spread half the caramelized onions over the potatoes, then sprinkle with half the Gruyère and half the cheddar cheese
- Build the second layer:
- Repeat with the remaining sweet potatoes, onions, and cheeses, creating those beautiful distinct layers that will melt together
- Pour over the cream:
- Carefully pour the warm cream mixture evenly over the entire gratin, trying to distribute it as uniformly as possible
- Cover and bake:
- Tent the dish tightly with aluminum foil and bake for 40 minutes to let the potatoes steam and soften in the creamy liquid
- Uncover and finish:
- Remove the foil and bake for another 20 minutes until the top is bubbly and golden brown with some delicious crispy edges
- Let it rest before serving:
- Wait 10 minutes before cutting so the custard sets slightly and makes serving much cleaner and easier
My sister-in-law now requests this for every family gathering, even in summer when no one wants to turn on the oven. The way the cheeses bubble up and create that gorgeous golden crust on top makes it impossible to resist sneaking a bite straight from the pan.
Make It Ahead
You can assemble this entire gratin up to 24 hours in advance, cover it tightly, and keep it refrigerated. When ready to bake, let it sit at room temperature for about 30 minutes before putting it in the oven, and add an extra 10 minutes to the covered baking time.
Perfect Pairings
This rich gratin works beautifully alongside roasted chicken, pork tenderloin, or as part of a vegetarian holiday spread. A crisp green salad with vinaigrette helps cut through the creaminess, and a glass of Sauvignon Blanc complements the sweet and savory flavors perfectly.
Serving Suggestions
Let the gratin rest those full 10 minutes because it makes such a difference in how cleanly you can serve it. I like to bring the whole dish to the table and let people serve themselves because it looks impressive and stays hot longer.
- Sprinkle fresh chives over the top right before serving for a bright pop of green
- A pinch of smoked paprika on each serving adds a lovely smoky depth
- Serve slightly warm rather than piping hot for the best flavor experience
Theres something deeply satisfying about serving a dish that looks this elegant but comes from such humble ingredients. Hope this becomes a staple in your kitchen too.
Recipe Questions
- → How do I caramelize the onions perfectly?
-
Cook sliced onions slowly over medium heat with butter and a pinch of salt, stirring often until they turn deep golden brown, which takes about 20-25 minutes.
- → Can I prepare the gratin ahead of time?
-
Yes, you can assemble the layers and refrigerate before baking. When ready, bake as directed, adding a few extra minutes if baked straight from the fridge.
- → What cheeses work best for this dish?
-
Gruyère and sharp cheddar provide melting qualities and depth of flavor, but other semi-hard cheeses can be used based on preference.
- → How can I make this dish gluten-free?
-
Use gluten-free flour for the thickening step if needed and verify that cheeses do not contain gluten additives.
- → What wine pairs well with this gratin?
-
A crisp white wine like Sauvignon Blanc or a light red such as Pinot Noir complements the rich, creamy flavors beautifully.
- → Can additional flavors be added?
-
Adding smoked paprika or a layer of sautéed mushrooms can enhance the depth and smoky notes of the gratin.