This gratin features thinly sliced sweet potatoes layered with deeply caramelized onions and a blend of Gruyère and sharp cheddar. A creamy mixture infused with thyme, nutmeg, and butter is poured over before baking until golden and tender. The dish offers a comforting, hearty addition to any meal, perfect as a side or standalone dish. A sprinkle of fresh chives adds a bright, herby finish.
The first time I made this gratin was for a rainy Sunday dinner when my kitchen smelled like butter and onions for hours. My roommate kept wandering in asking when it would be ready, that caramelized onion scent is impossible to resist. We ended up eating it straight from the dish while standing at the counter because waiting for plates seemed ridiculous.
I brought this to a Friendsgiving potluck and watched it disappear before the turkey was even carved. Someone asked for the recipe with their mouth still full, which I took as the highest compliment possible. Now it is my go to whenever I need to feed a crowd and actually want to enjoy the party too.
Ingredients
- 2 lbs sweet potatoes: Thin slices are key here, a mandoline changed my life but a sharp knife and patience work too
- 2 large yellow onions: Take the time to caramelize them properly, that depth is what separates good from unforgettable
- 2 cloves garlic: Add it in the last minute so it does not burn and turn bitter
- 2 cups shredded Gruyère: The nutty flavor is worth the extra expense, trust me on this one
- 1 cup shredded sharp cheddar: Brings the familiar comfort note we all crave sometimes
- 1 1/2 cups heavy cream: Do not substitute, the richness is what makes this a gratin not just scalloped potatoes
- 1/2 cup whole milk: Lightens things up just enough without sacrificing texture
- 3 tbsp unsalted butter: Use good butter since the flavor really shines through
- 1/2 tsp dried thyme: Fresh is lovely but dried works perfectly here
- 1/2 tsp ground black pepper: Freshly cracked makes all the difference
- 1/2 tsp salt: You will probably want to add more to taste as you layer
- 1/4 tsp ground nutmeg: The secret warmth that makes people ask what is in this
- 1 tbsp flour: Optional but helps thicken the cream sauce if you prefer it less loose
- 2 tbsp fresh chives: That pop of green and mild onion flavor on top makes it look professional
Instructions
- Get your oven ready:
- Preheat to 375°F and grease your baking dish with butter, getting into all the corners so nothing sticks.
- Caramelize the onions:
- Melt 2 tbsp butter in a large skillet over medium heat, add onions with a pinch of salt, and let them cook down slowly until they turn deep golden brown.
- Add the garlic:
- Stir in minced garlic for just one minute until fragrant, then remove the pan from heat completely.
- Warm the cream mixture:
- Heat cream, milk, thyme, nutmeg, pepper, and remaining butter in a saucepan until steaming but not boiling.
- Optional thickening step:
- If using flour, whisk it into the warm cream now until completely smooth and slightly thickened.
- First layer down:
- Arrange half the sweet potato slices in the dish, overlapping slightly, and sprinkle with a tiny pinch of salt.
- Add the good stuff:
- Spread half the caramelized onions over the potatoes, then sprinkle with half of both cheeses evenly.
- Repeat the layers:
- Do it all again with remaining potatoes, onions, and cheeses, building your beautiful little mountain.
- Pour the cream:
- Slowly pour that warm, fragrant cream mixture over everything, letting it seep down through all the layers.
- Cover and bake:
- Tent the dish tightly with foil and bake for 40 minutes so the potatoes cook through gently.
- Uncover and golden:
- Remove foil and bake another 20 minutes until the top is bubbling and gorgeous brown.
- Patience pays off:
- Let it rest 10 minutes before serving, this step hurts but helps the layers set.
- Finish if you want:
- Sprinkle fresh chives on top right before serving for that restaurant style touch.
My aunt tasted this once and immediately asked if she could take the leftovers home for breakfast the next morning. She sent me a text at 8am saying it was even better cold with a fried egg on top, which honestly changed how I think about gratins forever.
Make It Ahead
I have assembled this the night before and stored it in the refrigerator, covered tightly. Just add an extra 10 minutes to the covered baking time since everything will be cold going into the oven. Let it sit at room temperature for 30 minutes while the oven preheats for even better results.
Cheese Swaps That Work
Once I used Comté instead of Gruyère and it was equally magnificent, just slightly sweeter. Fontina creates an incredible gooey factor if you want maximum cheese pull in every bite. Avoid pre shredded cheese though, the anti caking coating prevents that smooth melting we are after.
Serving Ideas
This gratin holds its own as a vegetarian main with a simple green salad dressed in something acidic. A crisp white wine like Sauvignon Blanc cuts through all that rich creaminess beautifully. I have also served it alongside roasted chicken and watched people fill their plates with more gratin than meat.
- Try adding sautéed mushrooms between layers for earthy depth
- A pinch of smoked paprika in the cream adds subtle complexity
- Reheat leftovers gently covered so they do not dry out
Every time I make this now I think about that rainy Sunday and how some recipes become part of your story, not just your dinner rotation.
Recipe FAQs
- → How do I caramelize onions properly?
-
Sauté thinly sliced onions in butter over medium heat with a pinch of salt. Stir frequently for 20-25 minutes until onions turn deep golden brown and sweet.
- → Can I prepare the gratin ahead of time?
-
Yes, assemble the layers and store covered in the refrigerator. Bake just before serving, adding extra time if baking from cold.
- → What cheese blends work best for gratins?
-
A combination of Gruyère and sharp cheddar melts smoothly providing rich flavor and nicely browned tops.
- → How can I make the gratin gluten-free?
-
Use gluten-free flour or omit thickener altogether if desired. Confirm all cheeses and ingredients are gluten-free.
- → What herbs enhance the flavor of this dish?
-
Dried thyme is used in the cream sauce, but fresh chives can be added as garnish for a fresh, mild onion note.
- → What side dishes or drinks pair well?
-
The gratin complements crisp white wines like Sauvignon Blanc and light reds such as Pinot Noir. It pairs well with fresh green salads or roasted vegetables.