Homemade Coconut Cream Pie
This homemade coconut cream pie recipe is a coconut loverโs dream come true. From a graham cracker and toasted coconut crust to a creamy coconut custard pie filling and a whipped cream topping, this pie is classic, timeless, and sensational.

In a world with new food trends every time you turn the page on the calendar (or log onto Instagram), sometimes itโs easy to forget about or brush off the old-fashioned classics that our grandmas were making long before the Internet existed.
Cooked and baked from scratch, passed down from generation to generation, made without a fancy mixer, and always revered as something special; they are the recipes that I enjoy making the most.
When I think of classic desserts, coconut cream pie is one of the first that comes to mind.
Get your forks ready for a slice of this decadent Coconut Cream Pie. The combination of the coconut-packed graham cracker crust, creamy coconut filling, and light, airy rum whipped cream will have you licking your plate clean!
Why You Are Going to Love This Pie
If you are unfamiliar with coconut cream pies, let me introduce you to their wonderfully light decadence!
Variations to coconut cream pie range from the type of crust used to how the filling gets baked. These are the three components of the pie, and why this particular one will be your favorite yet!
- Crust โ Some recipes use a flaky pastry crust, but I opt instead for a graham cracker crust. A slight variation from my best graham cracker crust recipe, this amazing crust also contains toasted shredded coconut to give every component of this divine pie a dose of coconut.
- Coconut Custard Filling โ This is the difference between a coconut cream pie and a coconut custard pie. A cream pie cooks the custard filling on the stove and sets it in the fridge. A coconut custard pie, on the other hand, bakes the custard filling in the oven. This recipe features a silky coconut cream filling that packs in an abundance of coconut flavor thanks to using coconut milk and shredded coconut.
- Whipped Topping โ Would it be a coconut cream pie if it werenโt topped with whipped cream?? This rum-spiked whipped topping takes the pie to another level (you can easily omit the rum if you’d like).
Key Ingredients Breakdown
While this pie utilizes some pantry staples, there are a few special ingredients that combine to create this amazing pie (make sure to check the recipe card for a full list of ingredients and quantities):
- Unsweetened Shredded Coconut – This is different than what you usually find in the baking aisle (sweetened shredded coconut). I have typically found unsweetened coconut in the natural foods section of the grocery store, and you can also buy it online.
- Graham Crackers – You can use 9 full graham crackers (the rectangular sheet) or use 5 ounces of purchased graham cracker crumbs.
- Coconut Milk – NOT cream of coconut. This is found in the Asian section of the grocery store (or purchased online); make sure you stir it well.
- Whole Milk – Using whole milk creates a thick and creamy custard; I do not recommend substituting lower fat alternatives or the filling may not thicken correctly.
- Dark Rum – This adds a little spike to the whipped cream, but it can be completely omitted or substituted with your favorite type of rum or liqeuor.
How to Make Coconut Cream Pie
Letโs break down the steps for making this coconut pie recipe into three different parts โ the crust, the creamy coconut pudding filling, and the whipped cream topping.
Since the custard filling cooks on the stove and sets in the fridge, itโs important to bake the pie crust before filling it with the creamy coconut center.
Step 1: Make the Graham Cracker Crust – Pulse the graham crackers and toasted coconut together in a food processor. In a bowl, combine the mixture with sugar, then toss with melted butter until evenly moistened. Press the mixture evenly into a 9-inch pie plate and bake until golden brown, then cool while making the filling.
Step 2: Make the Coconut Cream Pie Filling – Simmer the coconut milk, whole milk, shredded coconut, โ cup of the sugar, and salt until sugar dissolves. Whisk the egg yolks and remaining sugar, temper the yolks, then whisk them into the milk mixture. Bring to a simmer and cook until thick and large bubbles pop on the surface. Remove from heat and whisk in the butter and vanilla. Pour into the cooled crust, press plastic wrap against the surface, and refrigerate for at least 3 hours.
Step 3: Make the Whipped Cream Topping – Beat the cream and sugar with an electric mixer to soft peaks, then add the rum and vanilla and beat to stiff peaks. Spread over the chilled pie filling. Sprinkle with the reserved toasted coconut and serve.
Coconut Cream Pie Topping Ideas
If you are not into rum-spiked whipped cream, try a few different toppings:
- Plain Whipped Cream: Omit the rum and make a regular homemade whipped cream.
- Whipped Topping: Use store-bought whipped topping (i.e. Cool Whip) to save time.
- Coconut Whipped Topping: Try a whipped topping made of coconut, like So Delicious Coco-whip, for an extra dose of coconut.
- Meringue: Use a meringue topping instead of a whipped cream-based topping.
- Coconut Flakes: Instead of garnishing with reserved toasted coconut, toast up extra-large coconut flakes and use those instead.
Can You Make Coconut Cream Pie Ahead of Time?
Yes! This pie needs to chill in order to set properly, it’s a perfect recipe to make ahead of time.
If you want to make this pie in advance, you can prep until you have put the filling in the crust. Then, press the plastic wrap directly on the filling and refrigerate for up to 3 days.
I would not add the whipped cream topping until less than a day before serving, as it will weep a bit.
How to Store and Freeze
- Storing Leftover Pie: Store the finished pie in the refrigerator for up to 1 day covered with plastic wrap.
- Freezing instructions: To freeze coconut cream pie, allow the filling to set in the refrigerator for 3 hours with plastic wrap directly covering the filling and then cover with an extra layer of plastic wrap and a layer of aluminum foil before moving to the freezer. Freeze for up to 3 months.
- Thawing Instructions: Thaw the pie in the refrigerator overnight, then top it with whipped cream and serve.
FAQ and Recipe Notes
- Recommended Equipment: 9-inch Pie Plate / Food Processor
- How to Toast the Coconut: Spread the 5 tablespoons of coconut needed for the crust in an even layer on a small baking sheet and toast at 325 degrees F until golden brown (about 9 minutes), stirring every couple of minutes. Set aside to cool and reserve 1 tablespoon for garnishing the finished pie.
- Crust Alternative: If you’d like to use a pastry crust, use my favorite pie dough recipe, and follow directions for how to blind bake pie crust (you want it to be fully baked), then proceed with the filling and topping.
- Leftover Egg Whites: This recipe uses just egg yolks; you can save the whites for an omelet or try any of the following recipes – Angel Food Cake, Pavlova, or Meringue Cookies.
- Why does the custard get watery? When making the custard, it can sometimes be tricky to find the right balance between a nice firm filling and a filling that never quite sets. The biggest culprit when it comes to a runny filling is not letting the cornstarch get going when cooking the filling. You want it to become thick and bubbly before tempering the egg yolks. If it doesnโt get to this point, the filling wonโt set and firm up correctly.
More Delicious Coconut Recipes:
- Coconut Layer Cake Recipe
- Coconut Cupcakes with Coconut Buttercream Frosting
- Oatmeal Dark Chocolate Chip Coconut Cookies
- Coconut Bundt Cake
- Macadamia Nut Coconut White Chocolate Blondies
And More Cream and Custard Pies!
If you make this coconut cream pie and love it, remember to stop back and give it a 5-star rating โ it helps others find the recipe! โค๏ธ๏ธ
Homemade Coconut Cream Pie
Ingredients
For the Crust:
- 5 tablespoons (17 g) unsweetened shredded coconut
- 9 graham crackers, broken into rough pieces
- 2 tablespoons (25 g) granulated sugar
- 5 tablespoons (71 g) unsalted butter, melted
For the Filling:
- 14 ounce coconut milk, well stirred , not cream of coconut
- 1 cup (240 ml) whole milk
- ยฝ cup (27 g) unsweetened shredded coconut
- โ cup (132 g) granulated sugar
- ยผ teaspoon salt
- 5 egg yolks
- ยผ cup (28 g) cornstarch
- 1ยฝ teaspoons vanilla extract
- 2 tablespoons (28 g) unsalted butter, cut into pieces
For the Whipped Cream Topping:
- 1ยฝ cups (360 ml) heavy cream, chilled
- 1ยฝ tablespoons (19 g) granulated sugar
- 1ยฝ teaspoons dark rum
- ยฝ teaspoon vanilla extract
Instructions
- Make the Crust: Preheat oven to 325 degrees. Spread the 5 tablespoons of coconut in a small baking pan and toast in the oven until golden brown, about 9 minutes, stirring every couple of minutes. When cool enough to handle, reserve 1 tablespoon for garnishing the finished pie.
- Pulse the graham crackers and the remaining 4 tablespoons toasted coconut in a food processor until the crackers are broken down into coarse crumbs, about ten 1-second pulses. Process the mixture to evenly fine crumbs, about 12 seconds more. Transfer the crumbs to a medium bowl and stir in the sugar to combine; add the melted butter and toss with a fork until the crumbs are evenly moistened. Empty the crumb mixture into a 9-inch glass pie plate. Press the crumbs evenly into the bottom and up the sides, forming a crust. Bake the crust until deep golden brown and fragrant, about 22 minutes. Cool the crust on a wire rack while making the filling.
- Make the Filling: Bring the coconut milk, whole milk, shredded coconut, 1/3 cup of the sugar, and the salt to a simmer in a medium saucepan over medium-high heat, stirring occasionally with a wooden spoon to dissolve the sugar. When the mixture reaches a simmer, whisk the egg yolks in a medium bowl to break them up, then whisk in the remaining 1/3 cup sugar and cornstarch until well combined and no lumps remain. Gradually whisk the simmering liquid into the yolk mixture to temper it, then return the mixture to the saucepan, scraping the bowl with a rubber spatula. Bring the mixture to a simmer over medium heat, whisking constantly, until 3 or 4 bubbles burst on the surface and the mixture is thickened, about 30 seconds. Off the heat, whisk in the vanilla and butter. Pour the filling into the cooled crust, press a sheet of plastic wrap directly on the surface of the filling and refrigerate until the filling is cold and firm, at least 3 hours.
- Make the Whipped Cream Topping: When ready to serve, beat the cream and sugar in the chilled bowl of an electric mixer at medium speed to soft peaks; add the rum and vanilla. Continue to beat to barely stiff peaks. Spread or pipe the whipped cream over the chilled filling. Sprinkle the reserved 1 tablespoon toasted coconut over the whipped cream and serve. Cover any leftovers with plastic wrap and store in the refrigerator.
Notes
- Recommended Equipment:ย 9-inch Pie Plateย /ย Food Processor
- Crust Alternative:ย If youโd like to use a pastry crust, useย my favorite pie dough recipe, and follow directions forย how to blind bake pie crustย (you want it to be fully baked), then proceed with the filling and topping.
- Coconut Milk: Be sure to stir it well before using, and ensure you are using coconut milk, NOT cream of coconut. This is found in the Asian section of the grocery store (orย purchased online).ย
- Unsweetened Shredded Coconut: This is different than what you usually find in the baking aisle (which is sweetened shredded coconut). I have found unsweetened coconut in the natural foods section of the grocery store, and you can also buy it online. You can substitute sweetened shredded coconut, but you may want to reduce the sugar in the filling to compensate.
- Whole Milkย โ Using whole milk creates a thick and creamy custard; I do not recommend substituting lower fat alternatives or the filling may not thicken correctly.
- Rum: You can omit the rum entirely from the whipped cream to make a regular homemade whipped cream. You may also substitute Cool Whip or coconut whipped topping, So Delicious Coco-whip, or make a meringue for the topping.
- Coconut Flakes:ย Instead of garnishing with reserved toasted coconut, toast up extra-largeย coconut flakesย and use those instead.
- Leftover Egg Whites:ย This recipe uses just egg yolks; you can save the whites for an omelet or try any of the following recipes โย Angel Food Cake,ย Pavlova, orย Meringue Cookies.
- Storage: Store the finished pie in the refrigerator for up to 1 day covered with plastic wrap.
- Make-Ahead: The pie can be assembled up to pouring the filling in the pie crust. Press the plastic wrap against the surface and refrigerate for up to 3 days before topping and serving.
- Freezing Instructions: To freeze coconut cream pie, allow the filling to set in the refrigerator for 3 hours with plastic wrap directly covering the filling and then cover with an extra layer of plastic wrap and a layer of aluminum foil before moving to the freezer. Use within 3 months.
- Thawing directions: Thaw in the refrigerator overnight before topping with whipped cream and serving.
- Recipe adapted from Baking Illustrated
Did you make this recipe?
Leave a review below, then snap a picture and tag @thebrowneyedbaker on Instagram so I can see it!
Photography by Dee Frances
This recipe was originally published in June 2012.
Hi,
Thanks for your great recipes. I have tried many and they have been fantastic.ย
I am in need of a count cream meringue pie recipe for my Dad. ย He doesnโt like cream on a pie but loves meringue.ย
Could I use the filling recipe and make meringue for the top?
It would of course have to bake and I was hoping I could bake the pie if it had meringue.
Thank you
Hi Cristy, I think that should work okay!
This recipe was terrible! I spent 2 days making it due to the cooking of the crust for VERY excited guests and we canโt even eat it unless I call it a pudding pie which is not what truth asked for. The creme is so watery that it wonโt even set up after hours in the fridge. When I cut it to serve it, it just all fell apart like gooey pudding. I was VERY meticulous about the measurements to too. What a waste of time and money! Not too mention the embarrassment of it all, ughhhh Iโm so upset!!ย
I used coconut milk and 2% milk and otherwise followed directions exactly as written. My first time making a coconut cream pie and it was perfect!…it disappeared so fast with many compliments. I’m so glad I tried your recipe, Thank you!
Love this creamy filling! Came out lovely and smooth. My one note would be that it takes more than 30 seconds to thicken. Mine took about 3 minutes. The key is to go by the thickness of your custard, not by the clock. When you scrape the bottom of the pan it should not come together immediately.ย
I used 1 teaspoon of vanilla ,and half teaspoon of coconut extract for extra coconut flavor. Also used kerrygold butter for the higher fat content.ย
I made this last night. ย Terrific!!!
I thought I could post a picture?
Hi!! I plan to make this tomorrow, however Iโm going to use a store bought graham cracker crust. Do you think that will work out ok?
I have been baking for over 50 years and have never left a review for a recipe before, but this pie was so delicious I just had to leave a review. I just used a regular pie crust and it was amazing. Very easy recipe to follow and good tips. I have used different coconut cream pie recipes, but this one used coconut milk which made all the difference. I didn’t put the rum in the whipped cream and still delicious. We had it for Easter supper and I should have made two of them. Everyone loved it.
What if I did’nt add the eggs? Maybe subbed a TB of extra cornstarch? Thank you
I absolutely LOVE this coconut cream pie and have been making it for years. ย I always get so many compliments when i make it for company. ย ย But, i wonder if you have a recipe for the crust that doesn’t involve whole graham crackers? ย It’s so easy to just buy the crumbs. ย Thank you so much. ย
I have always put the sugar & cornstarch and salt mix it up good and then I pour in the milk and the eggs youk in turn the heat on and cook it tell good and thick about 7 min.
This pie is truly spectacular. It reminds of a slice of coconut cream pie I had a cute little restaurant outside Charleston, SC. The rum spike whipped cream adds a nice flavor. Will make this again.
Awesome
Going to see how it works with a vanilla wafer crust. I, think it should be ok . How many vanilla wafers should I use with the 5 TBS of butter?
Hi Peter! I would use about 35 vanilla wafers. Enjoy!!
Ooooh, coconut cream pie is one of my dad’s favorites – I will have to make this for him!
Love this recipe! I actually made it with chocolate graham crackers and shaved some chocolate over the top as well. Was a hit!
That sounds amazing!!
This is the next recipe I want to try. My husband is obsessed with coconut. This sounds delish and perfect for a sweet treat this weekend.ย
My family members are coconut cream pie freaks. I was drawn to this recipe as it doesnโt call for any suspicious cornstarch or bouncy gelatin. I like that the ingredients are natural, This is a major winner. Readers will like to know that Trader Joeโs Honey Cinnamon Grahams make a superb crust. They are crunchy with a sugar cinnamon topping. (They are single grahams and come in a clear plastic square box.) This pie is simply outstanding.ย
I made your coconut cream pie for a Thanksgiving dinner. It turned out perfect the first time, and several people said it was the best coconut cream pie they had ever tasted. Thank you for sharing your recipe!
If I use sweetened coconut, would you lessen the amount of sugar in the filling and to what amount?
Hi Nicola, I would probably just bump it down to 1/2 cup. Enjoy!
I come back to this recipe time and time again! The rum in the whipped cream is perfection. Thank you!
I needed a quick (ish) dessert today for last minute guests. This was amazing! Perfectly sweet and coconutty. Light yet rich. Thanks for consistently posting winning recipes. I can always count on something from your site!
Made this for my family yesterday. ย It got rave reviews from my sons and hubby. ย This pie took me back in time to the ones my mom made for my birthday. ย Followed the recipe with exception of using pasty dough pie crust and only 1/2 cup sugar. ย Delicious – thank you!
I made this for my sons and husband today, and let me just say it is absolutely delicious. ย The only change I made was in the crust. ย I used chocolate cookie wafers instead of graham crackers. ย The filling I made exactly as the recipe calls for. ย It is devine. ย The perfect amount of sweetness without being cloying., and just enough coconut. ย The only thing I would say is that it doesn’t hold its shape very well, so isn’t particularly pretty, but dang its good. ย As Mary Berry would say, “just scrummy!” ย (I also omitted the rum in the whipped cream because that just seemed like it would be over the top)ย ย