Set your oven to 375°F so it is fully hot when the casserole is ready. Grease the 9 x 13-inch dish well with butter or cooking spray. This keeps the sweet potatoes from sticking and makes serving easier.
Peel the sweet potatoes and cut them into evenly sized cubes. Even pieces cook at the same speed, so none stay hard. Keep the cubes about one inch wide for the best results.
Add the cubes to a pot of boiling water and simmer for about 15 minutes. Test one with a fork. It should slide in with almost no resistance.
Drain the sweet potatoes in a colander and let the steam escape for a minute. Extra water can make your casserole runny. I return them to the warm pot so any leftover moisture evaporates.
Add the brown sugar, softened butter, cinnamon, vanilla, salt and pepper. Mash until the mixture looks creamy and mixed. Use a masher for a rustic feel or a hand mixer for a silky texture.
Stir in half of the chopped pecans so they spread through the mash. This adds a nutty bite in every spoonful. Save the rest of the pecans for the top.
Scoop the mixture into your greased dish and smooth it into an even layer. A spatula or the back of a spoon works well. An even layer means even baking.
Scatter the miniature marshmallows over the top, covering the surface well. Sprinkle the remaining pecans over the marshmallows. This gives you both a gooey and a crunchy finish.
Bake for about 25 minutes. You want the marshmallows golden brown and the potatoes hot all the way through. Watch the last few minutes, because marshmallows brown fast.
Let the casserole sit for a few minutes after baking. This helps it set slightly and makes scooping neater. Serve it warm straight from the dish