Skip to main content
vegetable · vegan

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.

178 aroma molecules 112,713 recipes 57 key food odorants
Drag to spin · tap a dot
Tap a dot
Onion's flavor world

39 partners. Closer to the middle = more shared aroma. Bigger dot = cooked together more often.

ClassicHidden gem: strong chemistry, barely cookedHabit: cooked often, little shared aromaOther

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). (top 1% of pairs · compare)
  • Carrot: cooked together in 21,601 recipes, with moderate shared aroma, including 2-isopropyl-3-methoxypyrazine (earthy, pea). (top 6% of pairs · compare)
  • Olive: cooked together in 29,779 recipes, with moderate shared aroma, including 2,4-decadienal (seaweed). (top 8% of pairs · compare)
  • Tomato: cooked together in 20,633 recipes, with moderate shared aroma, including 2-isopropyl-3-methoxypyrazine (earthy, pea). (top 8% of pairs · compare)
  • Parsley: cooked together in 25,843 recipes, with moderate shared aroma, including 2,4-decadienal (seaweed). (top 9% of pairs · compare)

Fruit that works with it

  • Avocado: Strong shared aroma, including decanal (soap, orange peel); 1,653 recipes combine them. (top 5% of pairs · compare)
  • Water chestnut: Strong shared aroma, including coumarin (sweet, hay); 205 recipes combine them. (top 5% of pairs · compare)
  • Butternut squash: Strong shared aroma, including coumarin (sweet, hay); 692 recipes combine them. (top 8% of pairs · compare)
  • Lime: Moderate shared aroma, including decanal (soap, orange peel); 4,263 recipes combine them. (top 13% of pairs · compare)
  • Coconut: Strong shared aroma, including gamma-nonanolactone (coconut, sweet); 1,831 recipes combine them. (top 13% of pairs · compare)

Worth trying

  • Roselle Hidden gem: strong shared aroma (217 molecules), yet only 1 recipe do. (top 33% of pairs · compare)
  • Durian Hidden gem: strong shared aroma (217 molecules), yet no recipe in our collection combines them. (top 31% of pairs · compare)
  • Shiitake: a top 3% pair that only 412 recipes in our collection use. (top 3% of pairs · compare)
  • Okra: a top 4% pair that only 715 recipes in our collection use. (top 4% of pairs · compare)

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 →

Onion pairing chart: top 20 partners
PartnerShared aromaShared moleculesRecipes togetherRank among all pairs
garlicstrong25129,058top 1%
chivestrong2431,907top 3%
shiitakestrong215412top 3%
potatomoderate2579,023top 3%
sesamestrong2282,192top 4%
okrastrong218715top 4%
leekstrong2371,326top 4%
turnipstrong2187,585top 5%
avocadostrong2191,653top 5%
water chestnutstrong204205top 5%
french plantainstrong213126top 6%
cuminmoderate2065,498top 6%
broccolistrong2333,294top 6%
mustardstrong2269,259top 6%
mexican oreganostrong20578top 6%
carrotmoderate23921,601top 6%
black-eyed peastrong210190top 6%
conchmoderate17723top 7%
horseradishstrong2171,784top 7%
atlantic herringmoderate181308top 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

See all 112,713 onion recipes →

Key aroma molecules in onion

Scroll sideways to see every column →

Key aroma molecules in onion
MoleculeSmells likeWhy it matters
dimethyl trisulfidesulfurous, cabbage, savoryIn 169 of 861 ingredients; a key food odorant. Shared with garlic, chive and shiitake.
dipropyl disulfideonion, garlic, sulfurousIn 17 of 861 ingredients; a key food odorant. Shared with garlic, chive and leek.
1-propanethiolsulfurous, onion, cabbageIn 24 of 861 ingredients. Shared with garlic, chive and potato.
palmitic acidwaxy, fattyIn 215 of 861 ingredients. Shared with garlic, chive and shiitake.
acetoinbutter, cream, sweetIn 120 of 861 ingredients; a key food odorant. Shared with potato and sesame.
ethanolpungent, rancid, soyIn 120 of 861 ingredients; a key food odorant. Shared with garlic, chive and shiitake.
ethyl acetatepineapple, fruity, solventIn 431 of 861 ingredients; a key food odorant. Shared with garlic, chive and shiitake.
formic acidpungent, vinegar, acidicIn 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.

  1. palmitic acid2.3 mg/kg
  2. dipropyl trisulfide1.3 mg/kg
  3. dimethyl tetrasulfide1.2 mg/kg
  4. methyl propyl trisulfide1.2 mg/kg
  5. dipropyl disulfide1.1 mg/kg
  6. dimethyl trisulfide952 µg/kg
  7. methyl propyl disulfide904 µg/kg
  8. l-tyrosine884 µg/kg
  9. dimethyl disulfide736 µg/kg
  10. l-proline300 µg/kg
  11. formic acid200 µg/kg
  12. 1-propanethiol76 µg/kg
  13. l-alanine60 µg/kg
  14. l-malic acid50 µg/kg
  15. 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.

Molecules volatile enough to reach the nose.
dimethyl trisulfidedipropyl disulfidedimethyl disulfide1-propanethiolpalmitic acidacetoinpropionic acidethyl acetateformic acidl-malic acidacetic acidsuccinic acid3-mercapto-2-methylpentan-1-olpropanethiolethanethiolallyl methyl trisulfide3(2h)-furanone, 2-hexyl-5-methylallyl methyl sulfide2,4-dimethyl-thiopheneallyl methyl disulfide2-isopropyl-3-methoxypyrazinemesifuranecarbon disulfide2-methylpentanaldiallyl sulfide2,4-decadienalfuraneoldiallyl disulfidesulfur dioxidebenzyl isothiocyanate +148 more
1,719 research papers on onion

Show all 1,719 papers →

Explore more: pair it · find substitutes · discover novel pairings · get this data via the API · how we score pairs