This sweet potato casserole with pecan topping is the perfect mix of creamy, buttery sweet potatoes and a crunchy brown sugar streusel. A must-make Thanksgiving side dish!

This post may contain affiliate links. Read disclosure policy.
Sweet Potato Casserole with Pecan Topping
This sweet potato casserole with pecan topping is a classic Thanksgiving side dish that’s creamy, buttery, and perfectly sweet. The smooth mashed sweet potatoes are topped with a crunchy brown sugar pecan crumble that melts-in-your mouth!
It’s a family favorite that we make for both Thanksgiving and Christmas dinner, and it’s easy to prepare ahead for stress-free entertaining. If you’re short on time, try my baked candied yams for a simpler version or my crockpot sweet potato casserole for a hands off method!
Ingredient Notes

Find the full printable recipe with specific measurements below.
- Sweet potato filling: The key to this casserole is using pre-baked sweet potatoes. Mashed and mixed together with sugar, eggs, melted butter, evaporated milk, salt, and vanilla.
- Brown sugar and pecan crumble: The nuttiness of pecans is paired with the depth of sweet brown sugar and a little bit of cinnamon for spice. Softened butter and flour bring it all together to create an irresistible crumble.
How to Make Sweet Potato Casserole

- Baking your sweet potatoes is the key to making the best sweet potato casserole. It brings out such amazing flavor and makes them tender and caramelized. It’s super easy and my favorite way to cook them.
- Mix. Scoop cooked potatoes into a bowl and mash. Add white sugar, eggs, salt, butter, milk and vanilla. Mix together until smooth. Pour into a 9×13″ baking dish (or 11×8″ dish if you’d like your casserole a little thicker).
- Topping. In a separate bowl, mix together the brown sugar, flour, cinnamon, and butter with a fork or pastry cutter. You may need to use your hands to create the crumble. Then stir in the pecans.
- Bake. Sprinkle the topping over the sweet potatoes and then bake at 325°F for 25-30 minutes.

Toppings
The pecan topping is really what makes sweet potato casserole!
- Pecan crumble: The crumble topping on this casserole is seriously the BEST part! It pretty much tastes like candied pecans on top of the sweet potatoes and will become your new favorite after just one bite.
- Marshmallows: If you want to make this a dessert-like holiday dish, make sweet potato casserole with marshmallows. Add during last few minutes of cooking.

Helpful Tips
- Sweet potatoes. A sweet potato should be firm and have a bright orange flesh coloring to it. If you can find sweet potatoes without bumps and cuts on them, that would be best.
- Bake the sweet potatoes: For the best flavor and natural sweetness, bake them instead of boiling. You can follow my baked sweet potato guide before mashing or make Instant Pot mashed sweet potatoes.
- Seasoning. Add seasoning to the sweet potato casserole. A pinch of ground cloves, allspice, or any warm fall seasoning you love.
- Overcooking. Try not to overcook this sweet potato casserole with pecan topping recipe. The texture will become dry.

More holiday side dish recipes include green bean casserole, corn casserole, easy cheesy potatoes, and cranberry sauce.
More Holiday Side Dish Recipes

