What Is Yellow Phlegm? Causes and When to Worry

Yellow phlegm is mucus that has picked up color from your immune system’s response to irritation or infection in your airways. In most cases, it signals that white blood cells have arrived to fight off a virus or, less commonly, bacteria. It does not automatically mean you need antibiotics.

Why Phlegm Turns Yellow

Your airways constantly produce a thin layer of clear mucus to trap dust, allergens, and germs. When something irritates or infects your respiratory tract, your body sends neutrophils (a type of white blood cell) to the area. These cells contain a protein called myeloperoxidase, which has a greenish pigment. As neutrophils accumulate in your mucus and begin breaking down, they release this pigment. In lower concentrations, the result looks yellow. In higher concentrations, it shifts toward green.

The color, in other words, reflects how many immune cells are present, not necessarily what kind of infection you have. A viral cold can produce bright yellow or green phlegm just as easily as a bacterial infection can.

Common Causes

The most frequent cause of yellow phlegm is a simple viral upper respiratory infection: the common cold, the flu, or viral bronchitis. As the lining of your windpipe gets inflamed by the virus, your body ramps up mucus production and floods the area with immune cells. The yellow or green phlegm you cough up is a normal part of that healing process, not a sign that things are getting worse.

Other conditions that can produce yellow phlegm include:

  • Sinus infections (sinusitis). Mucus draining from inflamed sinuses often turns yellow or green, especially if symptoms last more than 10 days.
  • Bacterial pneumonia. Typically comes with a high fever, chest pain when breathing, and significant fatigue.
  • COPD flare-ups. For people with chronic obstructive pulmonary disease, a shift in phlegm color from white or clear to yellow or green is one of the key signs of an exacerbation, especially when combined with increased breathlessness and higher sputum volume.
  • Asthma with airway inflammation. Some people with asthma produce colored sputum during flares driven by neutrophilic inflammation rather than the more typical allergic type.

Yellow Phlegm Does Not Mean You Need Antibiotics

This is one of the most persistent misconceptions in medicine. Many people assume that yellow or green phlegm equals a bacterial infection that requires antibiotics. The CDC states this plainly: colored sputum does not indicate bacterial infection. The agency also recommends against routine antibiotic treatment for uncomplicated acute bronchitis, regardless of how long the cough lasts or what color the phlegm is.

The immune enzyme that gives phlegm its color is released as part of the general immune response. It shows up whether the trigger is a virus, bacteria, or even non-infectious irritation. Prescribing antibiotics based on phlegm color alone contributes to antibiotic resistance without helping you recover faster.

Yellow Phlegm in Children

Parents often worry when their child starts coughing up yellow or green mucus, but in healthy children this is almost always part of a normal viral illness. Seattle Children’s Hospital notes that bacteria do not cause bronchitis in healthy children, and antibiotics are not helpful for the colored phlegm that comes with colds. The yellow tinge simply means the lining of the windpipe was irritated by the virus and is healing.

The best approach for kids is to keep them well hydrated. Warm clear fluids like apple juice or herbal tea (for children over one year old) can help relax the airway and loosen phlegm. Breathing warm mist, such as sitting in a bathroom with a hot shower running, can also ease coughing fits. A humidifier in the bedroom helps if the air is dry.

How to Manage It at Home

Since most cases of yellow phlegm stem from viral infections that resolve on their own, home care focuses on keeping mucus thin and easy to clear:

  • Stay hydrated. Water, broth, and warm tea all help thin out thick mucus so you can cough it up more effectively.
  • Use a humidifier. Dry indoor air thickens mucus and irritates already inflamed airways.
  • Try warm steam. A hot shower or a bowl of steaming water can loosen congestion in your chest and sinuses.
  • Consider an expectorant. Over-the-counter products containing guaifenesin are designed to thin mucus and make coughs more productive.

Avoid cough suppressants if you’re producing a lot of phlegm. Coughing is the mechanism that clears mucus from your lungs, and suppressing it can let mucus pool in your airways.

What Changes in Color Mean Over Time

Phlegm color often shifts during the course of an illness. It typically starts clear or white in the first day or two, turns yellow or green as the immune response peaks around days three through five, then gradually lightens as you recover. This progression is normal and expected. Green phlegm is not “worse” than yellow. It just means a higher concentration of immune cells, which can happen at the peak of a viral infection as easily as during a bacterial one.

If your phlegm turns brown or rust-colored, that can indicate old blood mixed into the mucus, sometimes seen with pneumonia. Pink or red phlegm means fresh blood is present, which warrants prompt medical attention.

When Yellow Phlegm Signals Something More Serious

The phlegm itself is rarely the problem. What matters is the full picture of your symptoms and how long they’ve been going on. Pay attention if yellow phlegm is accompanied by a fever lasting more than three or four days, chest pain that worsens when you breathe deeply or cough, significant shortness of breath, confusion (particularly in older adults), or extreme fatigue. These combinations can point to pneumonia or another serious lung infection, and your doctor may order a chest X-ray or sputum culture to identify the cause.

For people with COPD, the threshold is different. Current guidelines recommend contacting your care team if you notice two of three cardinal symptoms: increased breathlessness, increased sputum volume, and a change in sputum color toward yellow or green. This combination often indicates a flare-up that may benefit from targeted treatment.

The most useful rule of thumb comes down to change. If you don’t normally cough up much phlegm and suddenly you are, that shift is worth discussing with your doctor, regardless of the color.