Ingredients
For the Pie Filling
-
1 baked 9-inch pie crust
-
1 cup granulated sugar
-
¼ cup unsweetened cocoa powder
-
¼ cup cornstarch
-
¼ teaspoon salt
-
3 cups whole milk
-
3 large egg yolks
-
2 tablespoons unsalted butter
-
2 teaspoons vanilla extract
Optional Topping
-
Whipped cream or meringue
Instructions
Bake the pie crust according to package or homemade instructions until fully baked and lightly golden. Set aside to cool completely.
In a medium saucepan, whisk together the sugar, cocoa powder, cornstarch, and salt. Make sure there are no lumps for a smooth filling.
Slowly whisk in the milk. Place the saucepan over medium heat and cook, stirring constantly, until the mixture begins to thicken and bubble. This can take 6–8 minutes. Do not stop stirring to avoid scorching.
In a small bowl, whisk the egg yolks. Slowly add a few spoonfuls of the hot chocolate mixture into the yolks while whisking constantly. This prevents the eggs from scrambling. Pour the tempered yolks back into the saucepan.
Continue cooking for 1–2 more minutes until thick and glossy. Remove from heat and stir in the butter and vanilla until smooth. Pour the filling into the baked pie crust and smooth the top.
Notes
Constant stirring is essential for a smooth, lump-free filling. Use a whisk or silicone spatula and scrape the bottom of the pan frequently to prevent sticking or burning.