Sweet Potato Casserole with Pecan Topping

206 Comments
5 from 237 votes
Jump to Recipe

We may earn a commission when you click on the affiliate links in this post.

This Sweet Potato Casserole with Pecan Topping is one of those holiday side dishes my family looks forward to every Thanksgiving and Christmas. The sweet potato filling is smooth, buttery, and lightly sweet, while the brown sugar pecan topping gets golden and crisp with a little coconut mixed in. I also love that you can make it with canned or fresh sweet potatoes and prep most of it ahead of time.

Sweet Potato Casserole with Pecan Topping in a baking dish with a portion missing.

5 Star Reviews ⭐️⭐️⭐️⭐️⭐️

“Best sweet potato casserole ever!!! This will be the only way I’m going to make sweet potato casserole from now on!!!” – Anke

“Most sweet potato dishes seem boringly similar. This one provides a few interesting surprises with coconut and pecans. Delicious!” – Christine

“I have made this casserole for the last couple of years & each time I’m asked to double the recipe. It’s the only way I make sweet potatoes for Thanksgiving and Christmas. Yes, it’s THAT yummy!” – Cherie

The Perfect Holiday Side Dish


I’ve tried a lot of sweet potato casseroles over the years, and this is the one my family asks me to double. It reminds me of the sweet potato casserole at Ruth’s Chris Steak House, but our version has shredded coconut mixed into the pecan topping, which gives it a little something extra.

What I really love is the contrast between the fluffy sweet potato layer and that crunchy brown sugar pecan topping. The egg helps the filling set, while milk and butter keep it creamy. Then the pecans, coconut, and brown sugar bake into a crisp topping that keeps the whole thing from feeling like plain mashed sweet potatoes.

I also usually make this with canned sweet potatoes because Thanksgiving dinner already gives me plenty to peel, chop, and cook. Fresh sweet potatoes work beautifully too, so you can use whichever is easiest for you.

🩷 Erica

Ingredients You’ll Need

Ingredients to make sweet potato casserole with pecan topping including milk, brown sugar, vanilla, flour, sweet potatoes, salt, egg, butter, pecans and coconut flakes.
  • Sweet potatoes: I usually use canned sweet potatoes because they make this recipe so quick, but cooked and mashed fresh sweet potatoes work too. Be sure to drain canned potatoes very well.
  • Milk: Adds moisture and helps make the sweet potato filling smooth and creamy.
  • Brown sugar: Used in both the sweet potato filling and pecan topping for a warm caramel flavor.
  • Butter: Melted butter adds richness to the filling and helps the pecan topping bake up crisp and crumbly.
  • Egg: Helps bind the sweet potato mixture so the casserole sets as it bakes instead of staying loose.
  • Vanilla and salt: Vanilla brings out the sweetness of the potatoes while salt keeps the casserole from tasting overly sweet.
  • Pecan coconut topping: Chopped pecans, shredded coconut, flour, brown sugar, and melted butter make the crunchy topping that sets this recipe apart.

Ingredient Additions and Substitutions

  • Fresh sweet potatoes: Use 3 to 4 medium sweet potatoes, about 1 ½ to 2 pounds raw, or enough to give you about 3 ½ cups cooked and mashed sweet potato. Peel and cube them, then boil until very tender. Drain well and let excess steam escape before mashing.
  • Warm spices: Add cinnamon, nutmeg, or a little pumpkin pie spice to the sweet potato mixture if you like more spice in your casserole.
  • Marshmallows: You can add mini marshmallows during the last 10 minutes of baking. I like to keep the pecan topping too, or do pecans on one half and marshmallows on the other.
  • Gluten-free: Replace the all-purpose flour in the topping with a cup-for-cup gluten-free flour blend.
  • Dairy-free: Use an unsweetened nondairy milk, such as coconut milk, and plant-based butter. One of our readers uses coconut milk for dairy-free family members and says it turns out great. 
  • Less sugar: The brown sugar in the sweet potato layer can be reduced if you prefer a less sweet casserole. You can also cut back slightly on the topping sugar, although the topping may not get quite as crisp.

How to Make Sweet Potato Casserole with Pecan Topping

