Sweet Potato Casserole Recipe

Full of flavor and perfect for making ahead, this homemade sweet potato casserole will steal the show at your next holiday meal. Crunchy sweet brown sugar pecan crumble covers every bite of this buttery sweet potato mash. After your first forkful, you’ll already be thinking about going for seconds!

I originally published this recipe in 2015 and have since added new photos, a video tutorial, and more helpful success tips.

overhead photo of sweet potato casserole with pecan topping with fresh thyme.

Side dishes are, without a doubt, the best part of a classic Thanksgiving meal. Don’t get me wrong—I love my Thanksgiving pies. But we’re talking creamy from-scratch green bean casserole, flaky soft dinner rolls, and flavorful cornbread stuffing.

Today’s recipe for homemade sweet potato casserole is a family favorite. Enjoy a smooth and creamy sweet potato mash topped with a crunchy, toasty, praline-esque pecan topping. Because it’s a little sweet, I like to serve this casserole with a sprinkle of sea salt and some savory fresh thyme or rosemary. A lovely balance of texture and flavor!

Why You’ll Love This Sweet Potato Casserole Recipe

  • Creamy + crunchy = wonderful contrasting textures in every bite
  • Buttery sweet potato mash with a hint of vanilla
  • Cinnamon-spiced brown sugar pecan topping
  • Sweet + salty—a decadent way to get your vitamin A!
  • You can conveniently prep it a couple days in advance

One reader, Susi, commented:Very easy to make and was a big hit at Thanksgiving! Prepared the potatoes and topping the night before so was a quick dish to put together and bake on the day. The pecan topping and sweet potatoes together were divine! ★★★★★”

dish of sweet potato casserole with a serving spoon.
serving of sweet potato casserole on geay plate with turkey and green beans.

10 Ingredients in This Thanksgiving Side Dish

  1. Sweet potatoes: You need 2 pounds (908g) for this casserole, which is 3 extra large sweet potatoes or 5 small/medium sweet potatoes. Don’t go overboard on the potatoes because the mash will end up tasting heavy and dense. If you buy a large bag and have leftovers, try my sweet potato turkey chili for an easy post-Thanksgiving weekend meal.
  2. Butter: For unparalleled buttery flavor.
  3. Brown sugar: I prefer dark brown sugar in this casserole, but light works too. You’ll use some in both the sweet potato mash and the pecan crumble topping.
  4. Eggs: For structurethey turn this into a casserole, rather than a pile of mashed sweet potatoes.
  5. Half-and-half: Half-and-half keeps this dish extra creamy. If you have heavy cream on hand for your other cooking and baking needs (like whipped cream & pumpkin pie), you can use that instead.
  6. Vanilla extract: For just a hint of delicate, aromatic flavor.
  7. Salt: Brings out all the flavors, and balances the sweetness.
  8. Flour: Gives structure to the crumbly topping.
  9. Cinnamon: Complements both the sweet potato and pecan flavors.
  10. Pecans: Buttery, nutty pecans are the jewels in the sweet potato casserole crown!

Plus, finishing touches like thyme or rosemary and a sprinkle of flaky sea salt round out the entire dish.

One reader, Christine, commented: “The fresh rosemary and sea salt made it…*chef’s kiss*. ★★★★★

ingredients on wood backdrop including pecans, sweet potatoes, eggs, butter, brown sugar, and more.

Boil & Mash the Sweet Potatoes

This recipe starts out just like my sweet potato dinner rolls. Begin by peeling the sweet potatoes with a vegetable peeler. Boil them in a large pot of water until they’re nice and tender. Let them cool for about 15 minutes, and then mash. You can use a potato masher and some arm muscle for this, but I usually just use my mixer. Once they’re as smooth as you’d like (feel free to leave some chunks if you prefer them that way!), beat in the eggs, brown sugar, heavy cream, vanilla, and salt. These are all the ingredients you need for the sweet potato layer.

peeled sweet potatoes in a pot under water and shown again after being boiled.
two photos of mashed sweet potatoes in glass bowl.

FAQ: Can I Use Yams Instead of Sweet Potatoes in This Casserole?

