Onion
Sulfurous and cabbage notes from dimethyl trisulfide; onion and garlic from dipropyl disulfide. Cooks pair it most with garlic 29,058 recipes, carrot 21,601 and olive 29,779.
39 partners. Closer to the middle = more shared aroma. Bigger dot = cooked together more often.
Onion is a vegetable whose aroma is led by dimethyl trisulfide (sulfurous, cabbage) and dipropyl disulfide (onion, garlic). Cooks pair it most with garlic, carrot and olive. By shared aroma its closest partners are chive, leek and garlic.
What goes with onion
The classics
- Garlic: cooked together in 29,058 recipes, with strong shared aroma, including furaneol (caramel, strawberry).
- Carrot: cooked together in 21,601 recipes, with moderate shared aroma, including 2-isopropyl-3-methoxypyrazine (earthy, pea).
- Olive: cooked together in 29,779 recipes, with moderate shared aroma, including 2,4-decadienal (seaweed).
- Tomato: cooked together in 20,633 recipes, with moderate shared aroma, including 2-isopropyl-3-methoxypyrazine (earthy, pea).
- Parsley: cooked together in 25,843 recipes, with moderate shared aroma, including 2,4-decadienal (seaweed).
Fruit that works with it
- Avocado: Strong shared aroma, including decanal (soap, orange peel); 1,653 recipes combine them.
- Water chestnut: Strong shared aroma, including coumarin (sweet, hay); 205 recipes combine them.
- Butternut squash: Strong shared aroma, including coumarin (sweet, hay); 692 recipes combine them.
- Lime: Moderate shared aroma, including decanal (soap, orange peel); 4,263 recipes combine them.
- Coconut: Strong shared aroma, including gamma-nonanolactone (coconut, sweet); 1,831 recipes combine them.
Worth trying
- Roselle Hidden gem: strong shared aroma (217 molecules), yet only 1 recipe do.
- Durian Hidden gem: strong shared aroma (217 molecules), yet no recipe in our collection combines them.
- Shiitake: a top 3% pair that only 412 recipes in our collection use.
- Okra: a top 4% pair that only 715 recipes in our collection use.
A hidden gem is a lead to test, not a proven pairing: strong shared chemistry, but cooks have barely tried it.
Onion pairing chart
Scroll sideways to see every column →
| Partner | Shared aroma | Shared molecules | Recipes together | Rank among all pairs |
|---|---|---|---|---|
| garlic | strong | 251 | 29,058 | top 1% |
| chive | strong | 243 | 1,907 | top 3% |
| shiitake | strong | 215 | 412 | top 3% |
| potato | moderate | 257 | 9,023 | top 3% |
| sesame | strong | 228 | 2,192 | top 4% |
| okra | strong | 218 | 715 | top 4% |
| leek | strong | 237 | 1,326 | top 4% |
| turnip | strong | 218 | 7,585 | top 5% |
| avocado | strong | 219 | 1,653 | top 5% |
| water chestnut | strong | 204 | 205 | top 5% |
| french plantain | strong | 213 | 126 | top 6% |
| cumin | moderate | 206 | 5,498 | top 6% |
| broccoli | strong | 233 | 3,294 | top 6% |
| mustard | strong | 226 | 9,259 | top 6% |
| mexican oregano | strong | 205 | 78 | top 6% |
| carrot | moderate | 239 | 21,601 | top 6% |
| black-eyed pea | strong | 210 | 190 | top 6% |
| conch | moderate | 177 | 23 | top 7% |
| horseradish | strong | 217 | 1,784 | top 7% |
| atlantic herring | moderate | 181 | 308 | top 7% |
Ordered by pairing score. Shared aroma: how much of their aroma chemistry overlaps (strong, moderate or low against all ingredient pairs). Rank: where the pair sits among random ingredient pairs on CompKitchen. Shared molecules counts every molecule the two have in common, not only aroma ones. Each partner links to a side-by-side comparison.
Onion flavor profile
Onion carries 365 flavor molecules in our data, 178 of them volatile enough to smell and 57 of them key food odorants, the molecules shown to drive food aroma. The aromas that lead its profile, strongest measured first: dimethyl trisulfide (sulfurous, cabbage), dipropyl disulfide (onion, garlic), 1-propanethiol (sulfurous, onion) and palmitic acid (waxy, fatty).
Why onion pairs the way it does
Onion's pairing hooks are decanal (soap, orange peel), which 4 of its 10 best partners also carry but only 15% of all ingredients do; and furaneol (caramel, strawberry), which 3 of its 10 best partners also carry but only 6% of all ingredients do. Partners that share them, like chive, shiitake and potato, share more with onion than the background chemistry most foods carry. Partners that share little aroma, like egg and sugar, pair through cooking habit instead: 23,333 and 15,747 recipes respectively.
How cooks use onion
Key aroma molecules in onion
Scroll sideways to see every column →
| Molecule | Smells like | Why it matters |
|---|---|---|
| dimethyl trisulfide | sulfurous, cabbage, savory | In 169 of 861 ingredients; a key food odorant. Shared with garlic, chive and shiitake. |
| dipropyl disulfide | onion, garlic, sulfurous | In 17 of 861 ingredients; a key food odorant. Shared with garlic, chive and leek. |
| 1-propanethiol | sulfurous, onion, cabbage | In 24 of 861 ingredients. Shared with garlic, chive and potato. |
| palmitic acid | waxy, fatty | In 215 of 861 ingredients. Shared with garlic, chive and shiitake. |
| acetoin | butter, cream, sweet | In 120 of 861 ingredients; a key food odorant. Shared with potato and sesame. |
| ethanol | pungent, rancid, soy | In 120 of 861 ingredients; a key food odorant. Shared with garlic, chive and shiitake. |
| ethyl acetate | pineapple, fruity, solvent | In 431 of 861 ingredients; a key food odorant. Shared with garlic, chive and shiitake. |
| formic acid | pungent, vinegar, acidic | In 427 of 861 ingredients. Shared with garlic, chive and shiitake. |
Ordered by measured strength in onion (concentration against odour threshold) where studies report it, then by how rare the molecule is across foods. Smell words are each molecule's own published description. Key food odorants are the molecules shown to drive food aroma (Dunkel et al. 2014).
Does it go with what you have?
ButterClassic
Cooked together in 42,912 recipes, moderate shared aroma, top 15% of pairs. They share decanal (soap, orange peel). Compare →
LemonClassic
Cooked together in 15,646 recipes, moderate shared aroma, top 19% of pairs. They share decanal (soap, orange peel). Compare →
GarlicClassic
Cooked together in 29,058 recipes, strong shared aroma, top 1% of pairs. They share furaneol (caramel, strawberry). Compare →
SugarHabit
Cooked together in 15,747 recipes, low shared aroma, top 36% of pairs. Compare →
ChiliClassic
Cooked together in 23,390 recipes, moderate shared aroma, top 9% of pairs. They share 2-isopropyl-3-methoxypyrazine (earthy, pea). Compare →
GingerClassic
Cooked together in 7,595 recipes, moderate shared aroma, top 9% of pairs. They share 2-isopropyl-3-methoxypyrazine (earthy, pea). Compare →
Onion pairing questions
What makes onion smell like onion?
Its leading aroma molecules are dimethyl trisulfide (sulfurous, cabbage), dipropyl disulfide (onion, garlic) and 1-propanethiol (sulfurous, onion), out of the 178 aroma molecules on record for it.
What's a good substitute for onion?
The closest molecular substitutes for onion are leek, garlic, chive — ingredients that share the highest fraction of onion's flavor compounds.
Is onion vegan, gluten-free, or kosher?
Onion is vegan and is gluten-free, dairy-free, nut-free, kosher, halal.
The science in full
Scientific name: Allium cepa. Wikidata Q23485 (CC0)
Most abundant molecules 22 of 365 quantified
Ranked by median concentration across published studies. Only 22 of Onion's 365 compounds have a measured concentration in the literature; the rest are confirmed present but not yet quantified. Bars are log-scaled.
- palmitic acid2.3 mg/kg
- dipropyl trisulfide1.3 mg/kg
- dimethyl tetrasulfide1.2 mg/kg
- methyl propyl trisulfide1.2 mg/kg
- dipropyl disulfide1.1 mg/kg
- dimethyl trisulfide952 µg/kg
- methyl propyl disulfide904 µg/kg
- l-tyrosine884 µg/kg
- dimethyl disulfide736 µg/kg
- l-proline300 µg/kg
- formic acid200 µg/kg
- 1-propanethiol76 µg/kg
- l-alanine60 µg/kg
- l-malic acid50 µg/kg
- citric acid45 µg/kg
All 365 molecules on record
135 of 365 are distinctive to onion (in under 10% of foods). Ordered by measured impact in onion, then by how distinctive the molecule is.
1,719 research papers on onion
- Occurrence and toxicological relevance of pesticides and trace metals in agricultural soils, sediments, and water of the Sogamoso River basin, Colombia. Chemosphere · 2024
- Antimicrobial activities of plant essential oil vapours against Acidovorax citrulli and Xanthomonas campestris on Cucurbitaceae, Brassicaceae and Solanaceae seeds. Journal of applied microbiology · 2022
- The influence of a child's age on the evaluation of smells and their hedonistic assessment. European journal of pediatrics · 2021
- Analytical and Sensory Characterization of the Stereoisomers of 3-Mercaptocycloalkanones and 3-Mercaptocycloalkanols. Journal of agricultural and food chemistry · 2020
- Volatile composition and sensory characteristics of onion powders prepared by convective drying. Food chemistry · 2017
Explore more: pair it · find substitutes · discover novel pairings · get this data via the API · how we score pairs