Time: 4 hr 30 min total · Serves: 8 · The key step: Chill the filling until fully set before slicing. This is a classic coconut cream pie with a creamy custard filling, toasted coconut topping, and a flaky crust—perfect for a rainy Seattle afternoon or any potluck.
Ingredients
- 1 9-inch (23 cm) baked pie crust (store-bought or homemade)
- 1 cup (200 g) granulated sugar
- 1/4 cup (30 g) cornstarch
- 1/4 tsp salt
- 3 cups (720 ml) whole milk
- 4 large egg yolks (pasteurized if you prefer)
- 2 tbsp (30 g) unsalted butter, cut into pieces
- 1 tsp vanilla extract
- 1 cup (80 g) sweetened shredded coconut, plus more for topping
- 1 1/2 cups (360 ml) heavy cream
- 2 tbsp (15 g) powdered sugar
Instructions
- In a medium saucepan, whisk together sugar, cornstarch, and salt. Gradually whisk in milk until smooth.
- Place over medium heat and cook, stirring constantly, until mixture thickens and bubbles, about 8-10 minutes. Remove from heat.
- In a small bowl, lightly beat the egg yolks. Temper them by slowly whisking in about 1 cup of the hot milk mixture, then pour the yolk mixture back into the saucepan.
- Return to medium heat and cook, stirring constantly, until the custard is thick and just beginning to bubble, about 2-3 minutes more. The internal temperature should reach 160°F (71°C) (USDA FSIS safe minimum for egg dishes).
- Remove from heat and stir in butter, vanilla, and 1 cup shredded coconut until butter is melted and coconut is distributed.
- Pour the filling into the baked pie crust. Press a piece of plastic wrap directly onto the surface to prevent a skin from forming. Refrigerate for at least 4 hours, until fully chilled and set.
- Before serving, make the whipped cream: in a chilled bowl, beat the heavy cream and powdered sugar until soft peaks form.
- Spread or pipe the whipped cream over the chilled pie. Toast the extra shredded coconut in a dry skillet over medium heat for 2-3 minutes, stirring, until golden, then sprinkle over the top.
- Slice and serve cold.
Why the Filling Can Turn Out Runny or Dense
The most common problems with coconut cream pie are a runny filling, a dense filling, or a soggy crust. Here’s what causes each and how to fix it.
Runny Filling
If the filling is too thin, it usually means the custard wasn’t cooked long enough to activate the cornstarch. Cornstarch needs to reach a full boil to thicken properly. Cook the mixture until it visibly bubbles and thickens, about 2-3 minutes after returning to heat. Also, make sure to measure the cornstarch accurately—too little will leave you with a loose filling.
Dense or Heavy Filling
Overcooking the custard can cause the eggs to curdle, making the filling grainy and dense. Once the mixture thickens and bubbles, remove it from heat immediately. Stirring constantly also prevents scorching and keeps the texture smooth.
Soggy Crust
A soggy bottom crust happens when moisture from the filling seeps in before the crust is fully baked. Blind-bake your crust (line with parchment and fill with pie weights) for 15 minutes, then remove weights and bake 5-10 minutes more until golden and dry. Also, pour the hot filling into a completely cooled crust.
Scaling the Recipe for Half or Double Batches
| Batch | Milk | Sugar | Cornstarch | Egg Yolks | Coconut | Pie Crusts |
|---|---|---|---|---|---|---|
| Half (serves 4) | 1 1/2 cups (360 ml) | 1/2 cup (100 g) | 2 tbsp (15 g) | 2 | 1/2 cup (40 g) | 1 (9-inch) |
| Full (serves 8) | 3 cups (720 ml) | 1 cup (200 g) | 1/4 cup (30 g) | 4 | 1 cup (80 g) | 1 (9-inch) |
| Double (serves 16) | 6 cups (1.4 L) | 2 cups (400 g) | 1/2 cup (60 g) | 8 | 2 cups (160 g) | 2 (9-inch) |
For a half batch, use a 9-inch pie pan still—the filling will be slightly shallower. For a double batch, divide the filling between two crusts.
Storage and Make-Ahead Times
Store leftover coconut cream pie in the refrigerator, covered, for up to 3 days. The whipped cream topping may weep slightly; you can re-whip and re-spread if you like. To freeze, wrap the pie (without whipped cream) tightly in plastic wrap and foil for up to 1 month. Thaw overnight in the fridge before serving. Do not leave the pie at room temperature for more than 2 hours total.
Can I Use Coconut Milk Instead of Whole Milk?
Yes, you can substitute 1 cup (240 ml) of coconut milk for 1 cup of whole milk. This will make the filling more coconut-forward and slightly richer. Use full-fat canned coconut milk for best texture. The rest of the milk can remain whole milk, or you can use all coconut milk for a dairy-free version (use a dairy-free butter substitute and skip the cream topping or use coconut whipped cream).
What If I Don’t Have a Pie Crust?
You can make a graham cracker crust instead: combine 1 1/2 cups (150 g) graham cracker crumbs, 1/4 cup (50 g) sugar, and 6 tbsp (85 g) melted butter. Press into a 9-inch pie pan and bake at 375°F (190°C) for 8-10 minutes until set. Cool completely before filling. This crust is less flaky but holds up well.
Why Does My Whipped Cream Deflate?
Whipped cream can deflate if it’s overbeaten (turns into butter) or if the cream isn’t cold enough. Start with cold heavy cream (36% fat or higher) and a chilled bowl. Beat just until soft peaks form—when you lift the whisk, the peak curls over. Overbeating causes a grainy texture. If you’re making ahead, stabilize the whipped cream with 1 tbsp (8 g) of powdered sugar per cup of cream, or use a commercial stabilizer.
Related
- Milk Drunk Chicken Seattle: Buttermilk Marinade Recipe
- Chocolate Mousse Using Coconut Cream
- Pumpkin Bread Using Coconut Pie Filling
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).