In a mixing bowl, whisk together the instant chocolate pudding mix and cold milk for about 2 minutes until the mixture is smooth and thickened. Pour the pudding into the prepared pie crust and spread it evenly. Refrigerate while you make the topping.
In a medium saucepan, combine the evaporated milk, sugar, butter, and egg yolk. Cook over medium heat, stirring constantly, until the mixture thickens enough to coat the back of a spoon—this usually takes 6 to 8 minutes.
Remove the pan from the heat and stir in the vanilla extract, shredded coconut, and chopped pecans. Let the mixture cool slightly for a few minutes to allow it to thicken further.
Spoon the coconut-pecan mixture evenly over the chilled pudding layer, spreading it to the edges.
Refrigerate the entire pie for at least 2 hours or until fully set before serving.
Variations:
Crust Options: Try a shortbread crust or even a brownie crust for a richer base.
Flavor Twist: Add a tablespoon of dark rum or bourbon to the topping for an adult-friendly version.
Nut-Free Version: Substitute sunflower seeds or omit the nuts entirely for those with allergies.
Vegan Adaptation: Use a plant-based pudding mix, non-dairy milk, vegan butter, and a flaxseed yolk replacement.
Tips:
Toast the coconut and pecans in a dry skillet or oven until golden for an added layer of flavor and crunch.
Make sure the topping cools slightly before spreading—it will be easier to manage and less likely to sink into the pudding layer.
For clean slices, use a sharp knife dipped in hot water and wiped dry between cuts.
This pie can be made a day in advance and stored in the refrigerator, covered loosely with foil or plastic wrap.