What Color Mucus Means You Have an Infection?

Green or yellow mucus is the color most people associate with infection, but the color alone is not a reliable way to tell whether you have a bacterial infection that needs antibiotics. Studies on sputum color as a diagnostic tool found it had only 39% to 52% specificity for detecting bacteria, meaning it’s wrong about half the time. What matters more is the combination of color, how long you’ve been sick, and whether your symptoms are getting worse.

Here’s what each color actually signals, why your mucus changes during illness, and the specific patterns that do point to something more serious.

Why Mucus Changes Color

The shift from clear to green isn’t caused by bacteria themselves. It’s caused by your own immune system. When your body detects an invader, it sends white blood cells called neutrophils to the site. These cells contain an enzyme that was originally named “verdeperoxidase” because of its vivid green pigment. When neutrophils accumulate in large numbers, that green pigment concentrates in your mucus.

This means green mucus is a sign of immune activity, not necessarily a bacterial infection. A plain viral cold triggers the same neutrophil response, and the mucus follows the same color progression whether bacteria are involved or not.

Clear Mucus

Clear mucus is the baseline. Your body produces it constantly to humidify the air you breathe and trap dust and particles before they reach your lungs. A sudden increase in clear, watery mucus usually points to allergies or an irritant in the air rather than an infection. The first day or two of a viral cold also typically produces clear, runny mucus before the immune response ramps up.

White or Cloudy Mucus

White mucus forms when swollen, inflamed nasal tissue slows the flow of mucus, causing it to lose moisture and become thick and cloudy. This is common with early-stage colds and viral infections, as immune cells begin accumulating but haven’t yet reached the concentrations that produce yellow or green. Dehydration can also thicken and whiten mucus on its own, without any infection at all. Drinking too little water or too much coffee concentrates the mucus and changes its appearance.

Yellow Mucus

Yellow is the transitional color. It shows that your immune response is in full swing, with neutrophils actively fighting off whatever’s irritating your airways. During a typical cold, mucus commonly turns yellow around days 4 through 7 as the infection peaks. This is completely normal and expected. It does not mean a viral cold has “turned into” a bacterial infection, despite what many people assume.

Green Mucus

Green signals a higher concentration of those same neutrophils and their green-pigmented enzyme. Thick green mucus often appears at the peak of a cold (days 4 to 7) and can persist for several days afterward as your body clears out dead immune cells. Most people with green mucus have a viral infection that will resolve on its own. The color alone is not a reason to start antibiotics.

That said, green mucus lasting beyond 10 days without any improvement is one of the clinical criteria doctors use to consider whether a bacterial sinus infection may have developed. The other pattern to watch for is “double sickening,” where you start to feel better and then get noticeably worse again around day 5 or 6. Either of these patterns, combined with colored mucus, is more meaningful than the color by itself.

Pink, Red, or Rust-Colored Mucus

Any shade of red in your mucus means blood is present. In most cases, this comes from minor causes: dry air irritating the nasal lining, forceful nose blowing, or a small broken capillary. Dry, irritated nasal tissue breaks easily, especially in winter or at high altitudes.

Rust-colored or brownish-red mucus that you cough up from deeper in the chest has a different set of causes, including bronchitis, pneumonia, and tuberculosis. Pink, frothy sputum can indicate fluid buildup in the lungs from heart failure. Blood-tinged mucus that’s persistent, increasing in volume, or accompanied by chest pain or difficulty breathing warrants prompt medical attention.

Brown or Black Mucus

Dark brown or black mucus is uncommon and usually tied to environmental exposure rather than a typical infection. Heavy smoking is the most frequent cause, as inhaled tar and particulate matter collect in the airways. People exposed to coal dust, wildfire smoke, or heavy indoor wood burning can also produce dark sputum as their lungs work to clear those particles.

In rare cases, a black yeast called Exophiala dermatitidis causes dark sputum, primarily in people with cystic fibrosis. If you’re producing black mucus and haven’t been exposed to smoke or dust, it’s worth getting checked.

Why Color Alone Isn’t Enough

Research published in Clinical Microbiology and Infection found that sputum color, even when assessed by a trained clinician rather than self-reported, had a specificity of only 52% for detecting bacterial presence. Self-reported color performed even worse at 39%. In practical terms, this means relying on mucus color would lead to unnecessary antibiotic prescriptions roughly half the time.

Doctors instead look at a combination of factors. For sinus infections, the standard criteria include symptoms lasting at least 10 days without improvement, or a biphasic pattern where initial improvement is followed by worsening around day 5 or 6. High fever above 102°F lasting more than 24 hours can also prompt further evaluation. Green mucus on day 5 of a cold, by contrast, is the immune system doing exactly what it should.

What a Normal Cold Timeline Looks Like

Knowing the typical progression helps you calibrate when to worry. Days 1 through 3 bring sore throat, body aches, fatigue, and possibly a low fever, with mucus that’s usually clear or white. Days 4 through 7 are when symptoms peak: nasal congestion worsens and mucus commonly turns yellow or green. A cough may develop during this window.

After day 7, most symptoms start improving, though a cough can linger for a few weeks and nasal symptoms may take up to two weeks to fully clear. If your mucus color is following this arc, even if it looks alarming at its greenest, you’re likely on a normal recovery track.

Symptoms That Matter More Than Color

Rather than fixating on the shade of your mucus, pay attention to the warning signs that suggest something beyond a routine viral infection:

  • Fever above 103°F (40°C)
  • Difficulty breathing or noisy breathing like wheezing
  • Chest pain when breathing or coughing
  • Confusion or sudden mental changes
  • Symptoms worsening after initial improvement (the double-sickening pattern)
  • No improvement at all after 10 days

Any of these, with or without green mucus, signals that your body may need more help than rest and fluids can provide. The color of your mucus is one piece of information, but it’s the least reliable piece compared to how long you’ve been sick, which direction your symptoms are trending, and how you feel overall.