Homemade Pudding Pie Filling Recipe
Time: 15 min prep · 15 min cook · 4 hr set · Serves: 8 · The key step: Constant whisking over medium heat to prevent lumps and scorching.
This smooth, custard-style pudding filling works well for layer pies, individual dessert cups, or as a topping for fruit tarts. It has a rich, creamy texture that holds its shape when sliced but melts easily on the tongue. Because this recipe uses raw eggs and flour, ensure you use pasteurised eggs and heat-treat your flour to 160°F (71°C) before starting to ensure safety for all consumers, especially pregnant people, young children, and older adults.
Serves 8 · Prep 15 min · Cook 15 min · Total 4 hr 30 min
Ingredients for Vanilla Pudding Filling
- 2 cups (480 ml) whole milk
- 1 cup (240 ml) heavy cream
- 3/4 cup (150 g) granulated sugar
- 1/4 cup (30 g) cornstarch (cornflour)
- 1/8 tsp (0.75 g) fine salt
- 4 large egg yolks (use pasteurised eggs)
- 2 tsp (10 ml) pure vanilla extract
- 1 tbsp (15 g) unsalted butter, at room temperature
Instructions for Making the Filling
- Heat-treat the flour or starch if using raw flour, though cornstarch is typically shelf-stable, ensure it is fresh. To heat-treat any dry starch or flour, spread it on a baking sheet and bake at 350°F (175°C) until it reaches an internal temperature of 160°F (71°C).
- In a medium heavy-bottomed saucepan, whisk together the sugar, cornstarch, and salt. Slowly pour in 1 cup (240 ml) of the milk and 1/2 cup (120 ml) of the heavy cream while whisking constantly to create a smooth slurry without lumps.
- Place the saucepan over medium heat. Cook the mixture, whisking continuously, until it begins to thicken and reaches a gentle boil. Once it bubbles, reduce heat to low and continue whisking for about 1-2 minutes to cook out the starch taste.
- In a separate small bowl, lightly beat the 4 egg yolks. Slowly temper the eggs by adding about 1/2 cup (120 ml) of the hot milk mixture into the yolks, whisking rapidly to prevent the eggs from scrambling.
- Pour the tempered egg mixture back into the saucepan with the remaining milk and cream. Return the pan to medium-low heat.
- Continue whisking constantly for 3-5 minutes. The pudding is done when it is thick enough to coat the back of a spoon heavily and reaches a safe temperature for egg dishes of 160°F (71°C), as measured by a food thermometer.
- Remove the pan from the heat. Immediately stir in the vanilla extract and the room-temperature unsalted butter until the butter is completely melted and the filling is glossy.
- Pour the hot pudding into a glass bowl or directly into your prepared pie crust. If using a bowl, press a piece of plastic wrap directly onto the surface of the pudding to prevent a skin from forming.
- Refrigerate for at least 4 hours, or until completely chilled and set, before adding any whipped cream or fruit toppings.
Scaling the Recipe for Different Batch Sizes
Use this table to adjust your measurements if you need to make more or less filling. Note that cooking times may increase slightly for larger batches due to the volume of liquid requiring more heat to reach the thickening point.
| Ingredient | Half Batch (4 servings) | Full Batch (8 servings) | Double Batch (16 servings) |
|---|---|---|---|
| Whole Milk | 1 cup (240 ml) | 2 cups (480 ml) | 4 cups (960 ml) |
| Heavy Cream | 1/2 cup (120 ml) | 1 cup (240 ml) | 2 cups (480 ml) |
| Sugar | 6 tbsp (75 g) | 3/4 cup (150 g) | 1.5 cups (300 g) |
| Cornstarch | 2 tbsp (15 g) | 1/4 cup (30 g) | 1/2 cup (60 g) |
| Egg Yolks | 2 large | 4 large | 8 large |
Fixing Texture Issues in the Pudding
Even with careful whisking, several things can go wrong with the consistency of the pudding. Identifying the cause helps you adjust your technique for the next time.
If the pudding is too runny
This usually happens if the cornstarch was not cooked long enough to fully activate its thickening power or if there was not enough starch to begin with. To fix this during cooking, you can make a small slurry of 1 teaspoon (5 g) cornstarch and 1 tablespoon (15 ml) cold milk, whisk it into the simmering pudding, and continue to cook until it thickens again. If the pudding has already set and is still runny, you may need to start over, as adding more starch to a cold liquid will create lumps.
If the pudding is too dense or rubbery
An excess of cornstarch or overcooking the eggs can lead to a texture that feels more like gelatin than cream. This is common if you use a measuring cup that is packed too tightly with starch. To prevent this, spoon the starch into the cup and level it with a knife. If it is already too dense, you can try whisking in a small amount of warm milk to loosen the structure, though this will not return it to a perfect custard state.
If the pudding is lumpy
Lumps are typically caused by adding the hot milk to the egg yolks too quickly without whisking, which partially cooks the eggs into small solid bits. Another cause is not whisking enough while the starch is heating. If you notice lumps while the pudding is still hot, you can pass the entire mixture through a fine-mesh sieve into a clean bowl to remove the solids. This will result in a much smoother finish.
Storing the Pudding Filling
Because this filling contains dairy and eggs, it must be handled with care to prevent spoilage. Place the pudding in an airtight container and refrigerate within 2 hours of making it. When stored in an airtight container in the refrigerator, the pudding will remain safe and tasty for about 3 to 4 days. If you find the surface has become dry, you can gently stir in a teaspoon of milk to restore some creaminess. Do not freeze this specific pudding filling, as the dairy and starch structure will likely separate and become grainy upon thawing. If you need to make it ahead of time, ensure it is fully chilled before transferring it to a storage container.
Variations for Different Flavors
You can easily modify the base recipe to create different types of pudding pies. For a chocolate version, whisk 1/2 cup (45 g) of unsweetened cocoa powder into the sugar and cornstarch before adding the milk. For a butterscotch flavor, replace the granulated sugar with 3/4 cup (150 g) of packed light brown sugar and add an extra 1/2 teaspoon (2.5 ml) of vanilla. If you prefer a coffee-flavored filling, dissolve 2 teaspoons (5 g) of instant espresso powder into the milk before heating. For all variations, ensure you follow the same cooking and tempering steps to maintain the correct texture.
Common Questions About Pudding Filling
Can I use milk substitutes?
You can use plant-based milks like soy or oat milk, but they behave differently because they lack the natural fats and proteins found in cow's milk. This may result in a thinner consistency. If using a substitute, you might need to increase the cornstarch by about 1 tablespoon (15 g) to ensure the filling sets firmly enough for a pie.
Why did a skin form on top?
A skin forms when the surface of the pudding is exposed to air as it cools, causing the proteins and starches to dehydrate. To prevent this, press plastic wrap directly against the surface of the warm pudding so there is no air gap between the wrap and the liquid. This ensures the texture remains uniform from top to bottom.