This homemade vanilla pudding recipe is richer and creamier than anything you'll get from a box! Serve it as-is, with toppings, or use it in more desserts.
Combine the sugar, cornstarch, and salt in a medium saucepan. Add about 1/4 cup milk and whisk until smooth. Whisk in the egg yolks and the remainder of the milk.
Cook the mixture over medium heat, whisking frequently, until the mixture thickens and just starts to bubble.
Reduce heat to medium-low. Stir constantly while cooking until the mixture thickens (about 5-6 minutes).
Remove the pan from the heat. Add the butter and vanilla. Stir until smooth.
Transfer the pudding to a small bowl or to individual serving bowls. Place plastic wrap directly on top of the pudding. Refrigerate at least 2 hours before serving.