Coconut Cream Pie Recipe: Real Coconut Milk Custard

Coconut cream pie recipe for a 9-inch pie, serves 8: coconut milk custard with shredded coconut in a baked crust, chilled 4 hours, whipped cream on top.

Jump to recipe ↓
A wedge of coconut cream pie with thick white custard, a tall cap of whipped cream and toasted coconut flakes on the top.

Coconut cream pie is a baked pie crust filled with a custard made from coconut milk, whole milk, egg yolks and cornstarch, stirred with shredded coconut, chilled for 4 hours and crowned with whipped cream and toasted coconut; it serves 8.

What gives it a real coconut flavor?

Canned full-fat coconut milk does most of the work: its fat carries the flavor and makes the custard rich without extra cream. Shredded coconut folded in at the end adds chew and a second layer of taste. Whole milk fills the rest of the liquid, because coconut milk alone gives a heavy, almost oily filling that is hard to slice cleanly.

Why temper the yolks?

Four yolks are enough to enrich the custard, but they curdle if they meet a pan of simmering liquid directly. Pouring 1 cup (240 ml) of the hot mixture into them first lifts their temperature gently. The cornstarch, whisked with cold milk before the yolks go in, then thickens the whole pan evenly once it bubbles. The filling should coat a spoon thickly and look glossy when it comes off the heat.

Common mistakes

Filling a crust that is still warm turns the base soft. Cutting into the pie before 4 hours of chilling gives a loose custard that spills, and the filling needs the full time to reach its sliceable state. Toasting the topping coconut in a hot pan without stirring scorches the flakes within seconds, so keep them moving and pull them off at pale gold. A sibling pie with a cocoa filling is chocolate cream pie.

Storage

Cover the pie loosely and keep it in the refrigerator for up to 3 days; the toasted coconut softens after the first day. The custard does not freeze well, so plan to finish the pie within the week.

Recipe

Prep
25 min
Cook
40 min
Total
65 min
Serves
8

Ingredients

  • 1 blind-baked 9-inch (23 cm) pie crust, store-bought or homemade
  • 13.5 oz (400 g) full-fat unsweetened coconut milk (1 can), well shaken
  • 1 cup (240 ml) whole milk, divided
  • 2/3 cup (133 g) granulated sugar
  • 1/4 teaspoon (1.5 g) fine salt
  • 1/4 cup (32 g) cornstarch
  • 4 large egg yolks
  • 1 cup (80 g) sweetened shredded coconut
  • 2 tablespoons (28 g) unsalted butter
  • 1 1/2 teaspoons (6 g) vanilla extract
  • 1 cup (240 ml) cold heavy cream, for the topping
  • 2 tablespoons (15 g) powdered sugar
  • 1/4 cup (20 g) sweetened flaked coconut, toasted, to finish

Method

  1. Blind-bake the crust if it is not baked yet: heat the oven to 375°F (190°C), line the crust with parchment and pie weights, bake 20 minutes, remove the weights and bake 12 to 15 minutes more, until golden. Cool completely.
  2. In a medium saucepan, combine the coconut milk, 3/4 cup (180 ml) of the whole milk, the sugar and the salt. Heat over medium heat, stirring, until it just reaches a simmer.
  3. While it heats, whisk the cornstarch with the remaining 1/4 cup (60 ml) cold milk in a heatproof bowl until smooth, then whisk in the yolks.
  4. Slowly pour about 1 cup (240 ml) of the hot coconut mixture into the yolks, whisking constantly, then scrape the yolk mixture back into the pan.
  5. Cook over medium heat, whisking without pause, until the custard bubbles and thickens, 2 to 3 minutes, then keep whisking at a bubble for 1 more minute.
  6. Off the heat, stir in the butter, vanilla and shredded coconut. Pour into the cooled crust, press plastic wrap on the surface and refrigerate at least 4 hours, until firm.
  7. Toast the flaked coconut in a dry skillet over medium heat for 2 to 3 minutes, stirring, until golden; cool it.
  8. Whip the cold cream with the powdered sugar to medium-stiff peaks, mound it over the pie and scatter the toasted coconut on top.

Tips

  • Shake the can of coconut milk hard before opening. The thick cream at the top and the thin liquid below must be mixed, or the custard cooks unevenly and splits.
  • Do not skip tempering the yolks. Adding 1 cup of hot liquid before they hit the pan keeps them from scrambling into tiny curds when the custard goes back on the heat.
  • Use canned coconut milk, never the carton drink. The carton version is mostly water, and the custard will not set firmly enough to slice.

Save this recipe and every recipe you like to Afiyet: add it to your week, send the ingredients to your shopping list and cook step by step.

Nutrition

Approximate values per serving

Energy515 kcal
Protein6.1 g
Fat40 g
Carbohydrates37 g
Fibre2.5 g
Sugar23 g
Salt0.4 g

Values are estimates calculated from USDA FoodData Central data for the 13 ingredients in the recipe; brands, cooking and measuring change them. Not health advice.

Frequently asked questions

Can I use fresh coconut or unsweetened coconut?
Yes. Unsweetened shredded coconut works in the filling if you add 1 to 2 tablespoons (13 to 25 g) more sugar, since the sweetened kind carries about that much. Use the same weight.
How far ahead can I make coconut cream pie?
You can make the baked crust 3 days ahead and the filled pie a day ahead. Add the whipped cream and toasted coconut on the day of serving so the topping stays fluffy.
Why did my coconut custard turn lumpy?
The yolks cooked too fast or the starch clumped. Temper the yolks with hot liquid, whisk constantly over medium heat, and if lumps form anyway, push the custard through a sieve before adding the coconut.