Overview
Coughing helps keep your throat and airways clear. But coughing a lot can be a sign of an illness. A dry cough doesn't bring anything up. A wet (productive) cough brings up mucus, also called phlegm.
A cough that starts suddenly is usually from a cold, the flu, or a sinus infection, and it often goes away within 3 weeks. Some coughs last 3 to 8 weeks after an infection. A cough that lasts more than 8 weeks is called chronic and should be checked by a doctor.
When to get medical care
Causes
The most common causes are colds, the flu, and other viruses. Other causes include allergies, asthma, COPD, lung infections like pneumonia or bronchitis, sinus infections with mucus dripping down the throat, acid reflux (GERD), smoking or secondhand smoke, and some blood pressure medicines called ACE inhibitors. Less often, a cough comes from lung cancer or other lung diseases. Sometimes no cause is found.
OwieClear has pages on 38 conditions that can cause cough. Each shows how soon to get care.
Common causes
- Common coldOften treated at home
A mild viral infection of the nose and throat.
- Influenza (flu)See a doctor if it doesn't get better
A viral infection that tends to come on suddenly, with fever, body aches, and tiredness.
- Acute bronchitis (chest cold)Often treated at home
Irritation of the airways that causes a cough, sometimes with mucus.
- Bronchiolitis (RSV)See a doctor if it doesn't get better
A viral chest infection in babies and toddlers, often from RSV.
- COVID-19See a doctor if it doesn't get better
A viral infection that can cause fever, cough, tiredness, and loss of taste or smell.
- Something inhaled into the airway (child coughing after choking)May need emergency care
A small object or piece of food, like a nut, popcorn, a grape, or a toy piece, that goes into the windpipe or lung instead of the stomach.
- BronchiectasisSee a doctor if it doesn't get better
Damaged, widened airways that collect mucus, leading to a daily cough with lots of mucus, frequent chest infections, shortness of breath, and sometimes…
- Fungal lung infection (valley fever, histoplasmosis, blastomycosis, or aspergillosis)See a doctor if it doesn't get better
Infections from breathing in fungus spores from soil, bird or bat droppings, or decaying plants.
- PneumoniaOften needs care today
An infection that inflames the air sacs in the lungs.
- Whooping cough (pertussis)Often needs care today
A very contagious cough that starts like a cold, then turns into coughing fits that can end with a whooping sound or throwing up.
- Bird flu (avian influenza)Often needs care today
A flu virus that spreads among birds and sometimes dairy cows, and rarely to people who handle sick animals or raw milk.
- Legionnaires' diseaseOften needs care today
A serious pneumonia from breathing in water mist containing Legionella bacteria, from hot tubs, cooling towers, or plumbing.
- Pulmonary fibrosis (lung scarring)See a doctor if it doesn't get better
Scarring of the lungs that makes breathing harder over time.
Less likely causes
- Acid reflux (GERD)See a doctor if it doesn't get better
Stomach acid flowing back into the esophagus, causing heartburn or a sour taste.
- HistoplasmosisSee a doctor if it doesn't get better
A lung infection from breathing in spores of the Histoplasma fungus, found in soil with bird or bat droppings, especially in the Ohio and Mississippi River…
- Human metapneumovirus (hMPV)See a doctor if it doesn't get better
A common respiratory virus, similar to RSV, that causes colds, cough, and wheezing, mostly in late winter and spring.
- Mycoplasma pneumonia (a type of walking pneumonia)See a doctor if it doesn't get better
A mild pneumonia, often from Mycoplasma bacteria, common in school-age children and young adults.
- AspergillosisOften needs care today
Infections and allergies caused by Aspergillus, a mold found in dust, soil, and decaying leaves.
- BlastomycosisSee a doctor if it doesn't get better
A fungal infection from breathing in Blastomyces spores from moist soil and rotting wood, mostly around the Great Lakes, Ohio and Mississippi River valleys.
- Heart failureOften needs care today
The heart doesn't pump as strongly as it should, so fluid can build up.
- Severe chickenpox and widespread shinglesOften needs care today
Chickenpox and shingles can become serious in adults, pregnant women, newborns, and people with weak immune systems.
- Work-related (occupational) asthmaSee a doctor if it doesn't get better
Asthma caused or made worse by something breathed in at work, like flour, wood dust, chemicals, cleaning products, isocyanates in paints, or latex.
- Anti-GBM disease (Goodpasture syndrome)May need emergency care
A rare autoimmune disease that attacks the kidneys and lungs.
- Cryptococcal lung infectionSee a doctor if it doesn't get better
A lung infection from breathing in Cryptococcus fungus, found in soil with bird droppings and around certain trees, including in the Pacific Northwest.
- Epithelioid hemangioendothelioma (EHE)See a doctor if it doesn't get better
A very rare vascular cancer that can grow in the liver, lungs, bones, or soft tissue.
- Extragonadal germ cell tumorSee a doctor if it doesn't get better
Rare tumors made of the same kind of cells as testicular or ovarian germ cell tumors, but outside the testicles or ovaries, usually in the middle of the chest,…
- Granulomatosis with polyangiitis (GPA, Wegener's)Often needs care today
A vasculitis that affects the nose and sinuses, lungs, and kidneys.
- Hodgkin lymphomaSee a doctor if it doesn't get better
A cancer of the lymph system, most common in young adults and people over 55.
- Lung carcinoid tumorSee a doctor if it doesn't get better
A slow-growing neuroendocrine tumor of the lung, often not linked to smoking.
- MERS (Middle East respiratory syndrome)May need emergency care
A serious coronavirus infection from the Arabian Peninsula, linked to camels.
- MesotheliomaSee a doctor if it doesn't get better
A rare cancer of the thin lining around the lungs, belly, or heart, almost always caused by breathing asbestos years earlier.
- NUT carcinomaOften needs care today
A very rare, aggressive cancer defined by a NUTM1 gene change, usually in the chest, head, or neck, and often in young people.
- Pleuropulmonary blastomaOften needs care today
A very rare lung cancer of young children, usually under 6.
- Primary mediastinal large B-cell lymphomaOften needs care today
A fast-growing lymphoma in the middle of the chest, usually in young women.
- SARS (2003 coronavirus)See a doctor if it doesn't get better
A severe coronavirus pneumonia that caused a worldwide outbreak in 2002 and 2003, starting in China.
- Solitary fibrous tumorSee a doctor if it doesn't get better
A rare tumor that can grow almost anywhere, most often the lining of the lung, the belly, or the brain's lining.
- Thymoma and thymic carcinomaSee a doctor if it doesn't get better
Rare tumors of the thymus, a gland in the chest behind the breastbone.
- Tracheal cancerSee a doctor if it doesn't get better
A rare cancer of the windpipe.
What you can do at home
- Drink plenty of fluids to help thin mucus.
- Add moisture to the air with a vaporizer or a steamy shower. Keep any humidifier clean.
- Cough drops or hard candy may help a dry, tickly cough. Never give them to a child under 3, because they can cause choking.
- Don't smoke, and stay away from secondhand smoke.
- Keep taking your asthma or lung medicines if you have a long-term lung disease.
- If allergies cause it, keep windows closed on high-pollen days, shower after being outside, and use dust mite covers on pillows and mattresses.
Medicines
Guaifenesin (like Mucinex) helps loosen mucus. Follow the package directions and drink plenty of fluids. Decongestants can help a runny nose and mucus in the throat, but check with your doctor first if you have high blood pressure. Talk to your child's doctor before giving any cough or cold medicine to a child 6 or younger. These medicines likely don't work well in young children and can cause serious side effects. Antibiotics don't help coughs from colds, the flu, or allergies.
At the doctor
Treatment depends on what's causing the cough.
Questions you may be asked
- When the cough started
- What it sounds like, and whether you cough anything up
- Whether there's a pattern, like worse at night
- What makes it better or worse
- Other symptoms, like fever
The exam
The doctor will check your ears, nose, throat, and chest.
Tests
- A chest X-ray or CT scan
- Breathing (lung function) tests
- Blood tests
- Heart tests, like an echocardiogram
- Tests for acid reflux
- A nose or throat swab to check for a virus
Prevention
You can't prevent every cough, but these steps help:
- Don't smoke, and avoid secondhand smoke
- Stay away from your allergy triggers
- Take asthma or lung medicines as prescribed
- Wash your hands often and cover coughs and sneezes to avoid catching or spreading colds and flu
Check your symptoms
Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.
Sources
Last updated 2026-11-13.