Cut into an onion and something rather strange happens.
Within seconds, your eyes may begin to sting.
Then they water.
And before long, you can find yourself crying over a vegetable that has done absolutely nothing emotionally upsetting. π
But the tears aren’t caused simply by the onion’s smell.
You’ve triggered a chemical defence mechanism.
THE CHEMISTRY STARTS WHEN YOU CUT THE ONION

Inside an intact onion, different chemicals are stored in different parts of its cells.
As long as those cells remain undamaged, the chemicals are largely kept apart.
But when a knife cuts through the onion, thousands of cells are ruptured.
Compounds containing sulfur come into contact with an enzyme called alliinase.
The enzyme rapidly begins a series of chemical reactions.
One of the products eventually formed is a volatile sulfur-containing compound called syn-propanethial-S-oxide.
This is the onion’s lachrymatory factor β from the Latin lacrima, meaning tear.
And because it is volatile, it escapes from the damaged onion and travels through the air.
THEN IT REACHES YOUR EYES
When the lachrymatory factor reaches the surface of your eyes, it stimulates sensory nerve endings in the cornea.
Your nervous system interprets this as an irritant.
The response is immediate:
produce tears and wash the irritant away.
Your lacrimal glands therefore release additional tear fluid across the surface of the eye.
So the tears aren’t really the problem.
They’re your body’s defence against the problem.
WHY WOULD AN ONION DO THIS?
From the onion’s point of view, being cut isn’t particularly desirable.
The sulfur chemistry forms part of a broader chemical defence system found in onions and related plants.
When their tissues are damaged β perhaps by an animal attempting to eat them β previously separated chemicals and enzymes are suddenly mixed together.
Reactive and strongly flavoured sulfur compounds are produced.
They can make the plant unpleasant or irritating to whatever is eating it.
In other words, the chemistry only really springs into action after the plant has been attacked.
It’s rather like a chemical alarm system that isn’t activated until somebody breaks the window.
WHY DON’T COOKED ONIONS MAKE YOU CRY?
Heat changes everything.
Cooking damages and eventually denatures the enzymes responsible for initiating the chemistry.
Once alliinase loses its functional three-dimensional structure, it can no longer catalyse the reactions effectively.
The volatile lachrymatory factor is also unstable and doesn’t survive prolonged cooking.
That’s why chopping a raw onion can have your eyes streaming, while stirring cooked onions in a frying pan generally doesn’t.
CAN YOU ACTUALLY REDUCE THE TEARS?
Yes β and the chemistry explains why.
Cooling an onion before cutting it slows the reactions and reduces the rate at which volatile compounds escape.
A very sharp knife also causes less crushing and widespread cell damage than a blunt one, so fewer cells release their contents.
Ventilation helps simply because it carries the volatile lachrymatory factor away before much of it reaches your eyes.
And cutting an onion under water can reduce the effect because some of the volatile compound is prevented from travelling freely through the air β although it’s not exactly the most convenient way to prepare dinner.
The various kitchen tricks therefore aren’t magic.
They’re attempts to interfere with either the production or the transport of the lachrymatory factor.