Skip to main content
Zimt

Home baking recipes and cinnamon favourites

How to Make a Classic Vanilla Custard Pie

A vanilla custard pie is a smooth, sweet filling baked in a flaky crust, perfect for any dessert table.

What You’ll Need

  • 9‑inch double‑crust pie shell (store‑bought or homemade)
  • 2 cups whole milk
  • 1 cup heavy cream
  • 3 large eggs
  • 3 large egg yolks
  • ¾ cup granulated sugar
  • ¼ cup cornstarch
  • ¼ teaspoon fine sea salt
  • 2 teaspoons pure vanilla extract or the seeds of one vanilla bean
  • Butter for greasing the pan (optional)
  • Thermometer (optional but helpful for safety)

All ingredients should be fresh and at room temperature unless otherwise noted. Using pasteurized eggs eliminates the risk of salmonella when the custard is not cooked to a high enough temperature, but the recipe calls for heating the mixture to at least 170 °F (77 °C), which is a safe internal temperature for egg‑based custards.

Step‑by‑Step

  1. Preheat your oven to 375°F (190°C). Place a rack in the middle of the oven so heat circulates evenly.
  2. If you are using a store‑bought frozen crust, let it thaw for about 15 minutes, then lightly brush the interior with butter to prevent sticking.
  3. In a medium saucepan, combine the milk, cream, half of the sugar (⅜ cup), and the salt. Heat over medium‑low heat, stirring occasionally, until the mixture just begins to steam. Do not let it boil, as boiling can cause a skin to form on the custard.
  4. While the dairy is heating, whisk together the eggs, egg yolks, the remaining sugar, and the cornstarch in a separate bowl until the mixture is pale and smooth. The cornstarch acts as a stabilizer, helping the custard set without curdling.
  5. When the milk‑cream mixture is hot, slowly pour about one‑third of it into the egg mixture while whisking constantly. This tempering step raises the egg temperature gradually and prevents scrambling.
  6. Return the tempered mixture to the saucepan and continue to whisk over medium heat. Cook for 3–5 minutes, or until the custard thickens and coats the back of a spoon. Use a thermometer to check that the temperature has reached at least 170°F (77°C). At this point the custard will look glossy and will no longer be liquid.
  7. Remove the saucepan from the heat and stir in the vanilla extract or scraped vanilla seeds. Allow the custard to cool for 5 minutes, then pour it into the prepared pie shell, spreading it evenly with a spatula.
  8. Place the filled pie on a baking sheet (to catch any overflow) and bake for 30–35 minutes, or until the crust is golden brown and the custard is set but still slightly wobbly in the center. The center should jiggle like gelatin when the pie is gently shaken.
  9. Turn off the oven, crack the door open, and let the pie cool inside for 10 minutes. This gradual cooling helps prevent the crust from cracking.
  10. Transfer the pie to a wire rack and refrigerate for at least 2 hours before serving. Chilling allows the custard to fully set and develop its classic silky texture.

When serving, you may garnish with a light dusting of powdered sugar, fresh berries, or a drizzle of caramel. Store any leftovers in an airtight container in the refrigerator for up to three days.

Common Mistakes

One frequent error is overheating the custard, which causes the eggs to curdle and results in a grainy texture. To avoid this, keep the heat moderate and stir continuously; the custard should never reach a rolling boil.

Another mistake is under‑baking the crust. If the crust is not fully baked before the custard sets, it can become soggy. Blind‑baking the crust for 10 minutes before adding the filling can help, especially when using a homemade crust that is thinner than a store‑bought one.

Tips

For an extra‑fluffy custard, sift the cornstarch together with the sugar before whisking it into the eggs. This prevents lumps and ensures even thickening.

Using a high‑quality vanilla bean or pure extract makes a noticeable difference in flavor depth. If you use a bean, split it lengthwise, scrape out the seeds, and add both the seeds and the pod to the milk‑cream mixture; remove the pod before tempering.

Troubleshooting

If the custard is too runny after baking, the most likely cause is insufficient thickening. Return the pie to the oven for an additional 5‑10 minutes, covering the edges of the crust with foil to prevent over‑browning.

If you notice cracks on the surface of the custard, it usually means the pie cooled too quickly. Let the pie cool gradually in the turned‑off oven with the door ajar, then chill it in the refrigerator.

Should the crust become soggy, it may be due to excess moisture in the filling. Adding a thin layer of melted chocolate or a dusting of fine cornmeal on the bottom of the crust before pouring the custard can act as a moisture barrier.

Storage and Serving

Custard pies should be kept refrigerated at or below 40°F (4°C). Cover the pie loosely with plastic wrap or aluminum foil to prevent it from absorbing odors from other foods. For longer storage, you can freeze the baked pie (uncovered) for up to two months; thaw it in the refrigerator before serving.

When ready to serve, allow the pie to sit at room temperature for 10–15 minutes. This short warm‑up brings out the vanilla aroma and softens the texture just enough for clean slicing. Use a sharp, thin knife dipped in hot water and wiped dry between cuts to achieve neat slices.

Frequently Asked Questions

Can I use low‑fat milk instead of whole milk?

Low‑fat milk will work, but the custard may be less rich and slightly more prone to curdling. Adding a bit more cream (extra ¼ cup) can compensate for the reduced fat.

Do I have to bake the custard, or can I set it with gelatin?

The traditional vanilla custard pie relies on heat‑set starch and eggs for structure. Adding gelatin changes the texture and flavor, creating a mousse‑like pie rather than a classic custard.

How long can I keep the pie before it goes bad?

Refrigerated custard pie stays safe and tasty for up to three days. After that, bacterial growth may increase, so it’s best to discard any leftovers beyond this period.

Is it safe to serve this pie to children?

Yes, as long as the custard reaches the safe internal temperature of 170°F (77°C) during cooking. If you are concerned about raw eggs, you can use pasteurized eggs or substitute them with a commercial egg replacer designed for custards.

Can I make the pie ahead of time for a party?

Absolutely. Prepare the custard and bake the pie up to 24 hours in advance, then refrigerate. Add any fresh fruit garnish just before serving to keep it looking vibrant.

What substitutes work for cornstarch?

All‑purpose flour can replace cornstarch at a 2:1 ratio (twice the amount of flour). Tapioca starch or arrowroot powder are also suitable, but they may give a slightly different mouthfeel.

Read next