Doctors Note Logo

Published on: 2/28/2026

Coughing Up Blood? Why Hemoptysis Happens & Your Medical Next Steps

Coughing up blood, or hemoptysis, means blood from your lungs or airways and can result from infections, chronic lung disease, pulmonary embolism, or lung cancer. The amount of blood does not always reflect how serious it is, and you should seek urgent care for large amounts or if you have shortness of breath, chest pain, or dizziness.

There are several factors to consider; see below for how to tell the source of bleeding, key risk factors, the tests doctors use, and treatment options that can guide your next steps.

answer background

Explanation

Coughing Up Blood? Why Hemoptysis Happens & Your Medical Next Steps

Seeing blood when you cough can be frightening. The medical term for this is hemoptysis, which simply means coughing up blood from the lungs or airways. Sometimes it's a small streak mixed with mucus. Other times, it can be more noticeable.

While hemoptysis can have minor causes, it can also signal a serious medical condition. The key is understanding what it might mean — and knowing when to seek care.

Below, we'll break down what hemoptysis is, why it happens, what to watch for, and what steps to take next.


What Is Hemoptysis?

Hemoptysis refers specifically to blood that comes from the lower respiratory tract — the lungs or bronchial tubes — and is coughed up.

It's important to distinguish this from:

  • Vomiting blood (hematemesis) – blood from the stomach
  • Nosebleeds (epistaxis) that drain backward into the throat
  • Bleeding gums or mouth injuries

True hemoptysis usually appears as:

  • Bright red or rust-colored blood
  • Frothy or mixed with mucus
  • Triggered by coughing

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


Common Causes of Hemoptysis

Hemoptysis can range from mild to life-threatening. The amount of blood does not always predict the seriousness of the condition.

1. Respiratory Infections (Most Common Cause)

Infections are one of the most frequent causes of hemoptysis, especially in otherwise healthy adults.

These include:

  • Acute bronchitis
  • Chronic bronchitis
  • Pneumonia
  • Tuberculosis (TB)
  • Tracheitis

Infections irritate and inflame the airway lining. Inflamed tissues are fragile and can bleed with forceful coughing.

If you have a persistent cough with mucus and notice streaks of blood, inflammation from these infections may be the cause. To help identify whether your symptoms align with Acute / Chronic Tracheitis / Bronchitis, you can use a free AI-powered symptom checker to get personalized insights in just minutes.


2. Chronic Lung Conditions

Certain long-term lung diseases increase the risk of hemoptysis:

  • Chronic obstructive pulmonary disease (COPD)
  • Bronchiectasis
  • Cystic fibrosis

In bronchiectasis, for example, damaged airways become widened and prone to infection and bleeding.


3. Lung Cancer

Hemoptysis can be an early symptom of lung cancer, especially in:

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

Not every case of hemoptysis means cancer. However, in higher-risk individuals, it must be evaluated promptly.


4. Blood Clots in the Lung (Pulmonary Embolism)

A pulmonary embolism (PE) occurs when a blood clot travels to the lungs. Hemoptysis can occur alongside:

  • Sudden shortness of breath
  • Sharp chest pain
  • Rapid heart rate
  • Leg swelling or pain

This is a medical emergency and requires immediate care.


5. Heart Conditions

Certain heart problems — especially those involving the mitral valve — can cause pressure buildup in lung blood vessels, leading to hemoptysis.


6. Trauma or Medical Procedures

Hemoptysis can happen after:

  • A lung biopsy
  • Bronchoscopy
  • Severe coughing spells
  • Chest injury

Small amounts of blood after a procedure may be expected, but heavy or ongoing bleeding is not.


7. Less Common Causes

Other possible causes include:

  • Autoimmune disorders (such as vasculitis)
  • Blood clotting disorders
  • Certain medications (especially blood thinners)
  • Fungal infections

Sometimes, even after testing, no clear cause is found. This is called cryptogenic hemoptysis, and it often resolves on its own — but still requires evaluation.


When Is Hemoptysis an Emergency?

Seek immediate medical attention if you experience:

  • Coughing up more than a few teaspoons of blood
  • Rapid or worsening bleeding
  • Shortness of breath
  • Chest pain
  • Dizziness or fainting
  • Signs of shock (pale, clammy skin, confusion)

Large-volume hemoptysis can interfere with breathing and becomes life-threatening quickly.

Do not delay care in these situations.


What to Expect at the Doctor's Office

If you experience hemoptysis, a healthcare provider will likely:

1. Take a Detailed History

They'll ask about:

  • How much blood you saw
  • How long it's been happening
  • Smoking history
  • Recent infections
  • Travel history
  • Medication use
  • Other symptoms (fever, weight loss, chest pain)

