There’s comfort in a pie that’s familiar but not boring — creamy, coconut-scented filling tucked into a crisp shell, topped with clouds of whipped cream and a sprinkle of toasted coconut. I make this Coconut Cream Pie when I want something homey to bring to a potluck or a simple showstopper for Sunday dessert. It feels special without being fussy.
I like pies that are straightforward in technique. This recipe uses a prebaked crust and a cooked custard-style filling enriched with coconut milk and shredded coconut. The steps are few, clear, and forgiving when you follow the timing and the cooling instructions.
Below you’ll find everything: exact ingredients (as used in the recipe), step-by-step instructions straight from the source, troubleshooting tips, sensible substitutions, storage guidance, and answers to common questions. If you’ve been nervous about pie custards, this one is a great place to build confidence.
The Essentials

Servings: This pie serves about 8, depending on slice size. Prep time will vary with chilling, so plan on a total time of roughly 6 hours including chilling (active time around 45–60 minutes).
Taste and texture: Expect a silky, coconut-forward filling with subtle richness from the heavy cream and butter, textural pops from shredded coconut, and a light, airy whipped topping finished with toasted coconut for crunch.
Ingredients
- 19-inch pie crust — prebaked shell for structure; use a store-bought or homemade crust that fits your pan.
- 1 cup (240 ml) heavy cream — used in the filling to build richness and body; double cream works in the UK.
- ½ cup (60 g) all-purpose flour — thickener to stabilize the custard so it sets into a sliceable filling.
- 1 14-ounce can (400 ml) coconut milk — primary coconut flavor and liquid for the filling; full-fat gives the best texture.
- 4 large egg yolks — provide structure and silkiness when tempered into the hot mixture.
- ¾ cup (150 g) granulated sugar — sweetens the custard; balances the coconut flavor.
- ½ teaspoon salt — enhances overall flavor and balances sweetness.
- 1 cup (85 g) sweetened shredded coconut — folded into the filling for texture and concentrated coconut flavor.
- 2 tablespoons (28 g) unsalted butter — adds gloss and richness; softened for easy incorporation.
- 1 teaspoon pure vanilla extract — brightens and rounds the coconut notes in the filling.
- 1 ½ cups (360 ml) heavy cream — for the whipped topping; double cream is the UK equivalent.
- ¼ cup (30 g) powdered sugar — sweetens the whipped cream without graininess.
- ½ teaspoon (2.5 ml) pure vanilla extract — for the whipped cream; adds a gentle vanilla background.
- 3 tablespoons toasted sweetened shredded coconut — garnish for crunch and visual contrast; toast until golden-brown.
From Start to Finish: Coconut Cream Pie
- Preheat the oven to 400°F (200°C).
- Roll out the pie dough into a circle large enough to fit your pie plate. Transfer the dough to the pie plate, fold the edges under, and crimp as desired.
- Place the prepared crust in the freezer for 20 minutes.
- Line the chilled crust with parchment paper and fill with pie weights. Bake for 15–18 minutes, or until the crust edges are lightly golden.
- Remove the crust from the oven, lift out the parchment and weights, and prick the bottom and sides with a fork.
- Return the crust to the oven and bake for an additional 5 minutes, or until the surface looks dry and lightly golden. Transfer the crust to a wire rack and cool completely.
- While the crust cools, make the filling: in a medium saucepan whisk together 1 cup (240 ml) heavy cream and ½ cup (60 g) all-purpose flour until smooth. Add the 14-ounce can (400 ml) coconut milk and whisk to combine.
- Heat the cream–coconut mixture over medium heat, whisking frequently, until steaming.
- In a separate bowl whisk together 4 large egg yolks, ¾ cup (150 g) granulated sugar, and ½ teaspoon salt until the mixture is lighter in color and slightly thickened.
- Temper the egg mixture by slowly whisking 1 cup (240 ml) of the hot cream–coconut mixture into the egg yolks, whisking constantly.
- Pour the tempered egg mixture back into the saucepan with the remaining hot cream mixture. Cook over medium heat, stirring constantly, until the mixture thickens and begins to bubble. Remove from heat.
- Immediately whisk in 1 cup (85 g) sweetened shredded coconut, 2 tablespoons (28 g) softened unsalted butter, and 1 teaspoon pure vanilla extract until smooth.
- Pour the warm 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.
- Let the pie cool at room temperature for 1 hour, then refrigerate for at least 4 hours, or until fully set.
- Before serving, make the whipped topping: in a large bowl beat 1 ½ cups (360 ml) heavy cream with ¼ cup (30 g) powdered sugar and ½ teaspoon (2.5 ml) pure vanilla extract until medium peaks form.
- Spread the whipped cream evenly over the chilled pie and sprinkle with 3 tablespoons toasted sweetened shredded coconut. Slice and serve.
Why This Recipe Belongs in Your Rotation

