Coughing up bloody mucus is most commonly caused by bronchitis, the single most frequent reason people see blood in their sputum. While the sight of blood can be alarming, the majority of cases trace back to infections or inflammation in the airways rather than something life-threatening. That said, blood in your mucus always deserves attention, because the list of possible causes ranges from a simple chest cold to conditions that need urgent treatment.
Where the Blood Is Coming From
When blood shows up in your mucus after coughing, it’s typically coming from the airways or lungs. The medical term is hemoptysis. This blood tends to be bright red or pink, often frothy or bubbly because it’s mixed with air from your lungs. It comes up with a cough, not with vomiting.
This is different from blood that originates in the stomach, which usually looks darker, sometimes resembling coffee grounds, and arrives with nausea or vomiting. It’s also different from a nosebleed draining down the back of your throat, which can look like you’re coughing up blood but typically happens without much actual coughing. If you’re genuinely coughing and producing bright red, foamy sputum, the source is almost certainly your lower airways or lungs.
The Most Common Causes
Bronchitis is the leading cause. When your bronchial tubes become inflamed from a viral or bacterial infection, the lining swells and the tiny blood vessels running through it become fragile. Repeated forceful coughing can rupture these small capillaries, producing streaks or spots of blood mixed into your mucus. This is especially common during a bad chest cold that has lingered for a week or more.
Pneumonia, an infection that reaches deeper into the lung tissue itself, can also produce bloody sputum. The infection damages the delicate air sacs and surrounding blood vessels, and the body’s immune response adds to the inflammation. Bronchiectasis, a condition where the airways become permanently widened and prone to mucus buildup, is another frequent culprit. People with this condition often deal with recurring infections and blood-streaked mucus over months or years.
COPD, including emphysema, can cause bloody mucus during flare-ups. Cystic fibrosis, tuberculosis (still the most common cause of hemoptysis worldwide), and lung abscesses round out the list of infections and chronic lung diseases that commonly produce this symptom.
Less Common but Serious Causes
Lung cancer accounts for roughly 20% of hemoptysis cases. Tumors growing in or near the airways can erode into blood vessels, producing anything from faint streaks to significant bleeding. Notably, about 9.6% of patients who cough up blood but have a normal chest X-ray are eventually found to have a lung tumor, which is why further imaging is often recommended even when initial results look clear. Smoking history, age over 40, and persistent or worsening symptoms increase this risk substantially.
A pulmonary embolism, a blood clot that travels to the lungs, can cause sudden bloody coughing along with sharp chest pain and shortness of breath. This is a medical emergency. The bleeding happens because the clot blocks blood flow, causing lung tissue to die and bleed into the airways.
Heart problems can also be responsible. Mitral valve stenosis, a narrowing of one of the heart’s valves, raises pressure in the blood vessels of the lungs. Over time, that pressure can force blood into the airways.
Medications That Increase Risk
If you take blood thinners, they can cause or worsen bloody mucus even without an underlying lung disease. About 0.5% of the population takes oral anticoagulants, and bleeding is their most significant complication. The risk goes up further if you also take anti-inflammatory drugs like ibuprofen or aspirin, have uncontrolled high blood pressure, kidney or liver disease, or a history of chronic lung conditions. If you’re on blood thinners and notice blood in your mucus, that’s worth a prompt call to your prescriber.
What the Evaluation Looks Like
Your doctor will start by asking how much blood you’ve seen, how long it’s been happening, and whether you have other symptoms like fever, weight loss, or shortness of breath. A chest X-ray is typically the first imaging test. It can reveal pneumonia, masses, or fluid in the lungs, but it misses things. Because nearly 1 in 10 patients with hemoptysis and a normal X-ray turn out to have a lung tumor, a CT scan is often the next step, especially if you’re a smoker, over 40, or the bleeding persists.
In some cases, a bronchoscopy may be recommended. This involves passing a thin, flexible camera through your nose or mouth into your airways to look directly at the source of bleeding. It’s particularly useful when imaging doesn’t give a clear answer or when the bleeding is heavy.
How Volume Signals Severity
Doctors classify hemoptysis partly by how much blood you’re producing. Blood-streaked mucus from a bad cough is on the mild end. Massive hemoptysis, generally defined as coughing up more than 200 milliliters (roughly a cup) within 24 hours, is a medical emergency that requires hospital treatment. For people with chronic lung disease, even 50 milliliters per episode can be considered massive because their lungs are already compromised.
For severe or life-threatening bleeding, a procedure called bronchial artery embolization is highly effective. A specialist threads a thin catheter through a blood vessel and blocks the artery that’s feeding the bleed. This procedure successfully stops active bleeding in over 99% of cases, with a low complication rate.
Signs That Need Immediate Attention
A few streaks of blood in your mucus during a bad cough doesn’t necessarily mean you need to rush to the emergency room, but certain combinations of symptoms change the equation. You should seek immediate care if you’re coughing up more than a few teaspoons of blood, if the bleeding has continued for more than a week, or if it’s accompanied by any of the following:
- Fever or night sweats
- Chest pain
- Shortness of breath
- Rapid or unexplained weight loss
- Dizziness or lightheadedness
- Blood in your urine or stool
Even without those red flags, any episode of bloody mucus that doesn’t have an obvious explanation (like a known chest infection that’s already being treated) is worth bringing up with a doctor. Most causes are treatable, and many are minor. But the small percentage of cases that point to something serious are best caught early.

