With a thick, silky custard set inside a flaky, buttery pie crust, this coconut custard pie delivers a balanced, pleasant coconut flavor without overwhelming the filling. The custard begins on the stovetop and is finished in the oven so the texture is smooth and stable. These straightforward, reliable steps make the pie approachable for bakers of all skill levels.

I love this coconut custard pie. Many classic versions I tried during recipe testing had problems: odd textures, too much shredded coconut, or curdled eggs that ruined the smooth custard I wanted. I wanted a true custard — rich, creamy, and balanced — where the coconut complements rather than dominates.
To achieve that texture I adapted a technique I often use: partially cooking the custard on the stove, then finishing it in the oven. That approach produces an ultra-smooth custard base that bakes to a tender set without scrambling the eggs. The result is a custard-forward pie with a pleasant coconut presence from coconut milk, flaked coconut, and a touch of coconut extract for perfume.

Why This Is The Best Coconut Custard Pie Recipe
- Ultra-smooth, creamy custard. Starting the filling on the stove creates a velvety texture that is then gently finished in the oven to achieve the right set without overcooking.
- Balanced coconut flavor. The filling uses coconut milk and a modest amount of sweetened flakes and extract so the pie tastes like coconut without becoming cloying.
- Simple, reliable method. The recipe uses common pantry ingredients and clear techniques — like tempering the egg yolks — so it’s easy to follow and reduces the chance of curdled eggs or grainy texture.

Coconut Custard Pie vs Coconut Cream Pie
These two pies are often confused but are distinct. Coconut cream pie typically has a cooked pudding-like filling made entirely on the stove and is topped with whipped cream; the crust is usually pre-baked. Coconut custard pie, by contrast, is a true custard that begins on the stovetop and finishes in the oven. This recipe thickens with cornstarch and uses a mix of whole dairy cream and coconut milk for richness rather than sweetened condensed milk.

Ingredient Notes
This pie uses a handful of straightforward ingredients. Below are notes to help you choose the best options and understand why each item matters. Exact measurements appear in the recipe card at the end of this article.
- All-purpose flour: The base for the crust. Measure accurately — too much flour can make the crust tough.
- Butter: Use cold unsalted butter cut into cubes for a flaky crust.
- Ice water: Keeps the butter cold while forming the dough.
- Egg yolks: Provide richness and help thicken the custard. Lightly beat before using.
- Heavy whipping cream: Essential for a silky, rich filling. Don’t substitute with lower-fat milk if you want the same texture.
- Coconut milk: Adds coconut flavor and body to the custard.
- Sugar: Sweetens the filling.
- Cornstarch: Gives the custard extra stability; sift it to avoid lumps.
- Sweetened flaked coconut: Adds texture and coconut flavor; fold into the custard before baking.
- Coconut extract: A little goes a long way to boost the coconut aroma; use sparingly.

How To Make Coconut Custard Pie
This pie benefits from planning: the crust needs time to chill and the finished pie should chill for several hours to fully set. The printable recipe is included below; the steps here summarize the process.
Make the crust

Pulse flour and salt briefly, add cubed cold butter and process until the mixture resembles coarse crumbs. Add the remaining flour and pulse until mostly sandy with a few pea-sized pieces.

Transfer the mixture to a bowl, add 2 tablespoons of ice water, and gently fold until the dough holds when pinched. Add more water a tablespoon at a time only if needed. Shape into a disc, wrap, and chill for at least an hour.

Roll the chilled disc between parchment sheets, transfer to a 9-inch deep-dish pie plate, and shape the edges. Refrigerate the crust while you prepare the filling.
Make the filling
Preheat the oven to 375°F (190°C).

In a saucepan, whisk together heavy cream, coconut milk, sugar, sifted cornstarch, and salt. Heat over medium while stirring constantly until the mixture comes to a gentle boil and begins to thicken.

