Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Creamy Coconut Milk Pie Filling Recipe

Coconut milk pie filling is a thick, creamy custard with a distinct tropical flavor and a smooth texture. It is suitable for holiday desserts, potlucks, or a weekend treat when paired with a pre-baked pastry shell. This version uses a cornstarch slurry to ensure the filling sets firmly enough to slice without collapsing.

Coconut Milk Pie Filling Ingredients

  • 2 cans (400 ml each / 800 ml total) full-fat coconut milk (do not use lite coconut milk)
  • 3/4 cup (150 g) granulated white sugar
  • 1/4 cup (30 g) cornstarch (cornflour)
  • 1/2 teaspoon (3 g) salt
  • 1 teaspoon (5 ml) vanilla extract
  • 1 1/2 cups (140 g) sweetened shredded coconut, divided: 1 cup for the filling, 1/2 cup for topping
  • 3 large egg yolks (approx. 54 g), pasteurised
  • 2 tablespoons (28 g) unsalted butter, optional for richness

Serves 8 · Prep 15 min · Cook 15 min · Total 4 hr 30 min

Instructions for Coconut Milk Pie Filling

  1. Whisk the cornstarch and salt into the granulated sugar in a medium mixing bowl to remove any lumps.
  2. Pour 1 can (400 ml) of coconut milk into a heavy-bottomed saucepan. Stir in the sugar-cornstarch mixture over medium heat.
  3. Cook the mixture, stirring constantly with a whisk, for 5-8 minutes. Bring the liquid to a gentle simmer until the mixture thickens and begins to bubble.
  4. Remove the pan from the heat. Let the mixture cool for 3-5 minutes so the heat does not scramble the eggs.
  5. In a separate small bowl, whisk the 3 pasteurised egg yolks. Slowly pour about 1/2 cup (120 ml) of the hot coconut mixture into the yolks, whisking rapidly to temper them.
  6. Pour the tempered egg mixture back into the main saucepan. Return to medium-low heat and cook for another 2-3 minutes, stirring constantly. The filling must reach a safe minimum internal temperature of 160°F (71°C) according to USDA FSIS guidelines for egg-based custards.
  7. Remove the pan from the heat. Stir in the vanilla extract, 1 cup (100 g) of shredded coconut, and the 2 tablespoons (28 g) of butter if using.
  8. Pour the hot filling into a 9-inch (23 cm) pre-baked pie crust. Smooth the top with a spatula.
  9. Place the pie in the refrigerator for at least 4 hours, or until the filling is firm and cold to the touch.
  10. Top with whipped cream and the remaining 1/2 cup (50 g) of shredded coconut before serving.

Swapping Coconut Milk Pie Filling Components

Adjusting ingredients changes the density and flavor profile of the custard. Use a 1:1 ratio for the following substitutions:

Ingredient to Swap Substitution Resulting Change
Full-fat coconut milk Heavy cream Removes tropical flavor; results in a traditional cream pie texture.
Granulated sugar Maple syrup Adds a woody sweetness; reduce coconut milk by 2 tablespoons to compensate for liquid.
Cornstarch Arrowroot powder Produces a glossier finish; may be slightly less stable at room temperature.
Butter Coconut oil Increases the coconut flavor and maintains a dairy-free profile.

Managing Coconut Milk Pie Filling Texture

The stability of the filling depends on the fat content of the coconut milk and the activation of the cornstarch. If the filling is too runny after cooling, it is typically because the mixture did not reach a full boil during the initial thickening stage. Cornstarch requires a temperature of approximately 203°F (95°C) to fully hydrate and thicken. Ensure the mixture bubbles before removing it from the heat.

If the filling separates or looks curdled, it is usually caused by adding the eggs too quickly or cooking them over high heat. To fix a slightly curdled filling, immediately remove it from the heat and whisk vigorously. For severe curdling, passing the hot mixture through a fine-mesh sieve can remove the cooked egg bits, though some volume will be lost.

For those using coconut milk that has separated in the can (solid cream on top, water on bottom), shake the can vigorously before opening or stir the contents thoroughly in a bowl. Using only the thick cream will result in a filling that is too dense and may not incorporate the sugar properly.

Coconut Milk Pie Filling Timeline

Planning the timing prevents the crust from becoming soggy and ensures the custard is fully set. Follow this schedule for a dinner party or event:

  • 24 Hours Before: Bake the pie crust completely. Let it cool and store it in an airtight container at room temperature.
  • 6 Hours Before: Prepare the coconut milk filling on the stove. Pour the hot filling into the crust.
  • 4-5 Hours Before: Refrigerate the pie. This is the minimum time required for the cornstarch and fats to solidify.
  • 30 Minutes Before: Remove the pie from the fridge. Add the whipped cream topping and shredded coconut. Serve immediately.

Storing and Reheating Coconut Milk Pie Filling

Because this filling contains eggs and coconut milk, it is a perishable item. Transfer the pie to a sealed container or cover the pie plate tightly with plastic wrap. Refrigerate the pie within 2 hours of cooking. The filling will remain safe and maintain its texture for 3-4 days in the refrigerator.

Do not freeze the coconut milk pie filling. Freezing breaks the emulsion of the coconut milk and the cornstarch bond, which causes the filling to weep water and become grainy upon thawing. If you must preserve the ingredients, freeze the pre-baked crust and the shredded coconut separately, and make the custard fresh.

This dish is intended to be served cold. Do not reheat the filling, as the heat will break down the cornstarch structure and turn the custard back into a liquid. If the pie has been in the refrigerator for several days and the surface has dried, a thin layer of whipped cream or a glaze can hide the imperfections.

Serving and Pairing Coconut Milk Pie Filling

The richness of the coconut milk is balanced by acidic or bright accompaniments. Serve slices with a side of fresh mango cubes or a squeeze of lime juice to cut through the fat. A dollop of unsweetened whipped cream provides a neutral contrast to the sweet shredded coconut.

For a more complex presentation, toast the topping coconut in a dry pan over medium heat for 2-3 minutes until golden brown. This adds a nutty aroma and a crunchy texture that contrasts with the smooth filling. If serving as a small dessert, use a tartlet shell rather than a full 9-inch pie, filling each with 3 tablespoons of the mixture.

Raw Flour and Egg Safety

Read next