Skip to main content
Dessert

Pastry Cream

A sweet custard made from milk, sugar, cornstarch, egg yolks, vanilla, and butter.

From an old cookbook · modernised transcription
Jump to recipe ↓

Why it works: Milk and vanilla are a kitchen classic. They rank in the top 5% of all ingredient pairs, and cooks put them together in 19,187 recipes. Both carry ethyl caproate, which smells fruity, apple peel. The science ↓

Pastry Cream

Ingredients

Directions

Make the custard

  1. Bring the milk and sugar to a boil.

  2. Dissolve the cornstarch in a little water and add it to the boiling milk.

  3. Once it reboils, remove from heat.

  4. Beat in the egg yolks and return to heat for 2 minutes to set the eggs.

Finish and cool

  1. Add the vanilla extract and butter.

  2. Let it cool before using.

Recipe from a historical cookbook (Internet Archive).

Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.

Explore the science

The flavor team

The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.

  1. Milk + vanillatop 5% of all pairs
    Smell alikemoderate
    Cooked together19,187 recipes

    Shared aroma: ethyl caproate (fruity, apple peel).

  2. Milk + buttertop 7% of all pairs
    Smell alikemoderate
    Cooked together81,283 recipes

    Shared aroma: (z)-4-heptenal (biscuit, cream).

  3. Sugar + vanillatop 8% of all pairs
    Smell alikelow
    Cooked together35,032 recipes

    Shared aroma: beta-damascenone (apple, rose).

  4. Vanilla + buttertop 14% of all pairs
    Smell alikemoderate
    Cooked together20,050 recipes

    Shared aroma: guaiacol (smoky, sweet).

  5. Egg + buttertop 17% of all pairs
    Smell alikemoderate
    Cooked together118,967 recipes

    Shared aroma: decanal (soap, orange peel).

Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 recipes: they work on texture and structure more than aroma.

Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs

What each ingredient does

Milk
Forms the liquid base that the custard thickens and sets in.
Sugar
Adds sweetness and helps balance the richness of the custard.
Cornstarch
Thickens the milk into a smooth, spoonable cream when it boils.
Egg yolks
Add richness and, when gently heated, help the cream set.
Butter
Adds fat for a silky texture and a rounder, richer mouthfeel.
Vanilla extract
Adds aroma that rounds out the flavour of the cream.

The step that matters

Returning the egg yolks to heat. Egg yolks can scramble if they get too hot too fast. Keeping the heat moderate and stirring constantly lets the yolks thicken the cream smoothly instead of curdling it.

“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.

More pastry cream recipes

You might also like