A cough is triggered when sensory nerve endings in your airways, throat, or even your ear canals detect something irritating and send an urgent signal to your brainstem. That signal can come from dozens of sources: inhaled dust, stomach acid creeping upward, cold air, leftover inflammation from a cold you had weeks ago, or fluid backing up from a struggling heart. Understanding which triggers are behind your cough is the first step toward making it stop.
How the Cough Reflex Works
Your airways are lined with specialized nerve fibers that act like smoke detectors. Two types do most of the work: fast-acting stretch receptors that respond to mechanical irritation (like particles or mucus touching the airway wall) and slower C-fibers that respond to chemical irritants and inflammation. When either type fires, the signal travels along the vagus nerve to a relay station in the lower brainstem, which coordinates the explosive burst of muscle activity you experience as a cough.
What surprises most people is that the cough reflex isn’t limited to your lungs. Nerve branches from the vagus nerve also reach into the lining of your ear canals, your throat, and your nasal passages. That’s why cleaning your ears with a cotton swab can make you cough, or why mucus dripping down the back of your throat triggers the same reflex as smoke in your lungs. Your brain also plays a role in dialing the reflex up or down. Neuroimaging studies show that areas involved in sensory processing, motor planning, and even the cerebellum activate during both voluntary and involuntary coughing, helping regulate how sensitive the trigger stays.
Infections and Post-Viral Cough
Respiratory infections are the most common reason people start coughing. Viruses and bacteria inflame the airway lining, produce excess mucus, and directly stimulate those nerve endings. Most infection-related coughs clear within three weeks, which doctors classify as an acute cough.
But many people find the cough lingers well after the fever and congestion are gone. A post-viral cough can persist for three to eight weeks after the initial illness. The infection itself may be over, but it leaves behind widespread damage to the surface layer of the airways. Biopsies from patients after influenza A, for example, show that the protective lining can be stripped all the way down to the basement membrane. While that tissue rebuilds, the exposed nerve endings become hypersensitive, firing at stimuli that wouldn’t normally provoke a cough. Mucus production often stays elevated too, giving those raw nerves something to react to. If a cough hangs on past the eight-week mark, something other than lingering infection is usually responsible.
Postnasal Drip and Sinus Problems
When your nose and sinuses are inflamed from allergies, a sinus infection, or even dry indoor air, they produce extra mucus that slides down the back of your throat. This mucus contains inflammatory chemicals that stimulate cough receptors in the throat and voice box. The cough is often worse at night when you lie down and gravity stops helping the mucus drain forward. Many people describe a tickle or a constant need to clear the throat rather than a deep chest cough. This mechanism, sometimes called upper airway cough syndrome, is one of the top three causes of chronic cough in adults.
Acid Reflux and Stomach Contents
Gastroesophageal reflux disease (GERD) triggers coughing through two distinct pathways. In the first, tiny amounts of stomach contents, including acid, digestive enzymes like pepsin, and bile acids, travel far enough up the esophagus to reach the throat and get inhaled into the upper airway. This microaspiration directly irritates the respiratory tract lining.
In the second pathway, reflux doesn’t need to reach the throat at all. Acid irritating the lower esophagus can trigger a reflex through the vagus nerve that causes the airways to tighten and produce extra mucus, which then activates cough receptors from below. This is why some people with a reflux-related cough never experience heartburn. The cough can be the only symptom. Vigorous coughing itself can worsen reflux by increasing abdominal pressure, creating a cycle that keeps both problems going.
Asthma and Cough-Variant Asthma
Asthma narrows and inflames the airways, which keeps cough receptors in a state of chronic irritation. In classic asthma, coughing comes alongside wheezing and shortness of breath, making the cause fairly obvious. Cough-variant asthma is trickier: a dry cough is the only symptom. There’s no wheeze, no chest tightness, and no obvious breathing difficulty. Episodes can last hours or days.
The most common triggers for cough-variant asthma are cold air, changes in weather, and exercise. Allergies and other airway irritants can also set it off. Because the cough is dry and persistent without other respiratory symptoms, it often gets mistaken for a lingering cold or allergies before the correct diagnosis is made.
Environmental and Chemical Irritants
Your airways react to a long list of airborne substances. Some of the most common household and outdoor triggers include:
- Secondhand smoke, which contains more than 4,000 chemical compounds, several of them carcinogenic
- Dust mites, whose body fragments and droppings provoke allergic airway reactions
- Mold spores, especially in damp indoor environments
- Pet dander, meaning proteins from skin flakes, saliva, and urine rather than the fur itself
- Cockroach debris, including proteins in feces and saliva that trigger allergic reactions
- Nitrogen dioxide, an odorless gas released by gas stoves, kerosene heaters, and wood-burning appliances
- Household chemicals like cleaners, paints, adhesives, pesticides, air fresheners, and cosmetics
- Wood smoke from fireplaces and stoves, which delivers a mix of gases and fine particles deep into the lungs
- Outdoor air pollution and pollen, which can inflame airways and trigger coughing even in people without a formal asthma diagnosis
These irritants activate cough receptors either by direct chemical stimulation or by triggering an allergic inflammatory response that swells the airway lining and increases mucus production.
Heart Failure
A persistent cough that seems unrelated to your lungs could point to heart trouble. When the heart can’t pump blood forward efficiently, blood backs up in the vessels returning from the lungs. This forces fluid to leak into the lung tissue itself. The result is a cough that often produces white or pink-tinged mucus. It tends to worsen when lying flat and may come with shortness of breath, fatigue, or swelling in the legs. A cough with these features, especially in someone with known heart disease or risk factors, warrants prompt medical attention.
How Cough Duration Points to the Cause
Doctors use timing as a first filter. An acute cough, lasting under three weeks, almost always traces back to a respiratory infection like a cold, flu, or COVID. A subacute cough, lasting three to eight weeks, is most often a post-viral cough where damaged airways are still healing. A chronic cough, persisting beyond eight weeks, shifts the likely causes toward postnasal drip, asthma, acid reflux, or medications (particularly ACE inhibitors used for blood pressure).
These categories overlap, and more than one trigger can operate at the same time. Someone with acid reflux and mild allergies might tolerate each condition individually but develop a chronic cough when both are active, because the combined irritation pushes their cough receptors past the firing threshold. Identifying and addressing each contributing factor is often the key to finally quieting a stubborn cough.

