Symptom guide
Productive cough (coughing up phlegm): causes, red flags and when to see a GP
A cough that brings up mucus is the body clearing the airways, and after a cold or bout of bronchitis it often lingers for a couple of weeks. The questions that matter are how long it has gone on, whether there is blood in the phlegm, and whether breathlessness, fever or weight loss come with it.
Last checked: 2026-10-03
Key facts
At a glance.
-
Usual course
The NHS says the symptoms of a chest infection usually get better in about 7 to 10 days, while the cough and mucus can last up to 3 weeks.
-
The 3-week line
The NHS advises seeing a GP for a cough lasting more than 3 weeks; NICE CKS defines acute cough as under 3 weeks, sub-acute as 3 to 8 weeks and chronic as over 8 weeks.
-
Blood in phlegm
The NHS says to ask for an urgent GP appointment or call 111 for a cough that brings up blood or blood-stained mucus.
-
Antibiotics
The NHS says antibiotics do not work against viral chest infections such as viral bronchitis or flu, and are used for bacterial infections such as pneumonia.
-
Smoker's cough
The NHS says a persistent chesty cough with phlegm in a smoker or ex-smoker over 35 should not be dismissed as just a smoker's cough; it can be a sign of COPD.
What a productive cough is telling you
A productive cough is one that brings up mucus, also called phlegm or sputum. It differs from a dry, tickly cough, and its causes lean towards the lower airways and lungs rather than the throat and nose. NICE CKS describes cough as a reflex to airway irritation and notes that acute cough is most commonly caused by a viral upper respiratory infection, with acute bronchitis and pneumonia among the other causes.
The colour of mucus is a weak guide to the cause. The NHS lists coughing up green or yellow mucus as a symptom of chest infection and of pneumonia, but the NHS also stresses that a viral chest infection does not need antibiotics, so colour alone does not decide treatment.
Common causes, from most to least frequent
The NHS cough page says most coughs are caused by a cold or flu, with smoking, heartburn, allergies, infections such as bronchitis or COVID-19 and mucus dripping from the back of the nose as other causes. A productive cough narrows the list to the following.
| Cause | Typical features | Notes from UK sources |
|---|---|---|
| Viral chest infection or acute bronchitis | Chesty cough with mucus after a cold or flu, with aching and tiredness; chest soreness on coughing | Often better in about 3 weeks; antibiotics are not routinely indicated according to CKS |
| Pneumonia | Cough with breathlessness, temperature, chest pain, aching, loss of appetite; confusion in older people | May need antibiotics and sometimes hospital; most people recover in 2 to 4 weeks according to the NHS |
| COPD | Persistent chesty cough with phlegm, breathlessness on exertion, frequent chest infections, wheeze | Mainly affects middle-aged or older adults who smoke |
| Bronchiectasis | Daily cough with a lot of phlegm, repeated chest infections | Damaged airways produce much mucus; diagnosed by specialist tests including CT |
| Tuberculosis | Cough over 3 weeks, tiredness, fever or night sweats, appetite and weight loss | May bring up mucus with blood in it |
| Smoking-related airway irritation | Morning cough with phlegm, worse over years | Smoking comes first in the CKS list of causes of chronic cough |
| Asthma or reflux with cough | Cough with wheeze or night-time symptoms; heartburn | Both are on the CKS chronic cough list |
Red flags: when a productive cough is not routine
For urgent advice the NHS cough page lists a cough that is very bad or quickly gets worse, feeling very unwell, chest pain, a swollen painful gland at the side of the neck, difficulty breathing and coughing up blood, and recommends an urgent GP appointment or NHS 111. The NHS bronchitis page adds being over 65, pregnant, having a long-term heart, lung or kidney condition or diabetes, a weakened immune system, feeling too unwell for daily activities and being short of breath.
The NHS pneumonia page puts more serious signs at the A&E or 999 level: struggling to breathe, pale, blue or blotchy skin, lips or tongue, coughing up blood and sudden confusion. The NHS bronchiectasis page says coughing up more than a few spots or streaks of blood could be serious bleeding in the lungs and needs 999 or A&E. A cough lasting over 3 weeks with weight loss, night sweats or loss of appetite should lead to a GP review, as the TB and cough pages indicate.
-
Blood in the phlegm, even a few streaks, which warrants an urgent assessment; more than a few spots means 999.
-
Struggling to breathe, being unable to speak in full sentences, or blue or grey lips.
-
New confusion, especially in an older person.
-
Cough longer than 3 weeks, particularly with weight loss, night sweats or loss of appetite.
-
Chest pain that comes and goes or is triggered by breathing or coughing.
-
Underlying heart, lung, kidney or immune conditions, or age over 65.
What the doctor asks and examines
The NHS says a GP may listen to the chest with a stethoscope, take a sample of mucus, and order an X-ray, allergy test or lung function test. Questions usually concern how long the cough has lasted, the colour and amount of phlegm, any blood, breathlessness, fever, smoking, occupational exposure, medicines such as ACE inhibitors that CKS lists as a cause of chronic cough, and recent contact with TB.
CKS describes pulse oximetry when someone is acutely unwell, peak flow if asthma is possible, a C-reactive protein test if pneumonia is suspected and spirometry and chest X-ray for a chronic cough of uncertain cause. The CRB-65 score, which counts confusion, fast breathing, low blood pressure and age 65 or more, helps decide whether an adult with pneumonia can be treated at home.
Self-care while it settles
The NHS chest infection page suggests resting, drinking lots of water to loosen mucus, raising the head on extra pillows, using painkillers for temperature and aches, and a hot lemon and honey drink (not honey for under 12 months). It says not to smoke, not to give aspirin to under 16s, and not to let children breathe steam from a bowl because of scalding risk.
A pharmacist can suggest cough medicine to loosen mucus, though the NHS says some cough medicines are unsuitable for children, and decongestants or cough medicines containing codeine will not stop the cough. If you have a high temperature, the NHS asks you to stay home and avoid others; covering coughs and sneezes, disposing of tissues and handwashing reduce spread.
Who to see
A GP is the right contact for a cough that persists beyond 3 weeks, comes with weight loss, or occurs in someone with a weakened immune system. The NHS says people over 65, pregnant, or with a long-term health condition should seek advice earlier. A respiratory specialist is involved when a cough does not respond to a trial of treatment or the cause is unclear, as CKS notes.
People who keep getting chest infections can ask about the annual flu vaccine and the pneumococcal vaccine, which the NHS says helps prevent pneumonia, and about support to stop smoking.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
Does green phlegm mean I need antibiotics?
Not necessarily. The NHS says antibiotics are only used for bacterial chest infections, not viral ones such as flu or viral bronchitis, and that a GP will prescribe them only if needed.
-
How long should a chesty cough last?
The NHS says chest infection symptoms usually improve in about 7 to 10 days, while the cough and mucus can last up to 3 weeks. After 3 weeks it advises seeing a GP.
-
Is a morning cough with phlegm just a smoker's cough?
The NHS warns against dismissing it. A persistent chesty cough with phlegm, breathlessness and frequent chest infections, especially in a smoker over 35, should be checked for COPD.
-
What does blood-streaked phlegm mean?
It has several possible causes, from a long-lasting severe cough to infection or bronchiectasis, and occasionally something more serious. The NHS asks for an urgent GP appointment or NHS 111 for a few flecks and 999 or A&E for more than that.
-
What can I use to ease the cough?
The NHS suggests rest, plenty of fluids, a hot lemon and honey drink for adults and children over one, and painkillers for aches. It notes limited evidence for honey and herbal remedies and that cough medicines will not stop the cough.
-
Could it be tuberculosis?
TB usually causes a cough lasting more than 3 weeks with tiredness, fever or night sweats, poor appetite and weight loss. The NHS says to see a GP with these, or after prolonged contact with someone with TB symptoms.
-
Why does the cough come back with every cold?
Repeated chest infections can point to a long-term airway problem such as COPD or bronchiectasis, both of which the NHS describes with frequent infections and daily phlegm. This is a reason to ask a GP for a breathing test.
-
Do I need a chest X-ray?
The NHS says a GP might order one. CKS says a chest X-ray is not usually necessary in primary care for a chest infection but may confirm pneumonia, and is used for chronic cough of uncertain cause.
-
Should I stay off work or school?
The NHS says to stay at home and avoid contact with others if you have a high temperature or do not feel well enough for normal activities, and to cover your mouth when coughing and wash your hands regularly.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-03, next review 2027-10-03.
-
NHS, Cough: https://www.nhs.uk/conditions/cough/ (retrieved October 2026)
-
NHS, Chest infection: https://www.nhs.uk/conditions/chest-infection/ (retrieved October 2026)
-
NHS, Bronchitis: https://www.nhs.uk/conditions/bronchitis/ (retrieved October 2026)
-
NHS, Pneumonia: https://www.nhs.uk/conditions/pneumonia/ (retrieved October 2026)
-
NHS, Bronchiectasis: https://www.nhs.uk/conditions/bronchiectasis/ (retrieved October 2026)
-
NHS, Chronic obstructive pulmonary disease (COPD): https://www.nhs.uk/conditions/chronic-obstructive-pulmonary-disease-copd/ (retrieved October 2026)
-
NHS, Tuberculosis (TB): https://www.nhs.uk/conditions/tuberculosis-tb/ (retrieved October 2026)
-
NICE Clinical Knowledge Summaries, Cough: https://cks.nice.org.uk/topics/cough/ (retrieved October 2026)
-
NICE Clinical Knowledge Summaries, Chest infections - adult: https://cks.nice.org.uk/topics/chest-infections-adult/ (retrieved October 2026)
Related guides
Keep reading.
-
Bronchitis
Airway inflammation that often follows a cold.
Read guide -
Community-acquired pneumonia
Lung infection acquired outside hospital.
Read guide -
COPD
Long-term lung disease with chesty cough and breathlessness.
Read guide -
Dry cough
The other main cough pattern and its causes.
Read guide -
Chest X-ray
What a chest X-ray shows and when it is used.
Read guide