This coconut cream pie recipe features a thick and creamy coconut filling, crispy homemade pie crust, mounds of sweet whipped cream, and toasted coconut. Blind bake the pie crust first, then chill the pie filling until thick and lush. It may be helpful to review my tutorial on how to blind bake pie crust before getting started.

Coconut. You either love it or hate it.
Considering my adoration for coconut cake, you know I fall in the first category. And if you’re reading this, I assume you do too. Obviously this is what you need to make next!!
If you’re not in the coconut gang, you should probably skip this one. But coconut cream pie isn’t *just* for coconut lovers. If you appreciate thick creamy pies, flaky pie crust, and all that fresh (not store-bought!) whipped cream has to offer, you’ll enjoy each forkful.

I worked HARD on this recipe, taking what I learned from butterscotch pudding and banana cream pie, then incorporating both into a coconut variation. Let’s dive in.
Video Tutorial: Coconut Cream Pie
Let’s watch how to make coconut cream pie in a quick video tutorial. I walk you through each part of the recipe, including blind baking the pie crust.
3 Parts to Coconut Cream Pie
This pie is made completely from scratch!
- Pie Crust – Pie crust shell must be fully blind baked. Don’t worry, I teach you how.
- Creamy Coconut Filling – We’ll make this on the stove.
- Whipped Cream – Have you made my homemade whipped cream before? It’s very simple. You can add toasted coconut on top, too.

Fully Blind Bake Pie Crust
Some pie recipes call for fully baked crust and some recipes need a partially baked crust. Lemon meringue pie requires a partially baked pie crust because it will continue to bake with the filling. Coconut cream pie, like French silk pie for example, is a no-bake pie– the filling does not go in the oven. We obviously don’t want to eat raw pie dough, so we need a fully blind baked pie crust.
I published an entire tutorial about how to blind bake pie crust. I repeat *some* information here, but I encourage you to review the tutorial prior to beginning this coconut cream pie recipe.
- Make pie dough ahead of time, then refrigerate or freeze until you’re ready to make the pie. Pie crust must chill for at least 2 hours before rolling out.
- Roll it out, then fit into your 9-inch pie dish. Crimp or flute the edges.
- Chill the shaped pie crust for at least 30 minutes. This prevents shrinking. Remember that pie dough must be cold.
- Fill with pie weights. As the pie dough bakes, its fat will melt. The melting fat causes the pie crust to shrink down the sides of the pie dish. To prevent the pie dough from completely losing its shape, weigh it down with pie weights. Carefully line the pie dough with parchment paper first, then pour in pie weights or even dry beans. (Note: 2 packs of these pie weights is needed!)
- Bake until the edges are lightly brown, about 15 minutes.
- Remove pie weights, then prick the bottom with a fork. This lets air escape the bottom.
- Return to oven until the entire pie shell is golden brown.
- Cool pie shell completely. You can do this up to 3 days ahead of time!
This baked pie crust “shell” is crispy, flaky, and ready for a creamy coconut filling.


Coconut Cream Pie Filling Ingredients
Most of the time, coconut cream pie is nothing more than vanilla pudding with some coconut thrown on top. Let’s make a REAL coconut filling using thick coconut milk. Since coconut milk doesn’t have a very strong flavor, we’ll add sweetened shredded coconut and a splash of coconut extract. Don’t have coconut extract? Leave it out. The sweetened shredded coconut adds plenty of flavor. Here is a run-down of the ingredients:
- Egg Yolks & Cornstarch: Egg yolks and cornstarch thicken the pie filling. Combine the two first, then temper into the cooking mixture.
- Canned Coconut Milk: Canned coconut milk is a cooking ingredient, not a beverage. It’s very thick and usually found near the Thai food products. Do not use refrigerated carton coconut milk because the two are very different.
- Half-and-Half: I found heavy cream to be too thick, while whole milk was too thin. Half-and-half proved to be the best choice for this coconut cream pie recipe.
- Sugar: Use 2/3 cup to sweeten the filling. The sweetened coconut also helps!
- Salt: A bit of salt adds flavor.
- Sweetened Shredded Coconut: Sweetened shredded coconut is soft, moist, and sweet, so you won’t find dry crunchy chunks inside the creamy filling.
- Butter: Add 2 Tablespoons of softened butter for a soft, buttery consistency.
- Vanilla Extract & Coconut Extract: Both add phenomenal flavor.

