Why it works: Milk and egg are a kitchen classic. They rank in the top 18% of all ingredient pairs, and cooks put them together in 88,785 recipes. Both carry 2-nonenal, which smells fatty, green. The science ↓
Escalloped Onions
Ingredients
Directions
Prepare the onions
Cook the onions until tender.
Cut the onions in halves.
Place the onion halves in a pudding dish.
Make and bake the custard
In a bowl, mix the nut milk, zwieola, beaten egg, and salt.
Pour the mixture over the onions.
Bake until set.
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.
Photo for illustrative purposes only · Contact us to use it
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 + eggtop 18% of all pairsSmell alikemoderateCooked together88,785 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Onion + milktop 20% of all pairsSmell alikemoderateCooked together13,418 recipes
Shared aroma: hexanal (green, grassy).
-
Onion + eggtop 34% of all pairsSmell alikelowCooked together23,333 recipes
Shared aroma: 2,4-decadienal (seaweed).
Onion and egg barely smell alike, yet cooks put them together in 23,333 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
- Stewed onions
- Form the soft, sweet base that the custard is poured over.
- Nut milk
- Provides the liquid that gives the custard its body.
- Well-beaten egg
- Sets during baking to bind the custard into a firm, sliceable texture.
The step that matters
Bake until set. Egg proteins coagulate as they heat, so the custard firms only when baked long enough. Underbaking leaves it loose and watery, while overbaking makes it rubbery and may cause it to weep liquid.
Swap the onion
How well each one fits the dish's main ingredients (milk, egg):
- Asparagusfits better
- Potatofits better
- Capsicumfits better
- Onionthe original
Fit is the average pairing score against milk, egg. Candidates are from the same food group and used in at least 100 recipes.
“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.
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.

Tomato Soup526 recipes
Brown Bread461 recipes
Mutton Broth292 recipes
Yorkshire Pudding264 recipes