Yellow or green mucus means your immune system is actively fighting something, most often a common cold or other respiratory infection. The color comes from white blood cells that flood into your nasal passages and release enzymes as they attack invaders. On its own, colored mucus does not tell you whether the cause is a virus or bacteria, and it does not automatically mean you need antibiotics.
Why Mucus Changes Color
Healthy mucus is clear and thin. When your body detects an intruder, whether a virus, bacterium, or irritant, it sends neutrophils (the most common type of white blood cell) to the site. These neutrophils contain an enzyme that was originally called “verdoperoxidase” because of its green color. As more of these cells accumulate in your mucus, the color shifts from clear to white, then to yellow, and eventually to green.
The progression typically looks like this during a cold: you start with a watery, clear runny nose. Over the next few days, the mucus thickens and turns yellow or greenish as the immune response ramps up. This is a normal part of your body clearing the infection, not a sign that things are getting worse. In fact, the deepest green often shows up right when your immune system is working hardest.
Common Causes of Yellow or Green Mucus
The most frequent cause is a simple viral upper respiratory infection: the common cold. Both viral and bacterial infections can cause thick, colored nasal discharge, so the color alone doesn’t distinguish between them. That said, the timing offers a clue. With a viral cold, mucus usually starts clear and turns yellow or green a few days in, then gradually improves over a week to ten days. With a bacterial infection, thick colored mucus tends to appear right at the beginning of symptoms rather than building up over several days.
Sinus infections (sinusitis) are another common culprit. These sometimes develop on top of a viral cold: you feel like you’re getting better, then symptoms worsen again with renewed congestion, facial pain or pressure, and thicker discharge. That “getting better then getting worse” pattern is one of the more reliable signs that bacteria may have moved in.
Other possible causes include bronchitis, pneumonia, and ear infections, all of which involve the same immune response that tints mucus yellow or green.
Allergies Produce Different Mucus
If your congestion is from allergies, your mucus typically stays thin and clear, even when it’s flowing heavily. Allergic reactions increase mucus production, but they don’t trigger the same concentrated wave of neutrophils that infections do. So if you’re dealing with a runny nose during allergy season and the mucus remains clear for more than ten days, allergies are the likely explanation. If it suddenly thickens and changes color, an infection may have developed alongside or instead of your allergies.
Green Mucus Doesn’t Always Mean Antibiotics
One of the most persistent misconceptions about colored mucus is that green means bacterial and therefore requires antibiotics. Research tells a more nuanced story. In one study examining whether patients could reliably identify bacterial infections based on their mucus color, self-reported yellow or green mucus predicted the presence of bacteria only about 65% of the time. Even when a clinician assessed the color directly, the accuracy rose to 82%, which still means roughly one in five cases with green mucus had no bacterial cause.
Current CDC guidelines do not use mucus color as a standalone reason to prescribe antibiotics. Instead, they look at three patterns to determine when a sinus infection is likely bacterial and may benefit from treatment:
- Severe symptoms lasting more than 3 to 4 days: a fever of 102°F (39°C) or higher combined with thick, colored discharge or facial pain.
- Persistent symptoms beyond 10 days: nasal discharge or cough that hasn’t improved at all after a full week and a half.
- A worsening pattern: symptoms that initially improve over 5 to 6 days, then return or get worse with new fever, worsening cough, or heavier discharge.
If your colored mucus doesn’t fit any of these patterns, you’re most likely dealing with a viral infection that will resolve on its own. Using antibiotics in those cases doesn’t speed recovery and contributes to antibiotic resistance.
What Other Mucus Colors Mean
While yellow and green get the most attention, other colors can also carry meaning.
Clear mucus is normal. Your body produces about a liter of it daily to keep nasal passages moist and trap dust and germs. An increase in clear mucus usually signals allergies or the very early stage of a cold.
White or cloudy mucus often appears when congestion slows the flow and the mucus loses some of its water content. It can mark the transition between a clear runny nose and a more active immune response.
Red or pink mucus contains small amounts of blood, usually from dried-out or irritated nasal passages. Dry indoor air, frequent nose-blowing, or minor trauma from rubbing your nose can all burst tiny blood vessels. This is rarely a concern unless it happens frequently or involves significant bleeding.
Brown mucus can result from inhaling pollutants, cigarette smoke, or dust. Old blood that has dried in the nasal passages also appears brown rather than red. Persistent brown mucus in someone who doesn’t smoke warrants attention, as it can occasionally indicate infection.
Black mucus is uncommon and can come from heavy exposure to soot, coal dust, or other dark airborne particles. In rare cases, it signals a serious fungal infection, particularly in people with weakened immune systems.
Helping Your Body Clear It Out
Most episodes of yellow or green mucus resolve within 7 to 10 days without any treatment beyond basic self-care. Staying well hydrated keeps mucus thinner and easier to clear. Saline nasal rinses or sprays help flush out thickened mucus mechanically, and breathing in steam from a hot shower can loosen congestion temporarily.
Over-the-counter decongestant sprays can provide short-term relief but shouldn’t be used for more than three consecutive days, as they can cause rebound congestion that’s worse than the original problem. Oral decongestants and pain relievers can help manage discomfort, especially if you have facial pressure or headache alongside the congestion.
Pay attention to the timeline. If your symptoms plateau or steadily improve over a week, your body is handling it. If they persist without any improvement past 10 days, worsen after an initial improvement around day 5 or 6, or come with a high fever and severe facial pain lasting more than 3 to 4 days, that’s when the infection pattern shifts toward something that may need medical treatment.

