> [Field guide](https://knowthybody.com/en/#atlas) / [Chest & belly](https://knowthybody.com/en/#r-trunk)

# Know your phlegm

Your windpipe and lungs make mucus nonstop, quietly sweeping it up to your throat to be swallowed. When you’re sick, it turns thicker and heavier, so you cough it up as phlegm.

- **Proper name**: Sputum
- **From**: The windpipe and bronchi
- **In short**: Yellow or green doesn’t mean you need antibiotics

## Which one looks like what you coughed up? Tap one to see what it means

### See all 9 readings

#### Clear and thin · Normal

Healthy airway mucus is clear. Tiny hairs (cilia) sweep most of it up to your throat where you swallow it without noticing, so you rarely cough it up.

**Nothing to worry about.** If there’s more than usual or you keep clearing your throat, check section 04 below for common causes.

#### White and thick · Common with a cold

Thicker, white phlegm usually means your body is fighting a viral infection such as a cold. The white color and thickness come from immune cells at work.

**Get some rest.** Most coughs clear up in 3–4 weeks; if you’re still coughing past 3 weeks, see a doctor.

#### Yellow · Common with colds and chest infections

Yellow or green phlegm is common during a chest infection. When airways are inflamed, white blood cells move in, turning mucus yellow and thicker.

**Color alone doesn’t mean you need antibiotics.** Most chest infections start improving in 7–10 days, though coughing and phlegm can linger up to 3 weeks.

#### Green · Common · doesn’t mean bacterial

The green tint comes from a greenish enzyme released by white blood cells: the greener the phlegm, the more white blood cells are present. Viral infections turn phlegm green too.

**Don’t ask for antibiotics just because of the color.** Watch the timeline and other symptoms: see a doctor if it lasts over 3 weeks, or if you have a persistent high fever or trouble breathing.

#### Brown · Common with smoking or smoke

Smoking, or breathing in smoke, soot, or air pollution, can turn phlegm brown. Sometimes it comes from an infection too.

**Cut back on smoking and avoid smoke or dust.** If it keeps happening or your cough lasts more than 3 weeks, see a doctor.

#### Black · Usually inhaled · sometimes serious

Most often it’s from inhaling coal dust, heavy smoke, or soot. Rarely, it can be a sign of a serious fungal infection.

**If you can’t trace it to dust or smoke, or if your immune system is weakened (for example, during chemotherapy), see a doctor urgently.**

#### Rust-colored · See a doctor urgently

Rusty phlegm is classically linked with pneumococcal pneumonia, though doctors can’t tell whether it’s pneumonia from color alone.

**See a doctor urgently,** especially if you also have a fever, chest pain, or shortness of breath.

#### Streaked with blood · Contact a doctor today

A few red specks or streaks in your phlegm. Common causes are hard coughing or a chest infection, though it can also come from conditions like tuberculosis or bronchiectasis that need checking.

**Contact a doctor the same day.** If you’re coughing up more than a few specks or streaks, or also feel short of breath or have chest pain, go to the ER now.

#### Pink and frothy · Short of breath · ER now

Pink, foamy phlegm paired with sudden, severe trouble breathing can be acute pulmonary edema: fluid flooding the air sacs of the [lungs](https://knowthybody.com/en/organs/lungs), often because the [heart](https://knowthybody.com/en/organs/heart) suddenly isn’t pumping well enough (acute left heart failure).

**Call an ambulance (911 in the US and Canada, 999 in the UK, 112 in the EU) or go to the ER now.**

*Color is only one clue. How long you’ve been coughing, whether you have a fever, and how your breathing feels matter more.*

## When to see a doctor

- A cough lasting more than 3 weeks
- Blood in your phlegm, even just a few red specks or streaks
- A cough that’s severe or getting worse, trouble breathing, chest pain, or feeling very unwell
- A fever lasting more than 5 days, or a temperature reaching 104°F (40°C)
- Unexplained weight loss, or a painful, swollen lump on one side of your neck
- Foul-smelling phlegm
- Coughing up lots of phlegm every day, or repeated bouts of bronchitis
- A cough if your immune system is weakened (for example, from chemotherapy or diabetes)

**Go to the ER now:** coughing up more than a few specks or streaks of blood; coughing up blood along with shortness of breath, a fast heartbeat, or pain in your chest or upper back; or sudden, severe shortness of breath with pink, frothy phlegm (which can signal fluid in the lungs from acute [heart](https://knowthybody.com/en/organs/heart) failure).

**See a doctor urgently:** contact a doctor the same day if you have blood specks or streaks in your phlegm. Especially if you’re 40 or older with no clear cause, unexplained blood in phlegm typically calls for an urgent specialist referral (many guidelines recommend evaluation within 2 weeks for suspected lung cancer).

If you’re 40 or older and have ever smoked, an unexplained cough, fatigue, shortness of breath, chest pain, or weight loss is also worth getting a chest X-ray promptly.

## How it’s made

1. **Nonstop · The [windpipe and bronchi](https://knowthybody.com/en/organs/lungs) make mucus**: Glands and mucus-making cells in the airway lining steadily lay down a thin coat.
2. **Every breath · It traps what you breathe in**: Dust, bacteria, and viruses stick to the mucus, where germ-fighting molecules and antibodies tackle them.
3. **12–15 beats/sec · Cilia sweep it upward**: Tiny hair-like cilia beat nonstop like a conveyor belt, pushing mucus up toward your throat. In the windpipe, it moves about 0.2–0.4 inches (5–11 mm) a minute, slowing down a bit as you age.
4. **~1 fl oz/day · At the throat, you swallow it**: Roughly 1 fl oz (30 ml) a day goes down without you noticing. When you’re sick, mucus gets thicker and builds up faster than cilia can clear it, so you cough it out as phlegm.

**How much in a day?** Nobody has measured it with total precision. Researchers estimate anywhere from a third of an ounce to 1.7 fl oz (10–50 ml) a day, with about 1 fl oz (30 ml) often cited. During a chronic bronchitis flare, it can reach up to 7 fl oz (200 ml) a day.

**Are phlegm and snot the same thing?** Not quite. Phlegm mainly comes from your [windpipe and lungs](https://knowthybody.com/en/organs/lungs), though when you cough it out it often mixes with saliva and [nasal mucus](https://knowthybody.com/en/boogers) dripping down from the back of your nose.

## What’s in it

Water, about 96–97%

The other 3–4% decides how sticky it is and how well it fights germs. Coughed-up phlegm also carries white blood cells, shed airway cells, and bacteria.

- **Mucins** Mostly two types, MUC5AC and MUC5B, which turn watery secretions into a sticky gel.
- **Antimicrobials** Molecules such as defensins and lysozyme that attack bacteria directly.
- **Antibodies** Mainly IgA, the airway lining’s first immune defense.
- **Salts, lipids, and other proteins** Electrolytes and small amounts of fat that keep the mucus layer working properly.

## Do yellow and green phlegm need antibiotics?

Yellow or green phlegm ~~= bacterial infection~~

In a German study of 241 adults with an acute cough and no chronic lung disease, only 28 (about 12%) actually had a bacterial infection. Trying to guess from phlegm color misclassified more than half of the patients who didn’t have one. **In otherwise healthy lungs, phlegm color isn’t a reason to take antibiotics.**

Another European study followed 3,402 adults with acute coughs: people coughing up yellow or green phlegm were prescribed antibiotics much more often, yet they didn’t recover any faster than those who didn’t take them. Acute bronchitis (a chest cold) is usually caused by a virus, and antibiotics won’t speed up recovery.

The color comes from your own white blood cells: the greener the phlegm, the more myeloperoxidase enzyme they’ve released. That shows how much inflammation is happening, not whether the germ is a bacterium or a virus.

**Chronic lung disease is a different story.** In people with bronchiectasis, bacteria showed up in about 5% of white, mucoid sputum samples compared with about 86% of thick, pus-filled samples. During chronic bronchitis flare-ups, a shift toward yellow or green phlegm also makes bacteria more likely. In those conditions, tell your doctor when the color changes so they can decide if treatment is needed.

## Why does it feel like phlegm is stuck in your throat?

- **3 weeks** · A typical cough clears up in 3–4 weeks. **Past 3 weeks** counts as a lingering cough and is worth having checked.
- **3 months** · A cough with phlegm lasting **at least 3 months** a year for 2 years in a row fits the medical definition of chronic bronchitis.
- **~1 fl oz** · About 1 fl oz (30 ml) of airway mucus is quietly swallowed every day; swallowing phlegm isn’t harmful on its own.

Always feeling something in your throat or needing to clear it doesn’t always come from your lungs. The most common source is your nose: with allergies, a cold, or a sinus infection, [nasal mucus](https://knowthybody.com/en/boogers) drips down the back of your throat (postnasal drip), the top cause of chronic cough.

Acid and stomach contents creeping up the [esophagus](https://knowthybody.com/en/organs/oesophagus) from the [stomach](https://knowthybody.com/en/organs/stomach) to the throat (laryngopharyngeal reflux) can also trigger constant throat clearing and a stuck-phlegm feeling. True excess phlegm from the [lungs](https://knowthybody.com/en/organs/lungs) is more typical of chronic bronchitis or bronchiectasis.

### Swallow it or spit it out?

Either is fine. Swallowing phlegm you’ve coughed up won’t hurt you; if you’d rather spit, spit into a tissue and throw it away. Don’t spit on the ground or cough toward others: infections like tuberculosis spread through the air when you cough, so cover your mouth and nose with a tissue or your elbow.

## What helps when you’re coughing up phlegm

- **A spoonful of honey**: Studies in children suggest honey may ease cough symptoms slightly better than no treatment or a placebo. Never give honey to babies under 1 year old.
- **Warm honey and lemon**: May soothe about as well as cough syrup, though evidence is limited. Let it cool so it isn’t too hot for kids.
- **Stay hydrated**: Drink fluids regularly. While clinical trials haven’t proved that pushing extra fluids directly thins phlegm, keeping hydrated makes your throat and airways feel better.
- **Prop up your head**: If a cough or chest infection keeps you up at night, sleep with an extra pillow to raise your head and upper body slightly.
- **Don’t smoke**: Avoid smoking, especially during a chest infection. Smoking also stains phlegm brown.
- **Use a tissue**: Cover your mouth when you cough, spit phlegm into a tissue, and throw it away right after.

**Cough syrups and mucus thinners don’t have strong evidence.** Reviews of over-the-counter cough medicines (including the common expectorant guaifenesin) find neither solid proof that they work well nor proof that they never help. Be extra careful with kids: regulators set strict limits for young children, with UK guidance advising against OTC products with dextromethorphan or guaifenesin under age 6, and US FDA rules warning against OTC decongestants and antihistamines in children under 2 (and urging caution in young children overall).

## Read next

- [Lungs, windpipe & bronchi](https://knowthybody.com/en/organs/lungs) (Where it starts): The airways that make about 1 fl oz (30 ml) of mucus a day and sweep it upward.
- [Boogers & nasal mucus](https://knowthybody.com/en/boogers) (Postnasal drip): That constant phlegm in your throat often drips down from behind your nose.
- [Esophagus](https://knowthybody.com/en/organs/oesophagus) (Another route): Stomach acid creeping up the esophagus can irritate your throat and make you keep clearing it.
- [Heart](https://knowthybody.com/en/organs/heart) (ER warning): Sudden severe shortness of breath with pink, frothy phlegm can point to an acute heart-pumping emergency.

*This page is general health information, not a diagnosis or treatment advice. If you’re worried, talk to a doctor.*

*Last updated: November 19, 2026*

## Sources

22

1. Fahy JV, Dickey BF. Airway mucus function and dysfunction. *N Engl J Med*, 2010. [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC4048736/)
2. Zanasi A, Mazzolini M, Kantar A. A reappraisal of the mucoactive activity and clinical efficacy of bromhexine. *Multidiscip Respir Med*, 2017. [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC5359817/)
3. Morgan L, et al. Scintigraphic measurement of tracheal mucus velocity in vivo. *Eur Respir J*, 2004. [PubMed](https://pubmed.ncbi.nlm.nih.gov/15083747/)
4. Karamaoun C, et al. New insights into the mechanisms controlling the bronchial mucus balance. *PLoS One*, 2018. [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC6014679/)
5. Rubin BK. Physiology of airway mucus clearance. *Respir Care*, 2002. [PubMed](https://pubmed.ncbi.nlm.nih.gov/12088546/)
6. Pratter MR. Chronic upper airway cough syndrome secondary to rhinosinus diseases: ACCP evidence-based clinical practice guidelines. *Chest*, 2006. [PubMed](https://pubmed.ncbi.nlm.nih.gov/16428694/)
7. Campagnolo AM, et al. Laryngopharyngeal reflux: diagnosis, treatment, and latest research. *Int Arch Otorhinolaryngol*, 2014. [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC4297018/)
8. Stockley RA, et al. Assessment of airway neutrophils by sputum colour: correlation with airways inflammation. *Thorax*, 2001. [PubMed](https://pubmed.ncbi.nlm.nih.gov/11312405/)
9. Murray MP, et al. Sputum colour: a useful clinical tool in non-cystic fibrosis bronchiectasis. *Eur Respir J*, 2009. [PubMed](https://pubmed.ncbi.nlm.nih.gov/19648517/)
10. Altiner A, et al. Sputum colour for diagnosis of a bacterial infection in patients with acute cough. *Scand J Prim Health Care*, 2009. [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC3410464/)
11. Butler CC, et al. Antibiotic prescribing for discoloured sputum in acute cough/lower respiratory tract infection. *Eur Respir J*, 2011. [PubMed](https://pubmed.ncbi.nlm.nih.gov/21406512/)
12. Miravitlles M, et al. Sputum colour and bacteria in chronic bronchitis exacerbations: a pooled analysis. *Eur Respir J*, 2012. [PubMed](https://pubmed.ncbi.nlm.nih.gov/22034649/)
13. File TM Jr. Community-acquired pneumonia, bacterial. In: *Netter’s Infectious Diseases*, 2012. [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC7152131/)
14. Cleveland Clinic. Mucus. [clevelandclinic.org](https://my.clevelandclinic.org/health/body/mucus)
15. CDC. Chest cold (acute bronchitis). [cdc.gov](https://www.cdc.gov/acute-bronchitis/about/index.html); How tuberculosis spreads. [cdc.gov](https://www.cdc.gov/tb/causes/index.html)
16. NHS. Coughing up blood; Cough; Chest infection; Bronchiectasis; Lung cancer: symptoms. [nhs.uk](https://www.nhs.uk/symptoms/coughing-up-blood/)
17. NICE. Suspected cancer: recognition and referral (NG12), recommendations 1.1.1–1.1.2. [nice.org.uk](https://www.nice.org.uk/guidance/ng12/chapter/Recommendations-organised-by-site-of-cancer)
18. Merck Manual Professional. Pulmonary edema; Lung abscess; Chronic obstructive pulmonary disease. [merckmanuals.com](https://www.merckmanuals.com/professional/cardiovascular-disorders/heart-failure/pulmonary-edema)
19. Oduwole O, et al. Honey for acute cough in children. *Cochrane Database Syst Rev*, 2018. [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC6513626/)
20. Smith SM, Schroeder K, Fahey T. Over-the-counter (OTC) medications for acute cough in children and adults in community settings. *Cochrane Database Syst Rev*, 2014. [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC7061814/)
21. Guppy MP, et al. Advising patients to increase fluid intake for treating acute respiratory infections. *Cochrane Database Syst Rev*, 2011. [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC7197045/)
22. MHRA. Over-the-counter cough and cold medicines for children, 2009. [gov.uk](https://www.gov.uk/drug-safety-update/over-the-counter-cough-and-cold-medicines-for-children); FDA. Use caution when giving cough and cold products to kids. [fda.gov](https://www.fda.gov/drugs/safe-use-over-counter-otc-medicines-children/use-caution-when-giving-cough-and-cold-products-kids)

Illustrations drawn by AI (GPT Image 2.5); the color swatches are drawn in code.

**Know Thy Body** · knowthybody.com

Know your body, then get to know yourself: [OpenJung](https://openjung.org/)’s Jungian personality test is free, open source and needs no sign-up.
