Why Is There Blood in My Mucus When I Cough?

Blood-streaked mucus after coughing is alarming, but in most cases the cause is an ordinary respiratory infection. Acute bronchitis and upper respiratory tract infections account for more than half of bloody sputum cases seen in outpatient clinics, and the bleeding typically resolves on its own once the infection clears. That said, the same symptom can also be an early sign of conditions that need prompt attention, from bronchiectasis to lung cancer, so understanding what else could be going on and when to seek help matters more than the reassurance alone.

Infections Are the Most Common Culprit

When you have a bad cold, the flu, or a chest infection, the lining of your airways becomes inflamed and swollen. Repeated, forceful coughing can rupture tiny blood vessels in that irritated tissue, leaving streaks of bright red blood in your mucus. A Japanese study of patients visiting respiratory clinics found that acute bronchitis was the single most common cause of bloody sputum, responsible for about 39% of cases, followed by acute upper respiratory tract infections at roughly 15%.

Bacterial pneumonia can also produce blood-tinged or rust-colored sputum. In the same clinic-based study, pneumonia accounted for close to 5% of bloody sputum episodes.1Respiratory Investigation. Causative diseases of bloody sputum and hemoptysis in respiratory clinics in Japan Tuberculosis, while less common in high-income countries, remains a major cause of coughing up blood worldwide and can produce complications ranging from active lung tissue destruction to the formation of weakened arterial walls called Rasmussen’s aneurysms, which can bleed dangerously.2Asian Journal of Medical Sciences. Coughing up blood in tuberculosis: What three cases reveal about diagnosis and care

The pattern of the blood often gives a clue. A few streaks mixed into yellow or green phlegm during a week-long cough is typical of bronchitis. Rust-colored sputum that persists for days alongside fever and chest pain points more toward pneumonia. And coughing up larger volumes of pure blood, especially without an obvious cold, warrants faster evaluation.

Bronchiectasis and Chronic Lung Conditions

If you notice blood in your mucus repeatedly over weeks or months rather than during a single illness, a chronic lung condition is more likely. Bronchiectasis, a condition where the airways become permanently widened and scarred, was the leading cause of bloody sputum in hospital-based respiratory departments in Japan, accounting for about 18% of all cases. It was especially common among women, where it was responsible for roughly 29% of cases, and in adults over 65, where it topped the list at about 20%.3PubMed. Nationwide survey in Japan of the causative diseases of bloody sputum and hemoptysis in departments of respiratory medicine at university hospitals and core hospitals

Bronchiectasis produces recurrent infections and a chronic cough with large amounts of mucus. The damaged, dilated airways develop extra blood vessels that are fragile and prone to bleeding. People with cystic fibrosis, a history of severe childhood lung infections, or certain immune deficiencies are at higher risk for developing it. Chronic obstructive pulmonary disease (COPD) can also cause bloody sputum, contributing about 8% of clinic-level cases in the same Japanese study.1Respiratory Investigation. Causative diseases of bloody sputum and hemoptysis in respiratory clinics in Japan

Could It Be Lung Cancer?

This is the fear that drives most people to search for answers, and it deserves a straight answer. Lung cancer is a real but not overwhelmingly common cause of bloody mucus. In the hospital-based Japanese survey, lung cancer was the second most common diagnosis at about 17% of cases, and in men specifically it was the top cause at 26%.3PubMed. Nationwide survey in Japan of the causative diseases of bloody sputum and hemoptysis in departments of respiratory medicine at university hospitals and core hospitals Roughly one in five people with lung cancer experience some degree of bloody sputum during the course of their disease.4PubMed Central. Management of hemoptysis in patients with lung cancer

Context matters enormously here. Those hospital numbers come from specialized respiratory departments where patients have already been referred because something more than a cold is suspected. In general outpatient clinics, where people show up with a new cough and a bit of blood, infections dominate and cancer is far less common. Your individual risk depends heavily on whether you smoke or have smoked, your age, and whether you have other symptoms like unexplained weight loss, persistent hoarseness, or chest pain that won’t go away. A 25-year-old non-smoker with blood-streaked mucus during a chest cold has a vanishingly low probability of lung cancer. A 60-year-old with a 30-year smoking history and weeks of bloody cough needs prompt investigation.

When the Blood Is Not Actually Coming From Your Lungs

Not all blood that appears in coughed-up mucus originates in the lungs. Doctors use the term pseudohemoptysis to describe blood that actually comes from the upper airway, the back of the throat, the nasal passages, or even the gastrointestinal tract but gets mixed with mucus and looks like it came from the chest.5American Journal of Respiratory and Critical Care Medicine. Tracing the Blood Trail: When GI Bleeding Mimics Lung Disease

This happens more often than you might expect. A nosebleed that drips down the back of the throat while you sleep can show up as bloody mucus the next morning when you cough or clear your throat. Bleeding gums, especially if you have gum disease, can color your saliva and mucus pink. Even a stomach or esophageal bleed can be vomited up in a way that feels and looks like coughing up blood. The distinction matters because the treatment is completely different. If the source is a nosebleed, you don’t need a chest scan. If it’s a GI bleed, you may need an entirely different workup.

