Sweet Potato Casserole with Pecan Topping
There are some dishes that mean the holidays to me, and sweet potato casserole is right at the top of that list. The first time I made it, I was hosting Thanksgiving for the first time and I was nervous about getting everything right. I had the turkey in the oven, the stuffing was ready, and the sweet potato casserole was the one dish I was not sure about. When it came out of the oven, golden and bubbling at the edges with that buttery pecan topping, I knew I had nothing to worry about. It was the first dish to disappear from the table, and someone asked for the recipe before dessert was even served.
What makes this casserole so special is the contrast between the two layers. Underneath, the sweet potatoes are whipped until they are silky smooth, with butter, a little brown sugar, vanilla, and a warm touch of cinnamon. On top, the pecan crumble bakes into a crisp, buttery, caramelised layer that shatters slightly when you spoon into it. Every bite has a little of both — the soft, creamy sweet potato and the crunchy, nutty topping — and that combination is what makes people go back for seconds. It is sweet, but not too sweet, and the pecans keep it from ever feeling one-note.
I have made this casserole more times than I can count now, for Thanksgiving, for Christmas, for Sunday dinners when I wanted something comforting, and once for a summer barbecue, where it sat happily next to grilled chicken and was just as popular as it is in November. It is one of those rare dishes that works all year round, because sweet potatoes are available all year and the flavours are warm and welcoming whatever the season. My family asks for it by name now, and it has become one of those recipes that feels like part of our traditions, even though I only learned to make it a few years ago.
This recipe is also wonderfully forgiving, which is a blessing when you are cooking a big meal with a dozen other things going on. The sweet potatoes can be boiled, baked, or even cooked in the microwave, the filling comes together in one bowl, and the topping is just a matter of rubbing butter into sugar, flour, and pecans. You can assemble the whole thing the day before and bake it when you need it, which means one less thing to think about on the day. If you love simple, comforting potato dishes, these easy potato recipes with few ingredients are full of ideas for busy weeknights too.
Why You’ll Love This Recipe
First of all, it is the perfect balance of creamy and crunchy. So many casseroles are soft all the way through, but this one has that wonderful pecan crumble on top that gives every spoonful a bit of texture. The topping bakes into a golden, buttery layer with a gentle caramel flavour from the brown sugar, and the pecans toast as they bake, which deepens their flavour. Underneath, the sweet potatoes are smooth and velvety, and the contrast between the two layers is what makes this dish so satisfying to eat. It is the kind of dish where you find yourself scraping the dish for the last little bit of topping.
The flavour is warm and comforting without being heavy. Sweet potatoes have a natural sweetness that is gentler than white sugar, and the cinnamon and vanilla bring out their best without overpowering them. The butter makes everything rich and silky, and the brown sugar in the topping adds a molasses depth that white sugar just cannot match. It tastes like autumn in a dish — warm, golden, and deeply comforting — and it makes the whole house smell wonderful while it bakes. I have had guests walk in the door and ask what smells so good before they have even taken their coats off.
It is also a brilliant make-ahead dish, which is worth its weight in gold at holiday time. You can assemble the entire casserole a day or two before you need it, cover it well, and keep it in the fridge. On the day, you just pop it in the oven and bake it while the turkey rests or the chicken finishes cooking. That kind of flexibility takes so much stress out of hosting, and it means you can actually enjoy your own dinner party instead of spending the whole time in the kitchen. The topping stays crisp if you add it just before baking, which is my preferred method, but it also holds up well if you assemble everything the night before.
Finally, this is a dish that pleases almost everyone. Children love the sweet, creamy filling and the crunchy topping, adults love the warm spices and the pecans, and it is naturally gluten-free if you swap the flour in the topping for a gluten-free alternative or use oats. It serves eight generously, and it scales up easily for a crowd — just use a bigger dish. Serve it next to these crispy potatoes without flour in the air fryer and you have a table full of potato dishes that everyone will love.
Ingredients You’ll Need
- 1.4 kg (3 lbs) sweet potatoes, peeled and cut into chunks
- 115 g (1/2 cup) unsalted butter, melted, plus extra for greasing
- 100 g (1/2 cup) brown sugar, packed
- 2 large eggs, lightly beaten
- 120 ml (1/2 cup) whole milk or cream
- 2 teaspoons vanilla extract
- 1 teaspoon ground cinnamon
- 1/4 teaspoon ground nutmeg
- 1/2 teaspoon fine sea salt
- 100 g (1 cup) pecans, roughly chopped
- 100 g (1/2 cup) brown sugar, for the topping
- 60 g (1/2 cup) plain flour
- 60 g (1/4 cup) unsalted butter, cold and cubed, for the topping
- Pinch of fine sea salt, for the topping
How to Make Sweet Potato Casserole with Pecan Topping
Start by cooking the sweet potatoes, because soft, well-cooked sweet potatoes are the foundation of a silky casserole. Peel them and cut them into even chunks, about five centimetres across, so they cook at the same speed. Put them in a large pot, cover them with cold water, and add a pinch of salt. Bring the water to a boil, then turn the heat down and simmer for fifteen to twenty minutes, until the sweet potatoes are completely tender. You should be able to push a fork through a chunk with no resistance at all. If they are still firm in the middle, give them a few more minutes — undercooked sweet potatoes make a lumpy filling, and nobody wants that.
While the sweet potatoes cook, get your baking dish ready and make the topping. Butter a 23 by 33 cm (9 by 13 inch) baking dish generously, and preheat the oven to 180°C (350°F). For the topping, put the chopped pecans, brown sugar, flour, and a pinch of salt in a bowl, and add the cold cubed butter. Rub the butter into the dry ingredients with your fingertips until the mixture looks like coarse crumbs with a few larger buttery lumps. Those lumps are a good thing — they melt in the oven and make the topping wonderfully crisp. Pop the topping in the fridge while you finish the filling, because cold topping bakes up crisper than warm topping.

