Coughing up blood is alarming, but the most common cause is also the most mundane: acute bronchitis. When inflamed airways are irritated by forceful coughing, small blood vessels can rupture and streak your mucus pink or red. Bronchitis, bronchiectasis (a condition where airways become permanently widened and prone to mucus buildup), and pneumonia account for the majority of cases. Less common but more serious causes include lung cancer, blood clots in the lungs, and tuberculosis.
The medical term for coughing up blood is hemoptysis, and it ranges from a few blood-streaked threads in your phlegm to coughing up large volumes of pure blood. Where you fall on that spectrum matters a lot for what happens next.
How to Tell It’s Coming From Your Lungs
Not all blood that ends up in your mouth comes from your lungs. A nosebleed draining down the back of your throat, bleeding gums, or vomiting blood from your stomach can all mimic the real thing. Blood from the lungs is typically bright red and frothy, sometimes mixed with mucus. Blood from the stomach tends to be darker, may contain food particles, and often comes with nausea or vomiting rather than coughing. If you’re not sure, the distinction matters enough to mention it when you talk to a doctor, because the workup is completely different.
The Most Common Causes
Bronchitis and Respiratory Infections
Acute bronchitis is the single most frequent reason people cough up blood in countries with good access to healthcare. The mechanism is straightforward: intense, repeated coughing inflames the lining of your airways, and tiny blood vessels in that lining break. You’ll typically see small streaks of blood in otherwise normal-looking mucus. This usually resolves on its own as the infection clears, often within one to three weeks.
Pneumonia can also cause blood-tinged sputum, sometimes with rust-colored mucus rather than bright red streaks. It’s more likely to come with fever, chest pain when breathing, and feeling genuinely unwell.
Bronchiectasis
Bronchiectasis is a chronic condition where the airways become permanently stretched and damaged, creating pockets where mucus collects and infections take hold. People with bronchiectasis often cough up blood during flare-ups. In a study of 606 patients hospitalized for hemoptysis across five Italian hospitals, bronchiectasis accounted for about 15% of cases.
Lung Cancer
This is the fear that drives most people to search this topic, and it deserves a direct answer. Coughing up blood is the initial symptom that leads to a lung cancer diagnosis in roughly 7% to 35% of cases, depending on the population studied. That’s a wide range, and the key context is that lung cancer is far more likely in people over 40 who smoke or used to smoke. In that same Italian study, malignancy accounted for 19% of hemoptysis cases requiring hospitalization. If you’re young, don’t smoke, and have a clear chest infection, cancer is low on the list. If you’re over 40 with a smoking history and unexplained blood in your cough lasting more than a week, it needs prompt evaluation.
Blood Clots in the Lung
A pulmonary embolism, where a blood clot travels to the lungs, can cause sudden coughing with blood along with sharp chest pain and shortness of breath. This is more likely if you’ve recently been immobile for a long period (long flights, surgery, bed rest), take hormonal birth control, or have a history of blood clots. It’s a medical emergency.
Other Causes
COPD, cystic fibrosis, tuberculosis, and a heart valve problem called mitral valve stenosis can all cause hemoptysis. In countries where tuberculosis is common, it’s one of the leading causes.
Medications That Increase the Risk
Blood thinners can turn minor airway bleeding into something more noticeable or more serious. This includes warfarin, newer anticoagulants like apixaban and dabigatran, and even over-the-counter anti-inflammatory drugs like ibuprofen and naproxen. NSAIDs can amplify the bleeding effects of prescription blood thinners. If you’re on any of these medications and start coughing up blood, that’s information your doctor needs immediately. People with existing lung conditions like pulmonary fibrosis are especially vulnerable, because the delicate membranes in their lungs are already compromised.
What Happens When You See a Doctor
The first test is almost always a chest X-ray. It’s quick and can reveal pneumonia, masses, or fluid, but it has limited sensitivity. A normal chest X-ray doesn’t rule everything out. If the X-ray doesn’t explain the bleeding, the next step is typically a CT scan of the chest with contrast dye, which provides a much more detailed picture and is better at identifying the actual cause of bleeding. In some cases, a bronchoscopy (a thin camera threaded into the airways) is also performed, either instead of or in addition to the CT scan. CT is generally better at pinpointing why you’re bleeding, while bronchoscopy can help locate exactly where.
Your doctor will also ask about timing, volume, and associated symptoms. How much blood, how many times, over how many days. Whether you smoke, what medications you take, whether you’ve had fevers or weight loss. These details shape how urgently they investigate.
How Much Blood Matters
Doctors distinguish between small amounts of blood in your sputum and what’s called massive hemoptysis, generally defined as coughing up more than 200 milliliters of blood (roughly a cup) in 24 hours. Massive hemoptysis is rare but life-threatening and requires emergency treatment. Most people who search this topic have seen streaks or small clots in their mucus, which is a very different clinical situation.
That said, even small amounts of blood warrant attention depending on context. You should seek immediate medical 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 fever, chest pain, night sweats, shortness of breath, rapid weight loss, dizziness, or blood in your urine or stool. Any of these combinations suggest something beyond a simple bronchitis.
When It’s Likely Nothing Serious
The most reassuring scenario looks like this: you’ve had a bad cough for several days, you notice a few streaks of bright red blood in your mucus, you have no fever or chest pain, you don’t smoke, and the blood goes away within a day or two as the cough improves. That pattern is consistent with small blood vessels breaking from the mechanical force of coughing, and it resolves without treatment.
Even in reassuring scenarios, a single episode of hemoptysis in someone over 40, especially with a smoking history, justifies at least a conversation with a doctor and often a chest X-ray. The goal isn’t to panic but to catch the rare serious cause early, when it’s most treatable.

