Sweet Potato Casserole

This sweet potato casserole recipe has a creamy sweet potato filling and crisp brown sugar and pecan topping. Make it ahead for a crowd-pleasing Thanksgiving or holiday side dish!

Jump to Recipe

Sweet potato casserole with pecan topping

This sweet potato casserole recipe has a crunchy, flavorful pecan topping with a creamy layer of sweet potatoes underneath. It’s easy to make with 8 simple ingredients, and you can prep it ahead—the ultimate mark of a great Thanksgiving or holiday side dish, if you ask me!

My family always has sweet potato casserole at Thanksgiving. When I was growing up, we had sweet potato casserole with marshmallows on top, but since I started making this pecan version a few years ago, we haven’t looked back. The contrast between the creamy filling and crunchy topping is absolutely delicious, and the toasty pecans add an extra layer of rich, nutty flavor. It’s become one of our favorite Thanksgiving recipes. I hope you love it as much as we do!

Sweet potato casserole recipe ingredients

Sweet Potato Casserole Ingredients

Here’s what you’ll need to make this sweet potato casserole recipe:

  • Sweet potatoes, of course! 4 pounds, or about 6 medium-large sweet potatoes, will create a nice thick layer at the bottom of your casserole dish.
  • Eggs – They act as a binder in the sweet potato filling, helping it set up with a light, creamy texture.
  • Pecans – They add delicious nutty flavor and crunch to the casserole topping.
  • All-purpose flour and unsalted butter – They help the topping clump together. Make sure to use cold butter, not melted or room temperature. It will give the topping the best crumbly texture.
  • Light brown sugar – It sweetens the topping and perfects its crunchy texture.
  • Minced fresh rosemary – It’s optional, but delicious! I love its earthy, piney flavor with the sweet potatoes and pecans.
  • And sea salt – To make all the flavors pop!

Find the complete recipe with measurements below.

Peeling baked sweet potatoes and adding to bowl with potato masher

How to Make Sweet Potato Casserole

This easy sweet potato casserole recipe has 5 main steps:

1. First, bake the sweet potatoes. I tested this filling two ways: with boiled sweet potatoes and with baked ones. I loved the baked sweet potatoes so much more! They have a creamier texture and a sweeter, more concentrated flavor after caramelizing in the hot oven, so you don’t need any extra sugar, butter, or milk in the filling mixture. (I even tested a version with butter and found it too rich alongside the buttery topping! The sweet potatoes just need 2 eggs to help them set up.)

I prepare the baked sweet potatoes using the method from my baked sweet potato recipe. Simply scrub the potatoes, pierce them several times with a fork, and bake at 425°F for 40 to 60 minutes, or until soft. You want them to be super tender so they get nice and smooth when you mash them.

Spreading sweet potato mash in baking dish

2. While the sweet potatoes are baking, make the pecan topping. Combine the topping ingredients in a medium bowl. Using your hands or two forks, work the butter into the dry ingredients until the mixture is crumbly and holds together when pinched.

3. Then, mash the filling. Peel off and discard the sweet potato skins, then transfer the flesh to a large bowl. Add the salt and use a potato masher to mash until smooth. Add the eggs and mix until well combined.

4. Assemble the casserole. Spread the sweet potatoes in a large baking dish and sprinkle the pecan crumble on top.

5. Bake the casserole at 350°F for 40 to 50 minutes, or until the topping is golden brown and crisp. Let stand for 15 minutes before digging in!

Sprinkling on pecan topping

How to Make Ahead, Store, and Freeze

To make ahead: Prepare the sweet potato filling and topping up to 2 days in advance. Spread the sweet potato mixture in the baking dish and cover tightly with a lid, plastic wrap, or aluminum foil. Store in the fridge. Store the topping in a separate container in the fridge. When ready to bake, sprinkle the topping over the filling and bake according to the recipe.

To store: Store leftover sweet potato casserole in the covered baking dish or an airtight container in the fridge for up to 4 days.

To freeze: You can freeze leftover sweet potato casserole for up to 3 months. Transfer it to freezer-safe containers, or cover and freeze it directly in the baking dish. Let thaw overnight in the fridge before reheating.

To reheat: Cover and heat in a 325°F oven for 15 to 25 minutes, or until warmed through. Reheat smaller portions in the microwave.

Recipe Tip

If you don’t want to prep the full casserole ahead of time, you can simply bake the sweet potatoes up to 4 days in advance. Store them wrapped in foil or in an airtight container in the fridge until you’re ready to make the casserole.

Sweet potato casserole recipe

More Thanksgiving Side Dishes

If you love this sweet potato casserole, check out one of these classic Thanksgiving side dishes next:

