Coughing Up Yellow Phlegm and the Reasons Behind the Color

  • JCI Accredited
  • ISO Quality
  • International Health Tourism Authorization
  • Ministry of Culture and Tourism
  • Global Hospital Rating

Coughing up yellow phlegm is very common after a cold or a chest infection, and many people take it as a sign that something serious has started in the lungs. The yellow color comes from white blood cells that the body sends into the airways in order to deal with irritation or infection, so it shows that the immune system is active. The sections below look at why phlegm turns yellow, which everyday conditions tend to cause it, how long it usually lasts and what research has found about color and bacteria.

Mucus in the Airways and Its Normal Job

The nose, the throat and the breathing tubes (bronchi) are lined with cells that make a thin layer of mucus every day, and this mucus traps dust, smoke particles and germs before they are able to reach the deeper parts of the lungs. Tiny hair-like structures (cilia) on the lining then sweep the mucus slowly upward toward the throat, where it is swallowed without a person noticing it at all in most cases.

Phlegm (sputum) is the name for mucus that is coughed up from the chest instead of being swallowed quietly, and people tend to notice it when the airways make more mucus than usual or when the mucus becomes thicker and harder for the cilia to move. In healthy lungs the mucus is clear or slightly white, and it will usually go on to change color only when inflammation in the airways draws in large numbers of immune cells.

The Source of the Yellow Color

The main white blood cells that gather in inflamed airways are called neutrophils, and these cells carry an enzyme called myeloperoxidase that has a natural green tint. When many neutrophils collect in the mucus the enzyme gives the phlegm a yellow color at first and then a deeper green color as the number of cells goes up, so the shade tends to reflect how many neutrophils are present.

A study published in Thorax in 2001 compared sputum color with laboratory measurements and found that a standardized reading of color matched closely with myeloperoxidase and other markers of airway inflammation such as interleukin 8 and elastase. The color of phlegm is therefore a rough guide to the amount of inflammation in the airways, and it does not on its own name the germ or the irritant that caused that inflammation.

Everyday Causes of Yellow Phlegm

Viral infections of the nose, throat and chest are behind a large share of yellow phlegm, and a cold or flu will often lead to a few days of clear mucus that then turns yellow as the immune response builds. The US Centers for Disease Control and Prevention (CDC) notes that a chest cold (acute bronchitis) is usually caused by a virus and that it tends to get better on its own without antibiotics.

Conditions Higher in the Airways

Mucus from an inflamed nose or sinuses is able to drip down the back of the throat (postnasal drip) and it can then be cleared with a cough, so some people who think the phlegm comes from the chest are bringing up mucus from the sinuses. Allergies and sinus infections can both lead to this pattern and the mucus may look yellow when a number of immune cells are present in it.

Long-Term Lung Conditions

Regular smoking irritates the airway lining and slows the cilia down, and over time this tends to lead to a daily cough with phlegm that doctors call chronic bronchitis when it carries on for months over two or more years. Chronic bronchitis is one part of chronic obstructive pulmonary disease (COPD), and people with COPD or with widened and scarred airways (bronchiectasis) will often produce colored phlegm on many days of the year and not only during an infection.

Contact our team

How can we help you? Share your contact details to prepare your request.

How can we help?

Contact our team (category page)

By submitting you confirm you have read the privacy information and consent to the processing of your personal data.

Typical Duration of a Cough With Phlegm

The National Institute for Health and Care Excellence (NICE) in the UK states in its 2019 acute cough guideline that an acute cough is usually self-limiting and gets better within about three to four weeks without antibiotics. A systematic review by Ebell and colleagues published in the Annals of Family Medicine in 2013 pooled data from a number of studies and found that an acute cough lasted for an average of about 18 days, and the NICE guideline states that antibiotics make little difference to how long such a cough lasts.

The CDC describes the symptoms of a chest cold as lasting less than three weeks and lists symptoms that go on for longer than three weeks as a reason to see a healthcare professional. MedlinePlus from the US National Library of Medicine adds that a dry cough can stay for one to four weeks after the bronchitis itself has cleared, so the phlegm often fades first and a tickly cough then carries on for a while as the airway lining heals.

Phlegm Color and Bacteria in Research

A pooled analysis published in the European Respiratory Journal in 2012 looked at more than 4,000 sputum samples from people with flare-ups of chronic bronchitis and checked how often bacteria grew in the laboratory for each color. Bacteria were found far more often in green and yellow samples than in clear ones, and the authors found that a green or yellow color picked up most samples with bacteria and at the same time also appeared in a large number of samples that grew none.

Sputum colorShare of samples that grew bacteria
GreenAbout 59%
YellowAbout 46%
Clear or whiteAbout 18%