Now drain the sweet potatoes really well and return them to the hot pot for a minute or two, so the last of the water steams away. This is a small step that makes a big difference, because extra water in the filling makes the casserole loose and watery. Transfer the sweet potatoes to a large mixing bowl and mash them until they are completely smooth. I use a potato masher first and then a hand mixer for the last minute, which gives you a wonderfully silky texture. You can also push them through a ricer if you have one, which is the smoothest method of all. Whatever you use, take your time — a smooth filling is what makes this casserole feel luxurious.
Add the melted butter, brown sugar, beaten eggs, milk, vanilla, cinnamon, nutmeg, and salt to the mashed sweet potatoes, and beat everything together until it is smooth and creamy. Taste the filling and adjust it to your liking — if you prefer it sweeter, add a little more brown sugar, and if you like more spice, add an extra pinch of cinnamon. Spoon the filling into your prepared baking dish and smooth the top with a spatula. Scatter the pecan topping evenly over the surface, making sure it reaches right to the edges, because the crispy edges are everyone’s favourite part.
Slide the dish into the oven and bake for thirty to thirty-five minutes. You are looking for a topping that is deep golden brown and crisp, and a filling that is bubbling gently around the edges. The centre should be set but still soft — it will firm up a little as it cools. Let the casserole rest for ten minutes before serving, which gives the filling time to settle and makes it easier to spoon out neat portions. That resting time is also the perfect moment to finish the rest of dinner, and the casserole stays beautifully warm under a loose tent of foil. It is a wonderful side for a simple roast, and it goes beautifully with this one pan chicken dinner without oven when you want a comforting meal without the fuss.
Tips for Perfect Sweet Potato Casserole
The most important tip is to cook the sweet potatoes until they are completely, unmistakably tender. If they are even slightly firm in the middle, your filling will be lumpy, and no amount of mashing will fix it. Test them with a fork, and if you are not sure, give them another five minutes. Sweet potatoes are very forgiving of extra cooking time in water, so err on the side of too soft rather than too firm. And drain them thoroughly, then let them steam dry in the hot pot for a minute or two. Any water left clinging to the potatoes will thin out your filling, and a watery casserole is a sad casserole.
Use real butter and real vanilla. This recipe has a short ingredient list, and the quality of the butter and vanilla really shows in the finished dish. Good butter makes the filling rich and silky, and real vanilla extract brings a warmth that imitation vanilla just cannot match. The same goes for the pecans — use fresh, good-quality pecans, and give them a quick taste before you use them, because stale nuts will spoil the topping. If your pecans have been sitting in the cupboard for a while, toast them lightly in a dry pan for a couple of minutes to wake them up. For a classic take on this dish, the BBC Good Food sweet potato casserole is a lovely reference, and the Taste of Home sweet potato casserole has some helpful tips on getting the topping just right.
Keep the topping cold until it goes into the oven. Cold butter in the topping melts slowly in the oven, which creates those lovely crisp, crumbly pockets that make the topping so good. If the topping warms up on the counter while you make the filling, the butter softens and the topping bakes up flat and greasy instead of crisp. I always make the topping first and pop it straight into the fridge. And do not press the topping down into the filling — just scatter it loosely over the top, so the heat can circulate and crisp it evenly. A light hand here gives you a much better result.
One more thing: taste the filling before it goes into the dish. Sweet potatoes vary in sweetness, so the filling may need a little more sugar or a little more salt depending on your potatoes. Taste it after you have added everything, and adjust it until it tastes right to you. It should taste sweet and warmly spiced, but not cloying, with enough salt to bring out the flavours. Remember that the topping adds sweetness too, so the filling does not need to be very sweet on its own. Trust your own taste buds here — you know what you like better than any recipe does.
Variations to Try
Once you have the classic version down, there are some lovely ways to make it your own. For a marshmallow-topped version, which is the traditional American style many people grew up with, skip the pecan topping and scatter mini marshmallows over the filling for the last ten minutes of baking. They puff up and turn golden, and they are wonderfully nostalgic. You can even do half pecan topping and half marshmallows, which keeps everyone happy and looks beautiful. My children always vote for the marshmallow side, and honestly, I cannot blame them.
For a spicier, more grown-up version, add a pinch of cayenne pepper or a little grated fresh ginger to the filling. The gentle heat works beautifully against the sweetness of the potatoes, and the ginger adds a warm, fragrant note that makes the whole dish feel more sophisticated. A tablespoon of bourbon or rum in the filling is another lovely addition for an adult table, and it deepens the flavour in a way that is hard to describe but easy to taste. You can also swap the pecans for walnuts or hazelnuts, which each bring their own character to the topping, or use a mix of all three for a really interesting crunch.
If you want a lighter version, you can reduce the sugar in the filling by a third and use half the butter, and the dish will still be delicious, because sweet potatoes are naturally sweet and creamy. A topping made with rolled oats instead of flour is another nice change — it bakes up wonderfully crisp and adds a wholesome, oaty flavour. And if you are cooking for someone who cannot eat nuts, a topping of crushed gingersnap biscuits and brown sugar is a brilliant substitute that bakes up crisp and delicious. For a simple weeknight dinner to go with this casserole, this easy chicken dinner with pantry ingredients comes together quickly and lets the casserole be the star.
Serving Ideas