Get This Recipe In Your Inbox
We’ll send it right away, plus fresh recipe inspiration every week!

Sweet Potato Casserole

rate this recipe:
4.87 from 72 votes
Prep Time: 20 minutes
Cook Time: 1 hour 20 minutes
Total Time: 1 hour 40 minutes
Serves 12
This sweet potato casserole recipe has a creamy sweet potato filling and crunchy brown sugar and pecan topping. It's a crowd-pleasing side dish for Thanksgiving or any holiday dinner. Find make-ahead instructions in the blog post above!

Ingredients

  • 4 pounds sweet potatoes, about 6 medium-large
  • ½ teaspoon sea salt
  • 2 large eggs, beaten

Pecan Topping

  • 1½ cups pecans, chopped
  • ½ cup all-purpose flour, spooned and leveled
  • ½ cup light brown sugar
  • ¼ cup cold unsalted butter, cubed
  • ½ teaspoon sea salt
  • 2 teaspoons minced fresh rosemary, optional

Instructions

  • Preheat the oven to 425°F and line a baking sheet with foil.
  • Use a fork to poke a few holes in each of the sweet potatoes. Set them on the baking sheet and bake for 40 to 60 minutes, or until soft when pierced with a fork. Set aside to cool. Reduce the oven temperature to 350°F.
  • Meanwhile, make the pecan topping: In a medium bowl, combine the pecans, flour, brown sugar, butter, salt, and rosemary, if using. Using your hands or two forks, work the butter into the dry ingredients until the mixture is crumbly and holds together when pinched.
  • When the sweet potatoes are cool enough to handle, peel off the skins and transfer the soft flesh to a large bowl. Add the salt and mash until smooth, then add the beaten eggs and mix until well combined.
  • Transfer the sweet potatoes to a 9x13-inch baking dish and spread evenly at the bottom. Sprinkle with the pecan topping.
  • Bake at 350°F for 40 to 50 minutes, or until the topping is golden brown and crisp. Let stand for 15 minutes before serving.

Notes

In 2026, I re-tested and updated this recipe to have a simpler method and higher ratio of topping to filling. If you'd like to make the previous version, see this vegan sweet potato casserole.
Nutrition Facts
Sweet Potato Casserole
Amount Per Serving
Calories 314 Calories from Fat 126
% Daily Value*
Fat 14g22%
Saturated Fat 3g19%
Trans Fat 0.2g
Polyunsaturated Fat 3g
Monounsaturated Fat 6g
Cholesterol 37mg12%
Sodium 291mg13%
Potassium 589mg17%
Carbohydrates 45g15%
Fiber 6g25%
Sugar 16g18%
Protein 5g10%
Vitamin A 21616IU432%
Vitamin C 4mg5%
Calcium 68mg7%
Iron 2mg11%
* Percent Daily Values are based on a 2000 calorie diet.

 

168 comments

4.87 from 72 votes (37 ratings without comment)

Leave a comment:

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

