Overview
Your airways make mucus all the time to trap germs and dust. During an infection or irritation, they make more, and it may get thicker and change color. Yellow or green mucus doesn't always mean a bacterial infection; it often happens with viral colds too.
Mucus from the nose that drips down the throat (postnasal drip) can cause a cough and throat clearing. Phlegm from the lungs can come with bronchitis, pneumonia, asthma, or COPD. Ongoing phlegm every day is common in people who smoke.
When to get medical care
Causes
Common causes include colds, flu, and COVID-19, allergies, sinus infections, acute bronchitis, postnasal drip, and smoking. Other causes include pneumonia, asthma, COPD and chronic bronchitis, acid reflux, bronchiectasis, cystic fibrosis, tuberculosis, and, less often, lung cancer.
OwieClear has pages on 3 conditions that can cause mucus or phlegm. Each shows how soon to get care.
Common causes
- Acute bronchitis (chest cold)Often treated at home
Irritation of the airways that causes a cough, sometimes with mucus.
- 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…
- PneumoniaOften needs care today
An infection that inflames the air sacs in the lungs.
What you can do at home
- Drink plenty of fluids to thin mucus.
- Breathe in steam from a shower or bowl of hot water, or use a humidifier.
- Rinse your nose with saline for nasal mucus and postnasal drip.
- Raise your head with extra pillows at night.
- Don't smoke, and avoid smoke and fumes.
- Cough it up rather than swallowing it.
Medicines
Guaifenesin (Mucinex) may thin mucus. Antihistamines and steroid nose sprays help allergies and postnasal drip. Antibiotics only help bacterial infections. Don't give cough and cold medicines to children under 4 without asking a provider.
At the doctor
The provider will look for the source of the mucus.
Questions you may be asked
- How long you've had it and what color it is
- Fever, shortness of breath, or wheezing
- Blood in the phlegm
- Smoking history
- Allergies or sinus symptoms
- Heartburn
The exam
Listening to your lungs and looking in your nose and throat.
Tests
- A chest X-ray
- A sputum test
- Lung function tests
- A CT scan in some cases
Prevention
You can lower your risk.
- Don't smoke
- Wash hands often
- Get flu, COVID-19, and pneumonia vaccines
- Treat allergies
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.