Sweet Potato Casserole with Pecan Topping
This sweet potato casserole is creamy, lightly spiced and topped with a crunchy brown sugar pecan streusel that bakes into a golden, buttery crust. It’s the classic holiday side, made with roasted sweet potatoes for deeper flavor, and you can prep it up to two days ahead.
It’s sweet enough to feel like a treat but balanced with a little salt and warm spice, so it still belongs next to the turkey. Leftovers, if there are any, are great reheated for breakfast.
Why this sweet potato casserole is the best
- Roasted, not boiled. Roasting concentrates the natural sugars and keeps the filling from turning watery.
- Silky filling. A couple of eggs set the casserole so it scoops cleanly but stays creamy.
- Crunchy pecan streusel. Brown sugar, butter, flour and pecans bake into clusters that stay crisp.
- Holiday-friendly. Make both parts ahead and bake when you need it.
Ingredients for sweet potato casserole
The filling uses roasted sweet potatoes, butter, brown sugar, milk, eggs, vanilla, cinnamon, nutmeg and salt. The topping is just brown sugar, flour, butter, salt and pecans. Amounts are in the recipe card below.
Ingredient notes

- Sweet potatoes: choose orange-fleshed sweet potatoes (sometimes labeled yams in US stores) of similar size so they roast evenly.
- Brown sugar: light brown sugar adds a gentle caramel note. Reduce it to 1/3 cup in the filling if you prefer a less sweet side.
- Milk: whole milk keeps it rich. Half-and-half makes it even creamier.
- Pecans: chop them roughly so you get real crunch. Walnuts work too.
- Spices: you can swap the cinnamon and nutmeg for 1 1/4 teaspoons of homemade pumpkin pie spice.
Helpful tools for this recipe
- 9×13-inch baking dish: the right size for 12 servings.
- Hand mixer: whips the sweet potatoes into a silky filling.
- Potato masher: if you prefer a more rustic texture.
- Rimmed baking sheet: catches the sticky syrup the sweet potatoes release as they roast.
This post contains affiliate links. As an Amazon Associate I earn from qualifying purchases.
How to make sweet potato casserole
1. Roast the sweet potatoes. Bake them whole at 400°F until completely soft, 50 to 60 minutes.
2. Scoop. Let them cool a bit, then scoop the flesh into a bowl and lower the oven to 350°F.

3. Make the filling. Mash with butter, brown sugar, milk, eggs, vanilla, spices and salt until smooth, then spread in a buttered 9×13-inch dish.
4. Make the streusel. Stir together brown sugar, flour, salt and melted butter, then fold in the pecans.

5. Top and bake. Scatter the streusel over the filling and bake until golden and bubbling, 30 to 35 minutes.
Tips for the best sweet potato casserole
- Roast until truly soft. Underdone sweet potatoes leave lumps. They should collapse when squeezed.
- Mash while warm. Warm sweet potatoes blend more smoothly with the butter and sugar.
- Keep the streusel clumpy. Big clusters stay crunchy. Don’t press it down.
- Watch the topping. If it browns too fast, lay a sheet of foil loosely over the dish.
Sweet potatoes are an excellent source of vitamin A and fiber, according to USDA FoodData Central, so this sweet potato casserole brings some real nutrition to the holiday table along with the brown sugar.
Make ahead and storing
Make the filling and the streusel up to 2 days ahead and keep them in separate containers in the fridge, so the topping stays crunchy. On the day, spread the filling in the dish, add the streusel and bake, adding 10 to 15 minutes. Leftovers keep, covered, in the fridge for up to 4 days. You can also freeze the baked casserole for up to 2 months; thaw overnight in the fridge and reheat at 350°F.
What to serve with sweet potato casserole
It’s a natural next to roast turkey or chicken, mashed potatoes and green beans. Round out the menu with crispy Brussels sprouts, and for dessert, serve homemade pumpkin pie, pecan pie or apple pie.
Rounding out the holiday menu? Bake this classic homemade stuffing to serve alongside the casserole.
Planning the whole menu? See all of our make-ahead holiday sides and desserts, plus a simple prep timeline.
Team marshmallow? Try our sweet potato souffle, whipped extra light and topped with golden toasted marshmallows.
Sweet potato casserole questions
Can I add marshmallows?
Yes. Many marshmallows are made with pork gelatin, so look for vegan, halal or beef-gelatin marshmallows. Scatter them over the streusel for the last 5 to 8 minutes of baking, until puffed and golden.
Can I use canned sweet potatoes?
You can. Use about 6 cups of drained, mashed canned sweet potatoes. If they’re packed in syrup, reduce the brown sugar in the filling to 1/4 cup.
Are sweet potatoes and yams the same?
In most US grocery stores, the orange-fleshed tubers labeled yams are actually sweet potatoes, and both work in this recipe. True yams are a different vegetable with starchy white flesh.
Can I make it in a smaller dish?
Yes. Halve the recipe and bake it in an 8×8-inch or 2-quart dish for about 25 to 30 minutes.
If you make this sweet potato casserole, leave a comment and a star rating. Pecans, marshmallows or both?
Serve this sweet potato casserole next to a savory side like classic homemade stuffing for a balanced holiday table.

Sweet Potato Casserole with Pecan Topping
Ingredients
Method
- Heat the oven to 400°F. Prick the sweet potatoes a few times with a fork, set them on a foil-lined rimmed baking sheet and roast for 50 to 60 minutes, until completely soft and starting to ooze syrup.
- Let the sweet potatoes cool for 10 minutes, then halve them and scoop the flesh into a large bowl. Discard the skins. Reduce the oven to 350°F and butter a 9×13-inch baking dish.
- Mash the sweet potatoes with the melted butter, brown sugar, milk, eggs, vanilla, cinnamon, nutmeg and salt until smooth. A hand mixer gives the silkiest texture. Spread evenly in the baking dish.

- For the streusel, stir the brown sugar, flour and salt in a bowl. Add the melted butter and stir until clumpy, then fold in the pecans.
- Scatter the streusel evenly over the sweet potatoes. Bake for 30 to 35 minutes, until the topping is golden and the edges are bubbling.

- Let the casserole rest for 10 minutes before serving.
Notes
- Make ahead: prepare the filling and streusel up to 2 days ahead and refrigerate them separately. Assemble and bake, adding 10 to 15 minutes since it starts cold.
- Boiling instead of roasting: peel and cube the sweet potatoes and boil for 15 minutes until tender, then drain very well. Roasting gives a sweeter, deeper flavor.
- Marshmallow topping: many marshmallows contain pork gelatin. Look for vegan, halal or beef-gelatin marshmallows, and add them for the last 5 to 8 minutes of baking.
- Leftovers: refrigerate up to 4 days. Reheat at 350°F, covered, until hot.






