Dinners

Coconut Cream Pie with Coconut Crust

Updated · By Patriot Kitchen

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

Jump to recipe Save

Time: 4 hr 30 min · Serves: 8 · The key step: Chill the pie for at least 4 hours so the custard sets firmly. This pie has a buttery, crisp coconut crust, a silky coconut custard filling, and a cloud of whipped cream on top. It’s a make-ahead dessert that suits spring dinners, potlucks, or any day you want a coconut-forward treat.

Why a Coconut Crust Works Better Than Graham Cracker

The crust is made from toasted coconut, butter, and a little sugar, pressed into the pan and baked until golden. It stays crisp longer than a graham cracker crust because the coconut’s natural oils firm up when chilled. Use unsweetened shredded coconut for the crust; sweetened coconut makes it too sweet and sticky.

Ingredients

  • For the crust:
  • 2 cups (170 g) unsweetened shredded coconut
  • 3 tbsp (42 g) unsalted butter, melted
  • 2 tbsp (25 g) granulated sugar
  • 1/4 tsp salt
  • For the filling:
  • 1 cup (240 ml) whole milk
  • 1 cup (240 ml) canned coconut milk (full-fat, shaken)
  • 3/4 cup (150 g) granulated sugar
  • 1/4 cup (30 g) cornstarch
  • 1/4 tsp salt
  • 4 large egg yolks (pasteurized if you prefer)
  • 2 tbsp (28 g) unsalted butter, softened
  • 1 tsp vanilla extract
  • 1 cup (80 g) sweetened shredded coconut (for folding in)
  • For the topping:
  • 1 1/2 cups (360 ml) heavy cream, cold
  • 2 tbsp (15 g) powdered sugar
  • 1/2 tsp vanilla extract
  • Toasted coconut flakes (optional, for garnish)

Instructions

  1. Make the crust: Preheat oven to 350°F (175°C). In a bowl, mix the unsweetened shredded coconut, melted butter, sugar, and salt until evenly moistened. Press the mixture firmly into the bottom and up the sides of a 9-inch (23 cm) pie pan. Bake for 10–12 minutes, until golden brown. Cool completely on a rack.
  2. Make the filling: In a medium saucepan, whisk together the milk, coconut milk, sugar, cornstarch, and salt. Cook over medium heat, stirring constantly, until the mixture thickens and bubbles, about 5–7 minutes. Remove from heat.
  3. Temper the egg yolks: In a small bowl, whisk the egg yolks. Slowly ladle about 1 cup of the hot milk mixture into the yolks while whisking, then pour the yolk mixture back into the saucepan. Return to medium heat and cook, stirring constantly, until the custard thickens and reaches 160°F (71°C) (USDA FSIS safe minimum for egg dishes), about 2–3 minutes more. The custard should be thick and coat the back of a spoon.
  4. Finish the filling: Remove from heat and stir in the softened butter and vanilla until smooth. Fold in the sweetened shredded coconut. Pour the filling into the cooled crust. Smooth the top.
  5. Chill: Press plastic wrap directly onto the surface of the filling to prevent a skin. Refrigerate for at least 4 hours, or overnight, until fully set.
  6. Make the topping: Just before serving, whip the cold cream, powdered sugar, and vanilla until soft peaks form. Spread or pipe the whipped cream over the chilled pie. Garnish with toasted coconut if desired.

The Mistakes That Ruin This Pie (and How to Avoid Them)

Undercooked Filling

The filling must reach 160°F (71°C) to thicken properly and to be safe. If you stop too early, it will be runny. Use a food thermometer and cook until the mixture visibly thickens and bubbles.

Soggy Crust

Pour the filling into a fully cooled crust. A warm crust will steam and become soft. Also, press the crust firmly so it holds together; a loose crust will crumble when sliced.

Skin on the Custard

Always press plastic wrap directly onto the hot filling before chilling. This prevents a rubbery skin from forming.

Overwhipped Cream

Whip the cream just to soft peaks—if you go too far, it becomes grainy and separates. Chill the bowl and beaters for best results.

Storage and Make-Ahead Timeline

Store the pie covered in the refrigerator for up to 3 days. The crust will soften slightly over time, but the pie remains safe to eat. Freeze the pie (without the whipped cream topping) for up to 1 month; wrap tightly in plastic and foil. Thaw overnight in the refrigerator before adding the topping. The whipped cream topping is best added just before serving.

Make-ahead timeline: The crust can be baked and cooled 1 day ahead. The filling can be made and poured into the crust up to 2 days ahead. Add the whipped cream no more than 4 hours before serving.

Serving and Pairing Ideas

Serve chilled, straight from the refrigerator. This pie pairs well with strong coffee or black tea, which balances the sweetness. For a tropical twist, serve with fresh pineapple chunks or mango slices on the side. If you like, drizzle with a little caramel sauce just before serving.

Swaps and Variations

For a gluten-free crust, this recipe is already gluten-free as written. To make a dairy-free version, use vegan butter and full-fat coconut milk in place of the whole milk (use 2 cups coconut milk total). The texture will be slightly denser. For a less sweet pie, reduce the sugar in the filling to 1/2 cup (100 g) and use unsweetened coconut in the filling instead of sweetened. If you don’t have shredded coconut for the crust, you can use finely chopped pecans or almonds, but the flavor will change.

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