Coconut Cream Pie
- By Jennifer Segal
- Updated October 7, 2026
- 386 Comments
- Leave a Review
This post may contain affiliate links. Read my full disclosure policy.
With coconut in every layer, this coconut cream pie recipe is exceptionally rich and coconutty. It has a buttery coconut-shortbread crust, luscious coconut custard, and rum-spiked whipped cream topped with heaps of toasted coconut.

My husband’s all-time favorite dessert is the coconut cream pie from The Capital Grille in Washington, DC. Hoping to surprise him for his birthday one year, I emailed the restaurant manager and asked if he’d be willing to share the recipe. To my surprise, he did! It was scaled to feed an army, so I had to do a little tinkering, but the result was every bit as good as the original.
What makes the pie so delicious is that the coconut flavor runs all the way through it: shredded coconut is baked into the buttery shortbread crust; the silky custard is made with coconut milk, cream of coconut, and a splash of coconut rum; and even the whipped cream gets a little rum before the whole thing is finished with toasted coconut.
“I made this for my mother-in-law’s birthday party. She almost cried! She said it was the most delicious dessert she had ever had.”
What You’ll Need To Make Coconut Cream Pie

- Shortbread Cookies & Shredded Coconut: Form the buttery press-in crust. The coconut gets finely ground with the cookies, so you get coconut flavor throughout the crust without a stringy texture. You can use homemade shortbread or store-bought (I like Walkers).
- Butter: Melted butter binds the cookie crust, while butter whisked into the finished custard adds richness and a smooth finish.
- Eggs & Egg Yolks: Give the custard richness and help it set. The combination of whole eggs and extra yolks gives the filling structure while keeping it creamy.
- Sugar, Flour, Cornstarch & Salt: Sugar sweetens the custard, while flour and cornstarch thicken it to a sliceable consistency. Salt balances the sweetness.
- Coconut Milk, Cream of Coconut & Whole Milk: Create the rich, coconutty base for the custard. Cream of coconut is sweetened and is not the same as coconut milk or coconut cream, so be sure to buy the right product. You’ll typically find it near the cocktail mixers rather than with the canned coconut milk.
- Rum: Adds warmth and depth to the custard and whipped cream. Light rum works perfectly well, so it’s not worth buying a whole bottle of coconut rum just for this recipe. But if you already have coconut rum, definitely use it—it adds an extra layer of coconut flavor.
- Heavy Cream: Whipped with sugar and rum to make the soft, pillowy topping.
- Unsweetened Coconut Chips or Flakes: Toasted until golden, they add a crisp texture and deeper coconut flavor to the finished pie. If you can’t find them, sweetened flaked coconut works too; see the recipe note for details.
- Jump to the printable recipe for precise measurements
How To Make Coconut Cream Pie
Make the coconut-shortbread crust: Process the shortbread cookies, coconut, and melted butter until the coconut is finely ground and the mixture looks like moist, sandy crumbs. Press it firmly into the pie pan and bake until the crust is golden and smells buttery and toasted. Don’t worry if it cracks or slumps a little in the oven—you can gently press it back into shape while it’s still hot.




Make the coconut custard: Whisk the eggs, yolks, sugar, flour, cornstarch, and salt until smooth. Bring the milk, coconut milk, cream of coconut, and rum to a boil, then slowly whisk some of the hot liquid into the egg mixture. This is called tempering—it gradually warms the eggs so they don’t scramble when they meet the hot liquid.
Once the eggs are warmed, whisk in the remaining liquid and return everything to the saucepan. As the custard cooks, it will go from fairly thin to noticeably thick, with slow, heavy bubbles breaking the surface. Let it boil briefly so the starches fully thicken the filling. Off the heat, whisk in the butter; the custard should look thick, smooth, and glossy.




Fill and chill the pie: Pour the custard into the cooled crust and smooth the top, then press plastic wrap directly against the custard so a skin doesn’t form. Chill until the filling is completely cold and firm. Don’t rush this part—the long chill is what allows the custard to set up for clean slices.

Top with whipped cream and coconut: Toast the coconut until golden and fragrant, stirring often so it browns evenly, then set it aside to cool. Whip the cream until it starts to hold some shape, then add the sugar and rum and continue whipping just until soft peaks form. You’re looking for a topping that’s fluffy and billowy rather than stiff. Spoon it generously over the chilled pie and scatter the cooled toasted coconut over top.