These figures come from people with an existing lung condition and they do not carry over directly to otherwise healthy adults with a cold. In people without long-term lung disease, reviews have found that colored sputum is not a specific sign of a bacterial infection or of a need for antibiotics, and the decision about any medicine is made by a doctor who takes the whole picture into account.

Factors That Keep Phlegm Going

Tobacco smoke and vaping aerosols, outdoor air pollution, dust and fumes at work and indoor smoke from cooking or heating fuels can all keep the airway lining irritated, and this irritation will make the lining go on producing extra mucus for longer after an infection. Asthma, acid reflux and COPD are also linked with a cough that lasts beyond the usual few weeks, so a doctor who looks at a long-lasting cough tends to ask about these conditions and about work and home exposures as well.

Flu, COVID-19, pneumococcal and whooping cough (pertussis) vaccines are aimed at infections that are able to inflame the airways, and health bodies recommend them for different age groups and risk groups. The care team gives advice on vaccines, smoking and exposures that fits each person, and anyone who notices that phlegm or a cough has changed or is carrying on for weeks can talk with a doctor about it.

Frequently Asked Questions

Is yellow phlegm a sign of a bacterial infection?

Yellow phlegm shows that neutrophils have gathered in the airways, and both viruses and bacteria are able to cause that response. Research in people with chronic bronchitis found bacteria more often in yellow and green samples, and in otherwise healthy adults the color alone is not a reliable guide to the cause.

Can smoking cause yellow phlegm without an infection?

Smoking irritates the airway lining and slows the cilia, so mucus builds up and immune cells move into the airways even when no infection is present. Long-term smokers can develop chronic bronchitis with phlegm on most days, and this pattern may show yellow or gray mucus in the morning.

Does green phlegm mean the problem is worse than yellow?

A deeper green shade usually reflects a larger number of neutrophils and more myeloperoxidase in the mucus. That tells the doctor about the level of inflammation and does not on its own show how serious the illness is, since many viral chest colds produce green phlegm and still clear up within a few weeks.

Should a cough with yellow phlegm be checked by a pulmonology doctor?

Most coughs after a cold settle within three to four weeks and are looked at by a family doctor if needed. A pulmonology doctor tends to see people whose cough or phlegm goes on for longer, keeps coming back or occurs alongside a lung condition such as asthma, COPD or bronchiectasis.

Speaking With a Pulmonology Specialist

People who keep bringing up yellow phlegm over many weeks, or who live with a long-term lung condition, can ask their doctor whether a referral to pulmonology would help them. A pulmonology doctor is able to look at the history, the exposures and test results together and then explain what may be causing the phlegm and which next steps suit that person.

References

  1. Stockley RA, Bayley D, Hill SL, et al. Assessment of airway neutrophils by sputum colour: correlation with airways inflammation. Thorax. 2001. https://pmc.ncbi.nlm.nih.gov/articles/PMC1746057
  2. Miravitlles M, Kruesmann F, Haverstock D, et al. Sputum colour and bacteria in chronic bronchitis exacerbations: a pooled analysis. European Respiratory Journal. 2012. https://pubmed.ncbi.nlm.nih.gov/22034649/
  3. National Institute for Health and Care Excellence. Cough (acute): antimicrobial prescribing, NICE guideline NG120. 2019. https://www.nice.org.uk/guidance/ng120
  4. National Institute for Health and Care Excellence. Cough (acute): terms used in the guideline, NG120. 2019. https://www.nice.org.uk/guidance/NG120/chapter/terms-used-in-the-guideline
  5. Centers for Disease Control and Prevention. Chest Cold (Acute Bronchitis) Basics. https://www.cdc.gov/acute-bronchitis/about/index.html
  6. MedlinePlus, US National Library of Medicine. Acute bronchitis. https://medlineplus.gov/ency/article/001087.htm
  7. Ebell MH, Lundgren J, Youngpairoj S. How long does a cough last? Comparing patients’ expectations with data from a systematic review of the literature. Annals of Family Medicine. 2013. https://doi.org/10.1370/afm.1430

Reviewed by

Medically reviewed by Prof. MD. Cengiz Özdemir · Pulmonology

Contact our team

We’re here to help

Send us your questions or requests and our international patient team will get back to you.

Book a free online doctor consultation

Patient-Centered
Care
Patient Safety
Ethical
Principles
Evidence-Based Medicine
Strong
Teamwork
Need Help? Chat with our medical team

Let's Talk on WhatsApp

📌

Get instant answers from our medical team. No forms, no waiting — just tap below to start chatting now.

or call us at +90 530 174 42 01