This coconut cream pie has a stovetop custard filling made with full-fat coconut milk and egg yolks, set in a pre-baked crust and chilled until sliceable. Active cooking is about 20 minutes; the fridge does the rest. It’s the kind of dessert you can start after dinner and serve the next day without any stress.
Why this recipe works
Two things make this custard reliable. First, tempering: you whisk a small amount of the hot coconut milk mixture into the beaten egg yolks before adding them back to the pan. Skip that step and the eggs scramble. Second, cornstarch is doing the heavy lifting as the thickener — it sets firmly enough to slice cleanly but stays creamy, not rubbery. Keep the heat at medium and whisk constantly during the final 5–7 minutes so the starch activates evenly and you don’t get lumps or a scorched bottom.
Shopping notes
- Full-fat coconut milk: This is the canned kind in the baking aisle, not the refrigerated carton sold as a dairy alternative. The fat content is what gives the custard its body. Shake the can before opening — if it sounds watery, it’s fine; you’ll whisk it smooth.
- Shredded sweetened coconut: Usually sold in a bag near the chocolate chips. Unsweetened works too, but you may want to add an extra tablespoon of sugar to the filling.
- Pre-baked pie crust: A store-bought shell saves real time here and works well. If you’re using a refrigerated roll-out crust, blind-bake it first: line with parchment, fill with dried beans or pie weights, and bake at 375°F for about 15 minutes until the edges are set.
Make-ahead notes
This pie needs at least 2 hours in the fridge to set, but overnight is better — the filling firms up more completely and slices cleaner. Cover the surface loosely with plastic wrap pressed directly onto the filling to prevent a skin from forming, then add a second layer over the dish. It keeps well for up to 3 days refrigerated. Skip the garnish — not worth the extra dish — and just add whipped cream right before serving so it doesn’t weep into the filling. Freezing is not recommended; the custard turns grainy when thawed.
If something goes sideways
- Custard won’t thicken: It needs to reach a full, bubbling simmer to activate the cornstarch. If it’s still loose after 7 minutes, raise the heat slightly and keep whisking. Don’t pull it off early.
- Filling has lumps: Strain it through a fine-mesh sieve before pouring into the crust. A few small lumps won’t affect the flavor, but straining takes 30 seconds and fixes it completely.
- Scrambled egg bits visible: This happens when the temper step goes too fast. Next time, add the hot liquid to the yolks a tablespoon at a time. If it’s already happened, strain the filling — most bits will catch in the sieve.
- Pie is still jiggly after 2 hours: Give it more time. A wobble in the center after 2 hours usually means it needs another hour or two. The filling continues to set as it cools further.
- Crust is soggy on the bottom: This is almost always a pre-baking issue. Make sure the crust is fully baked and cooled before adding the filling — a warm crust will steam and soften under the hot custard.

Coconut Cream Pie
Equipment
- Medium saucepan
- Mixing bowl
- Whisk
- Spatula
- Pie dish
Ingredients
For the Filling:
- ¾ cup granulated sugar
- 3 tablespoons cornstarch
- ¼ teaspoon salt
- 2 ¼ cups coconut milk full-fat
- 4 large egg yolks beaten
- 1 teaspoon vanilla extract
- 1 ¼ cups shredded coconut sweetened
For the Crust:
- 1 whole pre-baked pie crust
Instructions
- In a medium saucepan, combine granulated sugar, cornstarch, and salt. Gradually whisk in coconut milk over medium heat until smooth and thickened, about 5 minutes.
- Slowly whisk a small amount of the hot coconut milk mixture into the beaten egg yolks to temper. Return the egg mixture to the saucepan, whisking constantly until the mixture thickens, for another 5-7 minutes. Remove from heat, and stir in vanilla extract.
- Fold in shredded coconut, then transfer the filling into the pre-baked pie shell. Smooth the top with a spatula.
- Refrigerate the pie for at least 2 hours to set before serving.
Notes
Lisa’s Tips:Â
- For extra coconut flavor, toast the shredded coconut before folding it into the filling.
- Substitute almond extract for a nutty twist.
- For a vegan version, use agar-agar in place of cornstarch and replace egg yolks with cornstarch slurry.
Nutrition
Your questions, answered
Can I use light coconut milk instead of full-fat?
You can, but the filling will be noticeably thinner and may not set as firmly. If that’s what you have, add an extra teaspoon of cornstarch to compensate.
How do I know when the custard is thick enough to pour into the crust?
It should coat the back of a spoon and hold a line when you drag your finger through it. If it pours off the spoon like milk, it needs more time on the heat.
Do I have to use egg yolks, or can I leave them out?
The egg yolks are what give the custard its richness and help it set with a smooth texture. If you need to skip them, use a cornstarch slurry (an extra tablespoon of cornstarch mixed with 2 tablespoons of cold water) as a substitute, though the result will be slightly less creamy.
My pie crust is already baked and browning fast — should I cover it while it chills?
Once the pie is in the fridge, browning stops — that’s only a concern during oven baking. Just cover the pie loosely so the crust doesn’t absorb fridge odors overnight.
Try these next
- Silky Chocolate Cream Pie
- Quick Lemon Meringue Pie
- Quick Paula Deen Banana Pudding
- Quick French Cream Puffs