Serve: Serve the pie cold, using a sharp knife and wiping it clean between slices for neat wedges. The pie needs several hours to chill and set before serving, but much of the work can be done in advance. See the recipe card below for full make-ahead instructions.

If you love coconut, don’t miss my coconut cake and coconut cupcakes—both are family recipes I’ve been making for decades. And if creamy, chilled pies are your thing, my key lime pie has been a reader favorite for years.
You May Also Like
Coconut Cream Pie
Ingredients
For the Crust
- 7½ ounces shortbread cookies, such as Walker’s Pure Butter Shortbread, finely ground (if you don’t have a baking scale, it’s 11 Walker’s rectangular cookies, from 2 boxes)
- 1¼ cups loosely packed sweetened flaked coconut
- 4 tablespoons unsalted butter, melted
For the Custard
- 2 large eggs
- 2 large egg yolks
- ¾ cup granulated sugar
- 2 tablespoons (packed) all-purpose flour
- 2 tablespoons (packed) cornstarch
- Pinch salt
- 1½ tablespoons Malibu Rum (coconut-flavored) or light rum
- 5 tablespoons cream of coconut, stirred well before using
- 1 cup unsweetened coconut milk, stirred well before using
- 1 cup whole milk
- 3 tablespoons unsalted butter
For Whipped Cream and Topping
- 1 cup heavy whipping cream
- 3 tablespoons sugar
- 1 tablespoon Malibu rum or light rum
- ¾ cup unsweetened coconut chips or flakes, toasted in a skillet until golden and cooled (see note below)
Instructions
For the Crust
- Adjust the oven rack to the middle position and preheat the oven to 350°F (175°C).
- Pulse the cookie crumbs, coconut, and melted butter in a food processor until coconut is finely ground. Press the crumbs firmly and evenly into the bottom and up the sides of a 9-in (23-cm) deep-dish pie pan (the crust should be about ¼-in/6-mm thick). Bake until golden, about 15 minutes, then set aside to cool. If the crust shrinks or cracks a bit, simply press it back together and up the sides while it's still hot.
For the Filling
- In a medium bowl, whisk together the eggs, egg yolks, sugar, flour, cornstarch and salt. Set aside.
- In a medium saucepan, combine the rum, cream of coconut, coconut milk and whole milk. Bring to a boil; then turn off the heat. Whisking constantly, slowly ladle about a cup of the hot milk mixture into the egg mixture; whisk well to combine. Whisking constantly, gradually add the remaining milk mixture to the egg mixture in 3 or 4 additions; whisk well to combine. Return the mixture to the sauce pan. Cook over medium-high heat, whisking constantly, until the mixture reaches a boil and thickens, about 2 minutes. The filling must boil for at least 30 seconds in order to fully thicken. Off the heat, whisk in the butter until fully incorporated.
- Pour the hot filling into the cooled pie shell and smooth the surface with a spatula; press plastic wrap directly against the surface of the filling and refrigerate until firm, at least 6 hours and up to 12 hours. (Any longer than 12 hours and the crust will start to soften.)
For the Topping & To Serve
- Up to 3 hours before serving, whip the cream in the bowl of an electric mixer fitted with the whisk attachment. When it starts to thicken, add the sugar and rum. Continue to whip until it forms soft peaks. Top the pie with the whipped cream and sprinkle with cooled toasted coconut chips.
- Slice the pie into wedges, wiping your knife clean between slices, and serve cold.
Notes
- Unsweetened coconut chips or flakes are available at many well-stocked supermarkets and natural-food stores. If you can’t find them, substitute ½ cup sweetened flaked coconut. Toast in a 350°F oven, stirring often, until lightly golden.
- For an even prettier presentation, this pie can be made in a 10-inch tart pan with a removable bottom. Note that the crust won’t be quite as thick.
- Make-Ahead Instructions: The crust can be prepared a day ahead and stored at room temperature. The pie filling can be made and refrigerated in the crust for up to 12 hours (any longer and the crust may soften). Whip the cream and assemble up to 3 hours before serving.
- Storage: Store leftover pie, loosely covered, in the refrigerator for up to 3 days. Keep in mind that the crust will soften the longer it sits.
Nutrition Information
This website is written and produced for informational purposes only. I am not a certified nutritionist and the nutritional data on this site has not been evaluated or approved by a nutritionist or the Food and Drug Administration. Nutritional information is offered as a courtesy and should not be construed as a guarantee. The data is calculated through an online nutritional calculator, Edamam.com. Although I do my best to provide accurate nutritional information, these figures should be considered estimates only. Varying factors such as product types or brands purchased, natural fluctuations in fresh produce, and the way ingredients are processed change the effective nutritional information in any given recipe. Furthermore, different online calculators provide different results depending on their own nutrition fact sources and algorithms. To obtain the most accurate nutritional information in a given recipe, you should calculate the nutritional information with the actual ingredients used in your recipe, using your preferred nutrition calculator.
Add a Comment Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.





