Why it works: Onion and potato are a kitchen classic. They rank in the top 3% of all ingredient pairs, and cooks put them together in 9,023 recipes. Both carry 2-isopropyl-3-methoxypyrazine, which smells earthy, pea. The science ↓
Onion Pie
Ingredients
Directions
The book gives no oven temperature. The 400°F (200°C) in the steps was added when the recipe was transcribed, as a starting point.
Prepare the onions
Peel and wash the onions, then cook them in boiling salted water until tender.
Strain the onions and cut them into slices.
Layer and bake
In a pie dish, layer the onions, a little white sauce, and mashed potatoes.
Repeat the layering until the dish is full, finishing with a layer of mashed potatoes on top.
Bake in a hot oven at 400°F (200°C) until heated through and serve.
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 + potatotop 3% of all pairsSmell alikemoderateCooked together9,023 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Onion + saucetop 19% of all pairsSmell alikelowCooked together10,474 recipes
Shared aroma: ethanol (alcoholic, ethereal).
-
Potato + saucetop 25% of all pairsSmell alikelowCooked together1,073 recipes
Shared aroma: ethanol (alcoholic, ethereal).
Onion and sauce barely smell alike, yet cooks put them together in 10,474 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
- Spanish onions
- Provide the main filling, becoming soft and sweet when cooked until tender.
- Potato (mashed)
- Forms a soft, starchy layer that adds body and a smooth texture to the pie.
- White sauce
- Adds moisture and creaminess, keeping the layers from drying out during baking.
The step that matters
Cooking the onions until tender before layering. Onions that are not fully softened stay firm and sharp, and they will not finish properly during the short baking time. Draining them well also prevents excess water from making the pie soggy.
Swap the potato
How well each one fits the dish's main ingredients (onion, sauce):
- Horseradishfits better
- Mustardfits better
- Chivefits better
- Potatothe original
Fit is the average pairing score against onion, sauce. 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.
Potato Croquettes255 recipes
Potato Rolls78 recipes
Potato Chips53 recipes
Sweet Potato Croquettes53 recipes