Coconut Cream Pie (Diner)

Coconut Cream Pie (Diner)
⏱️ cook time 2 hours 30 minutes (includes 2 hours chilling time)
🍽️ servings 8
⚡ Difficulty medium

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

Refrigerated all-butter pie crust 225g (1, 9-inch crust)
Sweetened shredded coconut 150g (1 ½ cups, divided)
Full-fat coconut milk 400ml (1 ¾ cups)
Whole milk 240ml (1 cup)
Granulated sugar 100g (½ cup)
Cornstarch 30g (¼ cup)
Fine sea salt 2g (¼ teaspoon)
Large egg yolks 4 (72g total)
Unsalted butter 28g (2 tablespoons, cut into pieces)
Pure vanilla extract 5ml (1 teaspoon)
Cold heavy whipping cream 240ml (1 cup)
Powdered sugar 15g (2 tablespoons)

Steps

1

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.

Step 1
step1:Blind bake the pie crust
2

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.

Step 2
step2:Toast shredded coconut
3

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.

Step 3
step3:Cook coconut custard
4

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.

Step 4
step4:Fill and chill pie
5

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.

Step 5
step5:Whip cream topping
6

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.

Step 6
step6:Top and serve pie

Tips

1.Never skip pressing plastic wrap directly onto the warm custard surface: if you only cover the pie dish edges, condensation will collect under the wrap and drip onto the custard, creating a soggy top layer.
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.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.8
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.9
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.6

Coconut Cream Pie (Diner):Frequently Asked Questions

1.Do I need to blind bake the crust for this diner-style coconut cream pie?
Yes, absolutely! Since the coconut custard sets in the fridge with no additional baking, blind baking prevents a soggy bottom. Line your refrigerated all-butter crust with parchment, fill with pie weights or dried beans, bake at 375°F for 12 minutes, remove weights, bake 5 more minutes until pale golden, then let it cool completely before filling.
2.Can I use light coconut milk instead of full-fat for the custard?
I don’t recommend it! Full-fat coconut milk delivers that rich, velvety, retro diner texture we’re after. Light coconut milk has added water and less concentrated coconut fat, which will make your custard thin, watery, and missing that deep, nutty coconut flavor that makes this pie feel like a classic diner treat.
3.How do I keep my coconut custard from turning out lumpy?
The trick is constant, gentle whisking and smart temperature control. Whisk your granulated sugar, whole milk, and coconut milk over medium-low heat, and slowly temper a small amount of warm liquid into your egg yolk and cornstarch thickener before pouring it back into the pot. Strain finished custard through a fine sieve to catch any tiny lumps before adding it to the crust.
4.How long do I need to chill this pie before serving?
Plan for at least 4 hours of chill time in the fridge, ideally overnight if you can swing it. The custard needs that uninterrupted cold time to fully set into that perfect, sliceable diner-style consistency. If you cut into it too early, the filling will be runny and won’t hold that clean, sharp slice everyone loves.
5.What’s the best way to toast shredded coconut for the topping?
It’s super quick! Spread your sweetened shredded coconut in an even layer on a dry baking sheet, and bake at 325°F for 5 to 7 minutes, stirring every 2 minutes to avoid burning. It’s done when it’s light golden brown with a warm, nutty aroma—watch it closely, because it can go from perfect to burnt in 30 seconds.
6.Can I make this pie ahead of time for a party or potluck?
Absolutely! This pie holds up really well when made 1 to 2 days ahead. Bake the crust, make the custard, assemble the base (without the whipped cream topping), cover tightly with plastic wrap pressed directly to the custard surface to prevent a skin, and chill. Add whipped cream and toasted coconut right before serving for the best texture.
7.Why does my custard form a tough skin as it chills, and how do I stop it?
That rubbery skin forms when the top of the custard is exposed to air as it cools. The easy fix is to press a piece of plastic wrap directly onto the surface of the warm custard right after you pour it into the baked crust, making sure there are no air gaps between the wrap and filling. Peel the wrap off right before adding whipped cream.
8.Can I use non-dairy milk instead of whole milk in the custard?
For the closest match to that classic diner flavor and texture, stick with whole dairy milk. If you need a non-dairy swap, use unsweetened barista-blend oat milk for thickness, but note it will shift the flavor slightly and may produce a softer set, so add an extra teaspoon of cornstarch to your thickener to compensate.
9.How do I get that super tall, fluffy whipped cream topping diners use?
Start with very cold heavy whipping cream straight from the fridge, and chill your mixing bowl and whisk for 10 minutes before you start. Whip the cream with a small amount of powdered sugar and a tiny splash of vanilla on medium-high speed just until it forms soft, billowy peaks—don’t overwhip, or it will turn grainy and buttery.
10.Can I use unsweetened shredded coconut instead of sweetened?
You can, but you’ll need to adjust the sugar in the custard to compensate, since sweetened shredded coconut adds subtle balanced sweetness and extra moisture to both the filling and topping. If using unsweetened, add 2 extra tablespoons of granulated sugar to the custard, and toss toasted topping coconut with a teaspoon of powdered sugar.
11.My pie crust shrank when I blind baked it—what did I do wrong?
Shrinkage usually happens when the crust is too warm going into the oven, or you don’t let it rest after fitting it into the pie plate. After pressing your refrigerated all-butter crust into the plate, pop it in the fridge for 15 minutes to relax the gluten before blind baking, and press pie weights all the way up the crust sides to hold it in place.
12.Can I freeze this coconut cream pie for later?
I don’t recommend freezing the fully assembled pie, because the whipped cream will break down and turn watery when it thaws, and the custard can develop a grainy, icy texture. You can freeze the baked, unfilled crust for up to 3 months, though—just thaw it in the fridge overnight before adding fresh custard and toppings.
13.What thickener works best for that smooth, not-gummy diner custard?
A mix of cornstarch and egg yolks gives that perfect velvety set without the gummy texture you get from too much flour or gelatin. Use 3 tablespoons of cornstarch for a 9-inch pie, and don’t overcook the custard once it thickens—cook it just until it bubbles for 1 full minute to activate the cornstarch, then pull it off heat.
14.How do I prevent my whipped cream from sliding off the top of the pie?
First, make sure your chilled custard is fully set before adding whipped cream, so it forms a firm, cold base. Don’t overwhip your cream to the point it’s stiff and dry—soft, billowy peaks adhere much better. If you’re extra worried, fold 2 tablespoons of softened cream cheese into the whipped cream for extra hold without losing fluff.
15.Can I add extra mix-ins to the custard for more flavor?
Absolutely, as long as you don’t add so much that you throw off the custard set! A teaspoon of pure vanilla extract, a quarter teaspoon of fine sea salt to amp up coconut flavor, or even a half cup of small white chocolate chips stirred into warm custard are all diner-approved additions that pair beautifully without overpowering the coconut.
16.How long will leftover coconut cream pie stay fresh in the fridge?
Stored properly, leftovers will stay fresh for 3 to 4 days in the fridge. Keep it loosely covered (don’t press plastic wrap onto the whipped cream topping, or it will deflate) and store it on a shelf away from strong-smelling foods like cut onions, since custard and whipped cream easily pick up off fridge odors.
17.My custard came out runny even after chilling—what went wrong?
Runny custard usually comes down to three issues: you didn’t cook the cornstarch long enough to activate its thickening power, you cut the pie before it had a full 4 hours to chill, or you used lower-fat milk or coconut milk that thinned out the base. For a quick fix, pop slices in the freezer for 15 minutes before serving to firm them up.