A few practical clues help you sort this out before you even see a doctor. Blood that appears only first thing in the morning and is mixed with nasal drainage rather than thick lung mucus often points to the nose or sinuses. Blood that comes up with retching or nausea and has a dark, coffee-ground appearance suggests the stomach. True lung-origin blood is usually bright red, frothy, and mixed with sputum that you produce with a genuine cough from your chest.

Heart Failure and Vascular Causes

The lungs sit in an intimate relationship with the heart, and when the heart falters, the lungs pay a price. In severe heart failure, the heart cannot pump blood forward efficiently, so pressure builds up in the veins leading from the lungs. That elevated pressure forces fluid out of the tiny capillaries and into the air sacs. In acute pulmonary edema, this can produce the classic “pink frothy sputum” that doctors learn about in training.6Oxford Academic. Questioning the obvious: does dyspnoea really matter in heart failure?

This is not a subtle presentation. People with acute pulmonary edema are typically severely short of breath, sitting upright and struggling to get air, with a rapid heart rate and sometimes bluish lips. The pink frothy sputum is one piece of a dramatic picture, not something you’d notice casually during a mild cough. If you have known heart failure and notice even small amounts of blood in your sputum alongside worsening breathlessness or leg swelling, it’s worth contacting your doctor sooner rather than later, because it can signal a flare-up that needs treatment adjustment.

Pulmonary embolism, a blood clot that lodges in the lung’s blood vessels, is another vascular cause. It can damage lung tissue and produce blood-tinged sputum alongside sudden shortness of breath and sharp chest pain, especially pain that worsens with breathing. This is a medical emergency.

Autoimmune Conditions That Attack the Lungs

A less common but serious category involves autoimmune diseases that cause bleeding directly into the lung tissue, a condition called diffuse alveolar hemorrhage. In these situations, the body’s immune system attacks the tiny blood vessels in the lungs, causing widespread bleeding into the air sacs. This can occur in the context of conditions like granulomatosis with polyangiitis (formerly Wegener’s granulomatosis), lupus, and Goodpasture syndrome.7PubMed Central. Severe diffuse alveolar hemorrhage related to autoimmune disease: a multicenter study

Diffuse alveolar hemorrhage can be life-threatening and often requires intensive care. The clue that separates it from a simple infection is the broader picture: people usually have other systemic symptoms like joint pain, skin rashes, kidney problems, or unexplained fevers alongside the bloody cough. The bleeding tends to be more diffuse than what you’d see from a single inflamed airway, and blood counts may drop as blood pools in the lungs rather than being coughed out. If you already carry a diagnosis of an autoimmune condition and develop new bloody sputum, that’s a reason to be evaluated urgently.

Drugs, Smoking, and Environmental Exposures

Certain substances can damage the lungs in ways that produce bloody mucus. Smoking is the most obvious offender: it chronically irritates and inflames the airways, and heavy smokers sometimes cough up blood-tinged sputum even without a discrete infection or tumor. This does not mean the bleeding should be ignored, because smoking is the dominant risk factor for lung cancer, and new or worsening bloody sputum in a smoker always warrants investigation.

Cocaine use, particularly smoking crack cocaine, can cause direct thermal and toxic injury to the airways and lung tissue. The drug damages the barrier between the air sacs and the blood vessels through several mechanisms, including causing the blood vessels to constrict, triggering inflammation, and producing physical trauma from the pressure of inhaling deeply and holding the smoke in.8PubMed Central. Cocaine-Induced Lung Damage and Uncommon Involvement of the Basal Ganglia The result can range from mild blood-streaked sputum to life-threatening pulmonary hemorrhage. If you use inhaled drugs and cough up blood, being honest with your doctor about your use is critical for getting the right diagnosis.

Blood-thinning medications like warfarin, direct oral anticoagulants, and even daily aspirin can turn what would have been invisible micro-bleeds in the airways into noticeable bloody sputum. The underlying cause of the bleed still needs to be identified, but the anticoagulant amplifies it. If you’re on a blood thinner and notice new bloody mucus, let your prescribing doctor know.

What Happens When You Get It Checked Out

If you visit a doctor about bloody mucus, the evaluation typically starts with a detailed history and physical exam. Your doctor will want to know how much blood you’ve seen, how long it’s been happening, whether it comes with coughing or appears on its own, and what other symptoms you have. Smoking history, medication use, travel history, and any known lung or heart conditions all shape the next steps.

