What causes hemoptysis (coughing up blood) in the lungs?
Generally, hemoptysis (coughing up blood) may be caused by environmental factors, common cold, bronchiectasis, pulmonary tuberculosis, pulmonary embolism, and other reasons. Symptomatic management through general treatment and medication is required. If symptoms persist or worsen, timely medical consultation and comprehensive examinations are recommended to determine the underlying cause. Detailed analysis is as follows:

1. Environmental Factors
Long-term exposure to environments with poor air quality, such as those with significant dust, chemical substances, or harmful gases, may irritate and damage the respiratory mucosa. In extreme cases, this may lead to hemoptysis, although it typically presents as chronic respiratory inflammation or irritation. It is recommended to improve the living environment, reduce inhalation of harmful substances, and use air purification equipment if necessary.
2. Common Cold
Viral infections can cause the common cold. During a cold, a sudden increase in intrathoracic pressure due to coughing may cause small blood vessels in the bronchi or lungs to rupture and bleed. This is usually accompanied by prominent symptoms such as coughing, sputum production, and sore throat. It is recommended to use antiviral oral solutions, Lianhua Qingwen capsules, Ganmaoling granules, or other medications as directed by a physician to alleviate symptoms.
3. Bronchiectasis
In patients with bronchiectasis, the elasticity of the bronchial walls decreases, the bronchial lumen enlarges, and the blood vessels are prone to compression and injury, leading to bleeding. Patients often experience recurrent episodes of coughing, expectoration of large amounts of purulent sputum, and difficulty breathing. It is recommended to use medications such as cefixime capsules, ampicillin capsules, and azithromycin capsules under the guidance of a physician.
4. Pulmonary Tuberculosis
Infection of the lungs by Mycobacterium tuberculosis leads to the formation of tuberculous lesions, which damage the lung tissue structure and cause vascular injury and rupture, resulting in hemoptysis. Patients often experience symptoms such as coughing, sputum production, fever, night sweats, and weight loss. It is recommended to use medications such as isoniazid tablets, rifampin capsules, and streptomycin sulfate injections under the guidance of a physician.
5. Pulmonary Embolism
A blood clot or embolus blocking the pulmonary artery can cause ischemia and infarction of lung tissue, leading to vascular rupture and bleeding. Patients often experience sudden chest pain, difficulty breathing, palpitations, and syncope. It is recommended to use medications such as dicoumarol tablets, heparin sodium injection, and warfarin sodium tablets under the guidance of a physician.
In daily life, it is recommended to maintain good living habits, follow a balanced diet, and consume more fresh fruits and vegetables, which can help enhance immunity and reduce the occurrence of diseases.
References
[1] Wang Lun, Feng Rui'e, Wang Luo, et al. Chest Pain, Hemoptysis, Pulmonary Cavities, and Anemia[J]. Chinese Journal of Practical Internal Medicine, 2024, 44(06): 512-515.
[2] Shi Wenxiu, Ye Xiaofen, Cai Yingyun, et al. Clinical Pharmacist's Involvement in the Treatment of Electrolyte Imbalance in a Patient with Pulmonary Infection and Hemoptysis[J]. Shanghai Medical Journal, 2019, 40(01): 52-55.