Preheat your oven to 350°F (175°C). Grease a 9-inch pie pan.
In a large mixing bowl, combine the shredded coconut, sugar, flour, baking powder, and salt. Mix well to combine.
In another bowl, whisk together the eggs, milk, vanilla extract, and melted butter until fully combined.
Gradually pour the wet ingredients into the dry ingredients, stirring until just combined. Do not overmix.
Pour the batter into the prepared pie pan and spread it evenly.
Bake in the preheated oven for 35-40 minutes, or until the top is golden brown and a toothpick inserted in the center comes out clean.
Allow the pie to cool for at least 15 minutes before slicing and serving.