Quick answer
Scientists do not yet agree on one main function of yawning. Yawns often occur around transitions in alertness—before sleep, after waking, during boredom, or when attention changes. Research has also explored thermoregulation, arousal, airway mechanics, and social coordination. The familiar claim that yawning simply corrects low oxygen is not supported by classic experiments.
Contagious yawning is a related but separate question. Seeing, hearing, reading about, or thinking about a yawn can trigger one, but susceptibility varies widely. That response should not be treated as a simple test of empathy or personality.
What happens during a yawn?
A yawn is a stereotyped sequence rather than an ordinary deep breath. The mouth opens widely, the jaw and pharyngeal muscles stretch, inspiration builds to a peak, and the muscles then relax during expiration. It can occur with stretching of the face, neck, trunk, or limbs.
Physiological studies have measured short-lived changes in heart rate, lung volume, eye-muscle tension, and breathing around a yawn. Those measurements describe what accompanies yawning, but they do not by themselves establish why the behavior exists.
Why the oxygen explanation is weak
The idea that yawning raises oxygen or removes excess carbon dioxide is intuitive because a yawn includes a large inhalation. But a behavior can involve breathing without being controlled by blood gases.
In a classic experiment, changing the oxygen and carbon-dioxide content of inhaled air altered breathing but did not produce the predicted changes in yawning. That is why modern reviews generally do not consider oxygen shortage a sufficient explanation for ordinary yawning.
If someone has shortness of breath, blue lips, chest pain, confusion, or another sign of possible low oxygen, that is a medical problem—not something to interpret through yawning alone.
The thermoregulation hypothesis
One prominent hypothesis proposes that yawning contributes to brain or cranial temperature regulation. Researchers have reported associations between yawning and ambient temperature, physiological states linked with temperature change, and cooling manipulations.
The hypothesis is plausible, but the evidence has limits. Some studies are small, use self-reported contagious yawns, or infer brain temperature indirectly. Much of the literature comes from a relatively concentrated group of researchers. A later scoping review of yawning and airway physiology still concluded that there is no consensus on yawning's main function.
The careful conclusion is therefore not “yawning cools the brain” as a settled fact. It is that thermoregulation is one evidence-backed model that continues to be tested alongside other possible functions.
Alertness and state changes
Yawning clusters around sleep–wake transitions and monotonous situations. That pattern has led to proposals involving arousal or a change of behavioral state. A yawn might accompany the nervous system moving from one level of alertness to another without being the direct cause of that transition.
This distinction matters. Finding that yawns occur when people are tired does not prove that yawning wakes the brain, just as finding yawns near bedtime does not prove that yawning causes sleep. Researchers need controlled measurements before, during, and after yawning to separate correlation from function.
Why yawning can be contagious
Contagious yawning has been observed in humans and some other social species. Visual and auditory cues can trigger it, and the response becomes more common during childhood as several cognitive and attentional systems develop.
Older popular accounts often describe contagious yawning as a direct readout of empathy. The evidence is more complicated. Attention to the stimulus, familiarity, age, fatigue, temperature, and the study method can all affect whether a person yawns. Studies connecting yawn contagion to empathy measures have not produced one simple, universal relationship.
Not yawning when someone else yawns says little about an individual's empathy. It is not a diagnostic sign for autism, psychopathy, or any other condition.
When frequent yawning deserves attention
Yawning is usually normal, especially with fatigue or a changing sleep schedule. Some medicines and medical conditions can be associated with unusually frequent yawning, but the symptom is nonspecific.
Seek medical advice if a new pattern is persistent, disruptive, follows a medication change, or occurs with fainting, weakness, severe headache, chest symptoms, or other concerning changes. An article cannot determine the cause for an individual.
What we can say confidently
- Ordinary yawning is not adequately explained as a response to low oxygen.
- Yawning is a coordinated motor pattern seen across many vertebrates.
- It is associated with changes in alertness and sleep–wake state.
- Thermoregulation is a serious hypothesis, not a settled answer.
- Contagious yawning is real, but it is not a simple empathy test.
- Researchers still debate whether yawning has one primary function or several context-dependent effects.
Sources
- PubMed: Yawning and airway physiology—a scoping review
- PubMed: Why do we yawn?
- PubMed: Changes in physiology before, during, and after yawning
- PubMed: The thermoregulatory theory of yawning
For another everyday body question where a familiar explanation can outrun the evidence, read What Is Sleep Debt?.