Rate this recipe (after making it)




  1. Marysa
    06.08.2026

    I have made mashed sweet potatoes quite a bit, but I have never made casserole. The flavors sound delicious and the toppings look tasty.

  2. Lisa
    12.28.2025

    5 stars
    I needed to make an orange vegetable for a family dinner and found this recipe. It was the only dish of the night to be completely finished by the end of the evening and I got many compliments. My potatoes weren’t quite as thick as I would have liked so would add another potato to the dish, but the flavour was incredible, it looked beautiful, and since most of the time spent was hands-off while the potatoes were roasting, it wasn’t too onerous. I don’t have a food processor, so whipped the potatoes by hand and used a mini processor for the topping, plus I roasted the potatoes in my air fryer. Truly spectacular – thank you!

    • Jeanine Donofrio
      12.28.2025

      Hi Lisa, I’m so glad it was such a hit!

  3. Lauren
    11.29.2025

    5 stars
    This was great, would definitely make this again. Since I do not have a food processer, I used an immersion blender for the potatoes and a mini chopper for the nut topping. A++

    • Jeanine Donofrio
      11.30.2025

      I’m glad this one was a hit for you too!

  4. Heather
    11.29.2025

    5 stars
    We loved it – all the aromas of Thanksgiving in one dish. Next time I might use a potato masher instead of the food processor as it might be better (for me) less pureed, but we’re definitely making this again. Thank you for a savory sweet potato casserole as I’m not a fan of the sweet version.

    • Jeanine Donofrio
      11.30.2025

      Hi Heather, I’m glad it was a hit!

  5. MrsJLow
    11.28.2025

    1 star
    My family HATED!!!!! This recipe. They put it in the Hall of Shame this year. Yuck!

  6. Diane
    11.26.2025

    My husband and I both tasted the topping and felt it was way too salty. 1.5 teaspoons is that right?

  7. Susan
    11.26.2025

    Can I use canned sweet potatoes?

    • Jeanine Donofrio
      11.26.2025

      Hi Susan, I haven’t tried that, I’m not sure.

  8. Ellen
    11.24.2025

    I am grand free can I swap out some thing for the oats?

    • Jeanine Donofrio
      11.24.2025

      Hi Ellen, you can skip them and add extra nuts to the topping.

  9. Suzy
    11.23.2025

    5 stars
    Delicious! Bought some sweet potatoes from a farm market and stumbled upon this recipe and so grateful for the find! A nice balance of flavors that agrees with everyone’s palate, from 2 years old to 87! This was a hit and yes, I put aside my marshmallow recipe for this treasure!

    • Jeanine Donofrio
      11.24.2025

      Ha ha, I’m glad it was such a hit! Impressed that your two year old went for it 🙂

  10. Pam
    11.19.2025

    Would this recipe work just as well with PURPLE sweet potatoes?

    • Phoebe Moore (L&L Recipe Developer)
      11.22.2025

      Hi Pam, yes! How fun!

  11. Sarah Joy Colavecchio
    11.19.2025

    Why is there garlic in the crumble topping?

    • Phoebe Moore (L&L Recipe Developer)
      11.22.2025

      We like the flavor, but you can skip it if you prefer!

  12. Susan
    11.08.2025

    Will this still be good if I bake it at 350 degrees? I have one oven and (after the turkey comes out of the oven) will be baking a Mac and cheese at that time.

    • Carina Z
      11.26.2025

      This is my question too. Have you decided what to do?

  13. Sharon
    11.01.2025

    Can you recommend a substitute for the oats?
    Thanks

    • Pam
      11.16.2025

      Can this be made with purple Japanese sweet potatoes? Thank you

      • Jeanine Donofrio
        11.17.2025

        Hi Pam, that would work, it’ll just obviously be a different color that might not look as appealing.

  14. Holly
    10.12.2025

    I am hoping to make this tomorrow for Canadian thanksgiving. If I make the day before what temp do I cook it the following day and for how long? Thanks

    • Phoebe Moore (L&L Recipe Developer)
      10.17.2025

      Hi Holly, I’m sorry I’m getting to this late! I’d follow the instructions under “Make-Ahead and Storage Instructions” in the blog post.

  15. Camille
    10.08.2025

    Sounds delicious! What type of milk do you use to keep it vegan? Thanks!

  16. Slacker
    04.21.2025

    5 stars
    This turned out really good with our family for Easter dinner as a side with a bone-in ham. I prepared the sweet potatoes and topping the day before and baked them together on Sunday.

    • Phoebe Moore (L&L Recipe Developer)
      04.25.2025

      So glad you loved it!

  17. dr_john
    04.06.2025

    5 stars
    I used yams instead. Smoked Carolina ribs and a southern ditalini salad.
    Almost as good as sex.

  18. Kathy
    03.21.2025

    4 stars
    Very tasty recipe, although there seems to be too much salt in the topping (at least for our taste). We will decrease the salt to 1/2 teaspoon and add more, if needed.
    Thank you for all of your delicious recipes. Much appreciated!

    • Phoebe Moore (L&L Recipe Developer)
      03.21.2025

      Hi Kathy, I’m so glad you enjoyed the recipe!

    • Rebecca
      11.25.2025

      5 stars
      I was asked to bring a side dish to our Thanksgiving dinner this year and decided I would do this casserole. I’m not a big cook and don’t have a food processor, but I do have a ninja blender… Would that work? Thank you so much!

      • Jeanine Donofrio
        11.25.2025

        Hi Rebecca, I think the sweet potatoes will be too thick to do in the blender, and the crumbly mixture would get stuck too. Instead of the blender, you could mash the sweet potatoes with a masher or a fork. And you could chop the crumble topping mixture with a knife, or use a plastic zip lock type bag and a rolling pin to crush it. Hope that helps!

  19. Hope
    11.24.2024

    I already have molasses. Could I use it instead of maple syrup?

  20. Sarah
    11.24.2024

    Add milk with food processor running or it will leak onto the counter.

Fresh, easy
recipes for
every day.

Jeanine Donofrio in her kitchen

I'm Jeanine, a New York Times bestselling cookbook author, recipe developer, and founder of Love & Lemons, a trusted recipe resource for millions of home cooks. I create fresh, easy, and delicious vegetarian recipes that celebrate seasonal ingredients and flavors.

About Us >

Start here

Get our Recipes

We’ll send our top 10 recipes straight to your inbox, along with weekly recipe inspiration!