Green phlegm is mucus that has changed color because your immune system is actively fighting an infection. The green tint comes from a specific enzyme released by neutrophils, a type of white blood cell that rushes to the site of infection to kill invading germs. This enzyme contains an iron-rich pigment that is naturally green, and the more neutrophils involved in the fight, the deeper green the phlegm becomes.
The important thing to know upfront: green phlegm does not automatically mean you need antibiotics. It can show up with both viral and bacterial infections, and in most cases it clears on its own.
Why Phlegm Turns Green
Your airways are lined with mucus all the time. Normally it’s thin and clear, trapping dust, allergens, and germs before they reach your lungs. When your body detects an infection, it sends waves of neutrophils to the area. These immune cells contain an enzyme called myeloperoxidase, which they use to generate toxic compounds that destroy bacteria and viruses. Myeloperoxidase has a heme pigment (similar in structure to the iron compound in blood) that happens to be green.
As more neutrophils accumulate and break down in the mucus, the color shifts. Early in an infection, phlegm often turns white or cloudy as immune cells first arrive. It then progresses to yellow as the concentration of neutrophils rises, and eventually to green when the immune response is at its peak. This color progression is the same whether the underlying infection is viral or bacterial. It simply reflects how many immune cells are present, not what type of germ triggered the response.
Common Causes of Green Phlegm
The most frequent cause is a common cold. Green mucus often appears mid-illness, around days three to five, and the whole episode typically resolves within 7 to 10 days. Many people assume the color change means they’ve developed something worse, but it’s a normal part of how a viral infection plays out.
Acute bronchitis, which is an inflammation of the airways leading to the lungs, commonly produces yellow-green phlegm along with a persistent, hacking cough. Most bronchitis cases are viral. Sinusitis is another common culprit, especially when thick green mucus is accompanied by facial pressure or pain around the forehead and cheeks. Both conditions usually resolve without antibiotics.
Pneumonia can also cause green phlegm, often alongside a higher fever, shortness of breath, and chest pain. Bacterial pneumonia tends to produce thicker, darker green sputum and symptoms that persist for two to four weeks depending on severity and treatment. This is one situation where antibiotics are typically necessary.
Green Phlegm and Bacterial Infection
One of the most persistent misconceptions is that green phlegm equals a bacterial infection that needs antibiotics. The reality is more nuanced. A large pooled analysis published in the European Respiratory Journal found that green or yellow sputum samples did contain bacteria about 59% and 46% of the time, respectively, compared to only 18% of clear samples. So color is loosely correlated with bacterial presence, but it’s far from a reliable diagnostic tool.
The same study found that using sputum color to predict bacterial infection had a sensitivity of about 95% but a specificity of only 15%. In plain terms: almost everyone with a bacterial infection will have colored phlegm, but the vast majority of people with colored phlegm don’t have a bacterial infection that requires treatment. Viruses can be found in up to 45% of respiratory flare-ups, either alone or alongside bacteria.
UK guidelines from the National Institute for Health and Care Excellence are clear on this point: sputum color alone is not a reliable indicator of bacterial infection, and antibiotics should not be prescribed for acute cough or bronchitis in people who aren’t systemically very unwell or at high risk of complications.
How Long It Typically Lasts
For a standard viral infection like a cold or acute bronchitis, green phlegm usually appears in the middle of the illness and resolves within 7 to 10 days. The cough itself can linger longer. The average duration of an acute cough is three to four weeks, even after the infection has cleared. This is because the airways remain irritated and inflamed for some time after the immune system has done its job.
Bacterial sinusitis tends to persist longer than a typical cold. If thick green mucus and facial pain continue beyond 10 to 14 days without improvement, that timeline itself becomes a more useful signal than the color of the mucus. Pneumonia symptoms, including green sputum, may take two to four weeks to fully resolve even with appropriate treatment.
When Green Phlegm Points to Something Chronic
Most green phlegm is short-lived, tied to an acute infection that resolves on its own. But if you’re coughing up green or yellow mucus regularly over weeks or months, that pattern can signal a chronic lung condition. Bronchiectasis, a condition where the airways become permanently widened and scarred, causes frequent production of thick, sometimes foul-smelling mucus. Flare-ups often involve green or yellow phlegm and increased coughing.
Cystic fibrosis, chronic obstructive pulmonary disease (COPD), and chronic sinus infections can all produce recurring episodes of green phlegm. People with these conditions are also at higher risk for bacterial infections on top of their baseline symptoms, which makes changes in mucus color and volume more clinically meaningful for them than for someone with an ordinary cold.
Symptoms That Warrant Attention
Green phlegm on its own, during what otherwise feels like a cold, is rarely cause for concern. The symptoms that matter more are the ones surrounding it. Shortness of breath, chest pain, a fever above 101°F (38.3°C) lasting more than a few days, or coughing up blood alongside green phlegm all suggest something beyond a routine viral infection.
If your symptoms haven’t improved at all after 10 to 14 days, or if they initially got better and then suddenly worsened, that pattern is more suggestive of a secondary bacterial infection developing on top of the original viral illness. People with existing lung conditions like asthma or COPD should pay closer attention, as bronchitis and other respiratory infections are more likely to progress to pneumonia in these groups.
What You Can Do at Home
Staying well-hydrated helps thin out mucus and makes it easier to clear from your airways. Warm liquids, steam inhalation, and keeping indoor air humidified can all provide relief. Saline nasal rinses are effective for sinus-related congestion. Sleeping with your head slightly elevated can reduce overnight mucus buildup in your throat.
Over-the-counter options include expectorants, which help loosen mucus so you can cough it up more easily, and decongestants for nasal stuffiness. Avoid cough suppressants if you’re producing a lot of phlegm, since coughing is the body’s mechanism for clearing infected mucus from the airways. Suppressing that reflex can slow recovery.

