Perfect Pastry Cream: Ingredients and Step-by-Step Method
Pastry cream (also called crème pâtissière) is a classic, silky custard used to fill and top many bakery-style desserts. With the right ingredients and technique, you’ll get a smooth, rich cream that sets beautifully once chilled.

Essential Ingredients
- 2 cups whole milk
- 1/2 cup granulated sugar, divided
- 5 large egg yolks
- 1/4 cup cornstarch
- 2 tablespoons unsalted butter, softened
- 1 teaspoon pure vanilla extract
- 1/2 teaspoon salt
Optional Flavor Enhancements
Use these to customize your pastry cream without changing the base recipe:
- 1 teaspoon almond extract (adds a light nutty flavor)
- 1 tablespoon cocoa powder (for a chocolate pastry cream)
- 1 teaspoon orange zest (bright, citrus aroma)
Step-by-Step Instructions
1) Warm the Milk
- Combine milk and part of the sugar. Add the milk and half of the sugar to a medium saucepan. The sugar helps reduce the chance of scorching.
- Heat gently. Set over medium heat and warm until it just reaches a simmer, stirring now and then. When small bubbles appear around the edges, remove from the heat.
2) Make the Egg-Yolk Base
- Whisk the yolks. In a mixing bowl, whisk egg yolks until smooth.
- Add the dry ingredients. Whisk in the remaining sugar, cornstarch, and salt. The mixture should look pale and thick.
- Temper the eggs. While whisking constantly, slowly drizzle in a ladle of hot milk. This gradual warming prevents scrambled eggs.
3) Cook Until Thick and Glossy
- Return everything to the pan. Pour the tempered egg mixture back into the saucepan with the rest of the milk.
- Whisk over medium heat. Keep whisking continuously as it heats. After a few minutes, it will thicken quickly.
- Cook to a pudding-like consistency. Once it’s thick, smooth, and holds its shape, remove from the heat.
4) Finish with Butter and Flavor
- Blend in butter. Stir in softened butter one tablespoon at a time until fully melted and incorporated.
- Add vanilla (or other flavors). Mix in vanilla extract, or swap in your chosen flavor enhancement for a different variation.
5) Strain and Chill for a Smooth Texture
- Strain the custard. Push the pastry cream through a fine-mesh sieve into a clean bowl to remove any tiny lumps.
- Cover properly. Press plastic wrap directly onto the surface of the cream to stop a skin from forming.
- Cool, then refrigerate. Let it reach room temperature before chilling until set.
How to Use Pastry Cream in Desserts
- Éclairs and cream puffs: Pipe chilled pastry cream into baked choux pastry shells.
- Fruit tarts: Spread pastry cream into a baked tart crust, then arrange fresh fruit on top.
- Layer cakes: Use it as a rich filling between cake layers.
- Danish pastries: Spoon a small amount into the center of unbaked pastries before baking.
Storage Tips
- Refrigerator: Keep pastry cream in an airtight container for up to 3 days.
- Freezer: Freezing plain pastry cream isn’t ideal, but it may freeze better when used inside baked goods.
Troubleshooting Pastry Cream
- Lumpy pastry cream: Strain it, and next time whisk constantly while cooking to prevent clumps.
- Pastry cream too runny: Continue cooking a bit longer—thickening takes time and happens more noticeably near the end.
- Skin forming on top: Always press plastic wrap directly onto the surface while it cools.