The classic way to serve sweet potato casserole is at a holiday table, alongside roast turkey or ham, stuffing, cranberry sauce, and green beans. It is one of those dishes that belongs in the centre of the table, where everyone can help themselves, and it is always one of the first things to disappear. At Thanksgiving, I put it right next to the turkey, because the sweet, creamy potatoes are the perfect foil for the savoury meat and gravy. At Christmas, it sits happily alongside the ham, and the warm spices fit right in with the festive flavours of the season.
For a Sunday dinner, serve it with roast chicken and a simple green vegetable, and you have a meal that feels special without requiring a holiday. It is also wonderful with pork chops or a glazed ham steak, where the sweetness of the casserole echoes the sweetness of the glaze. In summer, I have served it at barbecues alongside grilled chicken and corn on the cob, and it works surprisingly well — the warm, comforting flavours are a lovely contrast to the smoky grilled food. Do not be afraid to serve it outside of the holidays. It is far too good to save for two days a year.
If you are feeding a crowd, this casserole is easy to scale up. Double the recipe and bake it in two dishes, or use one very large roasting tin. For children, serve a smaller portion with a little extra topping on top, because the topping is always the part they love most. And for a really indulgent serving, add a small scoop of vanilla ice cream on the side if you are serving the casserole as a dessert — yes, it works as a dessert too, and it is wonderful that way. A drizzle of maple syrup over the top just before serving is another lovely touch that brings out the sweetness of the potatoes.
Storage and Reheating
Sweet potato casserole keeps beautifully in the fridge, which is one of the reasons it is such a good make-ahead dish. Once it has cooled completely, cover the dish tightly with cling film or foil, or transfer the leftovers to an airtight container, and keep it in the fridge for up to four days. The topping will soften a little over time, but the flavour will still be wonderful, and you can crisp it back up when you reheat it. I often make a double batch on purpose, because the leftovers are just as good as the fresh casserole, and they make a wonderful lunch the next day.
To reheat, the oven is your best friend. Cover the dish loosely with foil and warm it in a 180°C (350°F) oven for twenty to twenty-five minutes, until it is heated all the way through. Remove the foil for the last five minutes so the topping can crisp up again. If you are reheating a single portion, the microwave works fine — about two minutes on medium power, stirring halfway through — but the topping will stay soft, so the oven is worth it when you have the time. A fresh sprinkle of chopped pecans over the top after reheating brings back some of that lovely crunch.
For longer storage, this casserole freezes very well. Let it cool completely, then wrap the dish tightly in cling film and foil, or transfer portions to freezer-safe containers, and freeze for up to three months. Thaw it overnight in the fridge before reheating, and reheat it in the oven as described above. If you are freezing it unbaked, assemble the casserole without the topping, freeze it, and then add the fresh topping on the day you bake it — that way the topping bakes up perfectly crisp. Label the container with the date, so you know when you made it, and you will always have a comforting side dish ready to go.
Frequently Asked Questions
Can I make sweet potato casserole ahead of time?
Yes, and it is one of the best make-ahead dishes I know. You can assemble the whole casserole, filling and topping, up to two days ahead and keep it covered in the fridge. On the day, just bake it as directed, adding five extra minutes to the baking time since it is going into the oven cold. If you want the topping at its very crispiest, assemble the filling ahead and add the topping just before baking. Either way, it works beautifully and takes a lot of stress out of holiday cooking.
Should I use fresh sweet potatoes or canned?
Fresh sweet potatoes give the best flavour and texture, and they are what I recommend. Canned sweet potatoes, or canned yams, will work in a pinch, but they are often packed in syrup and can make the casserole too sweet and a little watery. If you do use canned, drain them very well and reduce the sugar in the filling by about half. Fresh sweet potatoes take a little more effort to peel and boil, but the difference in flavour is worth it, and they are inexpensive and available all year round.
Can I make this casserole without nuts?
Absolutely. If you have a nut allergy in the family, or you simply do not like pecans, you can make a delicious topping without them. Try a crumble of brown sugar, flour, butter, and rolled oats, which bakes up wonderfully crisp, or use crushed gingersnap biscuits mixed with a little melted butter. You can also top the casserole with mini marshmallows, which is the classic American version and completely nut-free. The filling is the star of the dish, and it is delicious with any topping.
Why is my casserole watery?
The most common reason is that the sweet potatoes were not drained well enough, or they were undercooked and released water as they baked. Make sure the potatoes are completely tender before you mash them, drain them thoroughly, and let them steam dry in the hot pot for a minute or two. Using too much milk can also make the filling loose, so measure it carefully. If your filling looks too wet before it goes into the dish, add a tablespoon of flour or an extra egg yolk, which will help it set as it bakes.
Can I use marshmallows instead of the pecan topping?
Yes, and it is a beloved classic. Skip the pecan crumble and spread the filling in the dish as usual, then bake it for twenty minutes. Take it out of the oven, scatter mini marshmallows generously over the top, and return it to the oven for another eight to ten minutes, until the marshmallows are puffed and golden. Watch them closely, because marshmallows go from golden to burnt very quickly. This version is sweeter and softer, and it is especially popular with children.
How long does sweet potato casserole last in the fridge?
It keeps well for three to four days in the fridge, covered tightly. The topping will soften over time, but you can crisp it back up by reheating the casserole in the oven uncovered for the last few minutes. The flavour actually improves after a day, as the spices settle into the sweet potatoes. If you have a lot left over, it freezes well for up to three months, so do not worry about making too much — the leftovers are a gift, not a problem.
