1. Bake and mash the potatoes
- Scrub the sweet potatoes clean and pat them dry. Wrap each potato in aluminum foil and place them on a baking sheet. Put the baking sheet in a cold oven and turn it to 350℉. Bake them for 1 hour, then check for doneness. They should be fork tender. If not, let them bake for a few more minutes.
- When the potatoes are done, remove them from the oven and let them cool for at least 20 minutes. Leave them wrapped in foil while they cool. Peel the sweet potatoes and mash them. Then, measure 3 cups of mashed sweet potatoes to use in the recipe.
- See the recipe notes if you want to boil the sweet potatoes.
2. Prepare the casserole mixture
- Preheat the oven to 350℉.
- Mix the mashed sweet potatoes, sugar, beaten eggs, milk, melted butter, vanilla, and salt in a mixing bowl until smooth.
- Pour the mixture into an 8×8 baking dish or a 2-quart casserole dish.
3. Prepare the nut topping if using:
- Mix the melted butter, brown sugar, flour, and chopped pecans in a small bowl.
4. Top and bake
- Spread the nut topping or the marshmallows over the sweet potato mixture and bake for 35 minutes at 350℉.