Why mucus can turn green
When your immune system responds to an infection, white blood cells move into the affected tissue and release chemicals that help fight invading microbes. One of those chemicals is myeloperoxidase, an enzyme containing iron that can add a green tint to mucus. The color is therefore partly a trace of the immune response—not a label identifying the germ.
Color cannot distinguish viruses from bacteria
Both viral and bacterial infections can trigger inflammation and bring immune cells into mucus. As cells and their chemical contents accumulate, mucus may change from clear or white to yellow or green. That shift can happen as an ordinary infection develops; it does not, by itself, show that bacteria are responsible or that an antibiotic would help.
Antibiotics act against bacteria, not viruses. A clinician weighs the whole picture—including how long symptoms have lasted, whether they are improving or worsening, and other signs of illness—rather than using mucus color as a stand-alone test. Unneeded antibiotics can cause side effects and contribute to bacteria becoming harder to treat.
What to pay attention to instead
The more useful clue is the course of the illness and how you feel overall, not the shade of a tissue. Green mucus can accompany a routine viral infection, while a bacterial infection cannot be confirmed just by looking at it. Color may reflect immune activity, but it cannot tell you which treatment is appropriate.






