Peel and chop the sweet potatoes into 1-inch cubes, then boil them in salted water for 12–15 minutes until a fork pierces them without resistance. This step matters because undercooked potatoes will never mash into the smooth consistency that makes this filling work. I've made this mistake exactly once—never again.
Drain the sweet potatoes completely, then mash them with 1/2 cup butter and 1/2 cup brown sugar using a hand mixer or fork. The mixture should look pale and thick, almost like frosting. Stop mixing before it becomes completely smooth—a few small lumps actually keep the texture from feeling gluey.
Whisk together the 2 eggs and 1/4 cup milk in a separate bowl, then fold them into the sweet potato mixture along with 1 tsp vanilla extract, 1 tsp cinnamon, and 1/4 tsp nutmeg. This combination of spices works because vanilla opens up the cinnamon's warmth instead of letting it sit flat on the palate. Stir until just combined—overmixing tightens the crumb.
Pour the filling into a greased 9x13-inch baking dish and smooth the top with a spatula. Now comes the waiting: let this rest for 5 minutes while you prep the topping. This pause lets the starch settle, which prevents the marshmallows from sinking unevenly.
Sprinkle the 1/2 cup chopped pecans across the filling, then drizzle the 1/4 cup maple syrup directly over them. Toss them gently with your fingers—the syrup needs to coat each pecan piece so it caramelizes instead of staying plain. This is the secret most recipes skip.
Scatter the 1 cup marshmallows evenly over the pecans, then drizzle with 1 tbsp melted butter. Bake at 350°F for 50–55 minutes until the marshmallows turn golden brown and the filling sets around the edges but still jiggles slightly in the center. That jiggle means it'll stay creamy after cooling—a dry center means overbaking.
Remove from the oven and let it cool for 8–10 minutes before serving. This resting period lets the marshmallows firm up slightly so they don't slide off the spoon. Serve warm, not hot.