Creamy Coconut Custard Pie Recipe

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.

A coconut custard pie with a slice missing

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.

Lindsay, author of Life Love and Sugar, holding a plate of cupcakes and smiling.

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.

A slice of coconut custard pie on a white plate

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.

Overhead view of ingredients needed to make coconut custard pie

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.
A disc of pie crust wrapped in plastic wrap

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

Crumbled butter and flour in a food processor

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.

Butter and flour pulsed into sand-like crumbs

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.

Pressing pie crust together in a bowl

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).

Whisking the heavy cream mixture on the stovetop

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.

Tempering eggs with a bit of hot cream

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.

Whisking tempered eggs

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

Overhead view of an unbaked coconut custard pie

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.

Overhead view of a coconut custard pie after its cooled

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.
A slice of coconut custard pie on a white plate with a bite on the fork next to it.

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

A coconut custard pie with a slice missing

Coconut Custard Pie

Author: Lindsay
Servings: 8 (to 10 slices)
Prep Time: 1 hour 5 minutes
Chill Time: 5 hours 30 minutes
Cook Time: 35 minutes
Total Time: 7 hours 10 minutes

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

  1. 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.
  2. Add the remaining 1/2 cup (65g) flour and pulse a few times until the mixture looks sandy with a few pea-sized pieces.
  3. 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.
  4. 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

  1. Preheat oven to 375°F (190°C). Place the egg yolks in a large bowl and set aside.
  2. 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.
  3. 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.
  4. Stir in the flaked coconut and coconut extract. Pour the filling into the chilled crust.
  5. 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

Calories: 533 kcal (per serving)
Carbohydrates: 44 g
Protein: 6 g
Fat: 38 g

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.