This dish features thinly sliced sweet potatoes layered with deeply caramelized onions and a rich blend of Gruyère and sharp cheddar cheeses. A warm cream sauce infused with thyme and nutmeg is poured over the layers before baking until golden and tender. Finished with fresh chives, this gratin offers a comforting texture and a balanced sweet and savory flavor, ideal as a hearty side or main.
The first time I served this gratin, my friend Sarah literally stopped mid conversation, fork frozen halfway to her mouth, and asked what kind of magic was happening on her plate. Something about the way sweet potatoes play against sharp cheddar and those slow cooked onions just hits different than regular potato gratin. Now its the one dish people actually request when they hear Im hosting dinner.
I made this for Thanksgiving last year instead of the usual marshmallow topped sweet potatoes, and my grandmother actually admitted she liked this version better. The way the cream bubbles up between the layers while it bakes fills the whole house with this incredible cozy smell that makes everyone gravitate toward the kitchen.
Ingredients
- 2 lbs sweet potatoes, peeled and thinly sliced: A mandoline saves so much time here and gives you those perfectly even layers that cook uniformly
- 2 large yellow onions, thinly sliced: The secret is taking your time with these really letting them get deep brown and sweet
- 2 cloves garlic, minced: Add this at the very end of caramelizing so it does not burn
- 2 cups shredded Gruyère cheese: This melts into those gorgeous stringy pools and adds such a nutty depth
- 1 cup shredded sharp cheddar cheese: The sharpness cuts through all that cream and sweet potato beautifully
- 1 1/2 cups heavy cream: Do not substitute this the richness is what makes it a proper gratin
- 1/2 cup whole milk: Lightens it just enough so it is not overwhelmingly heavy
- 3 tbsp unsalted butter: One tablespoon goes into the cream mixture and two for caramelizing those onions
- 1/2 tsp dried thyme: Fresh is lovely too but dried works perfectly here
- 1/2 tsp ground black pepper: Freshly cracked makes such a difference
- 1/2 tsp salt plus more to taste: Season each layer as you go for the best flavor
- 1/4 tsp ground nutmeg: Just a whisper adds this beautiful warmth that people cannot quite identify
- 1 tbsp flour and 2 tbsp fresh chives, both optional: Flour slightly thickens the cream and chives add a fresh pop at the end
Instructions
- Preheat and prep your baking dish:
- Set your oven to 375°F and butter a 9x13 inch baking dish thoroughly right into the corners so nothing sticks
- Caramelize the onions:
- Melt 2 tablespoons butter in a large skillet over medium heat, add those sliced onions with a pinch of salt, and cook them slowly for 20 to 25 minutes until they are deep golden and sticky sweet
- Add the garlic:
- Toss in the minced garlic during that last minute of onion cooking so it becomes fragrant without burning
- Warm the cream mixture:
- Heat the cream, milk, thyme, nutmeg, pepper, and remaining tablespoon of butter in a small saucepan until steaming, whisking in the flour now if you are using it
- Start layering:
- Arrange half the sweet potato slices in your prepared dish, giving them a light sprinkling of salt as you go
- Add the first flavor layer:
- Spread half those gorgeous caramelized onions over the potatoes then scatter with half of both cheeses
- Repeat the layers:
- Add the remaining sweet potatoes, the rest of the onions, and the remaining cheese on top
- Pour over the cream:
- Evenly distribute that warm cream mixture over everything, watching it seep down through all the layers
- Cover and bake:
- Tent the dish tightly with foil and bake for 40 minutes so the potatoes can steam and soften
- Get that golden top:
- Remove the foil and bake another 20 minutes until the cheese is bubbling and beautifully browned on top
- Let it rest:
- Give the gratin 10 minutes to settle before serving so the cream sets up a bit and slicing is cleaner
This gratin has become my go to for bringing to friends who need a meal, because it travels well and feels so nourishing. Last winter I dropped one off at my neighbors house after they had their first baby, and she later told me it was the first thing she had actually wanted to eat in weeks.
Make Ahead Magic
You can absolutely assemble this entire gratin the day before and keep it refrigerated, just add about 10 minutes to the covered baking time since it will be cold going into the oven. I have also baked it fully, let it cool, and frozen it for up to a month with great results.
Cheese Swaps That Work
While Gruyère and sharp cheddar are my tried and true combination, I have had success swapping in fontina for extra meltiness or adding some parmesan for a salty punch. Just keep the total cheese quantity the same and avoid very soft cheeses that might separate.
Serving Suggestions
This gratin is rich enough to stand alone as a main with a crisp green salad dressed with something acidic, or serve it alongside roasted chicken or pork loin. A glass of Sauvignon Blanc cuts through the creaminess perfectly.
- Let it rest the full 10 minutes before serving or you will lose all that lovely cream structure
- A sprinkle of fresh chives right before serving adds this beautiful pop of color
- The leftovers reheat surprisingly well in a low oven, covered so they do not dry out
There is something so satisfying about pulling that foil off and seeing the golden bubbly top beneath. Hope this becomes a favorite in your kitchen too.
Recipe FAQs
- → How do I caramelize onions properly for this dish?
-
Cook sliced onions slowly over medium heat with butter and a pinch of salt, stirring often for 20-25 minutes until deeply golden and soft.
- → Can I substitute the cheeses in this gratin?
-
Yes, using cheeses that melt well such as fontina, mozzarella, or even a mild gouda works well while keeping the texture creamy.
- → What is the purpose of the cream mixture in the gratin?
-
The cream blend adds moisture, richness, and helps bind the layers together as it bakes, creating a luscious texture.
- → How can I make this dish gluten-free?
-
Use gluten-free flour as a thickening agent in the cream sauce and verify that all cheeses used are free from additives containing gluten.
- → What wine pairs well with this gratin?
-
A crisp white wine like Sauvignon Blanc or a light red such as Pinot Noir complements the sweet and savory flavors nicely.