How to Make Coconut Cream Pie Filling
Like most homemade pudding, the coconut filling is made on the stove.
Bring the coconut milk, half-and-half, sugar, and salt to a boil. Whisk the egg yolks & cornstarch together and have them ready for tempering. To temper, add *some* of the boiling coconut mixture into the egg yolks, then add it all back into the pot. This *slowly* raises the egg yolk’s temperature. The purpose of tempering is to prevent scrambling them. You can watch me temper the egg yolks in the video above.
Off-heat, stir in the coconut, butter, vanilla, and coconut extracts. Next, pour the warm pudding into cooled crust, then cover and chill until thickened.

Perfect Make-Ahead Dessert!
The coconut filling must “set” inside the baked pie crust shell. This usually takes about 3 hours, though it keeps in the refrigerator for up to 1 full day… as long as you keep hungry eyes away from it!! This pie is way too tempting, even without whipped cream on top.
If you’re looking for Easter dessert ideas, this make-ahead pie should be at the top of your list!

Homemade Whipped Cream
Obviously we must add decoration and this pie’s favorite accessory is whipped cream. It’s simply… a must! You can go heavy or light on the whipped cream. I love a big mountain of the stuff, especially paired with the thick coconut filling and crispy pie crust. You need heavy cream, sugar, and vanilla extract. Add a splash of coconut extract too, if desired. Beat the ingredients together until medium peaks form. When you lift the mixer out of the bowl, a slightly sturdy peak should form. It won’t be liquid-y, nor will it be curdled. Keep your eye on it and don’t be afraid to stop the mixer and check the consistency as you whip.
You can pipe or spread the whipped cream on top. I used Ateco 849 piping tip and you can watch me pipe swirls in the video above. Don’t forget to top with more coconut! I actually used coconut flakes that I found at the grocery, but you can use sweetened shredded coconut or any form of coconut flakes you desire. Feel free to toast them, too!
Chill the pie for a few hours or you can serve it immediately.
Want to make coconut cream pie with meringue topping instead? Meringue is a convenient way to use up the egg whites. I recommend the meringue topping from my s’mores brownie cupcakes. You can toast it with a kitchen torch if desired. It tastes like marshmallows!