For the best taste and texture, I recommend using sweet potatoes instead of yams.

The names of these two starchy root vegetables are often used interchangeably, but they are actually different, and originate from different continents. Native to Central and South America, sweet potatoes typically have orange flesh and a pinkish-brown skin, and are sweeter and creamier in texture when cooked. Native to Africa, Asia, and the Caribbean, true yams have white flesh and a bark-like skin, with a drier, starchier texture—more like a regular baking potato.

You could, however, use purple sweet potatoes if you can find them!


Easy Crunchy Pecan Topping

We’re finishing this sweet potato casserole with a delicious crumbly, praline-esque pecan topping. The crunchy texture contrasts so beautifully with the creamy, buttery sweet potato mash. It comes together quickly and easily, and uses some of the same ingredients as the sweet potato layer.

If you love the cinnamon-y brown sugar pecan topping here, you’ll enjoy something similar on this pumpkin French toast casserole and this cranberry Christmas cake.

brown sugar pecan crumble in glass bowl.

Can I Use Marshmallows on This Sweet Potato Casserole?

Yes. If you love marshmallows on your sweet potato casserole, you can certainly add them. You could even use homemade marshmallows. I wouldn’t leave off the pecan topping, though. (You’ll really miss that texture!) Add the marshmallows towards the end of the bake time. See recipe Note below for details.


How to Make Sweet Potato Casserole Ahead of Time

This easy side dish can be prepared ahead of time, which we all know is a total lifesaver leading up to Thanksgiving dinner! Here’s how to get started:

  • 1–2 days before serving: Boil and mash the sweet potatoes, add the remaining ingredients to the sweet potatoes, and smooth into a baking dish. Prepare the topping in a separate bowl. Cover each separately and refrigerate for up to 2 days.
  • Day of serving: Spoon the topping over the sweet potato layer and bake.
  • Freezing instructions: If assembled, the unbaked casserole can be frozen up to 2 months. Take it out of the freezer and thaw overnight in the refrigerator. Bring the casserole to room temperature and bake.
dish of sweet potato casserole with a serving spoon.

More Thanksgiving Side Dish Recipes

For even more inspiration see my complete list of 40+ Thanksgiving side dishes. And of course… dessert. Here are our favorite Thanksgiving pie recipes, including classics like pumpkin pie, apple pie, and pecan pie. Don’t forget turkey pot pie for any leftover Thanksgiving turkey!

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
dish of sweet potato casserole with a serving spoon.

Sweet Potato Casserole Recipe with Pecan Topping

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.9 from 39 reviews
  • Author: Sally
  • Prep Time: 40 minutes
  • Cook Time: 40 minutes
  • Total Time: 1 hour, 30 minutes
  • Yield: serves 8
  • Category: Side Dish
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

Creamy, comforting, and simple sweet potato casserole with a crunchy pecan crumble on top. Texture and flavors are spot on!


Ingredients

  • 2 pounds (908g) sweet potatoes, peeled (about 5 small/medium)
  • 1/3 cup (5 Tbsp; 71g) unsalted butter, melted
  • 1/2 cup (100g) packed light or dark brown sugar (I prefer dark)
  • 2 large eggs, beaten
  • 1/2 cup (120ml) half-and-half or heavy cream
  • 1 teaspoon pure vanilla extract
  • 1/4 teaspoon salt

Topping

  • 1/3 cup (41g) all-purpose flour (spooned & leveled)
  • 1/2 cup (100g) packed light or dark brown sugar (I prefer dark)
  • 1/2 teaspoon ground cinnamon
  • 1/3 cup (5 Tbsp; 71g) unsalted butter, melted
  • 1 and 2/3 cups (210g) pecan halves or chopped pecans
  • optional: fresh rosemary or thyme, and flaky sea salt for garnish


