01 - Preheat oven to 350°F and grease a 2-quart baking dish.
02 - Place sweet potatoes in a large pot, cover with water, bring to a boil, then simmer for 15 to 20 minutes until fork-tender; drain thoroughly.
03 - Transfer sweet potatoes to a large bowl; add milk, butter, brown sugar, eggs, vanilla, cinnamon, nutmeg, and salt, then mash until smooth and fully combined.
04 - Evenly spread the mashed sweet potato mixture in the prepared baking dish.
05 - Sprinkle chopped pecans evenly over the top if using.
06 - Bake uncovered for 25 minutes.
07 - Remove dish from oven, evenly top with mini marshmallows, and bake for an additional 10 to 15 minutes until golden and toasted.
08 - Allow to rest for 5 minutes before serving.