I don’t even know where to begin with this recipe. So, I’ll start with WOW! My Dad is a huge fan of coconut desserts, especially coconut cream pie and this is the same concept. Just a few changes I had to make; I have an 11in tart pan, which worked fine, I also didn’t have Malibu rum, I used banana liquor and I didn’t have whole milk, I used 1%. I was also too lazy to make the whipped cream, so I served it with a little dollop of Redi whip and garnished it with toasted coconut. So all in all, it was almost identical to the recipe…Let me just say, it didn’t even need the whipped cream, my Dad said it was the best coconut dessert he’s had! So enough said! The custard is this magical, creamy, fluffy, coconutty dream!
Does the 3 tablesoons of butter go in the custard?
Hi Cindy,
Yes, it is whisked in at the end, off the heat.
This pie was absolutely delicious! So elegant and out-of-this-world wonderful. Thanks for the recipe — keep up the good work!
Was the crust their recipe also? I saw that it was adapted from Gourmet, so did they just give you the recipe for the custard?
I went to Capital Grille for the first time tonight and got the Coconut Cream Pie, and it’s definitely now one of my favorite restaurant desserts. So, so good. And the crust is amazing! Sort of like a cookie, but sort of like a chewy dessert bar… so it’s important that I ask whether this recipe reflects the crust also! haha. My fiance works about 6 minutes up the road from one of their locations, and I’m already planning to ask him to pick up some carry-out-pie in the future. I can’t decide whether I hope they sell whole pies or not…
Regardless, I’ll still probably be trying your recipe soon! Too tempting not to!
(I just remembered the whole dessert is basically a big tart in itself rather than a pie slice. Oh well! haha.)
Hi Kat, They did not provide the recipe for the crust, so I adapted one from Gourmet magazine. For what it’s worth, I think this crust is even better than the original 🙂
Perfect! I had comments like “this is the best pie I ever had” when I served it at a dinner party recently. Only one problem: my cream broke when I added the rum. Twice. My husband ran out at the last minute and brought back some lite refrigerated topping, and that was surprisingly good. Although I’m sure the fresh cream would have been better, the purchased topping did make the tart a little lower in calories and kept for a few days in the fridge. Awesome desssert!
This was spot on! After eating this at Capital Grill this spring I was searching for this recipe. Thank you! It is awesome and look forward to making it for years to come!
I made this for a church potluck and it was gone in 10 minutes. I got so many compliments for it! The filling was so good and so easy to make, I think I will make it just as a pudding someday.
Definitely use a tart pan. It looks so pretty!
If I wanted to add crushed pineapple to this how would I go about it?
Hi Nancy, I suppose you could stir a bit into the custard; just be careful not to add too much or it will make the custard to thin. Or you could add a bit on top under the whipped topping.
One of the things I love about this recipe is how forgiving it is of all the substitutions I make (which I do with almost every recipe). Here are some: I thought I had cream of coconut, but didn’t. I used coconut oil instead. worked great. I also make my own shortbread. The shortbread is a cup of softened butter, about a cup of coconut flour, 1/2 c. sugar, and enough flour to make it into shortbread dough. This makes way more shortbread than needed for the recipe, so I either freeze some for then next pie, or more likely, it gets eaten. The coconut shortbread isn’t quite as light as regular shortbread, but it works great in the recipe, and adds a lot of extra coconut flavor.
I am married to someone of Filipino descent, and his Filipino relatives never seemed to care for anything I brought to the family gatherings until I started bringing this pie! It always gets eaten, even with the mind-boggling amount of food they always have at their gatherings. Thanks so much for publishing!
Hi! This is one of my favorite desserts! I’m attempting to make it for Easter tomorrow, and I was wondering if I could make the custard today and put it in the shell tomorrow so the crust doesn’t get soft? Will the custard be ok to move once it’s cooled?
Hi Mica, I think that should work just fine. Just put the custard in a bowl place some plastic wrap directly against the surface of the custard so that it doesn’t develop a film. Please let me know how it turns out!