We may earn a commission when you click on the affiliate links in this post.
Say hello to the star of your holiday table: Sweet Potato Casserole with Pecans. The base is rich and creamy, the pecan-coconut topping is crisp and toasty, and the sweetness is just right to round out the feast.

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 versions over the years, and this Sweet Potato Casserole with Pecans is the one my family asks me to double for Thanksgiving and Christmas. It’s very similar to the beloved sweet potato casserole at Ruth’s Chris Steak House, but we take it over the top with toasted coconut in the pecan crumble. That hint of toasty sweetness is what makes guests ask, “What did you put in this?!”
Some of my favorite Holiday pairings: 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.
🩷 Erica
Key Ingredients

- Sweet Potato Layer – Sweet potatoes (you can use canned or fresh, I usually go for canned out of convenience), milk, brown sugar, melted butter, egg, vanilla, salt.
- Coconut Pecan Layer – Brown sugar, chopped pecans, shredded coconut, flour, melted butter.
- Optional Additions – For a little more spice variation you can add a little cinnamon, nutmeg, or pumpkin pie spice to the sweet potato layer.
How to Make Sweet Potato Casserole with Pecans

- Mix the base: 350°F. Grease a 9×9-inch baking pan. In a large bowl, combine sweet potatoes, milk, brown sugar, melted butter, egg, vanilla, and salt. Beat until light and fluffy.

- Add to Pan: Spread sweet potato mix in the pan.

- Toast & toss the topping: In a dry skillet, toast coconut 2-3 minutes until lightly golden (optional but recommended). In a small bowl, stir brown sugar, pecans, coconut, flour, and melted butter until crumbly.

- Bake: Sprinkle topping over the base. Bake 35 minutes until set and the topping is deeply golden.
Recipe Tips
- For fluffiest texture: Use a hand or stand mixer and beat the base for 1-2 minutes.
- Avoid sogginess: If using canned sweet potatoes, drain very well; if boiling fresh, let steam off completely before mashing.
- Double it: Make a 9×13 pan by doubling everything; bake 40-45 minutes.
- Keep the crunch: Reheat in the oven (not microwave) so the pecans stay crisp.
- Transporting: Bake in a disposable pan or assemble at destination; add topping just before baking.

Frequently Asked Questions
Yes, canned candied yams sold in U.S. grocery stores are actually sweet potatoes. This is what we use in this recipe. True yams and sweet potatoes are different in color, taste, and texture.
Yes, there is only gluten in the topping. To make this recipe gluten-free, substitute coconut flour, rice flour, or any other favorite gluten-free flour mixture in place of the white flour.
Use pumpkin seeds or sunflower seeds for crunch, or make a coconut-oat streusel and skip nuts entirely.
See substitutions above; plant milk + plant butter work well. For egg-free, add 1 Tbsp cornstarch to help set.
Yes. Use 3-4 medium sweet potatoes (about 1½-2 lb raw) to yield roughly 3½ cups mashed. Peel and cube, then boil 12-15 minutes (until fork-tender) or roast at 400°F for 35-45 minutes for deeper flavor. Drain/steam off moisture before mashing so the base isn’t watery.
It’s your call. For a classic, slightly rustic texture, mash by hand until mostly smooth. For that custardy, restaurant-style finish, beat with a hand mixer 1-2 minutes until light and fluffy. Avoid a food processor, it can overwork the starches and turn the potatoes gummy.
Absolutely. The base is flexible, reduce the ¼ cup brown sugar to 2 Tbsp without issues. For the topping, sweetness helps crispness; you can drop the ½ cup to ⅓ cup, but going lower may reduce crunch. Balance by using unsweetened coconut and a touch more vanilla or a pinch of cinnamon.
Yes. Swap the ¼ cup brown sugar for 3 Tbsp maple syrup or honey and reduce the milk by 1-2 Tbsp to compensate for added liquid. (Optional: add ½ tsp molasses to mimic brown sugar’s caramel notes.) Keep brown sugar in the topping for the best crumble; liquid sweeteners there tend to make it softer unless you add extra flour and chill the mixture.

Make Ahead and Storage
Make ahead: Assemble (add topping or store topping separate), cover, and refrigerate up to 24-48 hours. Bake uncovered straight from the fridge, adding 5-10 minutes.
Fridge: Cover and refrigerate leftovers in an airtight container up to 5 days.
Reheat: 350°F for 15-20 minutes, uncovered, until warmed through.
Freeze: Assemble without the topping and freeze up to 2 months. Thaw in the fridge overnight, add topping, and bake.
This Sweet Potato Casserole with Pecans brings creamy, cozy holiday flavor with an irresistible toasted-coconut crunch. If you make it, I’d love to hear how it went! Leave a comment and rating with any fun twists you tried. Happy holidays! 🍂🍁
Sweet Potato Casserole (with Coconut Pecan Topping)