Comments (9)

3 days ago

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!

30 minutes ago

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.

5 minutes ago

No need to panic! Lumpy custard usually happens if the heat is too high or you aren’t whisking consistently. You can pour the custard through a fine mesh sieve before adding the coconut and pouring it into the crust to strain out any lumps, and it’ll turn out perfectly smooth. Just make sure to give it the full chill time so it sets up right—happy birthday to your partner!

1 week ago

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.

5 days ago

Wait store-bought crust is a genius move! I’ve been stressing about making the homemade pastry crust from scratch because I’m terrible at rolling dough, I might do that too when I make this for my BBQ this weekend.

3 days ago

Love the hack! A good quality store-bought crust works totally great here if you’re short on time—no judgment at all. The extra toasted coconut on top is such a nice touch for that classic diner vibe too!

2 weeks ago

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.

yesterday

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!

2 hours ago

I made this last weekend with a gluten-free shortbread crust (the pre-made kind from the grocery store) and it was incredible! No weird texture, none of my non-GF family even noticed it was gluten free. Just make sure you don’t overbake the crust if you make it from GF flour!

2 days ago

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?

yesterday

I had the same issue my first time! Turns out I didn’t cook the custard long enough on the stove—you have to make sure it gets thick enough to coat the back of a spoon before you take it off the heat, that’s the trick. I cooked mine an extra 2 minutes the second time and it set perfectly.

2 hours ago

Great tip from HomeCookJoe! The custard needs to reach a full gentle simmer and thicken enough to leave a clean line when you run your finger through the custard on the back of a spoon before removing it from heat. If yours was runny, you can pop it back in the fridge for another 30-60 minutes and it’ll firm up more too!

5 days ago

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!

5 minutes ago

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.

just now

That makes us so happy to hear! So many people get intimidated by cream pies, but taking it slow and not rushing the custard is half the battle. Toasted coconut can go from perfectly golden to burnt in 30 seconds flat, so you’re not alone there—can’t wait to hear how your next batch turns out!

2 hours ago

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!

30 minutes ago

I made this 2 days ahead for my daughter’s graduation party and it held up great! I stored it in a covered pie dish in the fridge, and didn’t add the extra whipped cream and toasted coconut on top until an hour before serving. No sogginess at all, everyone loved it.

5 minutes ago

Great advice! This pie will keep well in the fridge for up to 3 days stored in an airtight container. Waiting to add the final whipped cream and toasted coconut topping until right before serving is the perfect trick to keep the crust crisp and the toppings fresh, too. Hope your BBQ is a hit!