Love this? Pin it for later!
Creamy, garlicky, and packed with nutrients, this vegetarian main-dish casserole has become my go-to for everything from Sunday meal-prep to holiday potlucks. The first time I served it, my brother-in-law—an avowed carnivore—asked for seconds and then the recipe. That, friends, is when I knew this dish was a keeper.
I developed the recipe after a particularly exhausting week when the fridge held little more than a bag of sweet potatoes, a wilting carton of baby spinach, and the last nub of Parmesan. Thirty-five minutes later the smell of roasting garlic and thyme drifted through the kitchen, and by the time the cheese turned golden I had already texted two neighbors to come taste. One bite in, we all agreed: humble ingredients, superstar results.
What makes this casserole shine is the layering of flavors—roasted sweet potatoes for caramelized sweetness, garlicky béchamel for richness, wilted spinach for freshness, and a crunchy Parmesan-panko lid for that crave-worthy texture contrast. It is comfort food you can feel genuinely good about eating, and it works equally well as a meatless Monday main or a colorful sidekick to roast chicken. Make it once, and I bet it earns a permanent spot in your winter rotation.
Why This Recipe Works
- Roasted Sweet Potatoes: Pre-baking intensifies their natural sweetness and prevents a watery casserole.
- Quick Wilted Spinach: A flash sauté with garlic removes excess moisture and infuses flavor.
- Garlic-Parmesan Cream: A light béchamel loaded with fresh garlic and nutty Parmesan ties everything together.
- Panko-Parmesan Crust: Adds audible crunch without needing tons of butter.
- Make-Ahead Friendly: Assemble up to 24 hours in advance; bake when guests arrive.
- Vegetarian Protein: 14 g protein per serving from milk, cheese, and spinach.
- One Dish, Many Meals: Brunch, lunch boxes, or dinner—reheats like a dream.
Ingredients You'll Need
Sweet potatoes – Look for firm, medium-sized potatoes with unblemished skins. Orange-fleshed varieties (often labeled "garnet" or "jewel") bake up sweeter and creamier than pale ones. Peel just before using to prevent oxidation.
Baby spinach – Pre-washed bags save time, but check for slimy leaves. If you have garden spinach or farmers-market bunches, wash thoroughly to remove grit. Frozen spinach works in a pinch; thaw and squeeze bone-dry.
Garlic – Fresh cloves deliver the boldest punch. Skip the jarred stuff here; you want that sharp, almost spicy note to stand up to sweet potatoes.
Parmesan – Buy a wedge and grate it yourself. Pre-grated tubs contain anti-caking agents that prevent smooth melting. Vegetarian? Choose a brand made with microbial rennet.
Whole milk – Creates a silky béchamel without heaviness. Swap in 2% if that's what you keep, but skip skim—it breaks under heat. Dairy-free? Unsweetened oat milk plus 2 tsp nutritional yeast is surprisingly close.
Butter & flour – Equal parts form the roux that thickens the sauce. Use unsalted butter so you control salt levels.
Panko breadcrumbs – Their jagged edges toast into golden crunch. Regular breadcrumbs work, but panko stays crisper longer.
Nutmeg & thyme – A whisper of nutmeg enhances cream sauces, while thyme's floral note complements sweet potatoes. Both are optional but highly recommended.
How to Make Baked Sweet Potato and Spinach Casserole with Garlic and Parmesan
Roast the Sweet Potatoes
Preheat oven to 425°F (220°C). Peel 2½ lb sweet potatoes and cut into ½-inch cubes. Toss with 1 Tbsp olive oil, ½ tsp salt, and ¼ tsp pepper. Spread on a parchment-lined sheet and roast 18–20 minutes, flipping once, until edges caramelize. Reduce oven to 375°F (190°C) for later baking.
Wilt the Spinach
Heat 1 Tbsp olive oil in a large skillet over medium. Add 3 minced garlic cloves; sauté 30 seconds until fragrant. Pile in 10 oz baby spinach, sprinkle with ¼ tsp salt, and toss with tongs until just wilted, 2–3 minutes. Transfer to a sieve and press out excess liquid; set aside.
Build the Garlic-Parmesan Sauce
Melt 3 Tbsp butter in a saucepan over medium. Whisk in 3 Tbsp flour; cook 1 minute to remove raw taste. Gradually pour in 2 cups cold whole milk, whisking constantly. Simmer until thick enough to coat the back of a spoon, about 4 minutes. Off heat, stir in ½ cup grated Parmesan, ½ tsp salt, ¼ tsp pepper, pinch of nutmeg, and 1 tsp fresh thyme leaves.
Combine the Layers
Lightly butter a 2-quart casserole dish. Arrange half the roasted sweet potatoes on the bottom. Top with the wilted spinach, followed by the remaining sweet potatoes. Pour the warm sauce evenly over everything, nudging it into crevices with a spatula.
Add the Crunchy Lid
Stir together ⅓ cup panko, ¼ cup grated Parmesan, and 1 Tbsp melted butter. Sprinkle in an even layer over the casserole. This will brown into a crave-worthy crust.
Bake Until Bubbling
Slide the casserole into the 375°F oven and bake 25–30 minutes, until edges bubble and the top is deep golden brown. If you like an extra-crispy lid, broil for the final 1–2 minutes, watching closely.
Rest & Serve
Let stand 10 minutes; this sets the sauce and prevents tongue-scalding bites. Garnish with extra thyme leaves or shaved Parmesan if desired. Serve hot alongside a crisp green salad or roast chicken.
Expert Tips
Cube Evenly
Uniform ½-inch pieces roast at the same rate, preventing some from turning to mush while others stay crunchy.
Dry Spinach Thoroughly
Excess water leaks out during baking, thinning your sauce. Press firmly with the back of a spoon or use a clean tea towel.
Warm Milk, Smoother Roux
Cold milk prevents lumps, but lukewarm speeds thickening. Microwave it 30 seconds if you forgot to pull it from the fridge.
Grate Your Own Cheese
Pre-shredded Parmesan contains cellulose which can turn grainy under heat. A microplane turns a wedge into fluffy snow in seconds.
Let It Rest
Ten minutes of patience allows the starch to absorb liquid so scoops hold together instead of sliding into a cheesy puddle.
Double for a Crowd
The recipe doubles perfectly in a 9×13-inch pan; add 10 minutes to covered bake time, then uncover to brown top.
Variations to Try
-
Spicy Kale & Sweet Potato: Swap spinach for chopped kale and fold 1 Tbsp harissa paste into the sauce for North-African heat.
-
Gluten-Free: Replace flour with 3 Tbsp sweet rice flour; swap panko for crushed gluten-free cornflakes mixed with Parmesan.
-
Lighter Take: Use 1% milk and cut Parmesan in half; top with toasted pumpkin seeds instead of panko for healthy fats.
-
Add Protein: Stir 2 cups shredded rotisserie chicken or sautéed tofu cubes into the spinach layer for omnivore appeal.
-
Butternut Option: Replace half the sweet potatoes with cubed butternut for a two-toned look and extra dose of beta-carotene.
Storage Tips
Refrigerator
Cool completely, cover tightly with foil, and refrigerate up to 4 days. For best texture, reheat individual portions in a 350°F oven for 12 minutes or in the microwave at 70% power for 90 seconds. The topping will soften in the microwave but crisps up again under the oven's dry heat.
Freezer
Assemble through Step 5, wrap with plastic and then foil, and freeze up to 2 months. Thaw overnight in the refrigerator, then bake as directed, adding 10–15 minutes. If baking from frozen, cover with foil for the first 40 minutes at 350°F, uncover and bake 25 minutes more until hot and golden.
Make-Ahead
Roast potatoes, wilt spinach, and whisk sauce up to 2 days ahead; store each component separately. On serving day, layer, top, and bake. You can also fully bake the casserole, cool, and refrigerate; reheat covered at 325°F for 25 minutes, removing foil for the last 10 to re-crisp.
Frequently Asked Questions
baked sweet potato and spinach casserole with garlic and parmesan
Ingredients
Instructions
- Roast Sweet Potatoes: Preheat oven to 425°F. Toss diced potatoes with 1 Tbsp oil, ½ tsp salt, ¼ tsp pepper. Roast 18–20 min until lightly caramelized. Lower oven to 375°F.
- Wilt Spinach: In a skillet heat remaining 1 Tbsp oil. Sauté garlic 30 sec, add spinach and ¼ tsp salt; cook until wilted. Press out liquid.
- Make Sauce: Melt butter in saucepan, whisk in flour 1 min. Gradually whisk in milk; simmer until thick. Off heat stir in ½ cup Parmesan, nutmeg, thyme, remaining salt & pepper.
- Assemble: Butter a 2-qt dish. Layer half the potatoes, all the spinach, remaining potatoes. Pour sauce over top.
- Top & Bake: Combine panko, remaining Parmesan, and 1 Tbsp melted butter. Sprinkle over casserole. Bake 25–30 min at 375°F until golden and bubbling. Rest 10 min before serving.
Recipe Notes
Casserole can be assembled up to 24 hours ahead; add 10 min to bake time if starting cold. For a crisp topping, broil final 1–2 minutes.