To make this Coconut Custard Pie gluten free, substitute the all-purpose flour in the crust with a certified gluten-free 1:1 baking flour blend. Ensure all other ingredients, including coconut flakes and vanilla extract, are labeled gluten free. Baking times remain the same.