2. Perform a Physical Exam

This includes listening to your lungs and checking oxygen levels.

3. Order Diagnostic Tests

Common tests include:

  • Chest X-ray
  • CT scan of the chest
  • Blood tests
  • Sputum cultures
  • Bronchoscopy (a camera to look inside airways)

These tests help determine the source and severity of the hemoptysis.


How Hemoptysis Is Treated

Treatment depends entirely on the underlying cause.

If Due to Infection:

  • Antibiotics (for bacterial infections)
  • Rest and fluids
  • Anti-inflammatory medications

If Due to Chronic Lung Disease:

  • Inhalers
  • Airway clearance therapy
  • Long-term disease management

If Due to Blood Clots:

  • Blood thinners
  • Hospital treatment

If Due to Cancer:

  • Surgery
  • Radiation
  • Chemotherapy
  • Targeted therapies

If Bleeding Is Severe:

In rare cases, emergency procedures may include:

  • Bronchial artery embolization (to stop bleeding)
  • Surgery

Can Mild Hemoptysis Go Away on Its Own?

Yes — in cases related to:

  • Minor infections
  • Temporary airway irritation
  • Small airway tears from coughing

However, even small amounts of blood should be evaluated at least once. Hemoptysis should never be ignored, especially if:

  • It recurs
  • You smoke
  • You're over age 40
  • You have other concerning symptoms

Practical Next Steps If You Notice Hemoptysis

If you cough up blood:

  1. Stay calm.
  2. Note:
    • How much blood?
    • What color?
    • Mixed with mucus?
  3. Monitor for other symptoms.
  4. Avoid heavy exertion.
  5. Contact your healthcare provider the same day.

If symptoms are severe, call emergency services immediately.


Reducing Your Risk

While not all cases are preventable, you can lower your risk of hemoptysis by:

  • Not smoking
  • Staying current on vaccines (flu, pneumonia)
  • Managing chronic lung disease carefully
  • Seeking treatment for persistent coughs
  • Avoiding exposure to lung irritants

The Bottom Line

Hemoptysis — coughing up blood — can range from mild airway irritation to serious lung disease. The most common cause is infection, but conditions such as lung cancer, blood clots, or chronic lung disease must also be considered.

The amount of blood does not always reflect how serious the problem is. Even small amounts deserve medical evaluation.

If you experience:

  • Recurrent hemoptysis
  • Large amounts of blood
  • Shortness of breath
  • Chest pain
  • Dizziness

You should seek immediate care.

For milder symptoms such as persistent cough with mucus or blood-tinged sputum, consider checking your symptoms with a free AI-powered tool for Acute / Chronic Tracheitis / Bronchitis to gain clarity about what might be causing your condition before your doctor's appointment.

Above all, speak to a doctor about any episode of hemoptysis. Some causes are minor. Others can be life-threatening. Early evaluation makes a real difference in outcomes — and in many cases, provides reassurance.

If you're unsure, it's always safer to get checked.

(References)

  • * Sakr L, Dutau H, Maldonado F. Hemoptysis: Etiologies, Evaluation, and Management. Med Clin North Am. 2020 Mar;104(2):331-344. doi: 10.1016/j.mcna.2019.11.003. PMID: 32103810.

  • * Mondoni M, Sferrazza Bocca G, Mescia T, Saderi L, Zompatori M, Carlucci A, Cava M, Dormi A, Fietta AM, Pasotti E, Piloni D, Trovati R, Santus P. Hemoptysis: a multidisciplinary approach. Eur Respir Rev. 2021 Jun 30;30(160):210061. doi: 10.1183/16000617.0061-2021. PMID: 34162799.

  • * Saki O, Zampieri FG, Singh M, Krustev S, Ghofrani A, Alabousi A, Kumar A, Gupta A, Lellouche F. Massive Hemoptysis: A Clinical Review. Crit Care Med. 2022 May 1;50(5):e452-e462. doi: 10.1097/CCM.0000000000005408. PMID: 35139049.

  • * Wong TJL, Chee AJS, Cheong THT. Management of hemoptysis. Respirology. 2020 Jul;25(7):725-738. doi: 10.1111/resp.13788. PMID: 32249567.

  • * Radchenko D, Sachdeva M, Kothari CJ, Munjal A, Soni T, Patel BC. Hemoptysis: Diagnosis and Management. J Thorac Dis. 2017 May;9(5):1377-1388. doi: 10.21037/jtd.2017.04.14. PMID: 28546153; PMCID: PMC5463768.

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.