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.
I love coconut custard pie or even NY style cheesecake. ^_^
So creamy, OMG, this pie is out of this world, love the tropical theme!
I love Coconut Cream Pie, and I think it’s a great idea to bake some older recipes. I’m looking forward to seeing more as you share them!
Oh, the nestalgia! Yes, I love old school desserts too. This looks yummy but I look forward to seeing what else is in the pipeline…
Wow! Blast from the past. This looks great and I’m not a huge lover of coconut. Thanks for posting!
YUMMY! I have always loved coconut cream pie! I really should bake on this weekend! Looks great!
This pie looks delicious! I’m going through a coconut phase, adding sprinklings of coconut to anything from ice cream to yogurt to granola. So delicious. My favorite classic recipes that should never be tampered with are a classic apple pie (my mom’s) and chocolate cream pie (my grandpa’s). Perfectly comforting!
It’s like you read my mind! My husband requested coconut cream pie for Father’s Day last night. Looks great!
Michelle, My mother made a lemon meringue pie that the filling was almost clear. It was almost like Jello. She was the pie baker for Peabody High school in the 40’sand 50’s. She made all her own shells and fillings. I have never been able to duplicate the lemon, and of course nothing was written down. My brother always requested a chocolate cake with penuche frosting for his birthday. You never hear about that icing today.
Oh Wow!! Coconut Cream is one of my Dad’s all time favourites. I think I will have to try your version for Father’s Day! YUM YUM!!
This makes me sad because my grandma died when I was very young and I have no recipes passed on to me. I need to hit my mom up and see if she has any that I don’t know about. This looks so amazing!
Oh my gosh! This looks amazing!!!!!
Yup this is definitely my favorite kind of pie! And I always hunt down unsweetened coconut…it’s totally worth it.
(PS I think you didn’t mean to write to “brown” the graham crackers into pieces?)
Thanks for the catch! I made the edit!
You can usually find unsweetened coconut at Trader Joe’s (there is at least one in Pittsburgh – on Penn where it meets Shady). Whole Foods also carries it.
One of my favorite kinds of pie! I need a slice now!
Ooooh — definitely one of my old school favorites! Along with key lime, of course. :)
I love coconut cream pie!! Unfortunately, my husband doesn’t like coconut. . .
Funny you should be resurrecting some classic recipes… I have been meaning to give my mom’s lemon meringue pie a whirl. It used to be one of my favorites when I was a kid.
OHHHHH! Coconut cream pie is my absolute favorite. This looks so yummy! I am currently trying to lose a few pounds so I will have to save this one for a special occassion. ♥
My husband LOVES coconut cream pie! I will have to make this Sunday for him :)
If I serve this at the next family gathering, it would be gone in a minute.
Hey, that means I won’t get any.
Nope, not going there. :)
This recipe is a keeper. I made the Cooks Illustrated recipe for my dad’s 86th birthday. He said it was the best he ever had. I couldn’t find the unsweetened coconut so used the sweetened and reduced the sugar just a bit. It worked out just fine. How am I ever going to join WW with you posting such incredible recipes to tempt me? lol
Old school involves Crisco in our family. But a graham cracker crust reminds me of frozen pies from the grocery. It was a treat to get one of those pies since my Mom made most everything from scratch.
Mmmm pure deliciousness!
WOW! Amazing!!
Drool at my screen! Coconut Cream Pie has to be one of THE best desserts ever, yes I love Oreos and the like but I would always pick this classic dessert any day over all the new trendy ones coming through! I am literally coconut obsessed,when I see in google reader that a blog post has coconut in the title I can’t help but squeal with delight!! Yours looks so yummy!
Your coconut cream looks wonderful and well old fashion. I love it and I love making all those old classics. Two of my favorite pies are Lemon meringue and Banana cream.
That filling looks so good! Like a bed of clouds and fluffy goodness!
I was just saying the other day how much I love and appreciate the old-time desserts that our grandmother’s used to make. They are always the most delicious…
I have always loved coconut cream pie. Yours look wonder.