This sweet potato casserole is sprinkled with a nutty crumb topping to create a pleasantly crunchy contrast to the creamy and soft mashed sweet potatoes down below. The filling gets an extra special pumpkin pie(ish) treatment with brown sugar and vanilla for a deep caramel flavor. (In fact, leftovers can be heated up and topped with a scoop of ice cream just like pie.) Want to make ahead for Thanksgiving or another special holiday? Not a problem. The casserole ingredients can be mixed and transferred to a baking dish. Cover and refrigerate until ready to bake but leave off the topping. Store it separately at room temperature in an air-right container and sprinkle it on right before baking.
For perfectly smooth sweet potatoes, consider using a food mill or ricer after boiling to eliminate any lumps. When preparing the topping, ensure the butter is melted but not hot, which helps achieve a cohesive, clumpy texture without over-softening the flour. To enhance the nutty flavor of the pecans, a quick toast in a dry pan before adding them to the topping can make a significant difference. For make-ahead purposes, ensure the sweet potato mixture is completely cooled before covering and refrigerating to prevent condensation, and always add the topping just before baking for optimal crispness.