Doctors Note Logo

Published on: 3/9/2026

Coughing Up Blood? Why Your Lungs Bleed & Medically Approved Next Steps

Coughing up blood that is bright red or rust colored and frothy after coughing usually comes from the lungs and can be caused by infections, chronic lung disease, or less commonly lung cancer or a blood clot in the lung. There are several factors to consider; see below to confirm the source and understand what your specific symptoms mean, because important details can change your next steps.

Seek urgent care now for large amounts, shortness of breath, chest pain, dizziness, or major risk factors; otherwise arrange prompt medical evaluation and follow approved treatments, with step by step next actions, tests, and prevention tips outlined below.

answer background

Explanation

Coughing Up Blood? Why Your Lungs Bleed & Medically Approved Next Steps

Coughing up blood can be alarming. Even a small amount of red or rust-colored mucus can make your heart race. While it's not always a medical emergency, it is never something to ignore.

The medical term for coughing up blood is hemoptysis. It happens when blood comes from your lungs or airways and is coughed out. The amount can range from streaks mixed in mucus to larger volumes of bright red blood.

Let's break down what causes coughing up blood, what it could mean, and the medically approved next steps you should take.


What Does Coughing Up Blood Look Like?

Before anything else, it's important to confirm the blood is actually coming from your lungs.

Coughing up blood (hemoptysis) typically:

  • Happens after coughing
  • Appears bright red or rust-colored
  • Looks frothy or mixed with mucus
  • May have air bubbles

This is different from:

  • Vomiting blood, which often looks dark like coffee grounds
  • Bleeding from the nose or throat, which can drip backward and be coughed out

If you're unsure where the blood is coming from, a doctor can help determine the source.


Common Causes of Coughing Up Blood

Many conditions can lead to coughing up blood. Some are mild and temporary. Others are serious and require urgent care.

1. Respiratory Infections (Most Common Cause)

Infections are the leading cause of coughing up blood.

These include:

  • Acute bronchitis
  • Pneumonia
  • Tuberculosis (TB)

When your airways are inflamed, tiny blood vessels can break and leak small amounts of blood into mucus.

If you also have:

  • Fever
  • Chest pain
  • Shortness of breath
  • Fatigue
  • Thick yellow, green, or rust-colored mucus

You should check if your symptoms match Pneumonia (Lower Respiratory Tract Infection) using a free AI-powered assessment tool that can help you understand your condition before your doctor visit.


2. Chronic Lung Conditions

People with long-term lung diseases may experience episodes of coughing up blood.

These conditions include:

  • Chronic bronchitis
  • Chronic obstructive pulmonary disease (COPD)
  • Bronchiectasis

In bronchiectasis, damaged airways become widened and scarred, making bleeding more likely.


3. Lung Cancer

Lung cancer is a serious but less common cause of coughing up blood. It is more likely in:

  • Adults over 40
  • Current or former smokers
  • People with unexplained weight loss
  • Persistent cough lasting more than 3 weeks

Coughing up blood can sometimes be an early warning sign. Early detection significantly improves outcomes.


4. Blood Clots in the Lungs (Pulmonary Embolism)

A pulmonary embolism occurs when a blood clot blocks an artery in the lung.

Symptoms may include:

  • Sudden shortness of breath
  • Sharp chest pain that worsens with breathing
  • Rapid heartbeat
  • Lightheadedness

This is a medical emergency. If you suspect this, seek immediate care.


5. Heart Conditions

Certain heart problems, especially mitral valve disease, can cause pressure changes that lead to bleeding in the lungs.


6. Autoimmune or Inflammatory Disorders

Rare immune conditions like:

  • Granulomatosis with polyangiitis
  • Lupus
  • Goodpasture syndrome

Can cause inflammation and bleeding in lung tissue.


7. Trauma or Medical Procedures

Coughing up blood may follow:

  • A recent bronchoscopy
  • Lung biopsy
  • Severe coughing fits
  • Chest injury

When Is Coughing Up Blood an Emergency?

Seek immediate medical attention if:

  • You cough up more than a few teaspoons of blood
  • The bleeding is heavy or continuous
  • You have difficulty breathing
  • You feel faint or dizzy
  • You have chest pain
  • You have a known lung or heart condition
  • You recently had surgery or were immobilized for a long time

Massive hemoptysis (large amounts of blood) is rare but life-threatening. Do not delay care.


How Doctors Diagnose the Cause

