Chocolate Cream Pie
Chocolate cream pie was my grandmother’s company dessert, the one that came out of the refrigerator in her glass pie plate when the good dishes were already on the table. As a kid I thought it was magic, a slice of pie that was somehow also pudding and whipped cream at the same time. As the cook making it now, I can tell you it is not magic. It is one pot of chocolate custard, cooked until it boils, plus a little patience.
The filling is the real thing, a stovetop custard made with chopped chocolate and egg yolks, cooked until it turns thick and glossy. It pours into a baked pie crust, chills until it sets into clean slices, and gets a generous cap of whipped cream over the top. It tastes like the diner pies of childhood, only fresher and more chocolatey.
It does ask for a few hours of chilling, so this is a morning project for an evening dessert. Around here, that counts as planning ahead, and the payoff is worth it.
Why You’ll Love This Recipe
- The filling is a true cooked custard, so the chocolate flavor is deep and the texture is silky.
- Cooking the custard to a full boil means it sets up firm enough for clean, pretty slices.
- A plain baked pie crust keeps the focus on the chocolate and makes the recipe approachable.
- The whole pie is made ahead and chilled, so serving time is as easy as slicing.
- Fresh whipped cream on top balances the rich filling better than anything from a tub.

Ingredient Notes and Easy Substitutions
Chocolate is the main flavor here, so use one you like eating on its own. Six ounces of semisweet chocolate, either a chopped bar or good chips, melts into the custard. Bars melt a little smoother, but chips work fine. If you like a darker pie, swap in bittersweet chocolate for part of the semisweet. A teaspoon of instant espresso powder stirred in with the chocolate deepens the flavor without making the pie taste like coffee.
Whole milk gives the custard the right richness. Lower fat milk makes a thinner filling that may not slice as neatly. The egg yolks enrich the custard and help it thicken, and the cornstarch is your insurance that the filling sets up sliceable. Whisk constantly while the custard cooks so the yolks never get a chance to scramble on the bottom of the pan.
One 9 inch pie crust, homemade or a refrigerated store bought one, gets baked on its own before the filling goes in. Baking it until it is fully golden and crisp keeps it from going soggy under the custard. The whipped cream topping takes just a little powdered sugar and holds its shape best when the cream is cold and the bowl is too.
Step by Step Overview and Practical Kitchen Tips
Start with the crust. Fit it into a 9 inch pie plate, crimp the edges, and line it with parchment and pie weights or dried beans. Bake at 400 degrees F for 15 minutes, then take out the weights and parchment and bake 8 to 10 minutes more, until the crust is golden all over. Let it cool completely. A warm crust and a hot filling will steam each other and soften that crisp shell you worked for.
For the custard, whisk the granulated sugar, cornstarch, and salt in a medium saucepan, then whisk in the milk and egg yolks until smooth. Cook over medium heat, whisking constantly and scraping the corners of the pan, until the mixture comes to a full boil and thickens, about 6 to 8 minutes. Let it boil for one full minute while you keep whisking. That boil is not a detail to skip. It activates the cornstarch so the filling sets firmly, and it cooks the yolks completely.
Take the pan off the heat and stir in the chopped chocolate, butter, and vanilla until the custard is smooth and glossy. Pour it through a sieve into the baked crust to catch any stray bits, then press a piece of plastic wrap directly onto the surface of the filling so a skin cannot form as it cools.
Chill the pie for at least 4 hours, and overnight is fine. Whip the cream with the powdered sugar to soft peaks and spread it over the top, then finish with chocolate shavings made by running a vegetable peeler down the edge of a chocolate bar. A hot, dry knife gives you the neatest slices. If cooked chocolate desserts are your favorite kind, the Chocolate Poke Cake with Whipped Topping is a simpler weeknight cousin, and our Banana Pudding with Vanilla Wafers is another chilled classic from the Sweets and Desserts collection.
Storage, Freezing, and Reheating
Keep the pie covered in the refrigerator and use it within 3 to 4 days. If you are making it more than a day ahead, hold off on the whipped cream and add it the day you serve. Whipped cream softens and weeps a little after the first day, while the custard itself keeps beautifully.
To freeze, wrap the filled pie well without its whipped cream and freeze for up to 1 month. Thaw it overnight in the refrigerator. Custard pies can weep slightly after freezing, so freezing is a good backup plan rather than the first choice. Serve this pie cold, always. There is no reheating, and a warm slice would slump into pudding.

FAQs
Why did my filling not set?
It most likely never reached a full boil. Cornstarch needs that boil to thicken completely, so cook the custard until big bubbles break across the whole surface and hold it there for a full minute, whisking the entire time.
Why is there a skin on top of my pie?
The surface of the custard was exposed to air while it chilled. Next time, press the plastic wrap directly onto the hot filling before it goes into the refrigerator, and no skin will form.
Can I use a graham cracker or cookie crust?
Yes, both are good with this filling. A chocolate cookie crust turns it into a double chocolate pie. Bake crumb crusts for about 8 minutes at 350 degrees F to set them before filling.
Can I swap in whipped topping for the fresh whipped cream?
You can, and the pie will still be good. Fresh whipped cream tastes cleaner and holds up fine for a day, so it is our first choice when there is time to make it.
Chocolate Cream Pie
Ingredients
- 1 single pie crust (9 inch), homemade or refrigerated store bought
- 3/4 cup granulated sugar
- 1/4 cup cornstarch
- 1/4 teaspoon fine salt
- 2 1/2 cups whole milk
- 4 large egg yolks
- 6 ounces semisweet chocolate chopped
- 2 tablespoons unsalted butter
- 1 1/2 teaspoons vanilla extract
- 1 cup heavy whipping cream
- 2 tablespoons powdered sugar
- Chocolate shavings for garnish (optional)
Instructions
- Fit the pie crust into a 9 inch pie plate and crimp the edges. Line with parchment and pie weights and bake at 400 degrees F for 15 minutes. Remove the weights and parchment and bake 8 to 10 minutes more, until golden. Cool completely.
- Whisk the granulated sugar, cornstarch, and salt in a medium saucepan. Whisk in the milk and egg yolks until smooth.
- Cook over medium heat, whisking constantly, until the mixture comes to a full boil and thickens, 6 to 8 minutes. Boil for 1 minute, whisking the whole time.
- Remove from the heat and stir in the chocolate, butter, and vanilla until smooth and glossy.
- Pour the filling through a sieve into the baked crust. Press plastic wrap directly onto the surface of the filling.
- Refrigerate for at least 4 hours or overnight, until fully set.
- Whip the cream and powdered sugar to soft peaks and spread over the pie. Garnish with chocolate shavings and serve cold.