SymptomLungs & breathing

Cough: Types, Causes and When to See a Doctor

A cough is a reflex that clears mucus, irritants and germs from your airways. Most coughs come from colds and settle within 3 weeks. Doctors sort coughs by how long they last (acute under 3 weeks, chronic over 8 weeks in adults), whether they are dry or bring up sputum, and the sound. Coughing up blood, breathlessness, chest pain, weight loss or a cough lasting more than 3 weeks should be checked.

Also called: Tussis, coughing

At a glance

What it is
A protective reflex that clears the airways.
Most common cause
Viral colds and chest colds (acute bronchitis).
Typical duration
Most coughs last 1 to 3 weeks. Over 8 weeks is chronic.
Main types
Dry or wet (productive), acute or chronic, plus distinctive sounds such as barking or whooping.
Chronic cough causes
Postnasal drip, asthma, reflux, smoking and some blood pressure pills (ACE inhibitors).
Treatment
Usually time and home remedies. Treat the cause for long-lasting coughs.

When to get help

Call 911 or go to the ER

  • Coughing up more than a few spoonfuls of blood
  • Severe breathlessness, blue lips, or inability to speak in full sentences
  • Sudden cough after choking on food or an object, with breathing difficulty
  • Pink, frothy sputum with severe breathlessness (possible fluid in the lungs)

See a doctor within a day or two

  • Cough with fever above 39 °C (102.2 °F), chest pain on breathing or fast breathing
  • Any blood streaks in sputum, especially if you smoke or are over 40
  • Coughing fits ending in a whoop or vomiting
  • A baby under 3 months with a cough, or a child with a barking cough and noisy breathing at rest

Book a routine appointment

  • A cough lasting more than 3 weeks
  • Weight loss, night sweats or a change in a long-standing smoker's cough
  • A dry cough that started after beginning a new blood pressure medicine

Usually safe to manage at home

  • A cough with a cold, runny nose and sore throat, improving after the first week
  • Clear, white, yellow or green phlegm with a cold, without breathlessness or high fever

Types of cough

Doctors ask three questions to classify a cough: how long, wet or dry, and what it sounds like.

By duration

TypeDuration in adultsUsual causes
AcuteUnder 3 weeksColds, flu, COVID-19, acute bronchitis, pneumonia
Subacute3 to 8 weeksCough lingering after an infection, whooping cough
ChronicOver 8 weeks (over 4 weeks in children)Postnasal drip, asthma, reflux, smoking, COPD, medicines

Dry vs wet (productive) cough

  • Dry cough: no phlegm, often a tickle in the throat. Typical of viral infections, asthma, reflux, ACE inhibitor medicines and early COVID-19. See dry cough.
  • Wet or productive cough: brings up mucus (sputum) from the chest. Typical of chest infections, COPD and bronchiectasis. See productive cough.

By sound

  • Barking, seal-like: croup in young children.
  • Whooping: a run of coughs followed by a gasping "whoop", typical of whooping cough.
  • Wheezy: asthma, bronchiolitis, COPD.
  • Throat-clearing, worse lying down: postnasal drip or reflux.

Cough with sputum: what the color and texture mean

SputumPossible meaning
Clear or whiteColds, asthma, early bronchitis, postnasal drip
Yellow or greenImmune cells in mucus. Common in viral infections. Does not by itself mean bacteria
Large amounts of thick, green or foul sputum every dayBronchiectasis, lung abscess, COPD flare
Rust-coloredPneumococcal pneumonia
Pink and frothyFluid in the lungs from heart failure (emergency)
Gray or blackSmoke, coal dust or pollution exposure
Streaked with or pure bloodInfection, bronchitis, tuberculosis, clots, lung cancer. Always get it checked

A loose cough in the morning that brings up frothy or gray mucus is typical of smokers and people with chronic bronchitis or COPD, because mucus pools overnight. Coughing up lumpy gray or porridge-like material can be caused by smoking or dust, or occasionally by tonsil debris or food aspiration, and should be checked if it persists.

Common causes of cough

Infections

Viral colds, flu and COVID-19 cause most acute coughs. A chest cold (acute bronchitis) can leave a cough for 3 weeks or more. Pneumonia causes cough with fever, chills, fast breathing and sometimes sharp chest pain.

Postnasal drip