If you see a healthcare provider for coughing up blood, they may:

Ask Questions About:

  • How much blood you've seen
  • How long it's been happening
  • Smoking history
  • Recent travel
  • Fever or weight loss
  • History of lung disease

Perform Tests Such As:

  • Chest X-ray
  • CT scan of the chest
  • Blood tests
  • Sputum testing
  • Bronchoscopy (looking inside the airways with a small camera)

The goal is to identify whether the cause is infection, inflammation, clot, cancer, or another issue.


Medically Approved Next Steps

If you notice coughing up blood, here's what to do:

1. Stay Calm and Assess

  • Note the color and amount of blood
  • Check for other symptoms like fever or chest pain
  • Avoid heavy physical activity

2. Seek Medical Evaluation

Even if the bleeding is small, it should be evaluated—especially if it happens more than once.

3. Avoid Irritants

  • Do not smoke
  • Avoid secondhand smoke
  • Limit exposure to dust or chemicals

4. Follow Treatment Plans Carefully

Treatment depends on the cause and may include:

  • Antibiotics for bacterial infections
  • Inhalers for airway inflammation
  • Blood thinners (if a clot is found)
  • Specialized procedures to stop bleeding
  • Cancer treatments if necessary

Never self-medicate without guidance.


Can Coughing Up Blood Go Away on Its Own?

Yes, sometimes it does—especially if caused by mild bronchitis or a temporary infection.

However:

  • Recurrent bleeding is not normal
  • Persistent symptoms should not be ignored
  • Waiting too long can delay treatment of serious conditions

It's better to rule out serious causes than assume it's minor.


Who Is at Higher Risk?

You may be at higher risk for serious causes of coughing up blood if you:

  • Smoke or previously smoked
  • Have COPD or chronic lung disease
  • Have a weakened immune system
  • Recently traveled to areas where tuberculosis is common
  • Have a history of blood clots
  • Are over age 40 with a persistent cough

Preventing Future Episodes

While not all causes are preventable, you can reduce risk by:

  • Quitting smoking
  • Staying up to date on vaccines (flu and pneumonia)
  • Managing chronic lung conditions properly
  • Seeking early treatment for infections
  • Staying physically active to lower clot risk

The Bottom Line

Coughing up blood is never something to ignore. In many cases, it's caused by infection or airway irritation and can be treated effectively. In other cases, it may signal a more serious issue such as lung cancer or a blood clot.

The key points to remember:

  • Small streaks of blood can still require evaluation.
  • Large amounts of blood are a medical emergency.
  • Early diagnosis improves outcomes.
  • Persistent or repeated episodes must be checked.

If you are experiencing coughing up blood, or if symptoms are worsening, speak to a doctor immediately—especially if there is chest pain, shortness of breath, dizziness, or heavy bleeding. Prompt medical care can be lifesaving.

Your lungs are vital. When they send a warning sign, it's important to listen.

(References)

  • * Rezaian J, Rezaee M, Shojaei R, Hashemzadeh H, Shahbazi S. Hemoptysis: causes, diagnostic, and therapeutic approaches. Monaldi Arch Chest Dis. 2022 Dec 12;93(3). doi: 10.4081/monaldi.2022.2238. PMID: 36502220.

  • * de Souza MSM, do Amaral LMM, Lima AL, Viana JS, Mussi RK, de Arruda MA, Mussi RK, de Arruda M. Update on the Etiology, Diagnosis, and Management of Hemoptysis. Respir Care. 2022 Sep;67(9):1184-1199. doi: 10.4187/respcare.09919. Epub 2022 Jun 15. PMID: 35948494.

  • * Wilson DMG, Williams L, Bhatta D, Luyk S, Fraser L, Latchford S. Diagnostic approaches to hemoptysis: An algorithmic approach. Monaldi Arch Chest Dis. 2022 Jul 1;93(2). doi: 10.4081/monaldi.2022.2199. PMID: 35914101.

  • * Moreira ACACV, Boás MA, D'Ávila-Reis D. Management of massive hemoptysis. Rev Bras Ter Intensiva. 2020 Jan-Mar;32(1):151-157. English, Portuguese. doi: 10.5935/0103-507X.20200021. PMID: 32374828.

  • * Deslee G, Khouatra C. Investigation of haemoptysis. Breathe (Sheff). 2020 Jun;16(2):200057. doi: 10.1183/20734735.0057-2020. PMID: 32676059.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.