Pneumonia sputum is typically thick, sticky mucus that ranges in color from yellow or green to rust-brown or even blood-tinged, depending on the type of infection. The color, consistency, and sometimes even the smell of what you cough up can offer real clues about what’s happening in your lungs, though no single color is a definitive diagnosis on its own.
How Pneumonia Sputum Differs From Normal Mucus
Healthy airways produce a small amount of clear, thin mucus that you rarely notice. When pneumonia sets in, your lungs flood the infected area with immune cells and fluid, and the mucus you cough up changes dramatically. True sputum comes from deep in the lungs and is noticeably thick and sticky, very different from the thin, watery saliva in your mouth. If what you’re coughing up feels substantial and requires a deep, forceful cough to bring up, that’s sputum.
The volume increases too. You may go from barely noticing any mucus to producing enough that you need to spit regularly throughout the day. This shift from a dry cough to a “productive” cough (one that brings stuff up) often signals that an infection has taken hold in the lower airways.
What Each Color Means
Yellow or Green
Yellow and green sputum are the colors most strongly linked to bacterial infection. The green tint comes from a specific enzyme released by white blood cells as they fight bacteria. In a study of outpatient sputum samples, green, yellow-green, yellow, and rust-colored samples consistently yielded more bacteria than clear, white, or cream-colored ones. A pooled analysis across multiple trials found that green or yellow sputum had about 95% sensitivity for detecting bacteria, meaning bacterial infections almost always produce colored sputum. However, the specificity was only around 15%, which means plenty of non-bacterial conditions can turn your sputum yellow or green too.
So yellow-green sputum strongly suggests bacteria are involved, but the color alone isn’t proof. You can produce greenish mucus from a bad viral infection or even from post-nasal drip that’s been sitting in your airways overnight.
Rust or Brown
Rust-colored sputum is a classic sign of pneumococcal pneumonia, the most common type of bacterial pneumonia. The color comes from red blood cells that leak into the air sacs during the early stages of infection. As the lung tissue becomes inflamed and consolidated (filled with immune cells and fluid rather than air), those trapped red blood cells break down, giving the sputum a brownish or rusty hue rather than a bright red one. This stage typically develops two to three days into the infection and lasts several days.
Red or “Currant Jelly”
Thick, dark red sputum that looks like currant jelly is a hallmark of Klebsiella pneumonia, a less common but more aggressive infection. The distinctive appearance results from significant tissue destruction and necrosis in the lung. This type of pneumonia tends to be more severe and is more often seen in people with weakened immune systems or heavy alcohol use. Bright red streaks or frank blood in sputum (hemoptysis) can occur with several types of pneumonia and usually means the infection has damaged small blood vessels in the airways.
Clear or White
Viral pneumonia often produces clear, white, or only slightly tinted sputum, and sometimes very little sputum at all. Atypical pneumonias, like those caused by Mycoplasma, are especially known for producing a dry, hacking cough with minimal mucus. When sputum does appear, it tends to be thinner and lighter in color than what you’d see with a standard bacterial infection. This is one reason viral and atypical pneumonias can be harder to recognize early: the cough doesn’t “sound” or “look” as alarming.
When Sputum Smells Foul
Most pneumonia sputum has little to no noticeable odor. A distinctly foul or putrid smell is a red flag for anaerobic infection, which occurs when bacteria that thrive without oxygen infect the lungs. This typically happens with lung abscesses or aspiration pneumonia, where food, saliva, or stomach contents are accidentally inhaled into the lungs. Along with the bad-smelling sputum, people with anaerobic lung infections often experience fever, weight loss, and general malaise that builds over days or weeks rather than striking suddenly.
Color by Infection Type at a Glance
- Pneumococcal (S. pneumoniae): rust or brownish, thick
- Klebsiella: dark red, thick, “currant jelly” consistency
- Pseudomonas: green, sometimes bright or blue-green
- Haemophilus influenzae: red-currant jelly coloring
- Viral pneumonia: clear, white, or faintly blood-tinged
- Mycoplasma (atypical): minimal or absent sputum, dry cough
- Anaerobic infection: foul-smelling, often gray or brown
Why Color Alone Isn’t a Diagnosis
Sputum color is a useful clue, not a lab test. While yellow or green sputum picks up nearly all bacterial infections (about 95% sensitivity), it also flags many non-bacterial conditions, giving it poor specificity. That means you can’t rule a bacterial infection in or out based on color alone. What the sputum looks like matters most in context: how quickly your symptoms developed, whether you have a fever, how sick you feel overall, and what your chest sounds like.
If your doctor orders a sputum test, they’ll ask you to cough deeply from your lungs into a sterile cup, often first thing in the morning. Rinsing your mouth with water beforehand helps prevent saliva and mouth bacteria from contaminating the sample. The goal is to get that thick, sticky material from deep in the airways, not the thin liquid from your mouth. A good sample lets the lab identify the specific organism causing the infection and determine which treatments will work best against it.
Changes to Watch Over Time
The color and volume of your sputum can shift as pneumonia progresses or improves. Early on, sputum may be white or faintly colored before deepening to yellow, green, or rust as the immune response intensifies. As you recover, the color typically lightens back toward white or clear, and the volume gradually decreases. A sudden change in the opposite direction, such as sputum becoming darker, thicker, blood-streaked, or foul-smelling after initial improvement, can signal a complication like a secondary bacterial infection, abscess formation, or worsening inflammation.

