Dinners

Coconut Cream Pie Image and Recipe

Updated · By Patriot Kitchen

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

Jump to recipe Save

Coconut cream pie is a baked custard pie with a coconut-infused filling, a flaky or crumb crust, and a whipped cream topping. The filling relies on coconut milk and shredded coconut for its flavor and texture, and it is thickened with cornstarch and egg yolks so it slices cleanly. This version uses a traditional pastry crust and is finished with toasted coconut.

Ingredients

  • 1 9-inch (23 cm) unbaked pie crust (homemade or store-bought)
  • 2 cups (480 ml) whole milk
  • 1 cup (240 ml) canned coconut milk (full-fat)
  • 1 cup (200 g) granulated sugar
  • 1/3 cup (45 g) cornstarch
  • 1/4 tsp salt
  • 4 large egg yolks
  • 1 cup (85 g) sweetened shredded coconut, divided
  • 2 tbsp (30 g) unsalted butter
  • 1 tsp vanilla extract
  • 1 1/2 cups (360 ml) heavy cream
  • 2 tbsp (15 g) powdered sugar

Instructions

  1. Preheat oven to 375°F (190°C). If using a homemade crust, roll it out and fit into a 9-inch (23 cm) pie pan. Prick the bottom with a fork. Line with parchment and fill with pie weights or dried beans. Bake for 15 minutes, then remove weights and parchment and bake 10–12 minutes more, until golden. Cool completely.
  2. In a medium saucepan, whisk together milk, coconut milk, sugar, cornstarch, and salt. Cook over medium heat, stirring constantly, until the mixture thickens and comes to a gentle boil, about 8–10 minutes. Boil for 1 minute, then remove from heat.
  3. In a small bowl, lightly beat the egg yolks. Gradually whisk about 1 cup of the hot milk mixture into the yolks to temper them. Pour the yolk mixture back into the saucepan, whisking constantly.
  4. Return the pan to medium heat and cook, stirring constantly, until the custard thickens and just begins to bubble, about 2–3 minutes. It should coat the back of a spoon. Remove from heat.
  5. Stir in 3/4 cup (65 g) of the shredded coconut, butter, and vanilla until the butter is melted and the coconut is distributed. Pour the filling into the cooled pie crust. Press a piece of plastic wrap directly onto the surface of the filling to prevent a skin from forming. Refrigerate for at least 4 hours, until completely set.
  6. Just before serving, toast the remaining 1/4 cup (20 g) coconut in a dry skillet over medium heat, stirring often, until golden, about 3–5 minutes. Cool.
  7. In a chilled bowl, whip the heavy cream and powdered sugar to stiff peaks. Spread or pipe the whipped cream over the chilled pie. Sprinkle with the toasted coconut.

Blind-Baking the Crust

Blind baking ensures the crust is fully cooked and crisp before the custard is added. If you skip this step, the bottom will be soggy. For a graham cracker crust, use 1 1/2 cups (150 g) graham cracker crumbs mixed with 6 tbsp (85 g) melted butter; press into the pan and bake at 350°F (175°C) for 8–10 minutes, then cool before filling.

Setting and Slicing

The filling must chill for at least 4 hours, ideally overnight, to set firmly. If you slice too early, the custard will run. For clean slices, dip a sharp knife in hot water, wipe it dry, and slice; wipe the blade between cuts. The pie will hold its shape for up to 2 days in the fridge, though the whipped cream may soften.

Variations

Toasted Coconut Crust: Replace 1/2 cup (40 g) of the graham cracker crumbs with toasted shredded coconut for a deeper coconut flavor. Toast the coconut first and let it cool before mixing with the crumbs.

Chocolate Coconut Cream Pie: Add 4 oz (115 g) chopped semisweet chocolate to the hot custard after removing from heat, stirring until melted. Omit the butter. The chocolate adds richness and pairs well with the coconut.

Serving and Pairing

Serve chilled, straight from the refrigerator. This pie is rich enough to stand alone, but it also pairs well with a cup of black coffee or a light herbal tea. For a tropical twist, serve with fresh pineapple slices or mango. It is a good choice for a summer potluck or a holiday dessert table because it can be made a day ahead.

Storing Leftovers

Cover the pie loosely with plastic wrap or foil and refrigerate within 2 hours of serving. Leftovers keep for 3–4 days in the refrigerator. The crust may soften slightly over time. Freezing is not recommended because the custard and whipped cream will separate and become watery upon thawing.

Food Safety Note

This pie contains eggs and dairy, so it must be refrigerated promptly. Do not leave it at room temperature for more than 2 hours (1 hour if above 90°F/32°C). If you have leftover filling, store it in an airtight container in the fridge for up to 3 days. Always use pasteurized eggs if you are concerned about raw egg safety, though the eggs here are cooked to 160°F (71°C) during the custard-making process, which is the USDA FSIS safe minimum for egg dishes.

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