This pie hits the sweet spot between special occasion and do-able weeknight dessert. The prep steps are standard: blind-bake a crust, make a stovetop custard, chill, and top with whipped cream. The coconut flavor is obvious but never cloying because the custard balances cream, coconut milk, and a modest amount of sugar.
It’s also scalable: you can halve or double the recipe with relatively predictable results (keep an eye on chilling time). If you like coconut-forward desserts, this one gives you texture and a nostalgic flavor profile that pleases crowds without needing pastry wizardry.
Smart Substitutions

When you need to swap something, keep the texture goals in mind: you want a thick, stable custard and a light whipped topping.
- Pie crust: Use a store-bought deep-dish crust if you need speed. A graham cracker crust will work for a different texture—expect a slightly sweeter base.
- Coconut milk: Full-fat coconut milk gives the best richness. Light coconut milk reduces fat and will thin the filling slightly—compensate by ensuring the custard cooks to the thickening point.
- Shredded coconut: Unsweetened shredded coconut will cut sweetness and highlight coconut flavor; use it if you prefer less sugar.
- Heavy cream for whipped topping: If you can’t use heavy cream, stabilized whipped cream (with a touch of cream cheese or a commercial stabilizer) will keep the topping firm longer, especially in warm settings.
Tools of the Trade
You don’t need specialized gear, but a few items make this pie easier and more consistent:
- 9- or 10-inch pie plate (adjust if your crust is 19-inch as noted).
- Parchment paper and pie weights (or dried beans) for blind baking.
- Medium heavy-bottomed saucepan to cook the custard evenly.
- Whisk and heatproof spatula for stirring and finishing.
- Stand mixer or hand mixer for whipping the cream to medium peaks.
Missteps & Fixes
Custards can be intimidating, but most problems have simple fixes.
- Curdled or scrambled eggs: This happens when eggs are added to liquid that’s too hot. Temper carefully: whisk hot liquid into the yolks gradually, then return the mixture to the pan to finish cooking over medium heat.
- Underset filling: If the filling is still loose after chilling, let it refrigerate longer. If time is short, partially freeze for a short interval and then return to the fridge; just avoid freezing solid, which affects texture.
- Grainy texture: Overcooking can cause a slightly grainy custard. Cook until it thickens and just starts to bubble, then remove from heat and whisk vigorously with butter and vanilla to smooth.
- Whipped cream weeps: Chill the mixing bowl and beaters before whipping, and don’t overbeat to stiff peaks; medium peaks are specified for a stable but light topping.
Smart Substitutions
Yes, this section appears twice in the outline by design — here are a few additional swap ideas I use when feeding different diets or working with pantry limits.
- Sugar: Reduce by a tablespoon or two if you prefer less sweet desserts. Keep at least some sugar to help both flavor and texture.
- Butter: If salted butter is your only option, omit the added pinch of salt in the filling or reduce it slightly.
- Toasted coconut garnish: If you don’t have sweetened toasted coconut, toast unsweetened shredded coconut and dust with a tiny bit of sugar while still warm.
Chef’s Notes
Pressing plastic wrap directly onto the surface of the warm filling is a small step that prevents a dry skin from forming and keeps the top perfectly smooth for the whipped cream. Trust the chilling times: slicing too early leads to messy pieces.
To toast coconut: use a dry skillet over medium heat, stirring constantly until golden and fragrant — it happens quickly, so stay attentive. Toasting amplifies the coconut flavor and gives nice contrast to the creamy filling.
Meal Prep & Storage Notes
Make-ahead is a strength here. The pie can be assembled and refrigerated for up to 48 hours before serving; add the whipped cream topping within the last 12 hours for best appearance. Leftovers keep well in the fridge for 3–4 days covered with plastic wrap or stored in an airtight container.
Do not freeze the pie after it’s been topped with whipped cream — the texture will suffer. If you need to freeze, freeze the un-topped, fully chilled pie (wrap well) for up to one month, then thaw overnight in the refrigerator and add fresh whipped topping before serving.
Your Questions, Answered
Q: Can I use a blind-baked graham crust instead of a pastry shell?
A: Yes. The flavor is slightly different—sweeter and crunchier—but it’s perfectly acceptable. The custard and topping remain the same.
Q: My filling turned out too firm. What happened?
A: Overcooking or too much flour can make the filling very firm. The next time, stop cooking as soon as the mixture thickens and starts to bubble, then remove from heat and whisk in butter and vanilla quickly.
Q: Can I make this dairy-free?
A: The recipe relies on heavy cream for richness. For a dairy-free version, use full-fat coconut cream in place of heavy cream and a vegan butter substitute—expect a slightly different mouthfeel.
Let’s Eat
Slice this Coconut Cream Pie with a sharp knife dipped in hot water and wiped dry between cuts — you’ll get clean edges and a pretty cross-section of glossy filling, whipped topping, and toasted coconut. Serve chilled, and watch how a simple combination of coconut milk, shredded coconut, and a smooth custard can turn into a dessert that feels both nostalgic and refined.
If you make this, tell me how you topped it — extra toasted coconut, chocolate shavings, or a drizzle of caramel all work nicely. Happy baking, and enjoy every slice.

