Chocolate Cream Pie Recipe: Silky Filling, Cream Top

Chocolate cream pie recipe for a 9-inch pie, serves 8: cocoa and chocolate custard cooked on the stove, chilled 4 hours, topped with whipped cream.

Jump to recipe ↓
A slice of chocolate cream pie on a plate, glossy dark filling in a golden crust under a swirl of whipped cream and chocolate shavings.

Chocolate cream pie is a baked pie crust filled with cooked chocolate custard thickened by cornstarch and egg yolks, chilled until set and topped with whipped cream; it serves 8 and takes about an hour of work plus 4 hours of chilling.

Why does the filling have to boil?

Cornstarch only thickens fully when the mixture reaches a bubble, and it needs about a minute there to lose its raw taste. Below that point the custard looks thick in the pan but loosens as it cools, and the pie weeps when sliced. The long boil also takes the yolks well past the 160°F (71°C) that USDA gives for egg dishes. Cocoa and melted chocolate add body of their own, which is why 3 tablespoons (24 g) of cornstarch are enough for 2 1/2 cups (600 ml) of milk.

How do you get it smooth?

Start with the dry ingredients and only a splash of milk, whisked to a paste. Sugar and cornstarch tipped into a full pan of cold milk clump, and the lumps are hard to chase out later. Scrape the corners of the pan while it thickens, since that is where the custard catches first. A pass through a sieve rescues any stray bits, and plastic wrap pressed on the surface stops a skin from forming and later hiding in the slices.

Common mistakes

Filling a warm crust leaves it soft within an hour. Slicing before the 4-hour chill gives a slumping wedge instead of a clean cut. Whipping the cream too early lets it weep on the custard, so top the pie the same day you serve it. For a crustless, egg-free relative of this filling, see homemade chocolate pudding, and if you bake your own shell, the method is in pie crust.

Storage

Keep the pie covered in the refrigerator for up to 3 days. Freezing is not worth it: the custard separates and turns grainy on thawing.

Recipe

Prep
20 min
Cook
40 min
Total
60 min
Serves
8

Ingredients

  • 1 blind-baked 9-inch (23 cm) pie crust, store-bought or homemade
  • 2/3 cup (133 g) granulated sugar
  • 3 tablespoons (24 g) cornstarch
  • 1/4 cup (21 g) unsweetened cocoa powder
  • 1/4 teaspoon (1.5 g) fine salt
  • 2 1/2 cups (600 ml) whole milk
  • 3 large egg yolks
  • 4 oz (115 g) semisweet chocolate, finely chopped
  • 2 tablespoons (28 g) unsalted butter
  • 1 teaspoon (4 g) vanilla extract
  • 1 cup (240 ml) cold heavy cream, for the topping
  • 2 tablespoons (15 g) powdered sugar
  • Chocolate shavings, to finish

Method

  1. If the crust is not already baked, heat the oven to 375°F (190°C). Fit the crust into a 9-inch (23 cm) pie plate, prick the base, line it with parchment, fill with pie weights and bake 15 minutes. Lift out the weights and bake 10 to 12 minutes more, until deep golden. Cool completely.
  2. In a medium saucepan off the heat, whisk the sugar, cornstarch, cocoa and salt. Pour in 1/2 cup (120 ml) of the milk and whisk to a smooth paste, then whisk in the yolks and the remaining milk.
  3. Set the pan over medium heat and whisk constantly, reaching into the corners, until the mixture thickens and large bubbles break the surface, 6 to 8 minutes. Keep whisking at a gentle boil for 1 full minute; the filling should look like thick pudding.
  4. Take the pan off the heat and whisk in the chocolate, butter and vanilla until completely smooth and glossy. For a flawless texture, press the filling through a fine sieve into a bowl.
  5. Pour the hot filling into the cooled crust and smooth the top. Press plastic wrap directly on the surface, cool 30 minutes at room temperature, then refrigerate at least 4 hours, until fully set.
  6. Shortly before serving, whip the cold cream with the powdered sugar to medium-stiff peaks. Spread or pipe it over the pie and scatter chocolate shavings on top.
  7. Slice with a sharp knife dipped in hot water and wiped dry between cuts.

Tips

  • Boil the filling for a full minute while whisking. Cornstarch only reaches full thickening power once it bubbles, and an under-cooked filling stays loose and runs out when you cut the first slice.
  • Cool the baked crust all the way before filling. A warm crust steams under the custard and turns soft within an hour, losing the contrast with the filling.
  • Press the plastic wrap directly on the hot filling. Any air gap lets a skin form, and the skin leaves rubbery strands in the slices.

Save this recipe and every recipe you like to Afiyet: add it to your week, send the ingredients to your shopping list and cook step by step.

Nutrition

Approximate values per serving

Energy445 kcal
Protein6.9 g
Fat28 g
Carbohydrates42 g
Fibre3 g
Sugar27 g
Salt0.5 g

Values are estimates calculated from USDA FoodData Central data for the 12 ingredients in the recipe; brands, cooking and measuring change them. Not health advice.

Frequently asked questions

How long does chocolate cream pie keep?
Up to 3 days, covered, in the refrigerator at 40°F (4°C) or below. The crust softens a little each day, so the pie is at its crispest on day one. Once it has sat at room temperature for 2 hours, discard it.
Why is my chocolate cream pie runny?
The custard was not boiled long enough. Cornstarch needs to bubble for about 1 minute while you whisk, and the pie then needs a full 4 hours in the refrigerator to set firm.
Can I use a store-bought crust?
Yes. A refrigerated 9-inch (23 cm) crust works if you blind-bake it until deep golden and cool it completely before the filling goes in. A chocolate cookie crust is another option.