Food Edition›Bake›French›Dessert›Classic Pastry Cream
30 minIntermediateServes 2 cups
French · Dessert

Classic Pastry Cream

This is the backbone of éclairs, fruit tarts, and cream-filled cakes. When handled with patience, it transforms simple milk and eggs into a silky, stable base.

Total time
30 min
Hands-on
15 min
Serves
2 cups
Difficulty
Intermediate
Before you start

Watch the temperature, not the clock.

The difference between a smooth custard and a grainy, curdled mess is attention. Keep your whisk moving and your heat source steady.

  • Heavy-bottomed saucepan
  • Whisk
  • Fine-mesh sieve
  • Heat-proof spatula
  • Large bowl
Ingredients

What goes in.

  • 2 cupswhole milk
  • 1/2 cupgranulated sugar
  • 4large egg yolks
  • 3 tbspcornstarch
  • 2 tbspunsalted butter, room temperature
  • 1 tspvanilla extract
The key technique

Bridging the temperature gap

Slowly adding hot milk to cold eggs brings them up to heat gently. Do not skip this or you will have sweet scrambled eggs.

Step by step

The method.

  1. Heat the milk

    Bring the milk to a gentle simmer in a saucepan. As soon as small bubbles appear around the edges, remove it from the heat.

  2. Whisk base

    In a bowl, whisk the yolks, sugar, and cornstarch together until the mixture is pale yellow and smooth.

  3. Temper

    Whisking constantly, drizzle a small amount of the hot milk into the egg mixture. Once combined, pour the egg mixture back into the saucepan with the remaining milk.

  4. Cook

    Return the saucepan to medium heat. Whisk vigorously and constantly. As it thickens, it will go from liquid to thick pudding; keep going for one minute after it bubbles to cook out the cornstarch.

  5. Finish and cool

    Remove from heat and whisk in the butter and vanilla. Strain through a fine-mesh sieve into a clean bowl and press plastic wrap directly onto the surface to prevent a skin from forming.

Variations

Other turns to take.

Chocolate

Whisk in 3 ounces of chopped high-quality bittersweet chocolate immediately after taking the pan off the heat.

Coffee

Steep 2 tablespoons of whole coffee beans in the milk while heating, then strain the milk before tempering.

Tips & troubleshooting

When it doesn't go to plan.

Tip

Use a heavy-bottomed pot to prevent hot spots that cause the custard to stick or burn.

Tip

If the custard looks slightly lumpy, force it through a fine-mesh sieve immediately; this usually fixes minor curdling.

Tip

Always chill the custard completely before using it to pipe or fill pastries.

Questions

The ones that keep coming up.

Why did my pastry cream turn runny?

Usually, this happens if you did not boil the mixture long enough to activate the cornstarch, or if you added too much liquid after it was cooked.

Can I freeze it?

No, freezing ruins the emulsion and texture. Make it fresh for the best results.

Community kitchens

How real cooks make it.

No one’s shared their version yet. Be the first to put your kitchen on the map.

Your turn

Cook this your way?

Share your version — your steps, your story. We’ll feature it right here.

Add your recipe