When the pecan topping turns golden, the edges of the sweet potato filling give a little bubble, and the whole pan smells like cinnamon and toasted nuts. That’s the moment I want from this sweet potato casserole with pecan topping: a soft, smooth center with a crisp, buttery layer on top. It’s a generous 9×13-inch dish, so it fits naturally on a holiday table, but it’s just as welcome beside a weeknight dinner.
I keep the filling simple and let the topping do the contrasting work. The sweet potatoes are mashed with melted butter, milk, eggs, brown sugar, vanilla, and cinnamon; the pecans get mixed with flour and brown sugar, then cold butter is worked in until the mixture forms coarse crumbs. That split between a smooth base and a crumbly top gives every serving a little crunch against the tender filling.

Kitchen Note
Give the drained sweet potatoes five minutes to cool before mashing and adding the eggs. That short pause keeps the filling from being piping hot when the eggs go in.
Save this sweet potato casserole with its buttery pecan topping for a meal that needs a soft center and a crisp, nutty finish.
The Step That Keeps Sweet Potato Filling From Turning Watery
Sweet potatoes can hold on to more water than you expect after boiling. If that water goes into the bowl with the mash, the filling can bake up loose instead of settling into a soft, sliceable layer. Drain them well before mashing; a little attention at this point does more for the finished texture than trying to fix the filling later.
Cutting the potatoes into even 1-inch chunks helps them cook at roughly the same pace, so you’re not left with some pieces falling apart while others stay firm in the middle. Once a fork slips into the chunks easily, they’re ready to drain. Mash until smooth, then stir in the filling ingredients evenly. The eggs help the casserole set as it bakes, while the milk and melted butter keep the center tender rather than dense.
Think of the layers as doing separate jobs. The filling should be soft and cohesive, not stiff; the topping should stay in crumbs instead of blending into a paste. Keeping those textures distinct is what makes a spoonful feel like casserole rather than a bowl of mashed sweet potatoes.
Why the Butter Is Split Between the Filling and the Pecan Crumbs

- Sweet potatoes — Fresh sweet potatoes give the filling its body and natural sweetness. Choose firm ones without soft spots; peeling and cutting them into even chunks helps them cook through together.
- Butter — Melted butter blends smoothly into the filling, while cold butter rubbed into the topping creates those coarse, distinct crumbs. Use unsalted butter so the salt level stays balanced; the difference between good-quality and store-brand butter matters less here than keeping the topping butter cold.
- Milk and eggs — Whole milk loosens the mash without making it watery, and the eggs give the baked filling structure. Lightly beat the eggs before stirring them in so they disperse without leaving streaks.
- Brown sugar, vanilla, and cinnamon — Brown sugar sweetens both layers, with the amount split between filling and topping. Vanilla rounds out the filling, and cinnamon brings warmth without hiding the sweet potato flavor. Fresh, fragrant cinnamon is a better choice than an old jar that has lost its aroma.
- Pecans and flour — Chopped pecans bring the toasted crunch, while flour helps bind the topping into buttery crumbs. Fresh pecans have a cleaner, sweeter taste; if yours smell stale or bitter, replace them before baking.
Build the Smooth Filling and Crumbly Pecan Top in Separate Stages
Simmer the Sweet Potatoes Until Fork-Tender
Heat the oven to 350°F and grease a 9×13-inch baking dish with the vegetable oil. Put the peeled, 1-inch sweet potato chunks in an 8-quart pot, cover them with water by 1 inch, and bring the pot to a boil. Lower the heat to a simmer and cook for 15 to 20 minutes, until a fork slips into a chunk easily. Drain them well, let them cool for five minutes, then transfer them to a large bowl and mash until smooth.
Stir Together a Tender, Even Filling
Add the melted butter, milk, lightly beaten eggs, half of the brown sugar, vanilla, cinnamon, and salt to the mashed potatoes. Stir until the color and texture look even, with no visible streaks of egg or pockets of unmixed spice. If you spot lumps, keep mashing and stirring before the mixture goes into the pan. Spread the filling into the prepared dish in an even layer so it bakes at a consistent pace.
Work the Cold Butter Into Coarse Crumbs
Stir the chopped pecans and flour together in a medium bowl, then mix in the remaining brown sugar. Add the cold butter pieces and cut them in with a pastry cutter or your fingertips. Stop when you have coarse crumbs, with small visible bits of butter still distributed through the mixture. If you keep working it until it looks like a smooth paste, the topping won’t have the same crumbly texture.
Bake Until the Top Is Golden and the Center Is Set
Sprinkle the pecan mixture evenly over the filling, reaching the edges without pressing it down. Bake for 30 to 35 minutes, until the topping is golden and an instant-read thermometer inserted in the center reads 160°F. The browned crumbs give you a useful visual cue, but the temperature check tells you the middle has heated through. Let the casserole rest for 10 minutes before serving so the filling has time to settle.
Three Practical Ways to Adapt the Pecan-Topped Casserole
Use walnuts in place of pecans
Swap in the same amount of chopped walnuts for the pecans. They keep the crunchy, buttery topping, with a slightly more earthy flavor and a firmer bite.
Make the topping gluten-free
Replace the all-purpose flour with an equal amount of a measure-for-measure gluten-free flour blend. The crumbs may feel a little different as you work them, but this keeps the pecan topping intact without changing the sweet potato filling.
Make it dairy-free
Use dairy-free baking sticks in place of the butter and unsweetened oat milk in place of whole milk, keeping the same amounts. Choose sticks rather than a soft tub spread so the topping can still form crumbs; the filling may be a little less rich than the butter-and-whole-milk version.
Storage and Reheating
- Refrigerator: Refrigerate within 2 hours and keep covered for 3 to 4 days. The pecan topping softens as it sits.
- Freezer: Cool completely, wrap individual portions tightly, and freeze for up to 2 months. Thaw overnight in the refrigerator before reheating.
- Reheating: Warm portions in a 350°F oven until the center reaches 165°F. Reheating uncovered for too long can dry the filling, so cover loosely while it warms.
Questions That Come Up When Making Sweet Potato Casserole

Sweet Potato Casserole with Pecan Topping
Ingredients
Equipment
Method
- Heat the oven to 350°F.
- Grease a 9x13-inch baking dish with the vegetable oil.
- Put the sweet potatoes in an 8-quart pot and add enough water to cover them by 1 inch.
- Bring the sweet potatoes to a boil, then simmer for 15 to 20 minutes, until easily pierced with a fork.
- Drain the sweet potatoes well.
- Transfer them to a large bowl and let them cool for 5 minutes.
- Mash the sweet potatoes until smooth.
- Stir the melted butter, milk, eggs, 1/2 cup of the brown sugar, vanilla, cinnamon, and salt into the mashed sweet potatoes until evenly combined.
- Spread the mixture in the prepared dish.
- Stir the pecans and flour together in a medium bowl.
- Stir in the remaining 1/2 cup brown sugar.
- Cut in the cold butter with a pastry cutter or your fingertips until coarse crumbs form.
- Sprinkle the topping evenly over the sweet potato mixture.
- Bake for 30 to 35 minutes, until the topping is golden and the center reaches 160°F on an instant-read thermometer.
- Let the casserole rest for 10 minutes before serving.