Mucus dripping from the nose and sinuses irritates the throat. You may feel the need to clear your throat often, especially at night.

Asthma

Asthma can show up only as a dry cough (cough-variant asthma), worse at night, with exercise, cold air or allergens.

Reflux

Gastroesophageal reflux disease can cause a chronic dry cough, often after meals or on lying down. Heartburn may or may not be present.

Smoking and COPD

A daily wet cough, especially in the morning, is a hallmark of COPD. A change in a long-standing smoker's cough is a reason to get checked for lung cancer.

Medicines

ACE inhibitors (such as lisinopril and ramipril) cause a dry cough in a minority of users. It can start weeks or months after starting and fades within weeks of stopping.

Serious but less common causes

  • Heart failure: cough lying flat, frothy sputum, ankle swelling.
  • Lung cancer: persistent cough, blood in sputum, weight loss.
  • Tuberculosis: cough over 3 weeks, night sweats, weight loss.
  • Pulmonary embolism: sudden breathlessness and chest pain, sometimes coughing blood.
  • Inhaled foreign object: sudden cough after choking, mainly in children.

Massive coughing up of blood, which can kill quickly, is rare. It is usually caused by advanced lung cancer, tuberculosis cavities or bronchiectasis eroding a blood vessel, and needs emergency care.

Diagnosing a cough type

Your doctor will ask how long the cough has lasted, whether it is wet or dry, what the sputum looks like, what triggers it, whether you smoke, and which medicines you take. They will listen to your chest and check oxygen levels. Tests depend on the picture:

  • Chest X-ray: for cough over 3 to 8 weeks, coughing blood, weight loss or abnormal chest sounds.
  • Spirometry: breathing tests for asthma and COPD.
  • Sputum tests: for tuberculosis or persistent infection.
  • Swab tests: for flu, COVID-19 or whooping cough.
  • CT scan or bronchoscopy: when cancer, bronchiectasis or a foreign body is suspected.

Treatment and home care

  • Honey: a spoonful of honey, alone or in a warm drink, eases cough in adults and children over 1 year. Never give honey to babies under 12 months.
  • Fluids, rest and humid air loosen mucus.
  • Stop smoking: smoker's cough often improves within weeks.
  • Over-the-counter cough medicines: evidence for them is weak. Follow the label dose. Do not give cough and cold medicines to children under 4 in the US (UK guidance says under 6).
  • Antibiotics: do not help viral coughs or most bronchitis. They are used for confirmed or likely bacterial pneumonia, whooping cough and some COPD flares.
  • Cause-specific treatment: inhalers for asthma, nasal sprays for postnasal drip, acid-reducing medicine for reflux, switching from an ACE inhibitor.

Frequently asked questions

What are the different types of cough?

Coughs are grouped by duration (acute under 3 weeks, chronic over 8 weeks), by whether they bring up sputum (dry or productive), and by sound (barking, whooping, wheezy). Together these clues point to the likely cause, such as a cold, asthma, reflux, croup or whooping cough.

What does a cough with sputum mean?

A productive cough means your airways are clearing mucus, most often from a chest cold or bronchitis. Daily sputum for months suggests COPD or bronchiectasis. Blood, rust-colored or pink frothy sputum needs medical assessment. Green sputum alone does not mean you need antibiotics.

How long is too long for a cough?

Most coughs from colds are gone within 3 weeks. See a doctor if a cough lasts more than 3 weeks, keeps getting worse, or comes with blood, breathlessness, chest pain, fever or weight loss. A cough over 8 weeks is chronic and needs a cause found.

Is a morning cough with frothy sputum normal?

It is common in smokers and people with chronic bronchitis, because mucus collects overnight. It is not normal for healthy lungs and is often an early sign of COPD. Pink frothy sputum with breathlessness is different: it can mean fluid in the lungs and needs emergency care.

Why does my cough get worse at night?

Lying down lets mucus drip down the back of the throat and lets stomach acid reflux more easily. Asthma also tends to worsen at night. Raising your head, avoiding late meals and treating any nasal congestion or asthma often helps.

Sources

This guide was written from current patient and clinical guidance, including:

  • NHS: Cough
  • MedlinePlus: Cough
  • American College of Chest Physicians: CHEST guideline on chronic cough
  • NICE: Cough (acute): antimicrobial prescribing
  • CDC: Chest cold (acute bronchitis)