Coconut Cream Pie (Diner)
intro
Velvety coconut custard in a flaky butter crust, piled high with fluffy whipped cream and toasted coconut—just like the classic retro diner slice.
Ingredients
Steps
Blind bake the pie crust
Preheat your oven to 190°C (375°F). Unroll the 225g all-butter pie crust and press it firmly into a 9-inch glass pie dish, crimping the outer edges for a classic diner look. Line the crust with parchment paper, fill with pie weights or dried beans, and bake for 15 minutes. Remove the weights and parchment, then bake for 5 more minutes until the crust is pale golden and dry to the touch. Set aside to cool completely to room temperature, about 30 minutes, before adding filling.
Toast shredded coconut
Heat a dry, heavy-bottomed skillet over medium-low heat. Add 100g (1 cup) of the sweetened shredded coconut, stirring constantly with a heatproof spatula for 3 to 4 minutes until the coconut is evenly light golden and smells nutty and fragrant. Immediately pour the toasted coconut onto a small plate to cool fully; reserve the remaining 50g (½ cup) of untoasted coconut for the custard filling.
Cook coconut custard
In a medium stainless steel saucepan over medium heat, whisk together the 400ml full-fat coconut milk, 240ml whole milk, 100g granulated sugar, 30g cornstarch, and 2g fine sea salt until completely smooth with no lumps. Cook, whisking constantly to prevent scorching, for 6 to 8 minutes until the mixture thickens to a glossy pudding consistency that coats the back of a metal spoon. Reduce heat to low. Scoop 120ml (½ cup) of the hot milk mixture into a small bowl with the 4 egg yolks, whisking rapidly to temper the yolks and prevent curdling, then pour the warmed yolk mixture back into the saucepan. Cook for 2 more minutes, stirring nonstop, then remove from heat. Stir in the 28g unsalted butter, 5ml vanilla extract, and reserved 50g untoasted coconut until fully melted and combined.
Fill and chill pie
Pour the warm coconut custard directly into the fully cooled pie crust, spreading it into a smooth, even layer with an offset spatula. Press a piece of plastic wrap directly onto the entire surface of the custard (not just the dish edges) to prevent a tough skin from forming as it cools. Refrigerate for a minimum of 2 hours until the custard is completely firm and set, with no jiggle in the center when the dish is gently nudged.
Whip cream topping
When you are ready to serve the pie, add the cold 240ml heavy whipping cream and 15g powdered sugar to a pre-chilled mixing bowl. Beat with an electric hand mixer on medium speed for 2 to 3 minutes until soft, billowy peaks form that hold their shape without drooping. Stop mixing as soon as peaks form to avoid over-whipping the cream into a grainy, buttery texture.
Top and serve pie
Remove the plastic wrap from the chilled, set pie. Dollop the freshly whipped cream over the custard, spreading it into gentle, swirled peaks across the entire top of the pie. Sprinkle the cooled toasted coconut evenly over the whipped cream. Slice into 8 even wedges and serve immediately while cold.
Tips
2.To avoid lumpy custard, whisk the cornstarch into the cold milk and coconut milk mixture completely before turning on the heat—cornstarch clumps instantly when added directly to hot liquid.
3.For an extra authentic retro diner touch, top the finished pie with a single bright red maraschino cherry in the center before slicing and serving.

OMG this pie tastes exactly like the one I used to get at the little diner down the street from my high school! I made it for Sunday family dinner and my kids loved it so much they asked for seconds before we even finished the main course—my husband and I devoured half the pie between the four of us. The texture of the coconut custard is so perfectly silky, not grainy at all. I was worried the 2 hour chill time would be a pain but I just made it in the morning before church and it was perfectly set by dessert time. 10/10 will be making this for every potluck this summer!
Tried this for the first time ever making a cream pie and I’m kinda panicking? The difficulty says medium and I thought I could handle it but my custard got lumpy when I was cooking it on the stovetop. Did I mess up the heat? I really want this to turn out for my partner’s birthday tomorrow, we both love coconut cream pie so much.
Game. Changer. I brought this to my office potluck last week and people were literally coming up to me for the recipe before I even left. I topped mine with extra toasted coconut and a little ring of whipped cream rosettes like the old diners do, and it looked so professional. Only note: I used a store-bought graham cracker crust to save time and it still slapped, no shame.
SO good. I’ve tried so many coconut cream pie recipes over the years and they always either are too bland, too coconut-y (yes that’s possible), or have that weird artificial coconut aftertaste. This one is perfectly balanced—rich custard, just enough shredded coconut, the whipped cream topping is light not cloyingly sweet. Worth every minute of prep and chill time, no notes.
Has anyone tried making this with a gluten-free crust? My youngest has celiac and I’m hunting for a good gluten-free coconut cream pie recipe that doesn’t taste like cardboard. The cook time says 2 hours 30 minutes total which is totally doable on a Sunday afternoon if it’s as good as everyone says!
This was good but mine came out a little runny even after the full 2 hours in the fridge? I followed the recipe exactly, measured everything out, but when I cut into it the custard oozed out a little. Flavor was spot on, exactly like the diner pies I remember from road trips as a kid, just the texture was off. Any tips?
My grandma used to make a coconut cream pie just like this for every holiday, and I’ve been chasing that flavor for years since she passed. I made this yesterday for Easter dinner and I swear I almost cried when I took the first bite—it tasted exactly like hers. My whole family was raving, even my picky teen nephew who swears he ‘hates coconut’. This recipe is a permanent keeper in my recipe box, thank you so much for sharing!
Okay so I know the difficulty is medium, but as someone who can barely bake boxed brownies without messing them up, I pulled this off! I took my time, followed the steps exactly, didn’t rush the custard, and it came out perfect. My roommate said it’s better than the pie we got at that fancy diner downtown last month. Total confidence boost! Only thing I did wrong was burn the first batch of toasted coconut for the top, oops. Next time I’ll watch it way closer on the stove.
Has anyone made this ahead for a party? I’m hosting a BBQ next Saturday and want to make as much as I can a couple days ahead to save time. How long does this keep in the fridge? I’d hate to make it too early and have it get soggy!