This savory gratin features thinly sliced sweet potatoes layered with deeply caramelized onions and a creamy blend of Gruyère and sharp cheddar cheeses. A fragrant mix of thyme, nutmeg, and black pepper enriches the warm cream poured over the layers before baking. The dish is baked until golden and tender, offering a rich, comforting side or main dish option, garnished with fresh chives for a fresh finish.
The first time I made this gratin, I was hosting a fall dinner party and desperately needed something that felt impressive but wouldn't chain me to the stove. My kitchen smelled like caramelized onions for hours afterward, and I caught multiple guests hovering near the oven, watching the cheese bubble through the glass door. That evening taught me that some dishes announce themselves before they even hit the table.
Last Thanksgiving, I accidentally doubled the cream mixture because I was chatting while measuring, and it turned out to be the best mistake I have ever made in the kitchen. The extra liquid made the potatoes impossibly tender, and my sister-in-law actually scraped the baking dish clean with a spoon while we were still sitting at the table.
Ingredients
- 2 lbs sweet potatoes, peeled and thinly sliced: A mandoline is your friend here for consistent thickness, which means even cooking
- 2 large yellow onions, thinly sliced: Take your time caramelizing these properly because they are the secret ingredient that makes everything taste extraordinary
- 2 cloves garlic, minced: Add this at the very end of onion cooking so it does not burn and turn bitter
- 2 cups shredded Gruyère cheese: This melting cheese brings that incredible nutty flavor that sets this recipe apart from standard potato gratins
- 1 cup shredded sharp cheddar cheese: The sharpness cuts through the sweet potatoes and creates this perfect flavor triangle
- 1 1/2 cups heavy cream: Do not be tempted to use half and half because the potatoes need this richness to become silky
- 1/2 cup whole milk: This slightly lightens the dish while maintaining that luxurious mouthfeel
- 3 tbsp unsalted butter: Use unsalted so you can control the seasoning, and save a tablespoon for the cream mixture
- 1/2 tsp dried thyme: Fresh thyme works beautifully too, just strip the leaves and add them with the garlic
- 1/2 tsp ground black pepper: Freshly ground makes a noticeable difference here
- 1/2 tsp salt (plus more to taste): Sweet potatoes need a bit more salt than you might expect to really shine
- 1/4 tsp ground nutmeg: This might seem unusual, but it echoes the natural sweetness of the potatoes in the most subtle way
- 1 tbsp gluten-free flour (optional): Only add this if you prefer a slightly thicker sauce, though the dish works beautifully without it
- 2 tbsp chopped fresh chives: These add a bright pop of color and mild onion flavor that cuts through all the richness
Instructions
- Preheat your oven and prepare the baking dish:
- Set your oven to 375°F (190°C) and butter a 9x13-inch baking dish thoroughly, getting into all the corners
- Caramelize the onions:
- Melt 2 tablespoons butter in a large skillet over medium heat, add the sliced onions with a pinch of salt, and cook them slowly for 20 to 25 minutes until they are deep golden and sticky
- Add the aromatics:
- Stir in the minced garlic during the last minute of onion cooking, just until fragrant, then remove the pan from heat
- Prepare the cream base:
- Heat the cream, milk, thyme, nutmeg, pepper, and remaining 1 tablespoon butter in a small saucepan until steaming, whisking in the flour now if you are using it
- Start the layering:
- Arrange half the sweet potato slices in the prepared dish, slightly overlapping them like fallen dominoes, and give them a light sprinkle of salt
- Add the first layer of filling:
- Spread half the caramelized onions over the potatoes, then scatter with half of both cheeses
- Repeat the layers:
- Layer the remaining sweet potatoes, followed by the rest of the onions and cheeses, pressing down gently as you go
- Pour over the cream mixture:
- Carefully pour the warm cream mixture over the entire dish, taking your time to let it seep down between all the layers
- Cover and bake:
- Cover the dish tightly with foil and bake for 40 minutes, which will steam the potatoes until they are almost tender
- Uncover and finish baking:
- Remove the foil and continue baking for another 20 minutes until the top is bubbly and golden brown with those gorgeous crispy cheese edges
- Rest before serving:
- Let the gratin sit for 10 minutes before serving, which helps the layers set and makes serving much easier
My neighbor texted me at 11 PM the night after I brought her a leftover portion, asking if I could teach her how to make it. There is something about this combination of flavors that turns a simple side dish into the kind of food people remember months later.
Make It Your Own
I have discovered that adding a layer of sautéed mushrooms between the potato layers makes this feel even more like a main course. The mushrooms soak up all that creamy sauce and add this earthy quality that grounds the sweetness of the potatoes.
Timing Is Everything
The real secret to this dish is not rushing the onion caramelization step. I once tried to speed it up by turning up the heat, and ended up with burned onions that made the whole taste bitter. Low and slow gives you that deep, complex sweetness that makes this recipe sing.
Serving Suggestions
This gratin is rich enough to stand alone as a vegetarian main dish, especially when paired with a crisp green salad dressed with something acidic. The sharp vinaigrette cuts through the cream and makes each bite feel lighter. A glass of chilled white wine does not hurt either.
- Let it rest for at least 10 minutes or the layers will slide apart when you try to serve it
- The top layer of cheese can go from golden to burnt quickly, so start checking at the 15 minute mark after removing the foil
- This reheats beautifully at 350°F covered with foil until warmed through
There is something deeply satisfying about serving a dish that looks as impressive as it tastes, especially when it comes together with such simple ingredients. This gratin has become my go-to for those nights when I want to feed people something that feels like a hug on a plate.
Recipe Questions & Answers
- → How do I caramelize onions properly?
-
Cook sliced onions slowly over medium heat with a bit of butter and salt, stirring often until they turn golden and soften, typically 20-25 minutes.
- → Can I prepare this dish ahead of time?
-
Yes, it can be assembled and refrigerated before baking. Reheat gently to maintain its creamy texture and flavors.
- → What cheeses work best in this gratin?
-
A combination of Gruyère and sharp cheddar offers both creaminess and a flavorful punch, melting beautifully over the potatoes.
- → Is there a way to thicken the creamy sauce?
-
Adding a tablespoon of gluten-free or all-purpose flour to the warm cream mixture before layering helps achieve a slight thickening.
- → What pairs well with this gratin on the table?
-
A crisp white wine like Sauvignon Blanc or a light red such as Pinot Noir complements the rich, cheesy flavors nicely.