For mild cases with an obvious explanation, like a few streaks of blood during a nasty chest cold in an otherwise healthy young person, no imaging may be needed at all. For anything persistent, unexplained, or occurring alongside red-flag symptoms like weight loss or heavy bleeding, imaging is the next move. A chest X-ray is usually first. If that doesn’t provide a clear answer, a high-resolution CT scan of the chest is considerably more revealing. In one study of patients admitted with significant bleeding, CT scanning correctly identified the cause of the bleeding in 60% of cases, while bronchoscopy (passing a camera into the airways) identified only two cases of cancer on its own but was better at pinpointing which side the bleeding was coming from.9British Journal of Radiology. Utility of high-resolution chest CT scan in the emergency management of haemoptysis in the intensive care unit: severity, localization and aetiology In practice, the two tests complement each other: the CT scan shows structural abnormalities and often reveals the cause, while bronchoscopy can localize the exact bleeding site and take tissue samples if needed.

Blood tests, including a complete blood count and coagulation studies, round out the workup. If an autoimmune cause is suspected, specific antibody tests get added. Sputum cultures can identify infections like tuberculosis.

How Volume Changes the Urgency

Doctors think about bloody sputum on a spectrum. At one end are small streaks of blood mixed into otherwise normal mucus during a cough. At the other end is massive hemoptysis, generally defined as coughing up more than about 100 to 600 milliliters of blood in 24 hours, depending on which guideline you follow. The threshold is debated, but the principle isn’t: large-volume bleeding from the lungs is a medical emergency because the immediate danger is not blood loss but drowning, as blood fills the airways and prevents oxygen exchange.

For the vast majority of people who notice a bit of pink or red in their tissue after coughing, the volume is small and the urgency is low to moderate. Situations that push toward urgent or emergency evaluation include:

  • Large amounts: More than a tablespoon or two of pure blood per cough, or bleeding that continues for more than a day.
  • Breathlessness: Feeling short of breath alongside the bloody mucus, which may suggest blood is pooling in the lungs or an underlying clot.
  • Chest pain: Especially sharp pain that worsens with breathing, which raises concern for a pulmonary embolism.
  • Known risk factors: A significant smoking history, known lung disease, or being on blood thinners.
  • Systemic symptoms: Unexplained weight loss, night sweats, or prolonged fevers alongside the bleeding.

If you’re coughing up small amounts of blood-tinged mucus during what is clearly a cold or bronchitis and you’re otherwise feeling okay, it’s reasonable to monitor it over a few days and mention it at a scheduled appointment. If the bleeding worsens, persists after the infection clears, or any of the warning signs above appear, don’t wait.

Blood in Mucus in Children

Coughing up blood is uncommon in children, and the cause list looks different from adults. Infections and complications related to tracheostomy tubes (in children who have them) are the most frequent causes in pediatric patients. Other causes include foreign body aspiration, which is something to consider in toddlers who suddenly start coughing and gagging, and bronchiectasis linked to cystic fibrosis.10PubMed Central. Hemoptysis in Pediatric Patients

Lung cancer is exceedingly rare in children, so the calculus is different. Still, any child who coughs up blood that isn’t clearly explained by a nosebleed dripping down the back of the throat deserves a pediatrician’s evaluation. Foreign bodies lodged in the airway can cause ongoing irritation and bleeding and sometimes go undetected for weeks if the initial choking episode was missed.

Procedures That Can Cause It

If you’ve recently had a medical procedure involving your lungs, blood in your mucus may simply be a known side effect. Bronchoscopy, especially when it involves taking a tissue biopsy from inside the lung, commonly causes some bleeding afterward. In a retrospective study of patients who had transbronchial lung biopsies for suspected interstitial lung disease, 40 out of the group experienced bleeding as a complication, with 11 of those having major bleeding episodes.11PubMed Central. Observational findings of transbronchial lung biopsy in patients with interstitial lung disease: a retrospective study in Aleppo University Hospital Mild blood-tinged sputum for a day or two after a biopsy is expected, but heavy or prolonged bleeding after any lung procedure should be reported immediately.

Intubation (having a breathing tube placed during surgery), aggressive suctioning, and even vigorous use of continuous positive airway pressure (CPAP) machines can occasionally traumatize the airway lining enough to cause small amounts of bloody mucus. These are almost always self-limiting and resolve within a day or two.

The Difference Between Outpatient and Hospital Settings

One thing worth understanding is that the cause of bloody mucus depends heavily on where you are when the question gets asked. In a general outpatient clinic, infections dominate. Acute bronchitis and upper respiratory infections together accounted for more than half of all cases in the Japanese clinic-based study.1Respiratory Investigation. Causative diseases of bloody sputum and hemoptysis in respiratory clinics in Japan In hospital respiratory departments, which see the more complicated and referred cases, bronchiectasis, lung cancer, and nontuberculous mycobacterial infections rise to the top.3PubMed. Nationwide survey in Japan of the causative diseases of bloody sputum and hemoptysis in departments of respiratory medicine at university hospitals and core hospitals

This selection bias is important to keep in mind when reading about the causes of coughing up blood. Scary-sounding statistics about lung cancer being a leading cause come from settings where the sickest patients have been filtered in. The person typing their symptoms into a search engine at home after a bout of bronchitis is statistically much more likely to be dealing with something benign. That’s not a reason to ignore the symptom, but it is a reason not to panic over it.