Our Services
Medical Information
Helpful Resources
Published on: 3/9/2026
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.
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.
Before anything else, it's important to confirm the blood is actually coming from your lungs.
Coughing up blood (hemoptysis) typically:
This is different from:
If you're unsure where the blood is coming from, a doctor can help determine the source.
Many conditions can lead to coughing up blood. Some are mild and temporary. Others are serious and require urgent care.
Infections are the leading cause of coughing up blood.
These include:
When your airways are inflamed, tiny blood vessels can break and leak small amounts of blood into mucus.
If you also have:
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.
People with long-term lung diseases may experience episodes of coughing up blood.
These conditions include:
In bronchiectasis, damaged airways become widened and scarred, making bleeding more likely.
Lung cancer is a serious but less common cause of coughing up blood. It is more likely in:
Coughing up blood can sometimes be an early warning sign. Early detection significantly improves outcomes.
A pulmonary embolism occurs when a blood clot blocks an artery in the lung.
Symptoms may include:
This is a medical emergency. If you suspect this, seek immediate care.
Certain heart problems, especially mitral valve disease, can cause pressure changes that lead to bleeding in the lungs.
Rare immune conditions like:
Can cause inflammation and bleeding in lung tissue.
Coughing up blood may follow:
Seek immediate medical attention if:
Massive hemoptysis (large amounts of blood) is rare but life-threatening. Do not delay care.
If you see a healthcare provider for coughing up blood, they may:
The goal is to identify whether the cause is infection, inflammation, clot, cancer, or another issue.
If you notice coughing up blood, here's what to do:
Even if the bleeding is small, it should be evaluated—especially if it happens more than once.
Treatment depends on the cause and may include:
Never self-medicate without guidance.
Yes, sometimes it does—especially if caused by mild bronchitis or a temporary infection.
However:
It's better to rule out serious causes than assume it's minor.
You may be at higher risk for serious causes of coughing up blood if you:
While not all causes are preventable, you can reduce risk by:
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:
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.
We would love to help them too.
For First Time Users
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.