Love this? Pin it for later!
What makes this gratin special is the interplay of textures: whisper-thin sweet-potato rounds that soften into velvety layers, wilted spinach suspended in a silky béchamel laced with roasted garlic, and a crunchy cap of Gruyère–Parmesan crumbs that shatters under the tines of your fork. It’s elegant enough for a holiday table yet unfussy enough for a weeknight if you prep the components on Sunday. Serve it alongside a crisp green salad with a bright vinaigrette, or let it steal the show with nothing more than a glass of chilled white wine.
Why This Recipe Works
- No pre-cooking the potatoes: A mandoline slices them thin enough that they cook through while absorbing every drop of garlicky cream.
- Double-garlic technique: Roasted garlic sweetens the sauce, while a whisper of raw garlic in the greens keeps the flavor lively.
- Nutmeg-balanced béchamel: A pinch of freshly grated nutmeg bridges the sweetness of the potatoes and the earthiness of the spinach.
- Two-cheese top: Gruyère melts into nutty lava, while aged Parmesan bronzes into crackly frico edges.
- Make-ahead friendly: Assemble up to 24 hours in advance; bake just before serving so the crumbs stay crisp.
- Vegetarian main or side: Hearty enough to anchor the plate, yet pairs beautifully with roast chicken or pork tenderloin.
Ingredients You'll Need
Sweet Potatoes: Look for long, evenly shaped tubers with unblemished skins—about 2½ lb (1.1 kg) total. I prefer the copper-skinned, orange-flesh varieties for their creamy texture once baked. Purple or Japanese sweet potatoes work too, though they’ll stay slightly firmer.
Fresh Spinach: You’ll need 10 oz (285 g) baby spinach. If you can find the kind still attached to its roots at the market, grab it; the flavor is brighter. Substitute mature curly spinach, but remove any thick ribs. Frozen spinach is fine in a pinch—thaw, squeeze bone-dry, and use 1 cup packed.
Garlic: One whole head for roasting plus two cloves for the greens. Choose plump heads with tight skins; avoid any that have started to sprout green shoots.
Butter & Flour: Equal parts (3 Tbsp each) create a quick béchamel. Use unsalted butter so you control the salt. For gluten-free, substitute sweet-rice flour 1:1.
Milk & Cream: A 50-50 blend keeps the sauce silky without heaviness. Whole milk is non-negotiable; skim will curdle. Swap half-and-half for the heavy cream if you must, but expect a slightly thinner sauce.
Nutmeg: Buy whole nuts and grate on a microplane—pre-ground tastes like sawdust. A mere ⅛ teaspoon perfumes the entire dish.
Cheeses: Gruyère for superior meltability and nutty depth; Parmesan for salty umami crunch. If Gruyère is pricey, use Emmental or a young Swiss. Vegans can sub a high-quality shredded plant-based mozzarella plus 2 Tbsp nutritional yeast.
Thyme: Fresh leaves lend subtle piney notes. Strip from stems; discard woody stalks.
How to Make Creamy Spinach and Sweet Potato Gratin with Garlic and Cheese
Roast the garlic
Preheat oven to 400°F (200°C). Slice the top ¼ inch off the whole head of garlic to expose the cloves. Drizzle with ½ tsp olive oil, wrap tightly in foil, and roast directly on the oven rack for 35 minutes. When cool enough to handle, squeeze the caramelized cloves into a small bowl and mash with a fork; set aside. Reduce oven temperature to 375°F (190°C) for baking the gratin.
Prep the sweet potatoes
Peel and trim the sweet potatoes. Using a mandoline set to ⅛-inch (3 mm), slice them into uniform coins. Keep the slices submerged in cold salted water for 10 minutes to remove excess starch—this prevents a gummy texture. Drain and pat completely dry with kitchen towels.
Wilt the spinach
Heat 1 Tbsp olive oil in a large Dutch oven over medium. Add the two minced garlic cloves and cook 30 seconds until fragrant. Pile in the damp spinach, season with ¼ tsp salt, and toss with tongs until just wilted, 2–3 minutes. Transfer to a colander, press out liquid, and roughly chop.
Build the béchamel
In the same pot, melt 3 Tbsp butter over medium. Whisk in 3 Tbsp flour; cook 1 minute to eliminate raw taste. Gradually whisk in 1 cup whole milk and 1 cup heavy cream. Bring to a gentle simmer, stirring constantly, until thick enough to coat the back of a spoon. Off heat, stir in the roasted garlic paste, ½ tsp kosher salt, ¼ tsp black pepper, ⅛ tsp freshly grated nutmeg, and 1 tsp chopped fresh thyme.
Combine sauce & greens
Fold the chopped spinach into the béchamel. Taste and adjust seasoning—remember the cheeses will add salt. If the sauce seems thick (it should be spoon-coating), thin with a splash of milk; the potatoes will absorb liquid as they bake.
Assemble the gratin
Butter a 2-quart (1.9 L) baking dish. Arrange one-third of the sweet-potato slices in overlapping concentric circles. Spread half the spinach béchamel on top. Repeat layers, finishing with a final layer of potatoes. Pour any remaining sauce over the surface.
Add the cheeses
Sprinkle 1 cup shredded Gruyère evenly over the top, followed by ¼ cup finely grated Parmesan. Tuck small pieces of butter (about 1 Tbsp total) between the potato edges for extra browning.
Bake & finish
Cover loosely with foil (tent so it doesn’t stick to the cheese) and bake 25 minutes. Remove foil and bake another 25–30 minutes until the potatoes are fork-tender and the top is blistered and golden. Broil 2 minutes for extra crunch. Rest 10 minutes before serving; the sauce will thicken to a luxurious spoonable consistency.
Expert Tips
Mandoline safety
Always use the hand guard or a cut-resistant glove; sweet-potato edges can be slippery. If your slices are uneven, stack and re-trim with a chef’s knife.
Crunch factor
For extra texture, pulse ¼ cup panko with 1 Tbsp melted butter and scatter over the cheese before baking.
Dairy-free swap
Replace butter with olive oil, use oat milk + 2 Tbsp coconut cream, and swap cheeses for vegan shreds plus 1 Tbsp white miso for depth.
Even slices
If you don’t own a mandoline, slice the potatoes lengthwise into planks, stack, and cut into thin sheets with a sharp knife.
Prevent curdling
Warm the milk and cream in the microwave for 45 seconds before whisking into the roux; this prevents temperature shock.
Spice level
Add a pinch of cayenne or a few grates of fresh horseradish to the béchamel for gentle heat that balances the richness.
Variations to Try
- Leafy greens medley: Replace half the spinach with baby kale or Swiss chard for deeper flavor.
- Smoky twist: Fold ½ cup crumbled smoked Gouda into the sauce and top with smoked paprika.
- Protein boost: Layer 1 cup cooked lentils between the potato slices for a complete one-dish meal.
- Herbaceous: Swap thyme for fresh rosemary or tarragon, but use sparingly—both are potent.
- Seasonal roots: Sub half the sweet potatoes with thin butternut squash or parsnip rounds.
- Truffle luxe: Drizzle 1 tsp white-truffle oil over the cheese before the final bake.
Storage Tips
Refrigerate: Cool completely, cover tightly with foil, and refrigerate up to 4 days. Reheat single portions in the microwave at 70% power for 2 minutes, or warm the entire dish, covered, at 325°F (160°C) for 20 minutes.
Freeze: Wrap the baked, cooled gratin (whole or in portions) in a double layer of plastic wrap plus foil. Freeze up to 2 months. Thaw overnight in the refrigerator, then reheat as above. Note: the cream sauce may separate slightly upon thawing; a splash of milk stirred in before reheating restores creaminess.
Make-ahead: Assemble through Step 7, cover with buttered foil, and refrigerate up to 24 hours. Add 10–15 minutes to the covered baking time if starting cold.
Frequently Asked Questions
Creamy Spinach and Sweet Potato Gratin with Garlic and Cheese
Ingredients
Instructions
- Roast garlic: Preheat oven to 400°F. Trim top off whole head, drizzle with oil, wrap in foil, and roast 35 min. Squeeze out cloves, mash, and set aside. Reduce oven to 375°F.
- Prep potatoes: Mandoline into ⅛-inch coins; soak 10 min in salted water, drain, and pat dry.
- Wilt spinach: In olive oil, sauté minced garlic 30 sec, add spinach and ¼ tsp salt until just wilted; press dry and chop.
- Make béchamel: Melt butter, whisk in flour 1 min. Gradually add warm milk & cream; simmer until thick. Stir in roasted garlic, nutmeg, thyme, salt, and pepper.
- Combine: Fold spinach into sauce. Layer potatoes and sauce in a buttered 2-qt dish; finish with cheese and butter dots.
- Bake: Cover 25 min, uncover and bake 25–30 min more until potatoes are tender and top is golden. Broil 2 min for extra crunch. Rest 10 min before serving.
Recipe Notes
For the silkiest sauce, warm the dairy before whisking into the roux. The gratin can be assembled up to 24 hours ahead; add 10–15 minutes to covered baking time if starting cold.
