Food

How to Make Coconut Pie from Scratch

By Hayride Live · Updated · 3 min read

Coconut pie is a creamy, sweet custard with toasted coconut set in a flaky crust. It fits best as a dessert for potlucks, holidays, or weekend baking when you want something that holds up well on the counter for a few hours.

This method uses a standard egg-thickened filling rather than a cornstarch slurry. The result is a slice that holds its shape cleanly without being rubbery, and the texture stays rich because the full-fat coconut milk provides enough fat to suspend the sugar and eggs.

Before You Start

  • 1 unbaked 9-inch (23 cm) pie shell, chilled until ready to use
  • 1 can (13.5 oz / 380 g) full-fat coconut milk, shaken before opening
  • 3 large eggs, room temperature
  • 1 cup (200 g) granulated sugar
  • 3 tbsp (24 g) all-purpose flour
  • 3 tbsp (42 g) unsalted butter, melted and slightly cooled
  • 1 tsp vanilla extract
  • 1 cup (75 g) sweetened shredded coconut
  • Pinch of salt

Make sure your oven rack is centered so the heat distributes evenly. If using a glass pie dish, lower the oven temperature by 25°F (15°C) to prevent the bottom crust from over-browning.

How to Prepare the Crust

  1. Preheat the oven to 375°F (190°C). Place the chilled pie shell on a baking sheet to catch any drips.
  2. Prick the bottom of the crust all over with a fork to prevent bubbling.
  3. Bake the empty shell for 10 minutes. Remove it from the oven and check that the edges are pale gold but not browned.
  4. Let the crust cool on the pan while you mix the filling. This prevents the crust from getting soggy if the filling is too hot.

How to Make the Filling

  1. In a medium bowl, whisk the eggs until they are fully blended and no streaks of white remain.
  2. Add the sugar, flour, and salt to the eggs. Whisk vigorously for one minute until the mixture is smooth and thickened slightly.
  3. Pour in the coconut milk slowly while whisking constantly. The mixture will look thin at first; this is normal.
  4. Stir in the melted butter and vanilla extract. Fold in the shredded coconut last so it stays suspended in the liquid.
  5. Pour the filling into the cooled crust. Tap the pie pan gently on the counter twice to release any trapped air bubbles.

How to Bake the Pie

  1. Place the pie back in the oven at 375°F (190°C).
  2. Bake for 35 to 40 minutes. The pie is done when the center jiggles like gelatin but does not splash like water.
  3. If the crust edges brown too quickly, cover them with a pie shield or strips of aluminum foil after the first 20 minutes.
  4. Remove the pie from the oven when the internal temperature reaches 160°F (71°C), which is the USDA safe minimum for egg dishes.
  5. Let the pie cool completely on a wire rack for at least 3 hours. Cutting it warm will cause the filling to slide out of the crust.

How to Tell It Worked

A successful coconut pie slices cleanly. The knife should glide through without resistance, and the slice should hold its triangular shape on the plate. The filling should be opaque and creamy, not translucent or watery.

Symptom / Cause / Fix Table

Symptom Cause Fix
Filling is runny Underbaked or insufficient eggs Bake longer; next time add one extra egg yolk.
Filling is rubbery Overbaked or too much flour Reduce bake time; check doneness at 30 minutes.
Crust is soggy Hot filling poured into warm crust Cool crust completely before adding filling.
Surface is cracked Oven too hot or cooled too fast Lower temp to 350°F (175°C); let cool gradually.

Storage and Shelf Life

Refrigerate leftovers within 2 hours. Cover tightly with plastic wrap or store in an airtight container. The pie keeps for 3 to 4 days in the refrigerator. Do not leave the pie at room temperature for more than 2 hours, as the dairy and eggs create a risk for bacterial growth.

Common Questions

Can I use light coconut milk?
You can, but the pie will be less creamy and may not set as firmly. Full-fat milk provides the necessary fat content for structure.

Why did my coconut sink?
If you stir the filling after pouring it into the crust, the coconut sinks. Pour it in once and avoid further stirring.

Is this pie safe for pregnant people?
Yes, because it is baked to 160°F (71°C), which kills harmful bacteria in the eggs. Ensure the center is fully set.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.