Symptoms A-Z

Coughing Up Green or Yellow Phlegm Symptom, Causes & Questions

Coughing up green or yellow mucus, also known as sputum, usually indicates that there is a bacterial or viral infection present. The most common infections that causes coughing up yellow or green phlegm includes bronchitis, pneumonia, or sinusitis. Individuals who are coughing up green or yellow mucus may also have a sore throat, runny nose, or headaches. Read below for more causes and how to get rid of phlegm in the chest.

This symptom can also be referred to as: purulent cough

An image depicting a person suffering from coughing up green or yellow phlegm symptoms

Coughing Up Green Or Yellow Phlegm Symptom Checker

Take a quiz to find out what might be causing your coughing up green or yellow phlegm


  1. Symptoms
  2. Causes
  3. 10 Possible Conditions
  4. Treatments and Relief
  5. Questions Your Doctor May Ask
  6. Statistics

Coughing Up Green or Yellow Phlegm/Mucus Symptoms Explained

Virtually everyone has seen, or experienced, a bad cold that has them coughing up phlegm that looks yellowish or greenish in color. These colors are a signal that your cough is likely caused by a bacterial infection, though less commonly a viral infection can produce similar symptoms. It's important to recall that antibiotics can help with a bacterial infection but not with a viral infection.

Producing phlegm and coughing are the body's efforts to gather up the infectious agents and get rid of them. It may be uncomfortable, but coughing may accelerate the overall recovery process, and why your medical provider may not always choose to prescribe a cough suppressant. Phlegm is also called sputum, mucus, or "snot."


Who is most often affected by coughing up green or yellow phlegm?

  • Children under five years.
  • Older children with enlarged tonsils and adenoids.
  • Adults over age 65.
  • Anyone with chronic lung disease.
  • Smokers.

When is it most likely to occur?

  • When you are in a stressed or weakened condition and exposed to someone else who is ill.
  • Following a viral infection such as a cold, or the flu, or a childhood disease such as chickenpox or measles. A secondary bacterial infection can take advantage of a weakened immune system following the viral infection.

Is coughing up green or yellow phlegm serious?

  • In a young and otherwise healthy individual, coughing up green or yellow material is usually not serious.
  • In an older person, especially over 65, these symptoms can be more debilitating.
  • In anyone who already has a weakened immune system or a chronic disease, these symptoms can lead to serious illness.

What Causes Someone to Cough Up Green or Yellow Mucus?

Most common cause types:

Mild to moderate bacterial infections, which generally produce yellow phlegm.

  • Acute inflammation of the lungs.
  • Acute inflammation of the larynx (the voice box), producing a very hoarse voice (laryngitis).
  • Chronic sinus infections (sinusitis).

Less common cause types:

Severe bacterial infections, which tend to produce green phlegm.

  • Bacterial infections of the lungs, which may produce fairly copious amounts of green phlegm along with a high fever.
  • An abscess in the lung, which can follow an untreated or severe case of pneumonia. A ruptured abscess will produce green phlegm, pain, and fever.

Viral illnesses, congenital illnesses, and damage to the lungs.

  • Viral upper respiratory infection (URI), also known as "a cold." Whitish-yellow sputum may appear with a cold.
  • Viral infections of the lungs may produce small amounts of yellow-white phlegm and a low-grade fever.
  • Damage to the lungs from repeated inflammation (bronchiectasis), making it difficult to expel the mucus normally and causing heavy coughing. This is sometimes due to a congenital condition.

10 Possible Coughing Up Green Or Yellow Phlegm Conditions

The list below shows results from the use of our quiz by Buoy users who experienced coughing up green or yellow phlegm. This list does not constitute medical advice and may not accurately represent what you have.


Acute bronchitis is an inflammatory reaction to an infection in the airways. Most cases of acute bronchitis are caused by a viral infection, although some cases may be due to a bacterial infection.

Symptoms include an acute-onset cough with or without sputum production, low-grade fever, shortness of breat...

Read more

Bacterial pneumonia

Bacterial pneumonia is an infection of the lungs caused by one of several different bacteria, often Streptococcus pneumoniae. Pneumonia is often contracted in hospitals or nursing homes.

