Ingredients
4 large egg yolks
1/2 cup sugar
1/4 cup cornstarch
Pinch of salt
2 cups milk
1 1/4 teaspoons pure vanilla extract
Preparation
Whisk egg yolks until smooth in a large bowl. Combine sugar, cornstarch, and salt in a medium saucepan, and heat over medium. Stirring constantly, gradually add milk in a slow, steady stream, and cook until mixture thickens and begins to bubble, about 5 minutes.
Whisking constantly, slowly pour one third of the milk mixture into egg yolks (this step is called tempering, which keeps the yolks from curdling). Pour mixture into remaining milk mixture in saucepan. Cook over medium heat, whisking constantly, until mixture comes to a full boil and is thick enough to hold its shape when lifted with a spoon, 2 to 4 minutes. Remove from heat; stir in vanilla.
Strain mixture through a fine sieve into a heatproof bowl. Cover with parchment paper or plastic wrap, pressing it directly on surface to prevent a skin from forming. Refrigerate until chilled and firm, at least 2 hours (or up to 2 days).