Instructions

  1. Place the sweet potatoes in a large pot or dutch oven and cover them completely with water. Bring water to a boil. Reduce heat and simmer for 20 minutes or until the potatoes are tender. Drain the water and allow the sweet potatoes to cool for 15 minutes.
  2. Preheat oven to 350°F (177°C). Grease a 9×13-inch baking pan (or a similar size casserole dish, or a 12-inch oven-safe skillet). Set aside.
  3. Place the cooked sweet potatoes in a large mixing bowl. Using a handheld or stand mixer, beat the potatoes until relatively smooth—I like to leave some chunks for texture. For your reference, you will have about 4 cups of mashed sweet potatoes. Add the butter, brown sugar, beaten eggs, half-and-half, vanilla, and salt. Spoon/pour the mixture into prepared pan.
  4. For the topping: In a medium bowl, whisk the flour, brown sugar, and cinnamon together. Using a silicone spatula, fold in the melted butter and pecans until the mixture is totally combined. Spoon evenly over potatoes.
  5. Bake for 30–40 minutes or until golden brown on top. Allow to cool for 5 minutes, then top with a little fresh thyme or rosemary and a sprinkle of sea salt. Serve warm.

Notes

  1. Make Ahead & Freezing Instructions: This is a great make ahead recipe! Here’s how to get started 1–2 days before: Prepare sweet potatoes through step 3, then prepare the topping. Cover each separately and refrigerate for up to 2 days. On the day of serving, assemble and bake. Assembled, unbaked casserole can be frozen up to 2 months. Thaw overnight in the refrigerator, bring to room temperature, and continue with step 5. Baked casserole can be frozen up to 2 months. Thaw overnight in the refrigerator, bring to room temperature, and bake at 350°F (177°C) until warmed through.
  2. Special Tools (affiliate links): Large Pot (such as a Dutch oven) | Vegetable Peeler9×13-inch Baking Pan | Glass Mixing Bowls | Electric Mixer (Handheld or Stand) | Whisk | Silicone Spatula | Flaky Sea Salt
  3. Adding Marshmallows: If you love marshmallows on top of your sweet potato casserole, you can certainly add them. Bake as directed above, but 5 minutes before it’s done, add 1 cup marshmallows on top and then finish baking.
sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sally’s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Reader Comments and Reviews

  1. Kim Lucius says:
    November 22, 2024

    I was wondering about using your Homemade Marshmallow Creme (Meringue Frosting) on top. What do you think? Would it be too much?

    Reply
    1. Beth @ Sally's Baking says:
      November 22, 2024

      Hi Kim, we haven’t tested it that way, but I don’t see why it wouldn’t work! If you try it, please report back!

      Reply
  2. Nancy says:
    November 19, 2024

    Was looking for a new Sweet Potato recipe and this one popped into my feed. Then I realized it was a “Sally” recipe! Love All Things “Sally!”

    Reply
    1. Sally @ Sally's Baking says:
      November 19, 2024

      Thanks so much, Nancy! I appreciate it. I also love these candied sweet potatoes if you’re looking for more inspiration.

      Reply
  3. Mary says:
    November 18, 2024

    Hey! Always come to Sally’s for everything. I am going to 3x the recipe. Can I bake 2 – 9×13 at one time? I plan to make 3 separate batches and not just triple this recipe. But my oven could fit
    2 pans next to each other. Would I change the temp or time?

    Reply
    1. Trina @ Sally's Baking says:
      November 18, 2024

      Hi Mary! That should be fine, but always keep an eye on them in the oven and adjust as needed.

      Reply
      1. Mary says:
        November 22, 2024

        To cook 2 at the same time, would you increase or decrease the temp? And time?

      2. Beth @ Sally's Baking says:
        November 22, 2024

        Hi Mary, keep the same oven temperature, but expect the casseroles to take a little longer. I also recommend rotating the pans/swapping their racks halfway through baking, to make sure they bake evenly.

  4. Deborah says:
    November 18, 2024

    I made this last year and loved it. I’m really needing to save oven space this year. Would this recipe work in a crockpot?

    Reply
    1. Sally @ Sally's Baking says:
      November 19, 2024

      Hi Deborah, you could certainly keep the mashed sweet potatoes warm in a slow cooker, but I fear the topping will just stay mushy. You really need it in the oven, to bake and crisp up the topping, especially the pecans. Let me know if you try it, though.

      Reply
  5. lily says:
    November 15, 2024

    SO GOOD!!! by far the best sweet potato casserole recipe i’ve made. bringing this to thanksgiving again!

    Reply
  6. Heather says:
    November 13, 2024

    This recipe is AMAZING! I’ve never been a huge sweet potato casserole fan until I made this one. It was so good I volunteered to bring it to our Thanksgiving gathering.

    Reply
  7. Terry says:
    October 21, 2024

    Can this recipe be cut in half? There will only be 2-of us this year.

    Reply
    1. Lexi @ Sally's Baking says:
      October 21, 2024

      Hi Terry, yes, you can halve it and bake in an 8-inch baking dish. Enjoy!

      Reply
  8. S.D says:
    August 7, 2024

    I’m making this casserole at night and will be bringing it to a friend’s for dinner tomorrow. After taking it out of oven tonight I’ll leave it on the counter to cool, then during the day tomorrow should I refrigerate it or is it ok on counter til I reheat for tomorrow’s dinner?

    Reply
    1. Sally @ Sally's Baking says:
      August 8, 2024

      I would refrigerate it during the day and reheat for dinner.

      Reply
  9. Kim Lau says:
    March 28, 2024

    This is THE BEST recipe I’ve ever made. I made this dish for Thanksgiving for my family of 15. My 9 yr. old nephew loved it so much he went back for seconds on a full stomach. Then when I was taking orders for dessert he told me he thought this dish was the dessert! I then made this the following week for Friendsgiving. One of the young girls texted me asking for the recipe so she could fix it for a dinner she was having. Thank you for sharing your amazing recipes!

    Reply
  10. Charlotte says:
    December 22, 2023

    Can I make the topping with gluten free flour?

    Reply
    1. Michelle @ Sally's Baking says:
      December 23, 2023

      Hi Charlotte, we haven’t tested it, but let us know if you do!

      Reply
    2. Jen says:
      November 18, 2024

      I have made it with gluten free flour and it turns out! Nobody knew it was gluten free!

      Reply
  11. Rebecca says:
    November 29, 2023

    This casserole was amazing! Not at all overly sweet. Winner, winnner, chicken dinner!!!

    Reply
  12. Ashley W says:
    November 28, 2023

    Made for the first time for our friendsgiving meal this year…10 stars! The best part were the super dark corners (sugar from sweet potato caramelized into a delicious caramely flavor!!) What a treat.. Wished I had made more but it’s so simple I’ll have no trouble remaking. It’s went so quickly at our gathering and everyone RAVED over it!

    Reply
  13. Jesse A says:
    November 25, 2023

    This was fantastic! I’ve tried a dozen different recipes and this one will be a keeper!! The only thing I did different was make it dairy-free using Miyoko’s cultured butter and coconut cream. Everything else was prepared as written. Didn’t even need marshmallows!

    Reply
  14. Christina says:
    November 24, 2023

    Definitely a dessert! These tasted very decadent. Would be perfect as a dessert. I think if I make these again I will cut down the sugar, they were a little too sweet for me.

    Reply
  15. Katherine says:
    November 23, 2023

    Besides the fact that it made the inside of my car smell divine on the way to my parents’ house, the dish itself was so good. Even my dad, who is not a sweet potato fan, had seconds. It was easy to make but that will be my secret since I was getting so many kudos

    Reply
  16. Cheryl says:
    November 23, 2023

    I made the sweet potato casserole for a party and it was a it. I plan on making it for Thanksgiving too.

    Reply
  17. Lisa says:
    November 22, 2023

    I accidentally bought white sweet potatoes, do you thinking will task ok?

    Reply
    1. Sally @ Sally's Baking says:
      November 23, 2023

      Hi Lisa, they will work too!

      Reply
  18. Heather Berkey says:
    November 22, 2023

    Sally does it again! I’m a big fan of recipes on this site. When I thought of finding a new sweet potato casserole recipe I looked here first. This is the best sweet potato casserole. I’m excited to serve it. Thank you for all your great recipes!

    Reply
  19. Roberta Pocceschi says:
    November 21, 2023

    We’ll baking the sweet potatoes make a difference

    Reply
    1. Lexi @ Sally's Baking says:
      November 21, 2023

      Hi Roberta, you could bake them with the skins on and then peel them after they cool. The bake time will be longer than the boiling time. Hope you enjoy it!

      Reply
  20. JoyLynn says:
    November 20, 2023

    I make a very similar sweet potato casserole every year but I think I will switch it up this year and try your topping recipe. I always scrub the sweet potatoes and roast them in their skins first, then slice open when cool and scoop out the sweet potatoes before mashing. The roasting step (instead of boiling) saves on peeling and gives the casserole a more caramel-y flavor.

    Reply
  21. Elizabeth says:
    November 19, 2023

    Would it be okay to chop the pecans, or best to leave them whole?

    Reply
    1. Erin @ Sally's Baking says:
      November 19, 2023

      Elizabeth, you can use chopped or whole – whichever you prefer!

      Reply
  22. Kim says:
    November 18, 2023

    For gluten free is it possible to use oat flour instead of regular flour for the topping? Thank!

    Reply
    1. Trina @ Sally's Baking says:
      November 18, 2023

      Hi Kim, we haven’t tested that but let us know if you do!

      Reply
    2. K Dolce says:
      November 18, 2024

      I always bake my sweet potatoes and then take them out of the shell and mash them. Easier for me than peeling

      Reply
  23. Piper barr says:
    November 18, 2023

    How many servings does this make?

    Reply
    1. Trina @ Sally's Baking says:
      November 18, 2023

      About 8.

      Reply
  24. Holly Mooney says:
    November 18, 2023

    Very similar to what I’ve made for years. My family would revolt without it. But I’ve always used salted butter. Gonna go halvies this time!

    Reply
  25. Kathy Vasa says:
    November 16, 2023

    Can I use canned yams for this recipe?

    Reply
    1. Sally @ Sally's Baking says:
      November 17, 2023

      Hi Kathy, fresh will yield best results. I do not recommend canned yams.

      Reply
  26. Jean King says:
    November 16, 2023

    Can I substitute maple syrup for the brown sugar? Equal amounts? Thanks!

    Reply
    1. Sally @ Sally's Baking says:
      November 17, 2023

      Hi Jean, you can certainly try it. I would slightly reduce the amount since it’s liquid. Let me know how it turns out.

      Reply
  27. Kay says:
    November 15, 2023

    Could I substitute butternut squash for the sweet potatoes?

    Reply
    1. Sally @ Sally's Baking says:
      November 17, 2023

      Hi Kay, that swap would work just fine.

      Reply
  28. Barb says:
    November 15, 2023

    Is there any difference in quality if I do freeze the casserole before or after baking? Trying to make food as far ahead as possible without sacrificing quality.

    Reply
    1. Lexi @ Sally's Baking says:
      November 15, 2023

      Hi Barb, we’ve tested it both ways, with fantastic results each time. It really depends on how much time you’ll have to finish baking or warm up the thawed casserole.

      Reply
    2. Nataki says:
      November 27, 2024

      This is my first time making this recipe and I added a cup of half and half instead of half a cup. Is my casserole ruined? Is there anything I can do to fix it?

      Reply
      1. Trina @ Sally's Baking says:
        November 27, 2024

        Hi Nataki! The sweet potato mash will just be a little thinner.

  29. Janet L says:
    November 14, 2023

    If I add an orange liqueur would you suggest altering the amount of half & half?

    Reply
    1. Trina @ Sally's Baking says:
      November 14, 2023

      Hi Janet! We would try redoing the half & half by the amount of orange liquor you add.

      Reply
  30. Amy says:
    November 14, 2023

    Hi Sally! This looks AMAZING. We are a small group for Thanksgiving, any chance I can half the recipe in a 8×8 baking dish? If so, would there be any changes, for example, baking time? Thank YOU!

    Reply
    1. Sally @ Sally's Baking says:
      November 14, 2023

      Hi Amy, thank you! Yes, you can halve it and bake in an 8-inch baking dish.

      Reply