Sweet Potato Casserole with Pecan Topping
Video
Equipment
Ingredients
Brown Sugar Topping
- ½ cup light brown sugar
- ⅓ cup all-purpose flour
- 1 teaspoon ground cinnamon
- ¼ cup salted butter , softened
- ½ cup chopped pecans
Casserole
- 5 prebaked sweet potatoes *see notes
- ½ cup granulated sugar
- 2 large eggs
- ¼ cup unsalted butter , slightly melted
- ⅓ cup evaporated milk (can use milk or cream)
- 1 teaspoon vanilla extract
- ½ teaspoon Kosher salt
Optional: 1 1/2 cups mini marshmallows
Instructions
- Preheat the oven to 325°F.
Brown Sugar Pecan Topping
- In a medium bowl, mix together 1/2 cup brown sugar, 1/3 cup flour, 1 teaspoon cinnamon, and 1/4 butter butter with a fork or pastry cutter. You may need to use your hands to create the crumble. Stir in the pecans.
Casserole
- Scoop flesh from 5 pre-baked potatoes into a large bowl and mash with a potato masher. It should be about 3 cups.
- Stir in 1/2 cup sugar, 2 large eggs, 1/4 cup butter, 1/3 cup milk, 1 teaspoon vanilla, and 1/2 teaspoon salt until smooth. Spread evenly in a 9×13-inch baking dish (or an 11×8-inch baking dish for a thicker casserole). Sprinkle the pecan topping evenly over the sweet potatoes.
- Bake 25 to 30 minutes, or until the topping is lightly browned and caramelized.
- If adding marshmallows, sprinkle over the top and broil for 2 minutes, or until golden brown and gooey.
Last step: Please leave a comment and rating after you make the recipe.
Notes
Nutrition
Nutrition provided is an estimate. It will vary based on specific ingredients used.
Recipe FAQs
You can! Some people love the extra sweetness from toasted marshmallows. I’ve included notes in the recipe if you’d like to add them on top before baking.
Yes, you can! Canned cut sweet potatoes (often packed in syrup) make an easy shortcut. Just be sure to drain and rinse them well before mashing. Since they’re already sweetened, you may want to reduce or skip the added sugar in the sweet potato filling.
You absolutely can! It can be made and frozen up to 3 months in advance. Cover the unbaked casserole with a double layer of aluminum foil. The day before serving, thaw it overnight in the refrigerator. Let it come to room temperature 30 minutes before baking.
Place the cooled casserole in an airtight container and store it in the fridge for three days. When ready to reheat, place in the oven or heat in the microwave until it is warmed through.
Chelsea Morris
Wondering if there’s a way to make this gluten free?
I Heart Naptime
I haven’t tried, but this would probably work with a 1:1 gluten free flour in place of all purpose flour.
Beth
If I don’t want to have nuts but DO want marshmallows, do I make the topping and just omit the nuts?
I Heart Naptime
Yes, exactly! :)
Karen
This is by far the best recipe for sweet potatoes I’ve ever had!
Jamielyn Nye
I’m so happy to hear that you enjoyed them Karen! :)
Petronila Kuchto
What a very detailed post! I always just bought cheap graters, now that I am a young professional I am trying to stock up on items that will last and last. This isn’t college anymore and I should not have to suffer though one more dull grater!
Andrea
Wow, this looks fabulous! This will be a big hit at my Thanksgiving.
Jamielyn Nye
I hope you enjoy! :)
Tara
This definitely is the perfect holiday side! Those sweet potatoes look incredible paired with that brown sugar crumble. Yum!
Amy
This looks so yummy, the perfect side dish!
Jamielyn Nye
I hope you enjoy! :)
Jacqueline Piper
Perfect, I’m definitely adding this to my Christmas dinner menu this year. We loved this recipe so it’ll be great to add to our holidays this year :) I think roasting the sweet potatoes first gave a lot of extra flavor compared to canned puree. Thanks for sharing!
Jamielyn Nye
I’m so happy you loved the recipe! Happy holidays!
Chef boy R Doug
Please explain after the ingredient for flour, it says , (” finely chopped, 1-2 sprigs”).
What does that mean? Is it a missing ingredient or a typo?
Thank you
Chef Doug
Jamielyn Nye
Hi Doug. This was a typo, thank you for catching that. It is now changed!
Shelley
Love this recipe. Came out perfect just as written.
Brittany
What size of canned yams would you recommend for this recipe? I saw in the post that you could use canned instead of baking the sweet potatoes, but there was no further info on how to substitute. Thanks!
Nicole
Will be making this today for our Canadian Thanksgiving! It shouldn’t be a problem to have it all made this morning and refrigerate it until I’m ready to pop it in the oven, should it?
Jamielyn Nye
That should be fine! :)
Tennille
I love this recipe! We topped with marshmallows and the nutty brown sugary layer was a fun little surprise! I made it the sweet potato layer the day before and then right before cooking I added the brown sugar layer. It worked perfectly!
Jamielyn
Sounds delicious! So glad it turned out well for you! :)
Kaylee Liebhardt
I made this for Thanksgiving and it was a hit! The crumb topping was so delicious!
Jamielyn
I’m so glad it was a hit! Thanks for leaving a comment and review Kaylee! :)
Meghan
I made this for our thanksgiving meal and it was a major hit! I substituted gluten free flour so my Mom could eat it and we all ate it as our dessert too! So delicious! Thank you!!
Jamielyn
I’m so glad you enjoyed this casserole! Thanks for sharing your substitutions. Glad to know it can be made gluten free as well! :)
Amber L Stewart
OMG this is the perfect sweet potato casserole!! I added the marshmallows since my mini me loves them…honestly I do too lol!! I also baked mine this year and definitely added some extra flavor!!!
Jamielyn
So glad you enjoyed this recipe! Thanks for leaving a comment and review Amber! :)
Jamielyn
Sorry, the links got messed up, here is the savory recipe: https://www.iheartnaptime.net/scalloped-sweet-potatoes/
Mallory
I keep trying to click on the recipe for savory sweet potato casserole, but a typical sweet potato casserole with brownsugar and marshmallows that looks nothing like the photo is what I’m getting…does anyone have the original recipe???
Jamielyn
Here’s the recipe for savory sweet potato casserole: https://www.iheartnaptime.net/scalloped-sweet-potatoes/