Coconut Cream Pie
Ingredients
Ingredients
- ?19-inchpie crust
- ?1 cup 240 mlheavy creamdouble cream in the UK
- ?1/2 cup 60 gall-purpose flour
- ?114 ounce can 400 mlcoconut milk
- ?4 largeegg yolks
- ?3/4 cup 150 ggranulated sugar
- ?1/2 teaspoonsalt
- ?1 cup 85 gsweetened shredded coconut
- ?2 tablespoons 28 gunsalted buttersoftened
- ?1 teaspoonpure vanilla extract
- ?1 1/2 cups 360 mlheavy creamdouble cream in the UK
- ?1/4 cup 30 gpowdered sugar
- ?1/2 teaspoon 2.5 mlpure vanilla extract
- ?3 tablespoonstoasted sweetened shredded coconut
Instructions
Instructions
- Preheat the oven to 400°F (200°C).
- Roll out the pie dough into a circle large enough to fit your pie plate. Transfer the dough to the pie plate, fold the edges under, and crimp as desired.
- Place the prepared crust in the freezer for 20 minutes.
- Line the chilled crust with parchment paper and fill with pie weights. Bake for 15–18 minutes, or until the crust edges are lightly golden.
- Remove the crust from the oven, lift out the parchment and weights, and prick the bottom and sides with a fork.
- Return the crust to the oven and bake for an additional 5 minutes, or until the surface looks dry and lightly golden. Transfer the crust to a wire rack and cool completely.
- While the crust cools, make the filling: in a medium saucepan whisk together 1 cup (240 ml) heavy cream and ½ cup (60 g) all-purpose flour until smooth. Add the 14-ounce can (400 ml) coconut milk and whisk to combine.
- Heat the cream–coconut mixture over medium heat, whisking frequently, until steaming.
- In a separate bowl whisk together 4 large egg yolks, ¾ cup (150 g) granulated sugar, and ½ teaspoon salt until the mixture is lighter in color and slightly thickened.
- Temper the egg mixture by slowly whisking 1 cup (240 ml) of the hot cream–coconut mixture into the egg yolks, whisking constantly.
- Pour the tempered egg mixture back into the saucepan with the remaining hot cream mixture. Cook over medium heat, stirring constantly, until the mixture thickens and begins to bubble. Remove from heat.
- Immediately whisk in 1 cup (85 g) sweetened shredded coconut, 2 tablespoons (28 g) softened unsalted butter, and 1 teaspoon pure vanilla extract until smooth.
- Pour the warm 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.
- Let the pie cool at room temperature for 1 hour, then refrigerate for at least 4 hours, or until fully set.
- Before serving, make the whipped topping: in a large bowl beat 1 ½ cups (360 ml) heavy cream with ¼ cup (30 g) powdered sugar and ½ teaspoon (2.5 ml) pure vanilla extract until medium peaks form.
- Spread the whipped cream evenly over the chilled pie and sprinkle with 3 tablespoons toasted sweetened shredded coconut. Slice and serve.
Equipment
- 9-inch pie plate
- Rolling Pin
- Mixing bowls
- Medium Saucepan
- Whisk
- Electric mixer or hand whisk
- Measuring cups and spoons
- pie weights
- Parchment Paper
Notes
To toast coconut:Spread on a baking sheet and bake at 350°F (180°C) for 5-8 minutes, stirring once, until golden. But watch it closely so that it doesn’t burn.
More coconut flavor:Mix in¼ teaspoon coconut extract to the filling
Make ahead option:The crust can be prepared and blind baked one day ahead of time. Keep it covered at room temperature until you’re ready to fill it.
UK coconut note:In the UK, sweetened shredded coconut is not widely available. You can substitute with desiccated coconut, which is finer and unsweetened. To replicate the sweetness and texture, soak it in 1–2 tablespoons of coconut milk or water, and add 1–2 teaspoons of sugar to the filling.
