The fork slides into the sweet potatoes, and their skins look a little wrinkled by the time they come out of the oven. That’s the point: roasting them whole gives the flesh time to turn tender without adding water to the casserole. I mash the peeled potatoes until smooth, then fold in butter, milk, brown sugar, eggs, vanilla, and salt for a filling that bakes up soft and spoonable.
The pecan topping is a simple mixture of flour, brown sugar, chopped pecans, and melted butter. Stir until the butter coats everything evenly, then scatter it across the filling so every serving gets some crunch. This sweet potato casserole with pecan topping serves ten and fits in a 9×13-inch baking dish, making it easy to bring to the table while the top is still golden.
I like that the filling stays straightforward while the topping brings the contrast: tender sweet potato under a crisp, buttery layer. Let it rest before serving, and you’ll get generous scoops with the topping still distinct from the soft center.

Kitchen Note
Bake, Serve, Wear the Vibe 👕
Editor-picked tees our Oven To Fork readers love.
We may earn from qualifying purchases at no extra cost to you.
Lightly beat the eggs before they go into the filling. They blend in more evenly that way, so you won’t have to work the mashed potatoes longer than needed.
Save this sweet potato casserole with pecan topping for its soft filling and buttery, crunchy crust.
Why I Roast the Sweet Potatoes Instead of Boiling Them
Cooking the sweet potatoes whole on a baking sheet keeps this filling from starting out waterlogged. Boiled potatoes take on cooking water; the roasted ones soften in their own skins, so there’s no pot of water to drain and no need to guess whether excess moisture is hiding in the mash. It’s a small choice that matters once butter, milk, and eggs go into the bowl.
The doneness cue is more useful than the clock alone: a knife should slide easily into the centers. Sweet potatoes vary in size, so some may be ready closer to the start of the roasting window and others need longer. Don’t pull them just because the outside looks soft. If the centers are still firm, they’ll be harder to mash smoothly and you may end up chasing lumps with extra mixing. Let the knife tell you when they’re tender all the way through.
What Gives the Filling Its Body—and the Topping Its Crumble

- Sweet potatoes — Choose firm potatoes without soft or damaged spots. They’re the base of the filling, so fresh whole potatoes give you control over tenderness and moisture; the size can vary, which is why the knife test matters more than appearance.
- Eggs — Lightly beaten eggs help the filling hold together as it bakes. They’re not a good ingredient to leave out if you want the same set and texture.
- Whole milk and unsalted butter — Milk loosens the mash while butter gives it richness. Whole milk keeps the filling creamy; unsalted butter also lets the kosher salt stay measured separately.
- Light brown sugar and vanilla — Brown sugar sweetens both layers, while vanilla rounds out the filling. Packed brown sugar gives you a consistent measure; keep the filling and topping portions separate when you prep.
- Pecans and flour — Chopped pecans bring the topping’s defining crunch, and flour helps bind the buttery brown-sugar mixture into a crumb rather than a loose layer of nuts. Chopping the pecans evenly helps the topping spread across the casserole.
Roast, Mash, and Build a Topping That Bakes Golden
Roast Until a Knife Slides In Easily
Heat the oven to 400°F and pierce each scrubbed sweet potato several times with a fork. Set them on a rimmed baking sheet and roast for 45–60 minutes, checking the centers with a knife. The potatoes are ready when the knife slides in easily, not when the skins simply look browned. Reduce the oven temperature to 350°F for the casserole.
Mash the Flesh Before Mixing the Filling
Coat a 9×13-inch baking dish with nonstick cooking spray. Once the sweet potatoes are cool enough to handle, peel them and mash the flesh in a large bowl until smooth. Stir in the melted butter, milk, brown sugar, lightly beaten eggs, vanilla, and kosher salt. If you leave large chunks in the mash, they’ll remain noticeable in the finished casserole, so work them out before moving on.
Mix the Pecan Crumble Evenly
Stir the flour, brown sugar, and chopped pecans together in a medium bowl. Add the melted butter and mix until it’s evenly distributed through the dry ingredients. The mixture should look uniformly moistened rather than having a puddle of butter at the bottom or dry flour gathered at the edges. Mixing the topping separately keeps the nuts and crumbs spreadable.
Top and Bake Until the Center Is Set
Spread the filling evenly in the prepared dish, then scatter the pecan mixture across the surface. Bake at 350°F for 30–35 minutes, until the topping is golden and the center reaches 160°F on an instant-read thermometer. If the topping is browning but the center hasn’t reached temperature, keep baking and check again rather than taking it out early. Let the casserole rest for 10 minutes before serving.
Two Useful Ways to Adapt the Sweet Potato Casserole
Make It Pecan-Free
For a nut-free version, leave off the pecan topping and bake the sweet potato filling on its own. You’ll lose the crunchy contrast, but the soft, sweet filling still works as a casserole. For a serious pecan allergy, prevent cross-contact with ingredients and equipment as well.
Keep the Filling Less Sweet
Leave the brown sugar out of the sweet potato filling while keeping the brown sugar in the pecan topping. The filling will taste less sweet, but the topping still brings a caramel-like sweetness and crunchy finish to each scoop.
Storage and Reheating
- Refrigerator: Refrigerate leftovers promptly in a covered container and use within 3–4 days. The topping will soften as it sits.
- Freezer: Freeze cooled portions in an airtight, freezer-safe container for up to 2–3 months. Thaw overnight in the refrigerator; expect the pecan topping to be less crisp.
- Reheating: Warm portions in a 325°F oven, covered, until the center reaches 165°F. Reheating uncovered for too long can dry out the filling; the topping won’t be quite as crisp after storage.
Questions That Come Up While Making This Casserole

Sweet Potato Casserole with Pecan Topping
Ingredients
Equipment
Method
- Heat the oven to 400°F.
- Pierce each sweet potato several times with a fork and place them on a rimmed baking sheet.
- Bake for 45–60 minutes, until a knife slides easily into the centers.
- Reduce the oven temperature to 350°F.
- Coat a 9x13-inch baking dish with nonstick cooking spray.
- Let the sweet potatoes cool until easy to handle, then peel them.
- Mash the sweet potato flesh in a large bowl until smooth.
- Stir in the melted butter, whole milk, brown sugar, eggs, vanilla extract, and kosher salt.
- In a medium bowl, stir together the flour, brown sugar, and pecans.
- Mix in the melted butter until evenly combined.
- Spread the sweet potato mixture in the prepared baking dish.
- Scatter the pecan topping evenly over the sweet potato mixture.
- Bake for 30–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.


