Why it works: Onion and pepper are a kitchen classic. They rank in the top 11% of all ingredient pairs, and cooks put them together in 68,474 recipes. Both carry 2-isopropyl-3-methoxypyrazine, which smells earthy, pea. The science ↓
Onion Custard
Ingredients
Directions
The book gives no oven temperature. The 350°F (175°C) in the steps was added when the recipe was transcribed, as a starting point.
Prepare
Cook the onions until tender, then drain thoroughly.
In a bowl, mix the egg, milk, salt, and pepper.
Pour the custard mixture over the onions.
Bake and serve
Bake gently at 350°F (175°C) until set.
Serve as a vegetable dish.
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.
-
Onion + peppertop 11% of all pairsSmell alikemoderateCooked together68,474 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Egg + milktop 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).
-
Milk + peppertop 22% of all pairsSmell alikemoderateCooked together26,984 recipes
Shared aroma: ethyl 2-methylbutyrate (fruity, apple).
-
Egg + peppertop 33% of all pairsSmell alikelowCooked together50,580 recipes
Shared aroma: 2-nonenal (fatty, green).
Egg and pepper barely smell alike, yet cooks put them together in 50,580 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
- Onions
- Provide the main body and sweetness of the dish as they soften and caramelize slightly during cooking.
- Egg
- Sets the custard, binding the milk into a firm, sliceable texture when heated.
- Milk
- Adds moisture and richness, forming the liquid base that the egg sets into custard.
The step that matters
Bake gently until set. Egg proteins coagulate at moderate heat and can curdle or turn grainy and watery if overbaked or heated too fast. Gentle heat keeps the custard smooth and tender.
Swap the onion
How well each one fits the dish's main ingredients (egg, milk, pepper):
- Capsicumfits better
- Potatofits better
- Asparagusfits better
- Onionthe original
Fit is the average pairing score against egg, milk, pepper. 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