Glass mixing bowl with sweet potato mixture and whisk attachment.
  1. Preheat the oven to 350°F and grease a 9×9-inch baking dish. Combine the sweet potatoes, milk, brown sugar, melted butter, egg, vanilla, and salt. Beat with a hand mixer for 1 to 2 minutes, or until the potatoes are smooth and fluffy.
Baking dish with sweet potato mixture and a spatula.
  1. Spread the sweet potato mixture evenly into the prepared baking dish, smoothing the top with a spatula.
Glass bowl with pecan topping mixture and spoon.
  1. Stir together the brown sugar, chopped pecans, shredded coconut, flour, and melted butter until the mixture is crumbly and slightly clumpy. Sprinkle it evenly over the sweet potatoes. For even more toasted coconut flavor, you can lightly toast the coconut in a dry skillet before adding it to the topping.
Baked sweet potato casserole with pecan topping in a baking dish.
  1. Bake uncovered for 35 minutes, or until the pecan topping is golden and the sweet potato layer looks set. You may see a little bubbling around the edges. Let the casserole cool slightly before serving.

Recipe Tips

  • Drain canned sweet potatoes really well. Too much liquid is one of the easiest ways to end up with a watery casserole.
  • Let fresh sweet potatoes dry out a little after cooking. Once drained, give them a few minutes to release steam before mashing.
  • Beat the filling until fluffy. A hand mixer works especially well. I usually beat it for 1 to 2 minutes.
  • Use melted butter in the topping. Stir until the topping is crumbly and a little clumpy, then scatter it evenly over the potatoes.
  • Watch the coconut if you toast it first. It can go from lightly toasted to burned very quickly.
  • Look at the casserole, not just the timer. The topping should be golden and the center should look set rather than loose or watery.
  • Double it for a crowd. Double all the ingredients and use a 9×13-inch pan. Bake for about 40 to 45 minutes.
  • Add extra time if the casserole is cold. A casserole going straight from the refrigerator may need another 5 to 10 minutes.
  • Reheat it in the oven when possible. The microwave works for individual portions, but the pecan topping will soften.
Sweet Potato Casserole with Pecan Topping on a plate with a fork.

Frequently Asked Questions

Can I use fresh sweet potatoes instead of canned sweet potatoes?

Yes. You will need about 3 ½ cups cooked and mashed sweet potatoes, which is roughly 3 to 4 medium sweet potatoes. Peel and cube them, boil until very tender, then drain well before mashing. You can also roast the sweet potatoes if you prefer.

Are canned yams and sweet potatoes the same thing?

True yams and sweet potatoes are different vegetables, but the orange “yams” commonly sold in U.S. grocery stores are usually sweet potatoes. Canned sweet potatoes or canned yams can work in this recipe. Drain them very well before using.

Why do you put an egg in sweet potato casserole?

The egg acts as a binder. It helps the sweet potato mixture set as it bakes while keeping the filling soft and creamy instead of loose or watery.

How do I know when sweet potato casserole is done?

The pecan topping should be golden brown, and the sweet potato layer underneath should look set. It should not look watery or have a lot of movement in the center. A little bubbling around the edges is normal.

Can I make this in a 9×13-inch pan?

Yes. Double the entire recipe for a 9×13-inch baking dish and bake for about 40 to 45 minutes. Start checking it around the 40-minute mark.

Can I put marshmallows on top?

Absolutely. Add mini marshmallows during the last 10 minutes of baking so they have time to puff and brown without burning. You can use marshmallows along with the pecan topping or do half pecan topping and half marshmallows.

Can I make Sweet Potato Casserole with Pecan Topping gluten-free?

Yes. The flour in the topping is the only ingredient you need to replace. Use your favorite cup-for-cup gluten-free flour blend in the same amount.

Can I make sweet potato casserole less sweet?

Yes. You can reduce the brown sugar in the sweet potato filling without changing the basic texture of the casserole. I would keep at least some brown sugar in the pecan topping because it helps create that crisp, crumbly finish.

Sweet Potato Casserole with Pecan Topping on a serving wooden spoon over a baking dish.

Make Ahead and Storage

