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 Pie
Ingredients
Directions
Make the filling
Slice onions and simmer until tender.
Add butter and flour and season to taste.
Beat eggs and mix everything together.
Bake
Pour mixture into pie crust and 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.
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).
-
Butter + flourtop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Onion + buttertop 15% of all pairsSmell alikemoderateCooked together42,912 recipes
Shared aroma: decanal (soap, orange peel).
-
Flour + eggtop 15% of all pairsSmell alikelowCooked together106,462 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Butter + eggtop 17% of all pairsSmell alikemoderateCooked together118,967 recipes
Shared aroma: decanal (soap, orange peel).
Butter and flour barely smell alike, yet cooks put them together in 124,287 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 filling bulk, moisture, and mild sweetness as they soften.
- Butter
- Adds fat for richness and a smooth, rounded flavor.
- Flour
- Thickens the mixture so it holds together rather than running.
- Eggs
- Set when heated, binding the filling into a sliceable custard.
The step that matters
Bake until set, not longer. Egg proteins coagulate as they heat and then tighten further. Overbaking squeezes out liquid and makes the filling rubbery and grainy, so remove the pie once the center barely wobbles.
Swap the onion
How well each one fits the dish's main ingredients (butter, flour, egg, pepper):
- Chivefits better
- Shallotfits better
- Asparagusfits better
- Onionthe original
Fit is the average pairing score against butter, flour, egg, 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