baked sweet potato and spinach casserole with garlic and thyme for winter

3 min prep 4 min cook 5 servings
baked sweet potato and spinach casserole with garlic and thyme for winter
Save This Recipe!
Click to save for later - It only takes 2 seconds!

Love this? Pin it for later!

There’s a moment every December—usually right after the first real snowfall—when I start craving the kind of food that feels like a thick wool blanket straight from the dryer. I want something that steams up the kitchen windows, perfumes the air with garlic and herbs, and makes the dog lift his head from his bed in hopeful curiosity. That’s when I pull out this baked sweet potato and spinach casserole. It began as a “clean-out-the-crisper” experiment on a blustery Tuesday five years ago, and it has since become the most-requested vegetarian main on our holiday table. My brother-in-law (a die-hard steak guy) actually does a little dance when he sees the casserole dish emerge, bubbling and bronzed, from the oven. It’s equal parts wholesome and indulgent: silky sweet potatoes, garlicky spinach, a whisper of cream, and thyme that smells like the forest just after it rains. If you’re looking for a show-stopping centerpiece that happens to be meatless, gluten-free, and make-ahead friendly, welcome—you’ve found your new winter obsession.

Why This Recipe Works

  • One baking dish, zero fuss: roast, mash, layer, bake—no extra skillets to wash.
  • Natural sweetness meets savory depth: roasted sweet potatoes balance garlicky greens and earthy thyme.
  • Protein without the meat: a full pound of spinach plus Greek yogurt and eggs keep slices satisfying.
  • Make-ahead magic: assemble tonight, bake tomorrow; flavors only improve.
  • Freezer friendly: bake, cool, wrap, freeze up to 2 months—holiday sanity saver.
  • Color that wows: sunset-orange against deep emerald guarantees Instagram glory.
  • Comfort food without the food coma: lighter than traditional gratins but every bit as cozy.

Ingredients You'll Need

Ingredients

Sweet potatoes are the backbone of this casserole, so choose ones that feel heavy for their size with tight, unblemished skin. I like a 50-50 mix of the deep-orange Garnet and the drier, lighter-fleshed Japanese variety—it gives the puree a silkier body and a nuanced sweetness. If you can only find one type, no worries; just aim for about 2 ½ lbs total.

For the greens, grab a 1-lb clamshell of baby spinach. It wilts quickly, requires zero stem removal, and the tender leaves meld seamlessly into the layers. If you’re working with mature spinach, strip the tough stems and blanch 30 seconds longer. Can’t find spinach? Kale, beet greens, or even Swiss chard work—just remove ribs and reduce quantity by 25% because they’re sturdier.

Garlic is non-negotiable, but how you handle it changes the personality. Micro-planed raw garlic adds a sharp, spicy punch, while slow-roasted garlic gives mellow caramel notes. I split the difference: two cloves sautéed with the spinach and one micro-planed directly into the sweet-potato mash for layered complexity.

Thyme should feel fresh—woody stems are fine, but the leaves should snap aromatically when rubbed. In winter I keep a pot on the windowsill; if you must sub dried, use ⅓ the amount and bloom it in the butter for 30 seconds. Nutmeg is the stealth flavor booster: just ⅛ teaspoon amplifies the sweet potato’s warmth without screaming “pumpkin spice.”

Lastly, the dairy. Whole-milk Greek yogurt keeps the filling tangy and protein-rich, but crème fraîche or even silken tofu (for dairy-free) swap seamlessly. A modest shower of sharp white cheddar on top bronzes into the most irresistible cheesy crust; use a micro-plane so a little goes a long way.

How to Make Baked Sweet Potato and Spinach Casserole with Garlic and Thyme for Winter

1
Roast the sweet potatoes

Preheat oven to 425°F (220°C). Scrub potatoes, prick all over with a fork, and rub lightly with oil. Place on a parchment-lined sheet pan and roast 45–55 min until a skewer glides through with zero resistance. Cool 10 min; this retrogrades the starches for a fluffier mash.

2
Reduce oven temperature

Drop heat to 375°F (190°C) so the casserole bakes evenly without over-browning the top. Leave the door ajar for 30 seconds to speed cooling.

3
Sauté the aromatics

While potatoes roast, warm 2 Tbsp olive oil in a Dutch oven over medium. Add minced onion; cook 4 min until translucent. Stir in 2 cloves garlic, red-pepper flakes, and 1 tsp fresh thyme for 30 seconds—just until fragrant. You want the garlic to whisper, not shout.

4
Wilt the spinach

Add spinach in big handfuls, tossing with tongs. It will look comically bulky, but within 3–4 min it collapses into a velvety mound. Season with ½ tsp salt and a few grinds of pepper. Tip into a colander, press out excess liquid, and roughly chop so no long stems remain.

5
Make the sweet-potato mash

Halve the cooled potatoes, scoop flesh into a bowl, and mash with yogurt, egg, remaining garlic, nutmeg, ½ tsp salt, and 1 Tbsp maple syrup for gloss. A hand mixer gives restaurant-level silkiness, but a potato masher works for a rustic vibe.

6
Layer and texture

Lightly oil a 2-qt baking dish. Spread half the sweet-potato mixture on the bottom, creating shallow wells. Spoon spinach evenly over, followed by the remaining sweet potatoes. Use an offset spatula to swirl decorative ridges—they crisp into golden freckles.

7
Cheese crown & thyme shower

