Love this? Pin it for later!
I still remember the first time I served this creamy sweet potato and carrot casserole at our annual Friends-giving potluck. The room fell silent for a moment—always a good sign—followed by a chorus of "Mmm, what's IN this?!" requests for the recipe. That was five years ago, and it’s been my most-requested dish ever since. The magic lies in the way the natural sweetness of roasted sweet potatoes and carrots marries the earthy perfume of fresh thyme and mellow roasted garlic, all bound together in a silk-smooth, dairy-forward sauce that tastes like comfort on a spoon.
Unlike many holiday casseroles that lean heavily on marshmallows or cupfuls of brown sugar, this one is designed to shine as a vegetarian main dish—elegant enough for the Thanksgiving table yet simple enough for a weeknight when you want leftovers that reheat like a dream. I love to serve it in shallow gratin dishes so every bite has those lacy, golden cheese edges. Whether you’re feeding a crowd of relatives or just treating yourself to something nourishing on a rainy Sunday, this casserole delivers restaurant-level flavor with mostly hands-off oven time. Let’s gather our ingredients and make your kitchen smell like heaven.
Why This Recipe Works
- Two-Stage Roast: Roasting vegetables first concentrates their sugars and prevents a watery casserole.
- Silky Purée Base: A quick blitz of half-and-half, ricotta, and eggs creates a mousse-like texture without floury béchamel.
- Garlic Confit: Slow-roasting garlic in olive oil tames its bite and infuses every bite with mellow umami.
- Fresh Thyme Finish: Adding a sprinkle of thyme at the end keeps the herbal notes bright, not muted.
- Crunchy Pecan-Parmesan Top: A quick streusel adds textural contrast without cloying sweetness.
- Make-Ahead Marvel: Assemble up to 48 hrs early; bake fresh when guests arrive.
Ingredients You'll Need
Sweet Potatoes: Look for firm, medium-sized garnet or jewel varieties with tight skins. Avoid any with soft spots or sprouts. Peel just before roasting so they don’t oxidize.
Carrots: Farmers’ market bunches are sweeter and less woody than grocery-store bagged carrots. If your carrots are especially fat, halve them lengthwise so they roast evenly alongside the sweet potatoes.
Garlic: An entire head sounds excessive, but slow-roasting turns the cloves into candy-sweet nuggets that disappear into the sauce. Substitute ½ tsp garlic powder only in emergencies.
Fresh Thyme: Woody herbs like thyme dry beautifully, so if you must substitute dried, use ⅓ of the amount. Strip leaves by pinching the top of the stem and sliding fingers downward.
Half-and-Half: For ultra-decadent holidays, swap in heavy cream; for everyday lightened version, use whole milk plus 2 Tbsp Greek yogurt for body.
Ricotta: Whole-milk ricotta gives the creamiest texture. If yours is watery, drain in cheesecloth 30 min first. Vegan? Replace with silken tofu plus 1 Tbsp lemon juice.
Eggs: They set the custard. Flax “eggs” work for allergen-free diners, though the result will be slightly less lofty.
Gruyère & Parmesan: Nutty, earthy Gruyère melts like a dream, while Parm in the streusel adds salty crunch. Can’t find Gruyère? Fontina or mild Swiss are fine.
Pecans: Toast them first for maximum crunch; swap walnuts or pumpkin seeds if nut allergies are a concern.
How to Make Creamy Sweet Potato and Carrot Casserole with Garlic and Thyme
Roast the vegetables & garlic
Preheat oven to 425 °F (220 °C). Line two rimmed sheets with parchment. Peel and cube sweet potatoes and carrots into 1-inch chunks. Toss with 2 Tbsp olive oil, 1 tsp kosher salt, and ½ tsp black pepper. Place the unpeeled garlic head on a square of foil, drizzle with 1 tsp oil, wrap into a parcel, and set on a corner of one tray. Roast 25 min, switch racks, roast 15 min more until vegetables are caramel-edged and garlic is buttery. Cool slightly.
Reduce oven & prepare pan
Lower oven to 375 °F (190 °C). Butter a 13×9-inch (3-quart) casserole or two 9-inch pie plates for extra-crispy edges. Dust with a whisper of Parmesan to prevent sticking.
Squeeze the garlic
When garlic is cool enough, snip the base and squeeze out cloves like toothpaste into a small bowl. Mash with a fork until paste-like. Reserve 1 tsp for the streusel, the rest goes into the purée.
Blend the custard
In a high-speed blender combine roasted sweet potatoes and carrots, mashed garlic, ricotta, ½ cup half-and-half, eggs, 2 tsp fresh thyme leaves, 1 tsp salt, ¼ tsp nutmeg, and a pinch of cayenne. Blend 30 sec until satin-smooth. If mixture is too thick (carrots vary in moisture), stream in up to ¼ cup additional half-and-half until pourable but still thick like cake batter.
Fold in cheese & spread
Scrape purée into a large bowl. Stir in 1 cup grated Gruyère. Taste and adjust salt—vegetables may need extra. Spread mixture evenly into prepared dish(es), smoothing the top with an offset spatula.
Make the pecan-parmesan crunch
In a small bowl, combine ¾ cup panko, ¾ cup finely chopped toasted pecans, ½ cup grated Parmesan, the reserved 1 tsp roasted garlic paste, 1 tsp fresh thyme, ¼ tsp salt, and 2 Tbsp melted butter. Mix until clumpy like wet sand.
Top & bake
Sprinkle streusel evenly over casserole. Bake 30–35 min, until edges bubble and topping is bronzed. If browning too quickly, tent with foil the last 10 min.
Rest & serve
Let stand 10 min to set custard. Garnish with extra thyme leaves and a drizzle of garlic oil if desired. Scoop with a large spoon to keep that crunchy lid intact.
Expert Tips
Double the Batch
Roast a double load of vegetables on two sheets; freeze half for a lightning-fast casserole later. Freeze cubes on trays, then bag for up to 3 months.
Check Internal Temp
Custard is perfectly set when an instant-read thermometer inserted 2 inches from edge reads 170 °F. Over-baking causes curdling.
Garlic Oil Bonus
Save the oil from the roasted garlic parcel; whisk with lemon juice for an instant vinaigrette over winter greens.
Overnight Assembly
Prepare through Step 5, cover with buttered foil, refrigerate up to 48 hrs. Add 10 min to bake time if going straight from fridge.
Dairy-Free Swap
Use full-fat coconut milk plus 1 Tbsp cornstarch in place of half-and-half; swap cheeses for your favorite meltable vegan shreds.
Even Cubes Matter
Spend 60 seconds cutting vegetables the same size; it prevents some pieces turning to mush while others stay under-cooked.
Variations to Try
-
Spiced Maple: Swap half the Gruyère for sharp white cheddar and add 2 Tbsp maple syrup plus ¼ tsp smoked paprika to the custard for a campfire twist.
-
Savory-Sweet Potato Gratin: Layer thin raw sweet-potato coins with the purée instead of blending them; you’ll get a scalloped texture reminiscent of classic potatoes au gratin.
-
Moroccan Flair: Add 1 tsp ground cumin, ½ tsp cinnamon, and a handful of chopped dried apricots to the mix; top with pistachios instead of pecans.
-
Protein Boost: Fold in 2 cups shredded rotisserie chicken or cooked green lentils for a complete one-dish dinner.
-
Gluten-Free Crunch: Replace panko with crushed rice-chex mixed with 1 Tbsp nutritional yeast for umami.
Storage Tips
Refrigerate: Cool completely, cover tightly, and refrigerate up to 5 days. Reheat individual portions in a 350 °F oven 12 min or microwave 1–2 min with a loose vent to keep topping crisp.
Freeze: Once baked, cool, wrap in plastic then foil, and freeze up to 2 months. Thaw overnight in fridge; reheat covered 25 min at 350 °F, uncovering the last 10 min to re-crisp.
Make-Ahead: Assemble unbaked casserole (minus streusel) up to 48 hrs ahead; add crunchy topping just before baking so it doesn’t get soggy.
Frequently Asked Questions
Creamy Sweet Potato and Carrot Casserole with Garlic and Thyme
Ingredients
Instructions
- Roast Veg & Garlic: Preheat oven to 425 °F. Toss sweet potatoes and carrots with 2 Tbsp oil, 1 tsp salt, ¼ tsp pepper on two parchment-lined sheets. Wrap whole garlic head in foil with 1 tsp oil. Roast 25 min, switch racks, roast 15 min more. Cool.
- Reduce Oven: Lower to 375 °F. Butter a 13×9-inch casserole.
- Process: Squeeze roasted garlic into blender. Add sweet potatoes, carrots, half-and-half, ricotta, eggs, thyme, nutmeg, cayenne, remaining salt & pepper. Blend until silky.
- Season & Fold: Stir in Gruyère; taste for salt. Pour into dish.
- Streusel: Mix panko, pecans, Parmesan, melted butter, reserved 1 tsp roasted garlic, 1 tsp thyme. Sprinkle over casserole.
- Bake: 30–35 min at 375 °F until edges bubble and topping is golden brown. Rest 10 min before serving.
Recipe Notes
For crispier edges, divide mixture between two buttered 9-inch pie plates. If making ahead, add streusel just before baking so it stays crunchy.