Remove the pan from heat. Whisk a small amount of the hot cream into the lightly beaten egg yolks to temper them, then slowly whisk in a bit more until the yolks are warmed. Pour everything back into the saucepan and stir until fully combined and smooth.

Stir in the flaked coconut and coconut extract, mix until evenly distributed, then pour the filling into the chilled crust.

Bake for 40–45 minutes, until the filling bubbles and puffs and the top begins to lightly brown. The center should still jiggle slightly when you remove it from the oven.

Allow the pie to cool to room temperature on the counter, then refrigerate for at least 3–4 hours to finish setting before slicing.
Tips for the Best Pie
- Whisk before heating: Fully combine cream, coconut milk, sugar, and cornstarch before applying heat so the cornstarch dissolves and won’t clump.
- Sift the cornstarch: Sifting prevents lumps and helps the custard thicken evenly.
- Temper the eggs: Add a small amount of hot cream to the yolks while whisking to avoid scrambled bits in your custard.
- Don’t overbake: The pie is done when it’s puffed and bubbling with a lightly browned top; it will continue to set as it cools.
- Cool slowly: Let the pie reach room temperature before chilling; this helps the custard finish cooking gently and prevents cracking.
- Shortcuts: A store-bought crust works well if you need to save time, though a homemade all-butter crust yields the best texture.

Proper Storage
- Refrigerator: Store the pie covered for 3–4 days. Keep it airtight to preserve texture and prevent odors from affecting the flavor.
- Freezer: Freeze the whole pie or individual slices for up to 3 months. Wrap tightly in plastic wrap and foil. Thaw in the refrigerator before serving.
Recipe
Coconut Custard Pie
Ingredients
Crust
- 1 1/4 cups all-purpose flour (divided)
- 1/2 teaspoon salt
- 1/2 cup (112g) unsalted butter, cold and cut into 1/2-inch cubes
- 2–4 tablespoons ice water
Filling
- 4 large egg yolks, lightly beaten
- 1 1/4 cups (300ml) heavy whipping cream
- 1 1/4 cups (300ml) coconut milk
- 2/3 cup (138g) sugar
- 1/3 cup (45g) cornstarch, sifted
- 1/2 teaspoon salt
- 1 cup (73g) sweetened flaked coconut
- 1 1/2 teaspoons coconut extract
Instructions
Make the Crust
- Combine 3/4 cup (98g) of the flour and salt in a food processor and pulse 2–3 times. Scatter the cubed butter over the flour and process about 15 seconds until crumbly and the flour is coated.
- Add the remaining 1/2 cup (65g) flour and pulse a few times until the mixture looks sandy with a few pea-sized pieces.
- Transfer to a bowl and add 2 tablespoons ice water. Fold with a spatula until the crumbs form larger clusters. If the dough does not hold when pinched, add 1–2 more tablespoons of water.
- Shape into a disc, wrap, and refrigerate at least one hour. When chilled, roll between parchment sheets, transfer to a 9-inch deep-dish pie plate, shape edges, and refrigerate while preparing the filling.
Make the Filling
- Preheat oven to 375°F (190°C). Place the egg yolks in a large bowl and set aside.
- Whisk heavy cream, coconut milk, sugar, cornstarch, and salt in a medium saucepan. Heat over medium, stirring constantly, until it comes to a boil and begins to thicken.
- Remove from heat. Slowly temper the egg yolks by adding a small amount of the hot cream mixture while whisking constantly. Add a bit more and continue, then pour the tempered yolks back into the saucepan and stir until smooth.
- Stir in the flaked coconut and coconut extract. Pour the filling into the chilled crust.
- Bake 40–45 minutes until the filling bubbles, puffs, and lightly browns. The center should still be slightly jiggly. Cool to room temperature, then refrigerate 3–4 hours before serving.
Nutrition
Nutrition values are estimates and can vary by ingredient brands and portion sizes.
Did You Love This Recipe?
Leave a comment or share your photo to let others know how it turned out.