Coughing when you’re sick is your body’s attempt to clear your airways of mucus, irritants, and debris created by infection. But it’s not just a simple reflex. Illness triggers coughing through multiple pathways at once: excess mucus stimulates nerve endings in your airways, inflammation makes those nerves hypersensitive, and swelling narrows the passages that air moves through. Understanding what’s actually happening helps explain why some coughs feel dry and ticklish while others are deep and phlegmy, and why a cough can linger for weeks after you otherwise feel fine.
How the Cough Reflex Works
Your airways are lined with specialized nerve fibers that act like tripwires. When something irritates them, whether it’s mucus, swelling, or a foreign particle, they send a signal through a large nerve called the vagus nerve to a processing area at the base of your brain. This brain region coordinates a rapid, involuntary sequence: your vocal cords close, your chest and abdominal muscles contract to build pressure, and then your vocal cords snap open, releasing a burst of air that can travel at high speed through your airways.
Two types of nerve fibers do most of the work. One type responds to physical touch and stretching, reacting when mucus pools against the airway walls. The other type responds to chemical irritants and inflammatory compounds released during infection. When you’re sick, both types are firing constantly, which is why the urge to cough can feel relentless.
Mucus Overproduction
Healthy airways produce a thin layer of mucus that traps dust and germs, then quietly moves it upward to be swallowed without you ever noticing. During an infection, your body ramps up mucus production dramatically. In the large airways, where cough-triggering nerves are most concentrated, this excess mucus directly stimulates those receptors and provokes coughing. The cough serves a purpose here: it physically expels mucus that’s carrying trapped viruses or bacteria.
In smaller airways like the bronchioles, the problem is different. These passages are so narrow that even a modest increase in mucus can partially plug them, restricting airflow and triggering deeper coughs as your body tries to force the blockage loose. This is why chest infections like bronchitis often produce that heavy, rattling cough that feels like it comes from deep in your lungs.
Inflammation Makes Nerves Hypersensitive
Mucus alone doesn’t explain the whole picture. When your immune system fights an infection, it floods the area with inflammatory compounds like prostaglandins, leukotrienes, and bradykinin. These chemicals don’t just fight the invader. They also act directly on the nerve endings in your airways, lowering the threshold at which those nerves fire. Things that wouldn’t normally trigger a cough, like a deep breath of cold air or a mild change in humidity, suddenly set off a coughing fit.
Your immune cells play specific roles in this sensitization. White blood cells called neutrophils generate reactive oxygen species and enzymes that irritate nerve endings. Eosinophils, another type of immune cell, release proteins that alter how sensory nerves function. They also produce nerve growth factor, a compound that increases the number of irritant-detecting channels on nerve fibers. The result is airways that are essentially on a hair trigger, reacting to stimuli they’d normally ignore.
This is why coughing during illness often feels disproportionate to what’s actually in your throat. Your nerves aren’t just responding to mucus or infection. They’ve been chemically reprogrammed to be far more reactive than usual.
Dry Coughs vs. Wet Coughs
Not all sick coughs sound or feel the same, and the difference comes down to what’s triggering them.
- Wet (productive) coughs bring up mucus or phlegm. They’re driven by excess secretions in the airways and serve a clear mechanical purpose: clearing that material out. These are common with chest colds, bronchitis, and sinus infections.
- Dry coughs produce no mucus. They’re caused by inflammation and nerve irritation rather than secretion buildup, and they often feel like a persistent tickle in the throat. Dry coughs are typical in the early stages of many viral infections and can also develop after the mucus-producing phase has ended.
A single illness can produce both types. You might start with a dry cough as the virus inflames your airways, transition to a wet cough as mucus production peaks, and then return to a dry cough as the infection clears but inflammation lingers.
Upper Airway Drip and Throat Irritation
When you have a cold or sinus infection, mucus doesn’t just accumulate in your lungs. It also drains from your nose and sinuses down the back of your throat. This drainage irritates cough receptors in the upper airway and can trigger persistent coughing, particularly when you lie down at night and gravity shifts the flow pattern.
Interestingly, the coughing from this drainage may not be entirely about mucus physically touching nerve endings. Direct inflammation of the cough receptors in the throat and larynx appears to play an equally important role. This is why your throat can feel raw and irritated even when you don’t feel mucus actively dripping, and why swallowing or talking can sometimes provoke a cough.
Why Coughs Outlast the Illness
One of the most frustrating aspects of getting sick is the cough that persists long after fever, congestion, and fatigue have resolved. A post-infection cough typically lasts three to eight weeks, and in some cases considerably longer.
The primary mechanism is cough reflex hypersensitivity. Even after your immune system has cleared the virus, the inflammatory damage to your airway lining takes time to heal. During that repair period, the nerve endings remain in their sensitized state, firing at stimuli that wouldn’t have bothered them before you got sick. Research on patients who developed chronic coughs after H1N1 influenza found their cough reflex sensitivity was nine times higher than that of people who recovered without a lingering cough, and this hypersensitivity persisted for over seven months in some cases.
Residual inflammation also plays a role. The airway lining may stay mildly inflamed for weeks after the infection resolves, continuing to produce low levels of the same inflammatory compounds that sensitized your nerves during the acute illness. This creates a self-reinforcing cycle: inflammation keeps nerves reactive, coughing further irritates the already-damaged tissue, and the irritation sustains the inflammation.
When a Cough Signals Something More Serious
Most coughs from common illnesses resolve on their own, but certain features suggest something beyond a routine viral infection. Coughing up blood warrants prompt evaluation. A voice that sounds persistently hoarse on every word (not just occasionally raspy) can indicate laryngeal involvement that needs assessment, particularly in smokers over 45. Progressive difficulty swallowing alongside a cough raises the threshold for concern further.
A cough that produces large volumes of discolored mucus daily for weeks may point to a condition called bronchiectasis, where the airways have become permanently widened and prone to recurrent infection. And a cough accompanied by a crackling sound when breathing in can suggest inflammation in the lung tissue itself rather than just the airways. Any cough lasting beyond eight weeks has moved past the expected timeline for a post-infection cough and is worth investigating.