01 - Preheat the oven to 350°F. Grease a 2-quart baking dish.
02 - Place sweet potatoes in a large pot and cover with water. Bring to a boil and simmer for 15 to 20 minutes until tender. Drain thoroughly.
03 - Transfer sweet potatoes to a large bowl. Add milk, butter, brown sugar, eggs, vanilla extract, cinnamon, nutmeg, and salt. Mash until smooth and fully combined.
04 - Spread the mashed sweet potato mixture evenly in the prepared baking dish.
05 - Sprinkle chopped pecans evenly over the sweet potato layer, if using.
06 - Bake uncovered for 25 minutes.
07 - Remove from oven. Evenly distribute mini marshmallows over the top. Return to oven and bake for 10 to 15 minutes until marshmallows are golden and toasted.
08 - Allow to rest for 5 minutes before serving.