Sprinkle grated cheddar (or vegan shreds) over ridges only, leaving valleys cheese-free so the orange peaks can still glow. Scatter remaining thyme leaves; they’ll fry into aromatic green confetti.

8
Bake to perfection

Cover with foil for 20 min so the center heats through without drying, then uncover and bake 15–20 min more until edges bubble and cheese freckles turn deep amber. Rest 10 min to set; this makes slicing neat squares possible.

9
Serve like you mean it

Garnish with a flurry of lemon zest to brighten winter palates. Pair with a crisp radicchio salad or roasted Brussels sprouts for color contrast. Leftovers reheat like a dream for packed lunches—flavors deepen overnight.

Expert Tips

Remove excess moisture

After wilting spinach, press firmly or wring in a clean towel; extra water thins the casserole and mutes flavors.

Room-temp eggs

Cold eggs can seize the warm mash. Let them sit in a bowl of hot tap water 5 min while potatoes cool.

Overnight flavor boost

Assemble up to step 7, cover, refrigerate up to 24 hrs. Add 10 min to covered baking time straight from the fridge.

Ridge trick

Use the back of a spoon to create peaks; the Maillard reaction loves surface area and rewards you with crunch.

Color preservation

Blanch chopped spinach 20 sec, shock in ice water, squeeze dry—keeps that emerald pop if aesthetics matter.

Doubling for crowds

Use a 9 × 13 pan. Increase foil-covered bake to 30 min, uncovered to 25 min. Rest 15 min before slicing.

Variations to Try

  • Smoky Gouda & Chipotle: swap cheddar for smoked gouda and add ½ tsp chipotle powder to the mash for a southwestern hug.
  • Mediterranean vibes: sub spinach with wilted chard, add ½ cup chopped sun-dried tomatoes and a pinch of za’atar on top.
  • Vegan deluxe: use coconut yogurt, flax-egg (1 Tbsp flax + 3 Tbsp water per egg), and nutritional-yeast “cheese” sauce.
  • Protein punch: fold 1 cup cooked green or brown lentils into the spinach layer for steak-like chew.
  • Gratin style: replace yogurt with ¾ cup heavy cream and top with buttery panko for extra crunch.
  • Individual portions: bake in greased muffin tins 18–20 min—perfect for potlucks or meal-prep grab-and-go.

Storage Tips

Cool leftovers completely, then refrigerate in an airtight container up to 4 days. For best texture reheat in a 325°F oven 15 min, covered with foil; microwaving works but softens the cheesy ridges. To freeze, bake as directed, cool, cut into squares, wrap each in plastic then foil, and freeze up to 2 months. Thaw overnight in the fridge and reheat 20 min at 350°F. If you plan to freeze unbaked, skip the yogurt-egg mixture until ready to bake; stir in fresh dairy after thawing for best texture.

Frequently Asked Questions

You can, but they’re wetter and sweeter. Drain thoroughly, spread on a sheet pan, and warm 10 min at 350°F to dry before mashing. Reduce maple syrup to 1 tsp.

Yes—there’s no flour or breadcrumbs. If you add a panko topping, choose gluten-free panko or omit entirely.

Absolutely. Use an 8-inch square pan and shave 5 min off the uncovered bake time.

Nope. Swap in a mixture of 2 Tbsp nutritional yeast + 1 Tbsp olive oil + ¼ cup ground almonds for a dairy-free golden crust.

Yes, though you won’t get the crunchy top. Layer as directed, cook on LOW 3–4 hrs. Broil 3 min at the end if your insert is oven-safe.

Likely the spinach wasn’t squeezed dry enough or the potatoes were over-boiled (rather than roasted). Next time press greens firmly or roast potatoes for a drier flesh.
baked sweet potato and spinach casserole with garlic and thyme for winter
main-dishes
Pin Recipe

Baked Sweet Potato and Spinach Casserole with Garlic and Thyme for Winter

(4.9 from 127 reviews)
Prep
20 min
Cook
1 hr 10 min
Servings
6

Ingredients

Instructions

  1. Roast potatoes: Preheat oven to 425°F. Prick potatoes, rub with 1 Tbsp oil, roast 45–55 min until very tender. Reduce oven to 375°F.
  2. Sauté aromatics: In a Dutch oven warm remaining 1 Tbsp oil over medium. Cook onion 4 min. Add 2 minced garlic cloves, pepper flakes, and 1 tsp thyme; cook 30 seconds.
  3. Wilt spinach: Add spinach in batches until wilted, 3–4 min. Season with ½ tsp salt and pepper. Drain, squeeze, and chop.
  4. Mash: Halve potatoes and scoop flesh into a bowl. Add yogurt, egg, maple syrup, nutmeg, remaining garlic (minced), ½ tsp salt; mash until silky.
  5. Assemble: Oil a 2-qt dish. Spread half the sweet-potato mixture, top with spinach, then remaining sweet potatoes. Swirl ridges.
  6. Bake: Sprinkle cheese and remaining ½ tsp thyme. Cover with foil 20 min, uncover and bake 15–20 min until golden. Rest 10 min, sprinkle lemon zest, serve.

Recipe Notes

For a dairy-free version, substitute coconut yogurt and use nutritional-yeast topping as described in variations. Casserole can be assembled up to 24 hrs ahead; add 10 min to covered bake time if chilled.

Nutrition (per serving)

248
Calories
9g
Protein
37g
Carbs
8g
Fat

You May Also Like

Discover more delicious recipes

Never Miss a Recipe!

Get our latest recipes delivered to your inbox.