Phlegm from pneumonia is usually thick and colored, most often yellow, green, or a rusty brown, and it can carry streaks of blood.1MedlinePlus. Sputum Culture: MedlinePlus Medical Test Color is only a clue, though. The same shades turn up in chest infections that aren’t pneumonia and aren’t always caused by bacteria. How hard you’re breathing, how high your fever runs, and how quickly you’re getting worse say more about whether you need care than the exact shade does.
Why Phlegm Changes Color When You’re Sick
Sputum is the medical word for the thick mucus your lungs make and you cough up. Its thickness is the point: it traps germs and other foreign material so you can cough them out.1MedlinePlus. Sputum Culture: MedlinePlus Medical Test It also carries white blood cells, the infection-fighting cells that attack bacteria and fungi in the airways.1MedlinePlus. Sputum Culture: MedlinePlus Medical Test One type of these cells holds a naturally green enzyme. In small amounts it tints phlegm yellow, and as more cells pile up the color turns greener.2ER of Coppell. Yellow vs Green Mucus: Understanding the Difference
Viral infections draw those cells in too, so an ordinary viral cold can turn phlegm green. Phlegm you cough up first thing in the morning is often darker because it has sat in the airways overnight.
Healthy airways make a small amount of thin, clear mucus that you usually swallow without noticing. Clear or white phlegm fits a cold, allergies, or irritation rather than a heavy infection.
Thickness changes along with color. Infected phlegm gets thicker and stickier as cells and debris build up, and thick phlegm is harder to cough up, which is why the cough can feel stuck. Drinking fluids keeps mucus looser and easier to clear.
Because color can shift within a single day, one dark sample is not a trend. Watch the direction over several days. A steady move toward thicker, darker phlegm while you feel worse tells you more than any single look. Colored phlegm usually shows up a few days into a respiratory illness, so it’s common in the middle of a cold. Color that lingers into a second week while you feel worse is a different situation.
Does Yellow or Green Phlegm Mean You Need Antibiotics
Dark yellow or green phlegm often goes with a bacterial infection such as pneumonia.1MedlinePlus. Sputum Culture: MedlinePlus Medical Test Among people seeing a family doctor for a new cough, about 8 in 10 with a bacterial infection had yellow or green phlegm.3PubMed Central. Sputum colour for diagnosis of a bacterial infection in patients with acute cough But more than half of those without a bacterial infection had it too.3PubMed Central. Sputum colour for diagnosis of a bacterial infection in patients with acute cough So colored phlegm only slightly raises the chance that a cough is bacterial.
That’s why doctors don’t prescribe antibiotics on color alone. Antibiotics don’t help viral infections, and many green-phlegm coughs are viral. Unneeded antibiotics can cause side effects such as stomach upset and diarrhea. Each unneeded course also gives bacteria a chance to adapt, which makes future infections harder to treat.
In people with long-term lung disease, color is a bit more useful. In people with COPD having a flare-up, darker, more pus-like phlegm went along with bacterial causes fairly well.4PubMed Central. Clinical Features and C-Reactive Protein as Predictors of Bacterial Exacerbations of COPD Adding a common blood test for inflammation barely improved on the phlegm color alone.4PubMed Central. Clinical Features and C-Reactive Protein as Predictors of Bacterial Exacerbations of COPD If you have COPD, a change toward darker phlegm is worth reporting to your doctor.
To separate pneumonia from a milder chest infection, doctors listen to your chest, count your breathing rate, check your temperature, and often measure oxygen with a fingertip clip. These say more than phlegm color. Pneumonia tends to bring higher fever, chills, and shortness of breath, while milder bronchitis is often mostly cough. Chest pain that sharpens when you breathe in deeply suggests an inflamed lung lining and is worth mentioning. Feeling worse after a week instead of better is a reason to get checked. A chest X-ray is what confirms pneumonia, so the diagnosis isn’t made from the look of what you cough up.
Rusty, Red, and Blood-Streaked Phlegm
Inflamed lung tissue lets red blood cells leak into the airways.5HealthTap. What Does Pneumonia Sputum Look Like: Colors Explained As that blood breaks down, it turns phlegm a rusty brown.5HealthTap. What Does Pneumonia Sputum Look Like: Colors Explained Rust-colored phlegm is one of the classic signs of bacterial pneumonia. Not everyone with pneumonia coughs it up, though, so its absence doesn’t rule pneumonia out. Brown or rusty phlegm can also follow a nosebleed or bleeding in the airways from other causes, so it’s a reason to be checked, not a diagnosis.
Pneumonia caused by Klebsiella bacteria can produce thick, bloody, sticky phlegm that can look like red currant jelly.6MalaCards. Klebsiella Pneumonia This kind of phlegm needs prompt medical attention.
A few thin streaks of bright red blood often come from airways irritated by hard coughing. Coughing up more than streaks, or rust-colored phlegm along with fever and breathlessness, is an emergency sign.7ER of Lufkin. Pneumonia Symptoms: Red Flags & Walking Pneumonia ER Guide
Blood from a nosebleed, gums, or throat can mix into what you spit and look alarming even though the lungs are fine. Blood from the lungs is usually coughed up mixed into phlegm and may look frothy or bubbly. If you can’t tell where it came from, describe it to a doctor rather than guessing.
Black Phlegm and Foul-Smelling Phlegm
Black phlegm is uncommon and has only a few known causes.8PubMed Central. Exophiala Pneumonia Presenting with a Cough Productive of Black Sputum It happens most often in coal miners with severe lung scarring from coal dust.8PubMed Central. Exophiala Pneumonia Presenting with a Cough Productive of Black Sputum It has also been seen in people who smoke crack cocaine.8PubMed Central. Exophiala Pneumonia Presenting with a Cough Productive of Black Sputum Rare fungal infections can cause it too, especially in people with cystic fibrosis or COPD.9PubMed Central. Black-pigmented sputum
Not all dark phlegm is dangerous. Smoking or breathing heavy smoke can leave gray or dark flecks, and some dark foods and drinks briefly tint mucus. Dark phlegm that keeps appearing with no obvious explanation should be checked, because the rare serious causes are worth ruling out.
A foul smell points to a different problem. Foul-smelling phlegm is an important warning sign of infection after inhaling food, drink, or vomit into the lungs.10Primary Care: Clinics in Office Practice. Aspiration Pneumonia and Anaerolic Lung Infections The putrid discharge typically appears about 8 to 14 days after that event.11PubMed. Aspiration pneumonia and primary lung abscess: diagnosis and therapy of an aerobic or an anaerobic infection? Bacteria that live without oxygen can create pockets of pus called lung abscesses.11PubMed. Aspiration pneumonia and primary lung abscess: diagnosis and therapy of an aerobic or an anaerobic infection? When an abscess drains, a large amount of very foul, sometimes bloody pus may suddenly be coughed up.12J. bras. pneumol.. Lung abscess: analysis of 252 consecutive cases diagnosed between 1968 and 2004 Bad-smelling phlegm, especially after choking or vomiting, warrants a doctor visit.
Some people are more likely to breathe food or saliva into the lungs. People with swallowing trouble after a stroke are more likely to have food or drink slip into the airway. Heavy drinking or strong sedation dulls the cough and gag reflexes that normally protect it. Poor dental health adds more mouth bacteria to whatever is inhaled, which raises the chance of infection.
When Phlegm and Other Symptoms Mean Get Help Now
Seek emergency care for any of these:
- Bluish lips, fingertips, or skin, a sign of dangerously low oxygen7ER of Lufkin. Pneumonia Symptoms: Red Flags & Walking Pneumonia ER Guide
- Severe shortness of breath at rest, or breathing that worsens over hours7ER of Lufkin. Pneumonia Symptoms: Red Flags & Walking Pneumonia ER Guide
- Confusion or sudden behavior change, especially in older adults7ER of Lufkin. Pneumonia Symptoms: Red Flags & Walking Pneumonia ER Guide
- Chest pain that doesn’t ease with rest7ER of Lufkin. Pneumonia Symptoms: Red Flags & Walking Pneumonia ER Guide
- Fever above 102°F that doesn’t come down with medicine7ER of Lufkin. Pneumonia Symptoms: Red Flags & Walking Pneumonia ER Guide
- Coughing up blood or rust-colored phlegm7ER of Lufkin. Pneumonia Symptoms: Red Flags & Walking Pneumonia ER Guide
- Rapid heartbeat with weakness or dizziness7ER of Lufkin. Pneumonia Symptoms: Red Flags & Walking Pneumonia ER Guide
- Being unable to keep fluids down13Temple Express ER. How is Pneumonia Diagnosed and Treated in an Emergency Room?
Even without those signs, see a doctor promptly if a cough with phlegm is severe or getting worse.14American Lung Association. Pneumonia Symptoms and Diagnosis Some people shouldn’t wait for the emergency list. Older adults may become confused or unusually tired before they develop a high fever or much cough, so a sudden change in behavior counts as a warning. Babies and young children show breathing trouble through fast breathing or by pulling in the skin between the ribs. People with heart or lung disease or weakened immunity can worsen quickly and should call early.
Will Your Doctor Test Your Phlegm
A sputum culture tests coughed-up phlegm to find the bacteria or fungi causing an infection.1MedlinePlus. Sputum Culture: MedlinePlus Medical Test The catch is the sample. Among people hospitalized with pneumonia, only about half of samples collected were good enough to test.15PubMed Central. Assessment of the usefulness of sputum culture for diagnosis of community-acquired pneumonia using the PORT predictive scoring system A sample that is mostly saliva, not deep lung phlegm, can’t show what’s in the lungs. When the sample was good and showed a likely germ under the microscope, the culture grew it in more than 8 in 10 cases.15PubMed Central. Assessment of the usefulness of sputum culture for diagnosis of community-acquired pneumonia using the PORT predictive scoring system
A usable sample takes some technique. Rinse your mouth with plain water first, without mouthwash, to cut down on food and mouth germs. Breathe in deeply and cough hard from the chest, not the throat, so the sample comes from deep in the lungs. Morning is often the best time because phlegm collects in the airways overnight. Spit directly into the sterile cup and close the lid right away.
Most people treated at home for mild pneumonia never need a phlegm test. It is more common in hospital, with severe illness, or when treatment is not working. Results usually take a couple of days, so treatment often starts before they come back.

