What Each Phlegm Color Means for Your Health

Phlegm color gives you a rough snapshot of what’s happening in your airways, from a mild allergic reaction to a serious infection. But it’s not as reliable a diagnostic tool as many people assume. The CDC states plainly that colored sputum does not indicate bacterial infection on its own. Still, color combined with other symptoms and how long you’ve been sick can help you figure out what’s going on and whether you need medical attention.

Why Phlegm Changes Color

Healthy mucus is thin and clear. Your body produces about a liter of it every day to keep your airways moist and trap dust, allergens, and microbes before they reach your lungs. When your immune system detects a threat, it sends white blood cells called neutrophils to the site. These cells contain an enzyme that is naturally dark green. As more neutrophils flood the area and break down, they release this enzyme into the surrounding mucus, shifting its color from clear to yellow to green depending on how many immune cells are present.

This means the color change reflects the intensity of your immune response, not necessarily the type of infection. A strong viral infection can produce bright green phlegm, while a mild bacterial infection might only turn it pale yellow. That’s why doctors can’t prescribe antibiotics based on color alone.

Clear Phlegm

Clear phlegm is the baseline. Your body produces it constantly, and most of the time you swallow it without noticing. When you start producing noticeably more clear phlegm, it usually means your body is flushing out an irritant like pollen, pet dander, dust, or smoke. Seasonal allergies are the most common trigger.

Clear phlegm can also appear early in a viral illness, before the immune response ramps up and changes the color. Viral bronchitis and viral pneumonia both start with clear mucus production that may thicken and change color over the following days.

White or Gray Phlegm

White or creamy phlegm typically signals the early stages of your immune system responding to an infection, most often a common cold or other viral illness. The color and increased thickness come from immune cells beginning to accumulate in the mucus. GERD (acid reflux) can also cause white phlegm, since stomach acid irritates the throat and triggers mucus production. COPD and congestive heart failure are other possible causes, though these conditions come with additional symptoms like chronic shortness of breath, wheezing, or ankle swelling that make them hard to miss.

Yellow Phlegm

Yellow phlegm means your immune response is in full swing. The yellowish tint comes from a moderate concentration of those enzyme-carrying white blood cells. This is extremely common during colds, sinus infections, and bronchitis, and it typically appears a few days into the illness as your body fights harder against the invader. Most of the time, yellow phlegm during a cold or upper respiratory infection is completely normal and does not mean you need antibiotics. It’s your immune system doing its job.

Green Phlegm

Green phlegm indicates a high concentration of neutrophils and their green-pigmented enzyme. The deeper the green, the more intense the immune activity. People often assume green phlegm automatically means a bacterial infection requiring antibiotics, but research published in Clinical Microbiology and Infection found that patient-reported sputum color is actually an unreliable marker of bacterial presence. Even when clinicians assessed the color directly using standardized charts, it was only a rough indicator that needed to be interpreted alongside bacterial load testing and signs of systemic inflammation.

That said, green phlegm lasting more than 10 to 14 days, or green phlegm paired with a high fever, worsening shortness of breath, or wheezing, does warrant a medical visit. At that point, the duration and accompanying symptoms suggest something beyond a typical viral illness.

Red or Pink Phlegm

Red or pink-tinged phlegm contains blood, a symptom called hemoptysis. In many cases, the cause is not dangerous. Small amounts of blood streaked through mucus often result from irritated airways during a bad cough, dry air, or minor inflammation from bronchitis. Repeated forceful coughing can rupture tiny blood vessels in the throat or bronchial tubes.

However, coughing up more than a streak of blood, or seeing bright red phlegm, requires prompt medical evaluation. Possible causes range from pneumonia and bronchiectasis (a condition where damaged airways accumulate mucus prone to infection and bleeding) to more serious conditions like lung cancer, tuberculosis, a blood clot in the lung, or mitral valve disease in the heart. Pink, frothy phlegm specifically can indicate fluid backing up into the lungs from heart problems.

If you’re coughing up blood alongside chest pain, trouble breathing, or difficulty swallowing, treat it as an emergency.

Brown Phlegm

Brown phlegm often points to old blood that has oxidized, turning from red to rust-colored before being coughed up. This can happen after a nosebleed, after a previous episode of blood-streaked mucus, or with certain types of pneumonia. Smoking is another common cause. Tar and resin from cigarettes accumulate in the airways and mix with mucus, giving it a brownish tint. People who quit smoking often cough up brown phlegm for weeks or even months as their lungs gradually clear out the residue.

Environmental exposures like heavy dust, coal, or dirt can also darken phlegm. If you work in construction, mining, or similar industries and regularly produce brown sputum, the cause is likely related to what you’re breathing in.

Black Phlegm

Black phlegm is uncommon and tends to signal significant exposure or infection. Heavy smoking over many years can produce very dark sputum. Inhaling coal dust, soot, or black mold spores are other environmental causes. In rarer cases, a fungal infection caused by Aspergillus can be responsible. This mold is widespread in soil, decaying leaves, and compost, and most people inhale its spores without any problem. But in people with damaged lungs or weakened immune systems, the fungus can colonize existing lung cavities and grow into tangled masses called aspergillomas. These can worsen over time and eventually cause coughing that brings up blood alongside the dark-colored sputum.

What Texture Tells You

Color is only part of the picture. The thickness and consistency of phlegm carries its own information. Thin, watery mucus usually points to allergies or early-stage viral illness. As an infection progresses, mucus becomes thicker and stickier because of the accumulating immune cells and debris. Thick, creamy phlegm that is yellow or green generally reflects active infection, though again, not necessarily bacterial.

Frothy or foamy phlegm, especially if it’s pink, can be a sign of fluid in the lungs from heart failure or severe pneumonia. Extremely thick, rubbery mucus that is difficult to cough up is a hallmark of cystic fibrosis, a genetic condition that affects mucus production throughout the body.

When Color Alone Isn’t Enough

Phlegm color is a useful clue, not a diagnosis. The most important factors are how long you’ve been sick, whether you’re getting worse instead of better, and what other symptoms accompany the phlegm. A cough producing green or yellow phlegm that lasts beyond a few weeks, especially with wheezing, fever, shortness of breath, fainting, or unexplained weight loss, needs professional evaluation. Coughing up bloody or pink-tinged phlegm paired with chest pain or breathing difficulty is an emergency regardless of how much blood is present.

For most respiratory infections, phlegm will cycle through several colors over the course of the illness, starting clear, shifting to white or yellow, possibly turning green at peak immune response, then gradually returning to clear as you recover. That progression on its own is normal and expected.