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
Bring the milk and sugar to a boil.
Dissolve the cornstarch in a little water and add it to the boiling milk.
Once it reboils, remove from heat.
Beat in the egg yolks and return to heat for 2 minutes to set the eggs.
Add the vanilla extract and butter.
Cool
Let it cool before using.
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.
-
Milk + vanillatop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Milk + buttertop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Vanilla + buttertop 14% of all pairsSmell alikemoderateCooked together20,050 recipes
Shared aroma: guaiacol (smoky, sweet).
-
Egg + buttertop 17% of all pairsSmell alikemoderateCooked 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 into.
- Sugar
- Adds sweetness and helps balance the richness of the custard.
- Cornstarch
- Thickens the milk as it boils, giving the cream its body.
- Egg yolks
- Thicken and enrich the custard, adding richness and structure as they set.
- Butter
- Adds fat for a smooth, rich mouthfeel in the finished cream.
The step that matters
Returning the custard to heat after adding the egg yolks. Egg yolks can curdle or scramble if overheated, but they must reach a gentle heat to set and thicken the custard properly. Stirring constantly keeps the eggs evenly heated and the texture smooth.
“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
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.
Vanilla Ice Cream108 recipes
White Cake431 recipes
Pound Cake373 recipes
Orange Bundt Cake349 recipes