Dinners

Fresh Coconut Cream Pie Recipe with Real Coconut

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
4 hr 45 min
Prep
30 min
hands-on
Cook
15 min
oven or stovetop
Serves
8
as written
USDA safe temp
160°F / 71°C
check the thickest part

Jump to recipe Save

Fresh coconut cream pie gets its signature texture from a cooked custard thickened with cornstarch and egg yolks, then folded with shredded fresh coconut and topped with whipped cream. The custard must be fully set before slicing, so plan for at least 4 hours of chilling. This pie suits summer dinners, potlucks, or any day you want a cool, creamy dessert.

Ingredients

  • 1 9-inch (23 cm) baked pie crust, cooled
  • 2 cups (480 ml) whole milk
  • 1 cup (240 ml) canned coconut milk (full-fat, unsweetened)
  • 3/4 cup (150 g) granulated sugar
  • 1/4 cup (30 g) cornstarch
  • 1/4 tsp salt
  • 4 large egg yolks
  • 2 tbsp (30 g) unsalted butter, cut into pieces
  • 1 tsp vanilla extract
  • 1 1/2 cups (about 150 g) fresh shredded coconut, packed
  • 1 1/2 cups (360 ml) heavy cream
  • 2 tbsp (15 g) powdered sugar
  • 1/2 tsp vanilla extract (for whipped cream)
  • Optional garnish: toasted coconut flakes

Instructions

  1. In a medium bowl, whisk together sugar, cornstarch, and salt. Add egg yolks and whisk until smooth and pale, about 1 minute.
  2. In a heavy saucepan, combine whole milk and coconut milk. Heat over medium, stirring occasionally, until steaming but not boiling (about 180°F/82°C).
  3. Slowly pour about 1 cup of the hot milk into the yolk mixture, whisking constantly. Then pour the yolk mixture back into the saucepan.
  4. Cook over medium heat, stirring constantly with a whisk, until the mixture thickens and comes to a gentle boil. Boil for 1 minute, stirring, until it is thick and pudding-like. The temperature should reach 160°F (71°C) (USDA FSIS safe minimum for egg dishes).
  5. Remove from heat. Stir in butter and vanilla until melted and smooth. Fold in the fresh shredded coconut.
  6. Pour the filling into the cooled pie crust. Smooth the top. Press a piece of plastic wrap directly onto the surface to prevent a skin. Refrigerate for at least 4 hours, until fully chilled and set.
  7. Just before serving, in a chilled bowl, beat heavy cream, powdered sugar, and 1/2 tsp vanilla until stiff peaks form. Spread or pipe over the pie. Garnish with toasted coconut if desired.

Why the Filling Can Turn Out Too Runny, Too Dense, or Too Dry

Too runny: The custard was not boiled long enough. Cornstarch needs a full 1-minute boil to activate. If your filling is runny after chilling, it may have been undercooked. Fix: return the filling to the saucepan, bring to a boil for 1 minute, then re-chill.

Too dense: Overcooking the custard or using too much coconut can make it heavy. The filling should be silky, not rubbery. Fix: measure the coconut loosely, not packed, and remove from heat as soon as it thickens.

Too dry: If you use dried shredded coconut instead of fresh, it will absorb moisture from the custard. Fix: use fresh coconut or rehydrate dried coconut in a little milk before adding.

Substitutions and Variations

  • Dried coconut: Use 1 cup (80 g) unsweetened dried shredded coconut. Soak it in 1/4 cup (60 ml) of the milk for 10 minutes before adding. The texture will be chewier and less moist than fresh.
  • Dairy-free: Use full-fat oat milk or almond milk in place of whole milk, and use a dairy-free butter substitute. The custard may be slightly less rich. Use coconut whipped cream for topping.
  • No fresh coconut: Use 1 cup (80 g) unsweetened desiccated coconut plus 1/2 tsp coconut extract. The flavor is more intense but less textural.
  • Store-bought crust: A graham cracker crust works; reduce chilling time to 3 hours.

Storage and Make-Ahead

Keep the pie refrigerated, covered, for up to 3 days. The whipped cream topping will weep after 24 hours, so add it just before serving. If you have leftovers, store them in the fridge; the crust may soften slightly. Do not freeze the assembled pie, as the custard and cream will separate when thawed.

To make ahead: prepare the filling and crust, chill for up to 2 days, then add whipped cream before serving. Toasted coconut garnish can be made 2 days ahead and stored in an airtight container at room temperature.

How to Tell When the Custard Is Done

The custard is ready when it coats the back of a spoon and a finger drawn through leaves a clean line. It should be thick enough to hold its shape when dropped from a spoon. The temperature should read 160°F (71°C) on a food thermometer. Do not rely on color; the mixture will not brown.

If you do not have a thermometer, the boil-and-stir method is reliable: after it reaches a full boil, stir for exactly 1 minute. The mixture will look glossy and thick.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).