This dish features thinly sliced sweet potatoes layered with deeply caramelized onions and a creamy blend of Gruyère and cheddar cheeses. The casserole is topped with a lightly seasoned cream mixture enriched with thyme and nutmeg for subtle warmth. Baked until the cheese melts golden and the potatoes are tender, it offers a comforting balance of sweet and savory flavors. Garnished with fresh chives, it serves beautifully as a filling side or main course, perfect for gatherings or cozy meals.
Last winter, my kitchen became headquarters for an unexpected dinner party. Six friends showed up with appetite and wine, and I had to work with what I had. This sweet potato gratin saved the evening—everyone went quiet when I brought it to the table.
My grandmother taught me that patience with onions pays off. She would stand at her stove, slowly stirring and telling me stories, until those translucent slices turned into something golden and magical. This recipe honors that ritual.
Ingredients
- Sweet potatoes (2 lbs): Peel them thinly and slice as uniformly as possible—I use a mandoline for consistent layers that cook evenly
- Yellow onions (2 large): Thin slices caramelize best and become sweet, melting pockets throughout the gratin
- Gruyère cheese (2 cups): This nutty, melting cheese creates those gorgeous golden bubbles on top
- Sharp cheddar (1 cup): Adds the punch needed to cut through the richness of the cream
- Heavy cream (1 1/2 cups): The foundation of the sauce—do not substitute, it makes the potatoes luxuriously tender
- Whole milk (1/2 cup): Lightens the cream slightly while keeping the sauce velvety
- Unsalted butter (3 tbsp): Use for both caramelizing onions and enriching the cream mixture
- Thyme (1/2 tsp): Earthy notes that complement the sweetness of the potatoes
- Nutmeg (1/4 tsp): A classic gratin addition that adds warmth without overwhelming
- Salt and pepper (1/2 tsp each): Essential seasoning, but taste as you go since cheese adds salinity
Instructions
- Caramelize the onions:
- Melt 2 tablespoons butter in a large skillet over medium heat, add the sliced onions with a pinch of salt, and stir frequently until they turn deep golden and jam-like—this takes time but creates the foundation of flavor.
- Prepare the cream sauce:
- In a small saucepan, combine the cream, milk, thyme, nutmeg, pepper, and remaining butter, heating until steaming but not boiling, then whisk in the flour if you want a slightly thicker sauce.
- Layer the gratin:
- Arrange half the sweet potato slices in the buttered baking dish, season lightly, then add half the caramelized onions and half the cheeses before repeating with remaining ingredients.
- Bake until golden:
- Pour the warm cream mixture evenly over the layers, cover tightly with foil, and bake for 40 minutes, then uncover and continue baking until the top bubbles and turns golden brown.
This dish has become my go-to for comfort. There is something deeply satisfying about peeling those potatoes, standing at the stove while onions transform, and watching the whole thing bubble into something greater than the sum of its parts.
Making It Ahead
I have learned this gratin actually improves with a little time. You can assemble it completely, cover tightly, and refrigerate for up to 24 hours before baking. Just add 10 minutes to the covered baking time since it will be cold.
Choosing Your Cheese
While Gruyère and sharp cheddar create the classic combination, I have experimented with other options. Aged Gouda adds wonderful smokiness, and Fontella melts beautifully for a milder version. The key is using cheeses that melt well and have enough flavor to stand up to the sweet potatoes.
Serving Suggestions
This gratin works beautifully as a main dish with a simple green salad dressed with bright vinaigrette to cut the richness. As a side, it pairs exceptionally well with roasted chicken or pork tenderloin.
- A crisp white wine like Sauvignon Blanc cuts through the cream
- Light red wines such as Pinot Noir complement the sweetness
- A hunk of crusty bread is essential for soaking up any extra sauce
The best part happens when you bring this to the table. The steam rising, that first golden spoonful revealing the layers beneath—watch peoples faces light up. That is why we cook.
Recipes Q&A
- → How do I caramelize onions perfectly?
-
Cook sliced onions slowly over medium heat with a little butter, stirring frequently until they turn deep golden and develop a sweet, rich flavor. This usually takes about 20-25 minutes.
- → Can I substitute the cheeses used?
-
Gruyère and sharp cheddar provide a creamy and sharp flavor balance, but you can substitute with other melty cheeses like fontina or mozzarella if preferred.
- → What thickening agent is recommended for the cream sauce?
-
Adding a tablespoon of gluten-free or all-purpose flour into the warm cream mixture helps to slightly thicken the sauce and improve its coating consistency.
- → How can I ensure the sweet potatoes cook evenly?
-
Slice sweet potatoes thinly and uniformly, then layer them evenly with seasoning between layers to promote consistent cooking and flavor distribution.
- → Is it possible to prepare this dish ahead of time?
-
Yes, assemble the layers and sauce in the baking dish, then refrigerate until ready to bake. Reheat gently before serving for best results.