Coconut custard pie has been loved for decades, and for good reason. It combines a silky custard filling with the natural sweetness of coconut in one simple bake.
The result feels rich, comforting, and familiar.
I keep coming back to this recipe because it never fails.
It uses basic ingredients, yet delivers a bakery-style dessert that tastes like it took much more effort.
Coconut Custard Pie Recipe
This coconut custard pie brings together a creamy egg-based filling and soft coconut flakes baked into a golden crust.
As it bakes, the coconut rises slightly, creating a light top layer while the custard stays smooth underneath.
Ingredients
- 1 unbaked 9-inch pie crust: A homemade crust gives the best flavor, but a good store-bought one works perfectly for ease.
- 3 large eggs: These form the base of the custard and help it set properly.
- 1 cup granulated sugar: Provides sweetness and balances the richness of the eggs and milk.
- 2 cups whole milk: Whole milk creates a creamy texture. Lower-fat milk makes the filling thinner.
- 1 teaspoon vanilla extract: Adds warmth and enhances the coconut flavor.
- 1/4 teaspoon salt: A small amount sharpens the overall taste.
- 1 cup shredded coconut: Sweetened coconut gives a dessert-like flavor, while unsweetened keeps it lighter.
- 2 tablespoons melted butter: Adds richness and a soft, smooth mouthfeel.
- 1 tablespoon all-purpose flour: Helps stabilize the custard so it slices cleanly.
Step-By-Step Instructions
Prepare The Crust
Start by preheating your oven to 175°C (350°F). Place the pie crust into a 9-inch pie dish and gently press it into the edges.
Trim any excess and crimp the sides if you like a decorative finish. Let it rest while you prepare the filling.
Mix The Custard Base
Crack the eggs into a large mixing bowl. Whisk them until fully blended and slightly frothy.
Add the sugar and continue whisking until the mixture looks smooth and lightly pale.
This step helps dissolve the sugar and creates a better texture.
Now pour in the milk slowly while whisking. Add the vanilla extract, salt, melted butter, and flour.
Keep whisking until everything is fully combined and no lumps remain. The mixture should look smooth and slightly thick.
Add The Coconut
Stir in the shredded coconut using a spoon or spatula. Make sure it spreads evenly throughout the mixture.
This ensures every slice has a balanced coconut flavor and texture.
Assemble The Pie
Carefully pour the filling into the prepared crust.
Give the dish a gentle tap on the counter to remove any air bubbles. Let it sit for a minute so the coconut settles naturally.
Bake The Pie
Place the pie on the center rack of your oven. Bake for 45 to 50 minutes. As it bakes, the edges will set first while the center remains slightly soft.
Check doneness by gently shaking the pie.
The center should have a slight jiggle, but it should not look liquid. The top will turn lightly golden.
Cool And Set
Remove the pie from the oven and place it on a wire rack. Let it cool completely at room temperature.
This step is important because the custard continues to firm up as it cools.
For the best texture, refrigerate the pie for at least 2 hours before slicing.
PinnedDrinks Secrets
- Use whole milk for a richer, more stable custard
- Lightly toast the coconut before mixing it in for a deeper flavor
- Avoid overbaking; a slight jiggle in the center gives a creamy texture
- Let the pie cool completely before cutting to prevent a runny filling
- Add a pinch of nutmeg or cinnamon for a warm bakery-style taste
How To Get The Perfect Custard Texture
A good custard pie should be smooth, firm, and creamy without cracks. The small details make a big difference here.
Start by whisking the eggs gently.
Overmixing introduces too much air, which can lead to bubbles or cracks while baking. Using room temperature ingredients also helps everything blend smoothly.
Keep the oven temperature steady and avoid opening the door too often.
Sudden temperature changes affect how the custard sets.
Once baked, patience matters. Cooling allows the structure to fully develop, giving you clean slices.
Flavor Variations To Try
Once you’ve mastered the basic recipe, it’s easy to adjust flavors to suit your taste.
- Toasted Coconut Version: Toast the coconut in a pan until golden before adding it to the mixture. This brings a deeper, nutty flavor.
- Coconut And Lime Twist: Add a teaspoon of lime zest to the filling for a fresh, bright contrast.
- Extra Creamy Version: Replace half a cup of milk with coconut milk for a richer, more intense coconut taste.
- Spiced Coconut Pie: Add a pinch of cinnamon or nutmeg for a warm, comforting variation.
Storage And Make Ahead Guide
| Storage Method | Duration | Details |
|---|---|---|
| Refrigerator | 3–4 days | Cover tightly to keep moisture in |
| Freezer | Up to 2 months | Wrap slices individually for easy use |
| Make Ahead | 1 day before | Chill overnight for best firmness |
Always store the pie in the refrigerator once it has cooled. Custard-based desserts need to stay chilled to maintain their texture and freshness.
Final Thoughts
This coconut custard pie recipe proves that simple ingredients can create something truly satisfying.
The creamy filling, soft coconut, and flaky crust come together in a way that feels both comforting and special.
I make this whenever I want a dessert that’s reliable and crowd-pleasing.
Once you try it, it easily becomes a regular favorite in your kitchen.