Video
Ingredients
- 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
Topping
- ½ cup brown sugar
- ½ cup pecans, chopped
- 1/2 cup shredded coconut
- 3 tablespoons flour
- 3 tablespoons butter, melted
Instructions
- Preheat oven to 350 degrees. In a large bowl or mixer, combine sweet potatoes, milk, brown sugar, melted butter, egg, vanilla, and salt. Beat ingredients with a hand mixer (or in a mixer) until the sweet potatoes are light and fluffy.

- Transfer sweet potato mixture into a greased 9×9 inch baking pan.

- Stir all of the topping ingredients together in a small bowl.

- Sprinkle the topping evenly over the sweet potatoes.

- Bake uncovered for 35 minutes. Cool a little before serving.

Notes
- Double for 9×13: Multiply all ingredients by 2; bake 40–45 minutes.
- GF option: Replace flour in topping 1:1 with GF blend, almond flour, or finely ground oats.
- Make-ahead: Assemble up to 48 hrs; bake day-of (add 5–10 mins if cold).
- Reheat: 350°F, 15–20 mins; avoid microwaving to keep topping crisp.
- Variations: Add ½–1 tsp cinnamon and a pinch of nutmeg to base; finish with mini marshmallows for last 10 mins.
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
Love this recipe?
We want to hear from you! Please leave a review.





I should have said to add cream cheese and cinnamon to the potato mixture
Up the taste by adding cream cheese and cinnamon
Less sugar than my family recipe (I’m diabetic), but still absolutely fantastic! It was a big hit for Thanksgiving!
Absolutely delicious! No more marshmallows for us! The topping on this was the best thing ever!
This is the same recipe my husband’s Aunt gave to me after she brought her amazing sweet potato casserole to my first Thanksgiving with his family almost 20 years ago. The only thing I do differently is I add Rice Krispies to the topping mix. It doesn’t have a taste, it just adds to the crunch in combination with the coconut. This dish is my family’s favorite and a Thanksgiving and Christmas Day staple at our dinner table.
Hmmm… I’ve never heard of adding Rice Krispies to the topping mix. Interesting! I’m making this for Christmas dinner. I’ll give it a try!
Loved the coconut topping on this! Was a nice switch up from marshmallows.
OMG, yes please. We love sweet potatoes at home. Thanks for this recipe.
My family is going to love this! The flavors are perfect and I can’t wait to try this recipe!
This looks absolutely delish, just in time for Thanksgiving next week!
I’ve never had coconut on sweet potatoes before but can already picture how delicious a combination would be! yum! thanks so much for this inspiration!
Hi, I need to make it vegetarian, so what can I use instead of the egg or it will be fine without the egg? Thank you!
The egg acts as a binding agent, so you will want to substitute it. You can use mashed banana or nut butter!
Excellent dish. I added a tiny bit more of vanilla and was delicious. Easy to prepare dessert.
The flavors of this recipe are so warm and comforting. I love that it has coconut too!
I wasn’t very familiar with these ingredients, and that’s why I decided to try your recipe, I really love to indulge to myself into something new in the kitchen.
Well, it has been a real success for me and I’ll keep to make it.
I have only reduced the doses for 4 people, next time I will make a bigger one!
Thanks for sharing it
I love homemade sweet potato casserole. You have made it look so delicious to make. I think I would eat the whole casserole dish, lol.
You are going to be crazy about it! It’s my favorite!
Oh my goodness! This looks amazing. I am eager to get this on our holiday table!
This is such a delicious sweet potato recipe. The family loves it. It is easy to prepare and the coconut topping, delish!
So glad you liked it! So much better than a marshmallow topping, right??
Sweetened or unsweetened coconut?
Sweetened!
For the make ahead option, do you cook the casserole in the oven then put in refrigerator and just reheat day of? Or do you just assemble the casserole but wait to bake it until day of?
We usually just assemble the casserole and then bake the day of. Hope this helps!
This looks absolutely delicious! I’m putting on our Thanksgiving menu.
Thanks so much for all your delicious recipes!!
This recipe is fabulous. I made it for Thanksgiving for just the 3 of us. I used 2 sweet potatoes that I cooked in the microwave first. I made it again today, but I used the canned sweet potates. It’s baking right now. I’m sure when we can have family gatherings again I will make it for the whole family.