Coughing up blood in your mucus, known medically as hemoptysis, is usually caused by an infection or inflammation in the airways, though the list of possible causes runs from the trivial to the life-threatening. Infectious and inflammatory airway diseases account for roughly a quarter of recognized cases, while cancer explains about one in six. The good news is that mild episodes stop on their own about 90 percent of the time. Still, blood in your sputum always warrants a doctor’s evaluation, because the symptom alone cannot tell you whether you are dealing with a chest cold that irritated your airway lining or something far more serious.
What Counts as Coughing Up Blood
Not every bit of red you spit into the sink is coming from your lungs. Blood from a nosebleed that drains down the back of your throat, bleeding gums, or a bitten tongue can all end up mixed with saliva and look alarming. True hemoptysis means blood that originates in the lower airways or lungs, typically brought up by a cough. The blood may appear as bright red streaks in otherwise clear or white mucus, pink-tinged frothy sputum, or, less commonly, large volumes of dark red blood.
A practical way to sort this out at home: if the blood appeared only after you blew your nose hard, it likely came from the nasal passages. If it accompanied vomiting and looked like dark coffee grounds, it probably came from your stomach or esophagus. Blood that arrives during or right after a coughing spell, especially if it is bright red and mixed with phlegm, is more likely true hemoptysis. Doctors use the same reasoning during their initial assessment before ordering any tests.
The Most Common Reasons for Blood-Streaked Mucus
For most adults who notice a small amount of blood in their sputum, an infection or an inflamed airway is the explanation. Acute bronchitis, pneumonia, and flare-ups of chronic bronchitis irritate the bronchial lining enough to produce tiny amounts of bleeding. A severe or prolonged cough itself can rupture small blood vessels in the airway, leaving red streaks in the mucus even without a deep-seated lung problem.
Bronchiectasis, a condition where the airways become permanently widened and damaged, is another frequent culprit. In a large study of patients who underwent CT scans for hemoptysis, bronchiectasis showed up in about one in five cases, and fibrotic (scarred) lung tissue appeared in roughly a quarter.
Tuberculosis remains one of the most important infectious causes worldwide. Blood in the sputum is considered a hallmark symptom, and the range of bleeding can run from minor streaking to massive hemorrhage. A case series documented how TB can lead to hemoptysis through several different mechanisms, including erosion into blood vessels (forming what is called a Rasmussen’s aneurysm), transformation into malignancy, and straightforward active infection in the lung tissue.1Asian Journal of Medical Sciences. Coughing up blood in tuberculosis: What three cases reveal about diagnosis and care In countries where TB rates are low, physicians may not think of it immediately, but it should be on the radar for anyone with risk factors such as recent travel, exposure to someone with active TB, or a weakened immune system.
When Blood in Mucus Could Mean Cancer
This is the worry that sends most people searching online, and it is worth addressing directly: hemoptysis related to malignancy accounts for close to a quarter of all hemoptysis cases in the United States, and roughly one in five people diagnosed with lung cancer experience some degree of blood in their sputum during the course of their disease.2PubMed Central. Management of hemoptysis in patients with lung cancer That said, the majority of people who cough up a small amount of blood do not have cancer.
A large retrospective study from China involving over 6,000 patients with non-small cell lung cancer found that the most common initial symptom was chronic cough, present in about 65 percent of patients, followed by blood-tinged sputum at around 33 percent. Patients with squamous cell carcinoma and more advanced disease stages were more likely to present with both cough and bloody sputum than patients with other tumor types or earlier stages.3PubMed Central. What are the clinical symptoms and physical signs for non-small cell lung cancer before diagnosis is made? A nation-wide multicenter 10-year retrospective study in China The takeaway here is not panic but awareness: if you are a current or former smoker over 50 with persistent blood-streaked sputum, the threshold for getting imaging should be low.
Autoimmune and Systemic Causes
Sometimes the bleeding is not coming from the large airways at all but from the tiny air sacs deep in the lungs. This pattern, called diffuse alveolar hemorrhage, can be caused by autoimmune conditions that attack the blood vessels in the lungs. The most common immune-related cause is a group of conditions called ANCA-associated vasculitis, where the immune system inflames small blood vessels throughout the body. The typical presentation involves hemoptysis, a rapid drop in red blood cell count, and hazy patches spread across both lungs on imaging.4CHEST. ANCA Vasculitis Associated Pulmonary Hemorrhage: A Fatal Case Report
Other autoimmune diseases can cause the same kind of lung bleeding. A review examining diffuse alveolar hemorrhage across several autoimmune conditions found that lupus patients were particularly likely to present with hemoptysis, while in vasculitis and antiphospholipid syndrome the bleeding sometimes manifested more as shortness of breath and low oxygen without obvious blood in the sputum.5PubMed. Diffuse Alveolar Hemorrhage in Autoimmune Diseases These conditions are uncommon, but they tend to be serious and require prompt treatment with immunosuppressive medications. If you are already managing an autoimmune disease and develop new hemoptysis, it deserves urgent attention.
Rare and Surprising Causes
Most of the causes discussed so far account for the vast majority of hemoptysis episodes, but the list of possibilities is long. Some of the rarer entries are worth knowing about because they are easy to miss.
Parasitic lung infections, for instance, are uncommon in the United States but do occur. A case report described a young man in Missouri who developed hemoptysis and was found to have a lung mass on CT scan. A biopsy revealed parasite eggs from Paragonimus kellicotti, a lung fluke. The patient had been eating raw crayfish caught during canoe trips on local rivers, which is how the parasite enters the body.6PubMed Central. Paragonimus kellicotti: A Lung Infection in Our Own Backyard Doctors in endemic areas are familiar with this, but outside those regions the infection can be mistaken for cancer or TB on imaging.
Occupational and environmental exposures can also contribute to respiratory symptoms, including hemoptysis in extreme cases. Workers exposed to wood dust, for example, show higher rates of respiratory symptoms including cough, with the risk climbing the longer they have been on the job.7BMJ Journals. Pulmonary function and symptoms in workers exposed to wood dust Chronic airway irritation from inhaled particles or chemicals can eventually damage the bronchial lining enough to cause bleeding, particularly in smokers or people with pre-existing lung disease.
Anticoagulant medications (blood thinners) are another overlooked contributor. They do not cause hemoptysis by themselves, but they lower the threshold for bleeding from any underlying cause. Someone with mild bronchiectasis who never noticed blood in their mucus may start seeing it after beginning warfarin or a newer anticoagulant. If you are on blood thinners and develop hemoptysis, do not stop the medication on your own, but do contact your prescriber promptly.
How Doctors Track Down the Source
When you show up with hemoptysis, doctors want to answer two questions: where is the bleeding coming from, and why? The tools they reach for depend on how much blood you are producing and what the initial clinical picture suggests.
A CT scan of the chest has become the workhorse of hemoptysis evaluation. One study comparing CT, standard chest X-ray, and bronchoscopy found that CT identified the site of bleeding in over 90 percent of patients, compared to just over half for X-ray and 70 percent for bronchoscopy. For pinpointing the actual cause, CT detected the underlying diagnosis in 60 percent of cases, versus 25 percent for X-ray and about a third for bronchoscopy.8PubMed Central. Hemoptysis: Comparison of Diagnostic Accuracy of Multi Detector CT Scan and Bronchoscopy An earlier study of 58 patients corroborated this, finding that CT identified abnormalities in all cases of malignancy and produced no false-negative results.9PubMed. Hemoptysis: CT-bronchoscopic correlations in 58 cases
Bronchoscopy, where a thin camera is threaded into the airways, is still used frequently. In a large series of over 1,100 patients with hemoptysis, bronchoscopy was performed in more than 90 percent, and CT was positive in about 71 percent of cases.10PubMed Central. Hemoptysis with no malignancy suspected on computed tomography rarely requires bronchoscopy The value of bronchoscopy is that it can both find the bleeding source and, in many cases, treat it at the same time by applying direct pressure or cauterization. It is especially useful when bleeding is active and rapid, because CT cannot show you a bleed in real time the way a camera inside the airway can.
Basic blood work also plays a role. Doctors will check your clotting function, complete blood count, and kidney function. If an autoimmune cause is suspected, specific antibody tests (like ANCA) help narrow the diagnosis quickly.
When to Go to the Emergency Room
A single episode of a few blood streaks in your mucus during a bad cough is usually not an emergency, but it does warrant a call to your doctor. You should go to the emergency room if:
- Volume: You are coughing up more than a teaspoon or two of blood, or the bleeding does not stop.
- Breathing trouble: You feel short of breath, are wheezing, or feel like you are choking.
- Lightheadedness: You feel faint, dizzy, or your heart is racing.
- Other red flags: You have chest pain, fever with night sweats, or unintentional weight loss alongside the bleeding.
Massive hemoptysis, generally defined as coughing up a large volume of blood in 24 hours (the threshold varies in the literature, but most clinicians become very concerned once it exceeds a cupful), is a medical emergency. The danger is not so much blood loss as it is drowning: blood filling the airways can obstruct breathing before it causes significant anemia. Bronchial artery bleeding is the most common source when hemoptysis reaches life-threatening levels.11PubMed Central. Bronchial artery embolization for hemoptysis
How Hemoptysis Is Treated
Treatment depends entirely on the cause and the severity. For mild cases caused by a respiratory infection, treatment is the same as for the underlying infection: antibiotics if it is bacterial, supportive care if viral. The bleeding typically stops as the infection resolves.
When bleeding is more significant or recurrent, bronchial artery embolization has become a first-line intervention. In this procedure, a catheter is guided through the blood vessels to the bronchial artery feeding the area of bleeding, and tiny particles are injected to block the flow. The procedure stops hemorrhage immediately in the vast majority of cases, with success rates typically ranging from 85 to 100 percent. Recurrence happens in roughly 10 to 33 percent of patients over time, but the procedure can often be repeated.12PubMed Central. Bronchial artery embolization for hemoptysis For patients who are too sick for surgery, embolization serves as a bridge treatment while the underlying cause is addressed.
Surgery to remove the bleeding portion of lung is reserved for cases where embolization fails or is not feasible, or where the underlying cause (such as a localized cancer) is best treated surgically. For autoimmune-related bleeding, the focus shifts to aggressive immunosuppressive therapy to calm the inflammation attacking the lung’s blood vessels.
When No Cause Is Found
In a frustrating subset of cases, even after CT scans, bronchoscopy, and lab work, doctors cannot pin down a specific cause. This is called cryptogenic hemoptysis. A study that followed 67 patients who had hemoptysis with a normal chest X-ray and nondiagnostic bronchoscopy found that the bleeding generally resolved without a serious diagnosis emerging later.13PubMed. Cryptogenic hemoptysis. Clinical features, bronchoscopic findings, and natural history in 67 patients
Cryptogenic hemoptysis is more common than you might expect. Some estimates suggest it accounts for up to 15 to 25 percent of cases in referral settings. The working theory is that many of these episodes stem from small vessel bleeding in inflamed airways that has already resolved by the time the camera or scanner gets a look. For patients, this diagnosis can feel unsatisfying, but the long-term outlook is generally reassuring. Doctors will typically recommend follow-up imaging over the next several months to make sure nothing was missed, particularly in smokers or older adults where the concern for occult malignancy lingers.
Hemoptysis in Children
Blood in the sputum is rare in children, and the causes tend to differ from adults. The most common reasons include respiratory infections and complications related to tracheostomy tubes. Other causes in the pediatric population include abnormal bronchial blood vessel development, foreign body aspiration (a toddler who inhaled a small object), and bronchiectasis linked to cystic fibrosis.14PubMed Central. Hemoptysis in Pediatric Patients Lung cancer is exceedingly rare in children, so the diagnostic approach is different. A child coughing up blood still needs evaluation, but the urgency and the list of suspected causes shift compared to adults.
One common scenario in children that gets mistaken for hemoptysis is a nosebleed that drains backward and is then coughed up, particularly at night. Pediatricians often sort this out quickly with a careful history and examination of the nose and throat before ordering any imaging.
What Your Doctor Will Ask You
If you are preparing for a medical visit about blood in your mucus, knowing what information matters can help speed up the evaluation. Expect questions about:
- Timing and amount: When did it start, how often has it happened, and roughly how much blood do you see each time?
- Appearance: Is it bright red streaks, pink-tinged sputum, or dark clots?
- Accompanying symptoms: Do you have fever, night sweats, weight loss, chest pain, or shortness of breath?
- Smoking history: How long, how much, and whether you have quit.
- Medications: Blood thinners, aspirin, and anti-inflammatory drugs are especially relevant.
- Travel and exposures: Recent travel to areas where TB or parasitic infections are common, occupational dust or chemical exposures, and contact with anyone who has been sick.
Having clear answers to these questions helps your doctor decide whether you need imaging right away, can start with simpler testing, or should be sent directly to the emergency department. The combination of your symptoms, risk factors, and the character of the bleeding shapes the entire diagnostic pathway. A 25-year-old nonsmoker with a week of bronchitis and a single streak of blood gets a very different workup than a 60-year-old smoker with recurring hemoptysis and weight loss.