Coconut Cream Pie
Why this recipe works
- Silky custard filling: Coconut milk, whole milk and egg yolks create a smooth filling that sets firmly enough to slice once chilled.
- Crisp pastry contrast: Baking the pastry case fully before filling keeps the base dry and crisp against the chilled custard.
- Toasted coconut depth: Toasting the desiccated coconut brings out a warmer, nuttier flavour than using it raw.
- Built for chilling: The pie needs time to set, making it a practical dessert to prepare ahead of serving.
Get the most out of this recipe
Timing notes
- Cool the pastry completely: Let the baked case cool fully before adding the custard so steam does not soften the base.
- Chill until sliceable: The custard should wobble slightly but hold its shape when cut; rushing this stage will give softer slices.
- Top close to serving: Add the whipped cream and toasted coconut shortly before serving for the freshest texture.
Texture tips
- Temper the yolks gradually: Whisk hot milk into the yolks before returning them to the pan to help the custard thicken smoothly.
- Keep the case dry: Bake the pastry until lightly golden and dry to the touch before filling.
- Whisk constantly: Steady whisking over moderate heat helps prevent lumps and keeps the custard even.
Make-ahead tips
- Make the pie in advance: Fill the pastry case and chill it ahead of time, then finish with whipped cream and coconut before serving.
- Hold toppings separately: Keeping the cream and toasted coconut separate until the end helps preserve the crisp topping and lighter finish.
- Best texture on the day it is topped: Once topped, the pie will still keep, but the pastry and coconut will gradually soften in the fridge.
Ingredient notes
- Use full-flavoured dairy: Whole milk and double cream give the custard and topping the richness expected in a cream pie.
- Choose coconut milk carefully: A well-shaken coconut milk helps the filling taste rounded and prevents overly thin or uneven custard.
- Watch the coconut as it toasts: Desiccated coconut colours quickly, so stir often and remove it from the pan as soon as it turns golden.
Equipment you'll need
Ingredients
Pastry
Coconut custard filling and topping
Instructions
- Heat the oven to 190°C (375°F). Put the flour, sugar and salt in a bowl, then rub in the butter until it looks like fine crumbs. Add the milk and bring together into a dough, then press into a disc.
- Roll the dough out and line a pie dish, pressing it neatly into the corners. Prick the base all over with a fork and chill until firm. This helps prevent shrinkage and keeps the case crisp.
- Bake the pastry case for 18 to 22 minutes until lightly golden and dry to the touch. If the base puffs, press it down gently with the back of a spoon partway through baking. Cool completely on a rack.
- Toast the desiccated coconut in a dry frying pan over a medium heat for 3 to 5 minutes, stirring often, until golden and fragrant. Tip onto a plate to cool, then set aside most for topping. Keep a small handful back to stir into the custard if you like a little texture.
- In a saucepan, whisk together the coconut milk, whole milk, most of the sugar, the cornflour and a pinch of salt until smooth. Warm over a medium heat, whisking, until steaming hot but not boiling. In a bowl, whisk the egg yolks with the remaining sugar.
- Pour a ladle of the hot milk mixture onto the yolks, whisking constantly, then whisk the yolk mixture back into the saucepan. Cook over a medium-low heat for 3 to 5 minutes, whisking, until thick and bubbling gently. Take off the heat and whisk in the butter and vanilla extract.
- Whisk in a small handful of the toasted desiccated coconut, if using, then pour the custard into the cooled pastry case. Smooth the top and chill until fully set. It should wobble slightly but hold its shape when sliced.
- Whip the double cream until it holds soft peaks. Spoon or pipe it over the chilled pie. Finish with the remaining toasted desiccated coconut, then slice and serve.
Recipe notes
Tips
- For the neatest slices, chill the pie for at least 2 hours, then dip a sharp knife in hot water and wipe dry between cuts.
- When thickening the custard, keep the heat moderate and whisk constantly so it does not catch on the base of the pan.
- Food safety: this recipe uses egg yolks; if serving to pregnant people, young children, older adults, or anyone immunocompromised, use pasteurised egg yolks.
Substitutions
- Replace Vanilla extract with vanilla bean paste for a more pronounced vanilla flavour.
- Replace Desiccated coconut with toasted sliced almonds for a different nutty topping.
Storage
- Refrigerate up to 3 days
- Keep the pie covered in the fridge for up to 3 days. For the best texture, add the whipped cream and toasted coconut close to serving; if already topped, the pastry will soften slightly over time.
Ratings & reviews
Liked this recipe? Share your feedback to support our cooking community.
Tried this recipe?
Choose 1–5 stars. A comment is optional.
Stay inspired
Discover new recipes, seasonal favourites and cooking inspiration every day. Follow JustRecipes on Pinterest and Spillt.
Recipe overview
- Servings: 8 servings
- Total time: 4h (55min active)
- Difficulty: Medium
- Cuisine: American
-
Allergens:
Eggs Gluten Milk Wheat
Plan your meals and get a complete grocery list automatically.
Add to meal plannerEquipment you'll need
Got ingredients left?
Find recipes using ingredients from this recipe or what you already have at home.
Find recipes with these ingredients →Make this recipe easier next time
AdvertisementThese tools help you get better results with less effort.
KitchenAid Stainless Steel Mixing Bowls
- Non-slip base
- Stainless steel
- Not microwave safe
T-fal Specialty Nonstick Handy Pot with Glass Lid 3 Quart
- Easy food release
- Dishwasher safe
- Not induction compatible
OXO Good Grips Stainless Mixing Bowl Set
- Non-slip base
- Comfort grip
- Higher price
WMF Mini Saucepan 16 cm with Lid
- High-quality stainless steel
- Even heat distribution
- Higher price point
Enjoy cooking with JustRecipes?
Add JustRecipes as one of your preferred Google sources to discover our recipes more easily across Google Search.
Add JustRecipes to GoogleEvery recipe on JustRecipes follows the same structured editorial process. Learn how recipes are created, validated, translated, illustrated, and continuously improved across the platform. How we create recipes.

























