
When the sweet potatoes come out of the pot, they look almost too soft to hold their shape. That’s exactly what you want for this casserole, as long as you drain them well before mashing. I’ve found that the contrast is what makes sweet potato casserole with pecan topping worth bringing to the table: a smooth, gently sweet filling underneath a crisp, buttery layer.
The eggs give the filling more structure than plain mashed sweet potatoes, so it bakes into a scoopable casserole instead of staying loose. I mix them in after the potatoes have had a few minutes to cool, then spread the filling in a 9×13-inch dish and cover it with pecan clumps. The topping turns golden while the center sets, and the short rest after baking makes serving neater.
Each serving has a soft, vanilla-scented middle and a pecan topping that cracks lightly under the spoon.

Kitchen Note
Give the mashed potatoes the full 5 minutes to cool before you stir in the eggs. They’ll still be warm, but that pause helps keep the eggs from setting in little bits as you mix.
Save this sweet potato casserole with pecan topping for a cozy side dish with a smooth filling and crisp, buttery pecans.
Why Eggs Turn This Mash Into a Casserole
Sweet potatoes mashed with butter and milk make a soft side dish, but this filling is designed to bake and hold together when you scoop it. The eggs are what give it that extra structure. They set as the casserole bakes, so the middle feels tender and cohesive rather than like a loose bowl of mash.
That difference is useful when you’re serving the dish from a baking pan. A filling with some structure keeps a spoonful together under the pecan topping, but it should still be soft—not firm like a slice of pie. The sugar and vanilla keep the sweet potato flavor rounded, while the salt keeps the sweetness from taking over.
Let the center finish baking before you pull the dish from the oven, then give it its 10-minute rest. That pause lets the filling settle after the heat, which makes the first serving easier to lift without pressing the topping into the mash.
What the Sweet Potatoes, Eggs, and Pecans Each Bring

- Sweet potatoes — Fresh sweet potatoes give you control over the softness and sweetness of the filling. Cut them into even 1-inch chunks so they cook at about the same pace; there isn’t a canned substitute I’d use without changing the filling’s moisture and sweetness.
- Unsalted butter — Butter enriches both the mash and the pecan topping. Unsalted butter lets the measured kosher salt do its job; a budget butter is fine here, since the pecans and brown sugar bring plenty of character.
- Whole milk and eggs — Whole milk keeps the filling creamy, and the eggs help it set in the oven. Two-percent milk works if that’s what you have, though the result will be a little less rich; I wouldn’t omit the eggs if you want the filling to hold together.
- Pecans — Chopped pecans bring the signature crunch and a mellow, nutty flavor. Fresh pecans matter more than an expensive brand: if they smell stale, that flat flavor will come through in the topping. Chopped walnuts are the closest easy swap, with a slightly more assertive taste.
- Light brown sugar and flour — Brown sugar makes the topping sweet and lightly caramel-like, while flour helps the butter and sugar form the crumbly clusters. Ordinary all-purpose flour is fine; for a gluten-free version, use a 1-to-1 gluten-free baking flour in its place.
- Vanilla and granulated sugar — Vanilla rounds out the filling, while granulated sugar sweetens it without adding the deeper molasses note of brown sugar. Use vanilla extract rather than imitation vanilla if you have both, but either will work.
From Fork-Tender Potatoes to a Golden Pecan Top
Boil the Sweet Potato Chunks Until Fork-Tender
Put the peeled, 1-inch sweet potato chunks in a 6-quart pot with the water and bring it to a boil over high heat. Lower the heat and simmer for 15 to 20 minutes. They’re ready when a fork slides into a chunk easily; if the center still feels firm, give them a little longer rather than trying to mash them early.
Drain the potatoes well, return them to the pot, and mash until mostly smooth. A few small soft bits are fine, but large lumps make the filling harder to spread evenly.
Mix the Filling While the Oven Heats
After mashing, let the potatoes cool for 5 minutes. Heat the oven to 350°F and grease a 9×13-inch baking dish while they rest. Stir in the melted butter, granulated sugar, milk, salt, lightly beaten eggs, and vanilla until the mixture looks evenly combined. Spread it in the prepared dish without packing it down hard.
Make Buttered Pecan Clumps
In a medium bowl, mix the chopped pecans with the brown sugar, flour, and remaining melted butter. Keep stirring until the mixture forms clumps instead of looking like dry, separate crumbs. If it still looks powdery, continue mixing so the butter coats the dry ingredients. Scatter the topping evenly across the filling.
Bake Until the Top Is Golden and the Center Is Set
Bake for 30 to 35 minutes, until the pecan topping is golden and the center reaches at least 160°F. The top should look toasted rather than pale, and a thermometer gives you a dependable check on the middle. If the topping is golden before the center reaches temperature, keep baking and check again. Rest the casserole for 10 minutes before serving.
Three Simple Ways to Change the Pecan Topping
Use Walnuts Instead of Pecans
Swap chopped walnuts for the pecans in the topping. The crumble keeps its crunch, but the walnut flavor is a little bolder and less buttery.
Make the Topping Gluten-Free
Replace the all-purpose flour with the same volume of a 1-to-1 gluten-free baking flour. The topping may have a slightly different crumb, but it still gives the casserole a sweet, crisp layer.
Add a Little Cinnamon
Stir ground cinnamon into the pecan topping before you mix in the melted butter. It gives the crumble a warmer spice note without changing the soft texture of the filling.
Storage and Reheating
- Refrigerator: Cover leftovers and refrigerate within 2 hours. They’ll keep for 3 to 4 days; the topping softens some as it sits.
- Freezer: Freeze cooled portions in airtight freezer-safe containers for up to 2 to 3 months. Thaw overnight in the refrigerator; the topping may lose some of its original crunch.
- Reheating: Warm portions in a 350°F oven, covered loosely with foil, until heated through to 165°F. Uncover near the end if you’d like to refresh the top; avoid extended microwave heating, which can make the filling hot in spots and soften the topping.
Questions I Get Asked About This Sweet Potato Casserole

Sweet Potato Casserole with Pecan Topping
Ingredients
Equipment
Method
- Place the sweet potatoes in a 6-quart pot and add the water; bring to a boil over high heat, then reduce the heat and simmer for 15 to 20 minutes, until the potatoes are easily pierced with a fork.
- Drain the potatoes well, return them to the pot, and mash until mostly smooth; let them cool for 5 minutes.
- Heat the oven to 350°F.
- Grease a 9x13-inch baking dish.
- Stir 1/4 cup melted butter, the granulated sugar, milk, salt, eggs, and vanilla into the mashed sweet potatoes until combined.
- Spread the mixture in the prepared dish.
- Mix the pecans, brown sugar, flour, and remaining 1/4 cup melted butter in a medium bowl until clumps form.
- Sprinkle the topping evenly over the filling.
- Bake for 30 to 35 minutes, until the topping is golden and the center reaches at least 160°F.
- Let the casserole rest for 10 minutes before serving.