Coconut Cream Pie Success Tips
- Follow the recipe closely including using canned coconut milk, half-and-half, and tempering the egg yolks.
- Chill the pie crust inside the pie dish before blind baking. Pie dough must be cold.
- Thoroughly chill the pie filling before serving. Otherwise the pie will completely fall apart… and no one appreciates warm coconut pudding.
And if you dig creamy pie recipes…
Print
Homemade Coconut Cream Pie
- Prep Time: 6 hours
- Cook Time: 35 minutes
- Total Time: 6 hours, 35 minutes
- Yield: one 9-inch pie
- Category: Dessert
- Method: Cooking
- Cuisine: American
Description
This coconut cream pie recipe features a thick and creamy coconut filling, crispy pie crust, sweet whipped cream, and toasted coconut. There are plenty of ways to make this coconut cream pie recipe ahead of time. See various steps.
Ingredients
- 1 unbaked flaky Pie Crust (what I used) or All Butter Pie Crust*
- 4 large egg yolks
- 1/4 cup (30g) cornstarch
- 1 (14 ounce) can full fat coconut milk*
- 1 cup (240ml) half-and-half
- 2/3 cup (130g) granulated sugar
- 1/4 teaspoon salt
- 1 cup (80g) sweetened shredded coconut
- 2 Tablespoons (30g) unsalted butter, softened to room temperature
- 1 teaspoon pure vanilla extract
- optional: 1/2 teaspoon coconut extract
Whipped Cream
- 1 and 1/2 cups (360ml) cold heavy cream or heavy whipping cream
- 3 Tablespoons (20g) confectioners’ sugar or granulated sugar*
- 3/4 teaspoon pure vanilla extract
- optional for garnish: unsweetened coconut shavings, coconut chips, or sweetened shredded coconut*
Instructions
- Pie crust: I like to make sure my pie dough is prepared before I begin making coconut cream pie. Make pie dough the night before because it needs to chill in the refrigerator for at least 2 hours before rolling out and blind baking (next step).
- Preheat oven to 375°F (190°C). Fully blind bake the pie crust. (Follow how to blind bake pie crust instructions through step 9. I skip the optional dough strip trick in step 4, though that trick guarantees thick pie crust edges.) Cool pie crust completely. You can do this up to 3 days ahead of time. Cover cooled crust tightly and refrigerate until ready to fill.
- Make the coconut filling: Whisk the egg yolks and cornstarch together. Set aside. Whisk the coconut milk, half-and-half, granulated sugar, and salt together in a medium saucepan over medium heat. Whisking occasionally, bring to a boil. Boil for 2 minutes, then reduce temperature to medium-low heat. Once boiling, remove about 1/2 cup of the mixture and, in a slow and steady stream, whisk into the egg yolk and cornstarch mixture. Keep those egg yolks moving so they don’t scramble. In a slow and steady stream, pour and whisk the egg yolk mixture into the pot.
- The pudding will immediately begin to bubble and thicken. Stand back and use caution as the bubbles may burst. Whisk and cook for 1 minute and 30 seconds. Remove from heat and stir in the coconut, butter, vanilla, and coconut extract (if using).
- Pour warm filling into cooled pie crust. Cover tightly with plastic wrap directly on the surface of the pudding (to prevent a skin from forming) and refrigerate for at least 3 hours or overnight until chilled and thickened. Pie may be refrigerated for up to 1 day.
- For the whipped cream: Using a hand mixer or a stand mixer fitted with a whisk attachment, whip the heavy cream, sugar, and vanilla extract on medium-high speed until medium peaks form, about 3-4 minutes. Medium peaks are between soft/loose peaks and stiff peaks and are the perfect consistency for topping and piping on desserts.
- Pipe or spread the whipped cream on top. I used Ateco 849 piping tip to pipe. Garnish with extra coconut, if desired. Chill the pie uncovered up to a few hours or you can serve it immediately.
- Cover leftovers and store in the refrigerator for up to 5 days.
Notes
- Make Ahead & Freezing Instructions: The pie dough can be prepared ahead of time and stored in the refrigerator for up to 5 days or in the freezer for up to 3 months. There are plenty of ways to make this recipe ahead of time. See end of step 2, end of step 5, and end of step 7. You can freeze the pie after step 5. Make sure the filling is completely cool inside the pie shell prior to freezing. Cover with an extra layer of plastic wrap before freezing. Freeze for up to 3 months. Thaw in the refrigerator or on the counter prior to topping with whipped cream.
- Pie Crust: Both linked pie crust recipes make 2 crusts. You only need 1 crust for this pie, so freeze the 2nd half for another use.
- Coconut Milk: You need one 13-14 ounce can of full fat unsweetened coconut milk. (It’s usually never sweetened.) Canned coconut milk is a cooking ingredient, not a beverage. It’s very thick and usually found near the Thai food products. Shake it up before using. Do not use refrigerated carton coconut milk.
- Sugar in Whipped Cream: Some swear by granulated sugar in whipped cream, while others swear by confectioners’ sugar. If you’re only working with a few Tablespoons of sugar, it doesn’t really make a difference. Use whichever.
- Coconut Topping: I used unsweetened coconut flakes that I found at the grocery, but you can use sweetened shredded coconut or any form of coconut flakes you desire. Feel free to toast them: Bake in a 300°F (149°C) oven for 6-8 minutes or until browned to your liking.
Keywords: coconut cream pie, pie
I was afraid to try this as I don’t consider myself a pie baker. But I decided to try it because 1. coconut cream pie was always my Grandpa’s favorite pie and 2. there’s not a lot of pie places near me that actually do cream pies. I’ve tried a lot of Sally’s recipes so I decided to try it even though it felt a little overwhelming when I first read thru it. But I prepared all the ingredients ahead of time (hack- I purchased a store made/frozen deep dish crust for this first time around) and just followed the recipe. My O pie! For a first timer cream pie, it’s amazing – textually, taste… and it left me wondering why I was so nervous 🙂 Totally recommend for those in your life that have a special love for cream pies 🙂
★★★★★
So glad you loved it, Stacey!
This pie is SO DELICIOUS and I can’t believe I rarely ate coconut cream pie before now. Seriously, this is now my favorite dessert and it will definitely become a go-to for parties and holidays. I made this for a birthday dessert and everyone raved about it. I used Sally’s pie crust recipe also. I followed each recipe exactly as written. I did use a tiny amount of coconut extract in both the whipped cream and in the pie itself to boost the coconut flavor. You really don’t need much. Thank you for a terrific recipe.
★★★★★
The absolute best! I made three desserts this Thanksgiving and all were so delicious. This coconut cream pie is so delicious and not super sweet. I did reduce some sugar since the coconut was sweetened. I put some coconut through the food processor and have some original form as to not having it be to stringy. My guests raved about it.
I did make this pie!! It was gone the same day I served it . Everyone loved it .
I did change one thing , Only because I didn’t know there was a difference between coconut milk and cream. I had bought LOPEZ COCONUT CREAM , it worked great!!
I think the most important part , is the cooking time , that helps with the setting up of the custard.
Thank you , This will be my go to coconut pie rom now on . My kids & husband said Thank you as well !!
★★★★★
Making coconut cream pie is rather new for me. Using another “sworn to” recipe, it just did not come out very delicious. This pie hit the mark in every way! Dare I say it was perfect? I did a couple things differently: I did not have sweetened coconut on hand. It was perfect without adding extra sweetening. I think my family prefers less sweet. Also included the optional coconut extract. I also used less sugar than the suggested amount in the whipped cream. Just before presenting and eating, I put lots of toasted coconut on top. Rave reviews! This recipe is for sure a keeper!
★★★★★
I just tried this, this year, for my husband and his family for Thanksgiving and they loved it. The extract of coconut really makes the difference. We did a graham cracker crust (homemade) and it was amazing! Never doing the store bought filling again.
★★★★★
This was the best coconut cream pie I have ever eaten. I used gluten free coconut crisp cookies (Tate’s Bakery) for the crust. I wouldn’t change a thing! The homemade whipped cream was wonderful too!
★★★★★
This is seriously the best pie!!! Not too sweet which is nice! The toasted coconut on top adds just a bit of crispness that brings all the textures together! My dad requested coconut pie for Thanksgiving and I knew where to come get a recipe! Making the cranberry pear pie tomorrow for another gathering and can’t wait for how amazing that one will be too! Thank you for sharing your talents with us all!!!
★★★★★
I’ve made this pie 5 times now and it’s absolutely delicious! I get rave reviews from family and friends! I’ve even made one without the coconut for my husband who loves the flavor but not the texture of coconut.
★★★★★
First timer on pies at all over here, so I bought a premade pie crust that is a “bake at home” crust – totally thought it was ready to go and that I didn’t need to bake it. I made the coconut filling already, but wondered if I could store in tupperware over night in the fridge and then transfer to a cooled and cooked pie crust tomorrow since I don’t ahve time tonight to bake the crust. Thoughts? Can I transfer the filling successfully?
Hi Courtney! This may be a bit late for your needs, but we wanted to get back to you for next time. You can store the filling in an air tight container in the refrigerator until you are ready to assemble – it will set and may be a little tricky to spread into the pie crust but it should work in a pinch. Hope you enjoyed the pie!
WIll this come out right if I omit the shredded coconut and up the coconut extract? I have a texture issue with coconut. Thanks!!!
Hi Alicia, You can leave out the shredded coconut without making any other changes. Enjoy!
I’ve made this before and loved it, but I just messed up! I made the filling before my crust was ready (long story)… is there any way to store the filling before putting it into the crust..? It’s still warm right now. Thanks
★★★★★
Hi Sofia! You can store the filling in an air tight container until your pie crust is ready – it will set and may be a little tricky to spread into the pie crust but it should work in a pinch.
I have not made this or any coconut cream pie before but want to try making it for a friends son. Many other recipes say to toast the coconut before using it, you do not use that step, would it change to recipe to toast the coconut prior to incorporating into the mixture?
Hi Misty! We prefer the texture of un-toasted coconut in the pie. But toasting some for garnish adds lovely flavor!
Made this recipe several times and it’s always a hit! Have you ever tried to make the filling dairy free? Would love to know what might work in place of the half n half.
★★★★★
Hi Ashlea, You can try to use more of the canned coconut milk instead of half and half but it may not set up as thick. Or you could use the coconut cream to replace BOTH the coconut milk and the half and half but we haven’t tested it. Let us know how it turns out!
Updating for others: I subbed caned coconut cream for the half n half and plant butter for butter. It set up nice and thick. We don’t put it in a crust (dads request) just scoop it from a bowl and it was a hit!
Can this pie recipe be converted to individual coconut cream tartlets? No change in ingredients; jus t changing the size.
Hi Jennifer, you can certainly make mini pies with this recipe. We haven’t tested this size so we’re unsure of the exact bake time for your crust, but it will be less (same oven temperature). Enjoy!
Question. Could I only the shredded coconut from the filling and make up for it with more extract or cream of coconut (Coco Lopez)?
I don’t like coconut texture. Thank you!
Hi Alicia, the texture of the of pie will be off without any coconut in the filling — but how about giving it a rough chop to make smaller pieces?
Im excited to try this recipe! Instead of a homemade pie crust I’d like to use a frozen crust to save time and I never have luck with crusts. What would I need to do differently to get the crust ready?
You would need to bake the crust ahead of time (par-bake), until the crust reaches a beautiful done color. I did our crust at 350 for around 13-15 minutes. It has similar baking instructions of biscuits. I’m not familiar with the frozen crust but I would expect that there would be instructions on raw or par baking on the package. Hope that helps.
Hi Sally, I am making this tomorrow, but your pie crust recipe says to cut the dough into two. Does this coconut cream pie use half of the dough recipe, or do I use the entire dough recipe?
Hi Sam, both linked pie crust (flaky pie crust and all butter pie crust) recipes make 2 crusts. You only need 1 crust for this pie, so freeze the 2nd half for another use.
I made this pie twice the first time it was perfect and delicious the second time the filling was runny even after sitting in the refrigerator for two days. I followed the recipe closely not sure what went wrong.
Hi Kristy! Did you use full fat coconut milk this time? Did you use any different ingredients? How strange that it wouldn’t set this time!
This happened to me too! Followrd the ingredients and the instructions to the T. Thinking about baking it once we get to our dinner party in hopes it will be salvagable?
Can you use unsweetened coconut milk in this recipe
Hi Pat! See recipe notes for details on the coconut milk – we don’t recommend using anything other than a full fat canned coconut milk because the filling will not set without it.
Can I make this recipe with unsweetened coconut?
Hi Ryan, The pie is sweet enough already that unsweetened coconut won’t make much of a difference. Use the same amount without any other changes to the recipe. Enjoy!
Can you use this coconut filling in between cake layers?
Hi Terri, we haven’t used this as a cake filling before, so these are our guesses. (1) We would halve the filling to yield an appropriate amount to fill a coconut cake. (2) Let the filling cool completely. It should spread just fine on the cooled cake layers. Let us know if you give it a try!
I followed this recipe exactly and it came out perfect. For plating I generously covered and surrounded each piece with sweetened coconut that I toasted in a saute pan. It added a perfect toasty crunch.
★★★★★
This recipe was involved, but well worth the effort! My father-in-law was thrilled with the birthday surprise of his favorite pie. I appreciated Sally’s links to her buttery flaky pie crust recipe and the blind baking tips. Will be saving this one for the future!
★★★★★
This recipe is delicious, but if I were to make it again I would not mix the cornstarch in with the egg yolks beforehand. I found this made it quite difficult to truly mix the coconut milk/half-and-half mixture into the egg yolks and there were still chunks of thickened egg in the mixture after a lot of mixing. I’ve successfully used the Betty Crocker method of boiling the cornstarch with the milk mixture prior to adding part of it to the eggs, and next time I make this recipe I think I’ll try that. Or maybe adding the cornstarch just before or after the egg mixture! Either way, this recipe has delicious flavors but I think I’ll try a different technique next time!
This pie filling recipe also works great with a graham cracker crust and I’ve even made it into bars in a 9 x 13 pan!
★★★★
I made this coconut cream pie and served it yesterday. It was absolutely delicious! I used your recipe for the all butter pie crust added the coconut extract to the filling and topped the whipped cream with toasted coconut shavings and shredded coconut. It looked great, too. Thanks Sally.
Not to be dense, but I am planning to make this a day ahead for a small birthday gathering. There is mention that the filling will keep for up to a day in the fridge. So my question is, if I make it Thursday evening for something on Friday evening, if the entire pie isn’t eaten on Friday night, will I need to discard the remainder rather than leaving it with the birthday boy to finish on Saturday?
Hi Beth, leftovers can stored in the refrigerator for up to 5 days. Hope it’s a hit!
My first coconut cream pie, it was surprisingly easy and my husband, who wanted coconut cream pie for his birthday loved it!
★★★★★
We don’t get sweetened coconut here. Does it need extra sugar if using unsweetened or will it be fine? Thanks
I just made this pie for Thanksgiving successfully without sweetened coconut. Details in my review post.
★★★★★
This pie is soooo good!! I’ve been making it since 2019. My oldest granddaughter asks for it for her birthday instead of a cake. I do have a question. Can I make the filling the day before and just keep it in the fridge until I’m ready to assemble the pie – which would be the day it will be eaten?
★★★★★
Hi Suzette, you can store the filling in an air tight container in the refrigerator until you are ready to assemble – it will set and may be a little tricky to spread into the pie crust but it should work in a pinch. So glad it’s a favorite for your family!
I have been making this coconut cream pie for several years and it is absolutely the THE BEST!!!! I always get compliments and requests for the recipe. I follow it exactly except I use my own crust. I do add the extra coconut oil with the vanilla into the filling and sprinkle toasted coconut on the top. If you are a coconut lover, don’t hesitate to try this recipe!
This filling was very good once off of the stove. After chilling, it sort of turned dense and less creamy. The creaminess just off the stove was divine. I’ve brought it back to room temperature, thinking that that would bring it back to its former creaminess, but it didn’t. So, my question is whether substituting the coconut creme for all half and half would change the texture to stay creamy.
★★★★
In this recipe you use coconut milk not coconut cream. The coconut milk (full fat) adds flavor and can’t be substituted with half and half. If you follow this recipe exactly you will love it. Use the coconut extract, too.
Also for those who want to do a meringue topping…
As was said putting it in the oven to broil is not a good idea because of the nature of the filling… However if you have a kitchen blow torch as I do you can use that to give that beautiful brown scorched look to the top of your meringue.
★★★★★