Symptoms include fatigue, fever, chills, painful and difficult breathing, and cough that brings up mucus. Elderly patients may have low body temperature and confusion.

Pneumonia can be a medical emergency for very young children or those over age 65, as well as anyone with a weakened immune system or a chronic heart or lung condition. Emergency room is only needed for severe cases or for those with immune deficiency.

Diagnosis is made through blood tests and chest x-ray.

With bacterial pneumonia, the treatment is antibiotics. Be sure to finish all the medication, even if you start to feel better. Hospitalization may be necessary for higher-risk cases.

Some types of bacterial pneumonia can be prevented through vaccination. Flu shots help, too, by preventing another illness from taking hold. Keep the immune system healthy through good diet and sleep habits, not smoking, and frequent handwashing.

Rarity: Common

Top Symptoms: fatigue, cough, headache, loss of appetite, shortness of breath

Symptoms that always occur with bacterial pneumonia: cough

Urgency: In-person visit

Chronic bronchitis

By definition, chronic bronchitis describes a productive cough lasting more than three months at a time and occurring at least two years in a row. Chronic bronchitis is the less deadly but more bothersome side of the broader condition known as chronic obstructive pulmonary disease (...

Read more


Tuberculosis, or TB, is a lung infection caused by the bacteria Mycobacterium tuberculosis. In some cases, it can affect other organs such as the brain or kidneys.

The disease spreads when an infected person exhales, speaks, or coughs and someone else inhales the bacteria. Tuberculosis is not transmitted any other way. Some patients carry TB without ever showing symptoms, though the disease may become active if something happens to weaken the immune system.

Most susceptible are those with weakened immune systems; infected with HIV; living or working in homeless shelters, correctional facilities, or nursing homes; and children under age 5.

Symptoms include severe cough that may bring up sputum and/or blood; chest pain; weakness; weight loss; fever; chills, and night sweats.

Diagnosis is made through skin tests, blood tests, sputum tests, and chest x-ray.

Treatment involves a course of specialized antibiotics under close medical supervision, along with rest and supportive care.

There is a vaccine for tuberculosis, but it is not entirely effective and not routinely given in the United States.

Rarity: Rare

Top Symptoms: fatigue, cough, shortness of breath, rib pain, dry cough

Urgency: In-person visit

Aspiration pneumonia

Aspiration Pneumonia occurs when food, saliva, liquids, or vomit is breathed into the lungs or airways leading to the lungs, causing an infection.

Rarity: Rare

Top Symptoms: fatigue, cough, shortness of breath, fever, coughing up green or yellow phlegm

Urgency: Hospital emergency room

Coughing Up Green Or Yellow Phlegm Symptom Checker

Take a quiz to find out what might be causing your coughing up green or yellow phlegm


Bronchiectasis is destruction and widening of the large airways. Mucus builds up in these airways and can get infected, causing a pneumonia.

Rarity: Rare

Top Symptoms: cough, shortness of breath, wheezing, runny nose, mucous dripping in the back of the throat

Urgency: Primary care doctor

Chronic obstructive pulmonary disorder (copd) exacerbation

A COPD (chronic obstructive pulmonary disease) exacerbation is a worsening of your COPD, causing you to struggle for breathe. This is often caused by an infection in the lungs.

Rarity: Common

Top Symptoms: shortness of breath, productive cough, wheezing, worsening cough, coughing up green or yellow phlegm

Urgency: Hospital emergency room

Acute bacterial sinusitis

Acute bacterial sinusitis, also called bacterial rhinosinusitis or "sinus infection," has symptoms much like viral rhinosinusitis but a different treatment.

Any sinusitis usually begins with common cold viruses. Sometimes a secondary bacterial infection takes hold. Like cold viruses, these bacteria can be inhaled after an infected person coughs or sneezes.

Anyone with viral sinusitis, upper-respiratory allergy, nasal passage abnormality, lung illness, or a weakened immune system is more prone to bacterial sinusitis.

Symptoms include thick yellowish or greenish nasal discharge; one-sided pain in the upper jaw or teeth; one-sided sinus pain and pressure; fatigue; fever; and symptoms that get worse after first improving.

See a doctor right away for severe headache, high fever, stiff neck, or vision changes. These can indicate a medical emergency.

Diagnosis is made with a simple examination in the doctor's office.

Bacterial sinusitis can be treated with antibiotics, but this is not always necessary. Often rest, fluids, and over-the-counter pain relievers and decongestants are enough.

Prevention is done through good lifestyle and hygiene to keep the immune system strong.

Rarity: Common

Top Symptoms: fatigue, headache, cough, sinusitis symptoms, muscle aches

Symptoms that always occur with acute bacterial sinusitis: sinusitis symptoms

Symptoms that never occur with acute bacterial sinusitis: clear runny nose, being severely ill

Urgency: Primary care doctor

Bronchogenic cyst

A bronchogenic cyst is an abnormal sac of air that grows out of normal airways and is present at birth. It can enlarge and compress the lung tissue around it, causing symptoms such as cough, difficulty breathing, pain, and fever.

Rarity: Ultra rare

Top Symptoms: shortness of breath, constant cough, coughing up green or yellow phlegm, shoulder blade pain, deep chest pain, behind the breast bone

Symptoms that always occur with bronchogenic cyst: constant cough

Urgency: Primary care doctor

Lung abscess

A lung abscess is a large collection of pus in the tissue of the lungs that results from a bacterial infection. Bacteria that should not normally be found in the lungs causes inflammation that leads to a breakdown of the lung tissue, thus producing the pus.

Symptoms vary depending on whether the abs...

Read more

Treatments for Coughing Up Green or Yellow Mucus

Seek immediate treatment in the emergency room or call 911 if you are coughing up green or yellow phlegm and:

  • You have difficulty breathing, especially if you also have chest pain.
  • You cough up more than specks of blood or repeatedly see blood in the phlegm.
  • Your symptoms continue for three weeks or more.

Schedule an appointment if you are coughing up green or yellow phlegm and:

  • You feel worse after a few days instead of better.
  • You are pregnant.
  • You are over 65.
  • You have a chronic illness such as heart, lung, or kidney disease.
  • You have a weakened immune system, meaning you are undergoing chemotherapy, treatment for diabetes, etc.

Remedies that you can try at home:

  • Rest.
  • Drink plenty of water and other fluids.
  • A home humidifier may temporarily increase your comfort level.
  • Sleep propped up on pillows or with the head of your bed raised.
  • Use over-the-counter, nonsteroidal anti-inflammatory drugs such as ibuprofen to control fever and pain.
  • Use over-the-counter decongestants to make it easier to cough up the phlegm in your lungs.

Questions Your Doctor May Ask About Coughing Up Green Or Yellow Phlegm

To diagnose this condition, your doctor would likely ask the following questions:

  • Any fever today or during the last week?
  • Have you experienced any nausea?
  • Do you currently smoke?
  • Have you been in a healthcare facility like a hospital recently?

The above questions are also covered by our A.I. Health Assistant.

If you've answered yes to one or more of these questions

Take a quiz to find out what might be causing your coughing up green or yellow phlegm

Coughing Up Green Or Yellow Phlegm Symptom Checker Statistics

People who have experienced coughing up green or yellow phlegm have also experienced:

  • 16% Cough
  • 8% Sore Throat
  • 6% Congestion

People who have experienced coughing up green or yellow phlegm were most often matched with:

  • 55% Bacterial Pneumonia
  • 33% Chronic Bronchitis
  • 11% Bronchitis

People who have experienced coughing up green or yellow phlegm had symptoms persist for:

  • 43% Less than a week
  • 15% One to two weeks
  • 15% Two weeks to a month

Source: Aggregated and anonymized results from visits to the Buoy AI health assistant (check it out by clicking on “Take Quiz”).

Coughing Up Green Or Yellow Phlegm Symptom Checker

Take a quiz to find out what might be causing your coughing up green or yellow phlegm

Disclaimer: The article does not replace an evaluation by a physician. Information on this page is provided as an information resource only, and is not to be used or relied on for any diagnostic or treatment purposes.