Make ahead: This is one of my favorite Thanksgiving recipes to prep early. Make the sweet potato filling and spread it in the baking dish up to 48 hours ahead. I recommend mixing the pecan topping separately and keeping it refrigerated in an airtight container. Sprinkle it over the casserole just before baking so it stays as crisp as possible. If baking straight from the refrigerator, plan on adding about 5 to 10 minutes to the baking time.

Store leftovers: Once cooled, cover the casserole or transfer leftovers to an airtight container. Refrigerate for 3 to 4 days.

Reheat: Reheat the casserole uncovered at 350°F for about 15 to 20 minutes, or until heated through. If the topping starts getting too dark, cover it loosely with foil. Individual servings can also be microwaved, but the topping will be softer.

Freeze: Prepare the sweet potato filling and freeze it without the topping for up to 2 months. Thaw overnight in the refrigerator, add the fresh pecan topping, and bake as directed.

Pairing Ideas

This Sweet Potato Casserole with Pecan Topping fits right into a classic Thanksgiving or Christmas dinner. I love serving it with Roasted Turkey or prime rib, Honey Baked Ham or Cranberry Chicken, Homemade Mashed Potatoes, Green Bean Casserole, Creamed Spinach, fresh Orange Cranberry Sauce, classic Sausage Stuffing, and warm Dinner Rolls. And you have to finish it off with a slice of Pumpkin Pie.

This Sweet Potato Casserole with Pecan Topping has been a favorite at our holiday dinners for years. It has a creamy sweet potato filling and a crunchy pecan coconut topping, and it can easily be made ahead when you have a busy holiday meal to prepare.

If you make it for Thanksgiving, Christmas, or Sunday dinner, I’d love to hear what you think. Please leave a comment and star rating below and let me know if your family loved it too! Happy holidays! 🍂🍁

Sweet Potato Casserole with Pecan Topping

5 from 237 votes
Prep Time: 10 minutes
Cook Time: 35 minutes
Total Time: 45 minutes
Servings: 9 servings
Creamy whipped sweet potatoes are topped with a crunchy brown sugar, pecan, and coconut topping in this easy holiday casserole.

Video

Save this recipe

Ingredients 

Sweet Potato Filling

  • 29 ounces sweet potatoes, drained (or 3 ½ cups cooked and mashed sweet potatoes)
  • ¼ cup milk
  • ¼ cup brown sugar
  • 3 tablespoons butter, melted
  • 1 egg
  • 1 teaspoon vanilla
  • 1/2 teaspoon salt

Pecan Topping

  • ½ cup brown sugar
  • ½ cup pecans, chopped
  • 1/2 cup shredded coconut, sweetened
  • 3 tablespoons flour
  • 3 tablespoons butter, melted

Instructions 

  • Preheat the oven to 350°F. Grease a 9×9-inch baking dish. In a large bowl or mixer, combine the sweet potatoes, milk, brown sugar, melted butter, egg, vanilla, and salt. Beat with a hand mixer or stand mixer for 1 to 2 minutes, or until the sweet potatoes are smooth and fluffy.
    Glass mixing bowl with sweet potato mixture and whisk attachment.
  • Spread the sweet potato mixture evenly into the prepared baking dish.
    Baking dish with sweet potato mixture and a spatula.
  • In a small bowl, stir together the brown sugar, chopped pecans, shredded coconut, flour, and melted butter until crumbly.
    Glass bowl with pecan topping mixture and spoon.
  • Sprinkle the topping evenly over the sweet potato mixture.
    Unbaked sweet potato casserole with pecan topping in a baking dish.
  • Bake uncovered for 35 minutes, or until the topping is golden and the sweet potato filling is set. Cool slightly before serving.
    Sweet Potato Casserole with Pecan Topping in a baking dish with a portion missing.

Notes

  • Drain canned sweet potatoes very well so the filling doesn’t become watery.
  • If using fresh sweet potatoes, use about 3 ½ cups cooked and mashed potatoes and let excess moisture steam off before mixing.
  • Beat the sweet potato mixture for 1 to 2 minutes for a lighter, fluffier texture.
  • Use melted butter in the pecan topping and stir until the mixture is crumbly and slightly clumpy.
  • To make a 9×13-inch casserole, double all ingredients and bake for about 40 to 45 minutes.
  • For a gluten-free casserole, replace the flour in the topping with the same amount of cup-for-cup gluten-free flour.
  • Add cinnamon, nutmeg, or pumpkin pie spice to the sweet potato filling if desired.
  • Mini marshmallows can be added during the last 10 minutes of baking.
  • For make-ahead preparation, refrigerate the sweet potato filling and topping separately for up to 48 hours. Add the topping just before baking and allow another 5 to 10 minutes if baking cold.
  • Reheat leftovers at 350°F for 15 to 20 minutes for the best topping texture.

