Coughing when you’re sick is your body’s alarm-and-clearing system, a reflex meant to push irritants and mucus out of your airways. But an infection doesn’t just give your airways more to clear. It also turns up the sensitivity of the nerves that trigger the cough.1PubMed Central. Effect of viral upper respiratory tract infection on cough reflex sensitivity That is why a cough can feel out of proportion to how sick you are, and why it sometimes hangs on after other symptoms fade.
How Your Airways Turn Irritation Into a Cough
The cough starts with sensory nerve endings that line your windpipe and lungs. They connect to the brain through the vagus nerve.2PubMed Central. Encoding of the cough reflex A cough-control center in the brainstem collects those signals and decides whether to cough.2PubMed Central. Encoding of the cough reflex
Before the reflex fires, separate signals reach higher brain areas, and that is the tickle or urge to cough you feel first.3PubMed Central. Brainstem processing of cough sensory inputs in chronic cough hypersensitivity Because those higher areas are involved, you can briefly hold a cough back. When the signal is strong, as it is during an infection, that gets hard fast, which is why a cough feels partly voluntary and partly not.
Once the brainstem decides to go ahead, it coordinates the muscles in a fixed order: a breath in, a closed throat, then a forceful blast out.4PubMed Central. A vagal–brainstem interoceptive circuit for cough-like defensive behaviors in mice A deep breath fills the lungs, the voice box snaps shut, and the chest and belly muscles squeeze against it so pressure builds. When the throat suddenly opens, the trapped air rushes out very fast, and that speed carries mucus and debris up and out. This is why a cough sounds like a burst with a pause before it, and why a hard coughing fit can leave your ribs, chest and belly sore the next day. The whole sequence takes a fraction of a second and repeats if the first blast doesn’t clear the irritant, which is how one trigger becomes a run of coughs.
Different nerves react to different things. Some respond to chemical irritants, whether breathed in or produced by inflammation.3PubMed Central. Brainstem processing of cough sensory inputs in chronic cough hypersensitivity These carry sensors that react to smoke, vehicle exhaust, pollution and pungent compounds like those in mustard.5PubMed Central. Transient receptor potential A1 channels: insights into cough and airway inflammatory disease Other nerves respond to physical things such as mucus, swelling or narrowing of the airways.6PubMed Central. Anatomy and neuro-pathophysiology of the cough reflex arc
Why Infections Set Off the Cough Reflex
When a virus infects the cells lining your airways, your immune system responds with inflammation.7PubMed Central. Cough and viruses in airways disease: Mechanisms The infected cells release a wide range of chemical messengers that call in immune cells.7PubMed Central. Cough and viruses in airways disease: Mechanisms Even mild viruses like the common cold can cause a strong reaction, so a minor bug can still bring a hard cough.7PubMed Central. Cough and viruses in airways disease: Mechanisms Flu viruses can damage and kill more airway cells, which means heavier inflammation.7PubMed Central. Cough and viruses in airways disease: Mechanisms These inflammatory chemicals can act directly on cough nerves.5PubMed Central. Transient receptor potential A1 channels: insights into cough and airway inflammatory disease
Infections also make your airways produce more mucus.1PubMed Central. Effect of viral upper respiratory tract infection on cough reflex sensitivity In the large airways, where cough sensors are concentrated, that extra mucus stimulates the nerves and causes coughing.8PubMed. Mucous hypersecretion and relationship to cough
Mucus from your nose and sinuses counts too. It can drip down the back of your throat. That drip can trigger coughing directly by touching the throat.9PubMed Central. Mechanical Stimulation by Postnasal Drip Evokes Cough Nose and sinus problems are among the most common causes of long-running cough, alongside asthma and acid reflux.10PubMed Central. Upper Airway Cough Syndrome in Pathogenesis of Chronic Cough Nasal inflammation can also spread to the lower airways and sensitize the cough reflex.10PubMed Central. Upper Airway Cough Syndrome in Pathogenesis of Chronic Cough
A few clues suggest mucus dripping down the throat may be behind your cough. You clear your throat a lot and feel something trickling, the cough is worse after waking or lying down, and your nose is stuffy or runny. If that sounds familiar, treating the nose may calm the cough.
The type of cough hints at the mechanism. A dry cough often comes from irritated, sensitive nerves without much mucus, while a wet cough brings up phlegm from the chest. Many colds start dry and turn wet, or the reverse. The type hints at which mechanism is dominant, not how serious the illness is.
Why Coughing Gets Worse at Night
During the day, sitting or standing lets gravity pull mucus down, and you swallow it often without noticing. Lying flat and swallowing less while you sleep lets mucus collect at the back of the throat. There it brushes the sensitive area and sets off coughing, and mucus dripping from the nose has an easy path to the trigger. This is why many people cough just as they settle in, or wake up coughing in the early morning.
Body rhythms add to it. The body’s natural anti-inflammatory hormone is lower at night,11Tylenol. Why Do Cold & Flu Symptoms Feel Worse At Night? | TYLENOL® so inflammation-driven symptoms may flare in the evening.
A few things can take the edge off:
- Prop your head up with an extra pillow so mucus drains.
- Take a spoonful of honey before bed if you’re over one year old.
- Keep a glass of water by the bed to soothe a dry throat.
- Avoid smoke or strong scents in the bedroom.
Why a Cough Can Last After You Feel Better
During an infection, cough nerves become easier to set off, firing at weaker triggers and more often.12PubMed Central. Neural dysfunction following respiratory viral infection as a cause of chronic cough hypersensitivity That sensitivity usually fades as the inflammation clears.12PubMed Central. Neural dysfunction following respiratory viral infection as a cause of chronic cough hypersensitivity But some infections change the nerves in a more lasting way, so the oversensitivity outlives the virus, and a dry, unproductive cough can continue after the infection is gone.12PubMed Central. Neural dysfunction following respiratory viral infection as a cause of chronic cough hypersensitivity In this state, small things like temperature changes, perfume, sprays, talking or laughing can trigger coughing spells.13PubMed Central. Cough as a neurological sign: What a clinician should know
A lingering post-cold cough is typically dry and tickly, often coming in bursts. Cold air, talking or laughing sets it off. You otherwise feel well, with no fever, and it usually fades gradually over weeks. A cough that goes on for a few weeks after a cold is common, and it often reflects sensitive nerves healing rather than ongoing infection.
Whooping cough is an extreme example of the same idea. The bacterium that causes it makes a toxin that strengthens the cough-sensing signal.14PubMed Central. What Causes the Cough in Whooping Cough? The same toxin blocks the body’s built-in brakes that normally stop a cough once it starts.14PubMed Central. What Causes the Cough in Whooping Cough? People with whooping cough can’t stop once a fit begins, which produces long, violent bouts.14PubMed Central. What Causes the Cough in Whooping Cough?
Some patterns call for a doctor. In adults, a cough lasting longer than about eight weeks is considered chronic. Coughing fits that end in a whoop or vomiting suggest whooping cough. New wheezing or shortness of breath may point to asthma, and heartburn alongside the cough may suggest reflux.
What Actually Helps a Cough
Honey has the best evidence. In children with colds, a dose before bed reduced how often they coughed at night compared with nothing.15Archives of Pediatrics & Adolescent Medicine. Effect of Honey, Dextromethorphan, and No Treatment on Nocturnal Cough and Sleep Quality for Coughing Children and Their Parents Children given honey slept better, and so did their parents, compared with a placebo syrup that had no honey.16Pediatrics. Effect of Honey on Nocturnal Cough and Sleep Quality: A Double-blind, Randomized, Placebo-Controlled Study The type of honey didn’t matter; eucalyptus, citrus and other honeys worked about equally.16Pediatrics. Effect of Honey on Nocturnal Cough and Sleep Quality: A Double-blind, Randomized, Placebo-Controlled Study In the same comparison, the common cough suppressant dextromethorphan did no better than no treatment.15Archives of Pediatrics & Adolescent Medicine. Effect of Honey, Dextromethorphan, and No Treatment on Nocturnal Cough and Sleep Quality for Coughing Children and Their Parents Never give honey to babies under 1 year, because of the risk of infant botulism.
The research is mainly in children with colds, so for adults it’s a reasonable, low-risk thing to try rather than a proven treatment. Take a spoonful shortly before bed; children must be over one year old. Stirring it into warm tea or water works too.
Medicines act on different parts of the reflex. A cough suppressant quiets the cough itself; dextromethorphan, the “DM” in many cough syrups, is one, and it acts on the brain’s cough center.17PubMed Central. Central Mechanisms II: Pharmacology of Brainstem Pathways Benzonatate, a prescription capsule, numbs airway nerves much like a local anesthetic.18PubMed. Benzonatate inhibition of voltage-gated sodium currents Guaifenesin, found in many “chest congestion” products, is thought to thin mucus so it’s easier to cough up.19PubMed Central. The Role of Guaifenesin in the Management of Chronic Mucus Hypersecretion Associated with Stable Chronic Bronchitis: A Comprehensive Review So a cough-calming medicine suits a dry, sleep-stealing cough, while a mucus-loosening medicine suits a thick, phlegmy one.
Combination products may contain painkillers such as acetaminophen, so check labels and don’t double up with other cold medicines that contain the same ingredients. Children’s products carry age limits on the label.
Steam and moisture help in a different way. Steam condenses on the nose lining, making sticky mucus thinner and easier to clear.20Asian Pacific Journal of Allergy and Immunology. The effect of steam inhalation on nasal obstruction in patients with allergic rhinitis But in people with allergic nasal symptoms, breathing very hot humid air triggered coughing.21PubMed Central. Breathing hot humid air induces airway irritation and cough in patients with allergic rhinitis Warm, comfortable steam is the goal, not scalding air. Simple home steps add up: drink fluids to keep mucus thin, avoid smoke and strong irritants, and use lozenges for a tickly throat.
When a Cough Means You Should See a Doctor
The kind of cough you have won’t tell you whether the infection is bacterial. In adults with pneumonia, no symptom reliably showed whether the cause was a virus or bacteria.22PubMed. The value of signs and symptoms in differentiating between bacterial, viral and mixed aetiology in patients with community-acquired pneumonia So green phlegm or a harsh cough on its own doesn’t mean you need antibiotics, and a doctor may need an exam or tests to decide.
Phlegm color mostly reflects immune cells and the stage of a viral illness, so it can turn yellow or green in a plain cold. A doctor leans more on how you look and sound, how long it has gone on, and what they hear when listening to your chest. The useful question is whether new warning signs have appeared:
- Trouble breathing or chest pain
- High fever lasting more than a few days, or returning after improving
- Coughing up blood
- A baby or older adult who is struggling or very drowsy
- Coughing fits with a whoop or vomiting
A typical cold or flu improves steadily over days, even if a cough lingers. Feeling better and then getting a new fever, a worse cough or more breathlessness can mean a secondary infection such as pneumonia has set in.
Antibiotics usually don’t help a cold cough. Most coughs with colds come from viruses, and antibiotics don’t affect viruses. They bring side effects without speeding recovery, and a doctor can judge whether a bacterial infection is likely.

