Dinners

Coconut Cream Pie Recipe with Coconut Milk

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
5 hr 15 min
Prep
30 min
hands-on
Cook
15 min
oven or stovetop
Serves
8
as written

Jump to recipe Save

This coconut cream pie is a make-ahead dessert for a weekend treat or a holiday table, with a creamy coconut-milk custard in a crisp, buttery crust and a cloud of whipped cream on top. Serve it chilled, straight from the fridge, after a roast chicken dinner or a light lunch. It needs at least 4 hours to set, so plan it for the morning of the day you want to serve it.

Ingredients

  • 1 ½ cups (190 g) graham cracker crumbs (about 12 full sheets)
  • 6 tbsp (85 g) unsalted butter, melted
  • ¼ cup (50 g) granulated sugar
  • 2 cups (480 ml) full-fat coconut milk (from two 13.5-oz cans, stirred well)
  • ¾ cup (150 g) granulated sugar
  • ¼ cup (30 g) cornstarch
  • ¼ tsp salt
  • 4 large egg yolks (pasteurized if you prefer)
  • 1 cup (240 ml) whole milk
  • 2 tsp vanilla extract
  • 1 cup (240 ml) heavy cream, cold
  • 2 tbsp (15 g) powdered sugar
  • ½ cup (40 g) sweetened shredded coconut, toasted for garnish (optional)

Instructions

  1. Heat the oven to 350°F (175°C). In a medium bowl, mix the graham cracker crumbs, melted butter, and ¼ cup (50 g) sugar until evenly moistened. Press the mixture firmly into the bottom and up the sides of a 9-inch (23 cm) pie dish. Bake for 10–12 minutes, until fragrant and lightly browned. Cool completely on a rack.
  2. In a medium saucepan, whisk together the coconut milk, ¾ cup (150 g) sugar, cornstarch, and salt. In a separate bowl, whisk the egg yolks with the whole milk until smooth.
  3. Set the saucepan over medium heat. Slowly pour the egg-milk mixture into the coconut milk mixture, whisking constantly. Cook, stirring without stopping, until the mixture thickens and comes to a gentle boil, about 8–10 minutes. Boil for 1 minute, whisking, then remove from heat.
  4. Stir in the vanilla extract. Pour the hot filling through a fine-mesh strainer into a clean bowl to remove any lumps. Pour the strained filling into the cooled crust. Smooth the top with a spatula.
  5. Press a piece of plastic wrap directly onto the surface of the filling (this prevents a skin from forming). Refrigerate for at least 4 hours, or up to overnight, until fully set and cold.
  6. Just before serving, whip the heavy cream and powdered sugar with an electric mixer on medium-high speed until soft peaks form, about 2–3 minutes. Spread or pipe the whipped cream over the chilled pie. Sprinkle with toasted coconut if using.

How to Tell It’s Done

The filling is done when it has thickened to a pudding-like consistency and has been boiling for 1 minute; it will continue to set as it chills. The pie is fully set when the filling no longer jiggles when you gently shake the dish, and a knife inserted near the edge comes out clean. The crust is done when it is golden brown and dry to the touch.

Scaling the Recipe

Batch Servings Graham crumbs Butter Coconut milk Egg yolks
Half 4 ¾ cup (95 g) 3 tbsp (42 g) 1 cup (240 ml) 2
Full 8 1 ½ cups (190 g) 6 tbsp (85 g) 2 cups (480 ml) 4
Double 16 3 cups (380 g) 12 tbsp (170 g) 4 cups (960 ml) 8

For a half batch, use a 6-inch (15 cm) pie dish and reduce baking time for the crust to 8–10 minutes. For a double batch, use a 10-inch (25 cm) deep-dish pie plate or two 9-inch (23 cm) pies; bake the crust for 12–15 minutes.

Equipment That Matters

A 9-inch (23 cm) glass or ceramic pie dish works best; metal heats faster and can over-brown the crust. Use a fine-mesh strainer to guarantee a silky filling—it catches any cooked egg bits. A hand mixer or stand mixer makes the whipped cream light; a whisk works but takes longer. If you don’t have a pie dish, use a 9-inch (23 cm) tart pan with a removable bottom, but note the crust will be thinner and bake for 8–10 minutes.

Storage and Make-Ahead

Refrigerate the pie, covered, for up to 3 days. Add the whipped cream only just before serving, as it will weep and deflate over time. The baked crust can be made 1 day ahead and kept at room temperature in an airtight container. The filling can be made and poured into the crust up to 24 hours ahead. Do not freeze the assembled pie—the custard will separate and become watery when thawed. Leftover pie should be refrigerated within 2 hours of serving; discard any that sits out longer.

Variations

Toasted Coconut Crust

Replace ¼ cup (30 g) of the graham crumbs with ¼ cup (20 g) finely chopped toasted coconut. Toast the coconut in a dry skillet over medium heat for 2–3 minutes, stirring, until golden. This adds a deeper coconut flavor and a slightly crunchier texture.

Chocolate-Coconut Cream Pie

Add 3 oz (85 g) chopped dark chocolate (60–70% cacao) to the hot filling after straining, and stir until melted before pouring into the crust. This makes a richer, less sweet pie; reduce the sugar in the filling to ½ cup (100 g) to balance the chocolate.

Dairy-Free Whipped Topping

Use 1 cup (240 ml) chilled full-fat coconut cream (the solid part from a can of coconut milk) instead of heavy cream. Whip it with the powdered sugar for 3–4 minutes until soft peaks form. It will be slightly less stable than dairy cream, so serve the pie within a few hours.

Why the Filling Sets

The cornstarch and egg yolks work together to thicken the coconut milk. Cornstarch needs to reach a boil to activate fully, and the egg yolks add richness and help stabilize the gel. Boiling for 1 minute ensures the cornstarch is fully cooked and the filling will not be chalky. If you under-boil, the pie may be runny.

Raw Egg Warning

This recipe uses egg yolks that are cooked to a safe temperature during the boiling step, so the filling is safe to eat. However, if you choose to use pasteurized eggs, they are still safe after cooking. Do not consume raw or lightly cooked egg yolks if you are pregnant, a young child, an older adult, or have a weakened immune system. Always refrigerate the pie promptly.

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