Nutrition

Calories: 300kcal, Carbohydrates: 42g, Protein: 3g, Fat: 14g, Saturated Fat: 7g, Cholesterol: 39mg, Sodium: 274mg, Potassium: 387mg, Fiber: 4g, Sugar: 24g, Vitamin A: 13230IU, Vitamin C: 2.2mg, Calcium: 59mg, Iron: 1.1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Course: Side Dish

Love this recipe?

We want to hear from you! Please leave a review.

Rate & Review

Share This With the World

Pin

About the author

Erica Walker

Erica lives in Meridian, Idaho, with her husband, Jared, an attorney, and their three daughters. She earned her bachelor’s degree from Brigham Young University and has a passion for travel and adventure. Whether kayaking, hiking, or scuba diving, she loves exploring the world—and bringing her family along for the ride.

More about Erica Walker
5 from 237 votes (63 ratings without comment)

Leave a comment

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

How many stars would you give this recipe?





Comments

  1. 5 stars
    Love love love this recipe. I use less sugar, a little less than half a cup, and for the dairy-free family members, I use coconut milk. Amazing every time and has become a staple at our Thanksgiving dinner.

    1. So glad to hear you love this recipe as much as we do! I’m getting ready to make it in a few days myself 🙂 Love the idea of coconut milk! Thanks for sharing!

    1. Totally! Fresh is never a bad idea. You can make the sweet potato base by cooking the sweet potatoes until they’re very soft, either by boiling peeled chunks for 15-20 min until VERY soft or baking them whole. Once tender, mash them until smooth. That’s really all you need for the casserole filling. From there you can proceed with the recipe. Hope this helps!

  2. 5 stars
    Best sweet potato casserole ever!!! This will ne the only way I’m going to make sweet potato casserole from now on!!!

  3. 5 stars
    We cook this every Christmas, Easter and Thanksgiving. Never have any leftovers. I would like to know if it can be prepared and frozen? Thawed and warmed a week or so later? Sometimes we travel by car at Christmas and would like to take this dish with us.

    1. This can be made ahead and frozen. For the best results, freeze the filling and topping separately. Prepare the sweet potato mixture according to the recipe directions up to the point of baking. Transfer to a freezer-safe casserole dish. Wrap it tightly in plastic wrap and then cover it with foil. Prepare the topping according to the recipe and place it in a freezer Ziplock bag. Thaw both for 24 hours in the refrigerator. Add the topping to the casserole just before baking. Thank you for asking, Rick. Happy Holidays!

  4. Can this be prepared and then frozen. Thaw then cook? Or is it better to prepare, cook and then freeze, thaw and warm up?

    1. Thank you for asking, Tricia. The answer to your question is prepare, freeze, thaw, then bake. IMPORTANT: Freeze the filling and the topping separately for best results. Prepare the sweet potato mixture, transfer to a freezer safe casserole dish, wrap tightly in plastic wrap and then foil to freeze. Prepare the topping and transfer to a freezer safe plastic bag (Ziplock). Thaw both in the fridge 24 hours. Add the topping to the casserole dish just before baking.

  5. 5 stars
    Most sweet potato dishes seem boringly similar. This one provides a few interesting surprises with coconut and pecans. Delicious!

  6. 5 stars
    I have made this casserole for the last couple of years & each time I’m asked to double the recipe. It’s the only way I make sweet potatoes for Thanksgiving and Christmas. Yes, it’s THAT yummy!

  7. 5 stars
    Love the nutritional value of super foods like sweet potatoes! I want to make this recipe more often! It is so good!

  8. 5 stars
    This by far my favorite Thanksgiving side dish! I have never tried it with the coconut before and it was incredible!

See More Comments