- Preheat the oven to 350°F (175°C). If using a pre-made pie crust, place it into a 9-inch pie pan and set aside. If making a homemade crust, prepare it beforehand and press it into the pan. 
- Mix the filling: In a large mixing bowl, combine the shredded coconut, chopped pecans, sugar, and salt. Stir until evenly distributed. 
- Add the wet ingredients: Pour in the melted butter, eggs, and vanilla extract. Mix everything together until well combined, forming a thick, creamy batter. 
- Fill the pie crust: Pour the coconut-pecan filling into the prepared pie crust. Use a spatula to spread it out evenly. 
- Bake the pie: Place the pie in the preheated oven and bake for 45–50 minutes, or until the top is golden brown and the filling has set. Check after 30 minutes – if the edges of the crust are browning too quickly, cover them with aluminum foil and continue baking. 
- Cool and serve: Allow the pie to cool for at least 30 minutes before slicing, as this helps the filling firm up and makes for cleaner slices. Serve warm or at room temperature, and top with whipped cream or vanilla ice cream if desired.