Doctors Note Logo

Published on: 10/9/2026

Water in the lungs: what causes it and how it is treated

Fluid buildup in or around the lungs, known medically as pulmonary edema or pleural effusion, is most often caused by heart failure, pneumonia, kidney or liver disease, blood clots, cancer, or injury from high altitude or inhaled toxins. Common warning signs include shortness of breath that worsens when lying flat, chest discomfort, wheezing, coughing up frothy or pink-tinged sputum, and swelling in the legs. Treatment depends entirely on the underlying cause and may involve supplemental oxygen, diuretics to remove excess fluid, medications for heart or blood pressure problems, antibiotics for infection, or drainage procedures such as thoracentesis or chest tube placement. Because causes range from treatable infections to life-threatening cardiac events, there are several important distinctions to consider, and the details below explain what separates an urgent emergency from a manageable condition.

Since breathing symptoms overlap across many very different conditions, taking a free, instant, online symptom check can help you understand which possibilities fit your situation and whether you should seek care now or schedule a visit.

Last reviewed for medical accuracy: 10/08/2026

answer background

Concerned about your symptoms?

Explanation

Water in the Lungs: What Causes It and How It’s Treated

“Water in the lungs” is the lay term for pulmonary edema, a condition where fluid builds up in the air sacs (alveoli) of your lungs. This fluid makes it hard to breathe and get enough oxygen into your blood. Understanding what leads to this condition, recognizing the symptoms, and knowing the treatment options can help you act quickly and confidently.


How Fluid Builds Up in the Lungs

Under normal circumstances, tiny blood vessels in your lungs (capillaries) let oxygen move into your bloodstream while keeping fluid inside the vessels. When this balance is disrupted, fluid leaks into the alveoli, leading to pulmonary edema. Key factors include:

  • Increased pressure in lung capillaries
  • Damaged capillary walls that become “leaky”
  • Imbalance in fluid regulation by the body

Common Causes of Water in the Lungs

  1. Heart-Related (Cardiogenic Pulmonary Edema)

    • Heart failure: When the left side of the heart weakens, it can’t pump blood efficiently. Blood backs up in the lungs, raising pressure in capillaries and forcing fluid out.
    • Heart attack: Sudden loss of pumping power can trigger rapid fluid build-up.
    • Abnormal heart rhythms: Severe arrhythmias can impair heart function, leading to pulmonary edema.
  2. Non-Heart-Related (Non-Cardiogenic Pulmonary Edema)

    • Acute Respiratory Distress Syndrome (ARDS): Severe infections (like sepsis) or trauma can trigger widespread inflammation, making capillaries leaky.
    • High-altitude pulmonary edema: Rapid ascent to high elevations strains the lungs and heart, causing fluid leakage.
    • Inhalation injuries: Breathing in toxic gases, smoke, or near-drowning in polluted water can damage lung tissues.
    • Neurogenic pulmonary edema: Brain injuries, seizures, or strokes can flood the lungs with fluid via nerve signals.
    • Drug reactions or overdoses: Certain medications and toxins increase capillary permeability.
    • Renal (kidney) failure: When kidneys can’t remove excess fluid, it accumulates throughout the body, including the lungs.

Signs and Symptoms to Watch For

Symptoms can come on suddenly (acute) or develop more slowly (chronic). Look out for:

  • Shortness of breath that worsens when lying down
  • Rapid, shallow breathing and feeling like you can’t catch your breath
  • Wheezing or gurgling sounds in the lungs
  • Coughing up pink, frothy sputum (a sign of fluid mixed with blood)
  • Extreme fatigue or lightheadedness
  • Swelling (edema) in legs, ankles, or abdomen (common when heart-related)
  • Anxiety or restlessness, feeling like you can’t get air

If you or someone you care for has severe trouble breathing, bluish lips or fingertips, confusion, or a rapid heartbeat, seek emergency medical attention immediately.


Diagnosing Pulmonary Edema

Healthcare providers use a combination of exams and tests to confirm fluid in the lungs:

  • Physical exam: Listening to breath sounds and checking for swelling
  • Chest X-ray or CT scan: Visualize fluid in airway spaces
  • Echocardiogram (echo): Assess heart function and valve status
  • Blood tests: Check oxygen levels, kidney function, and signs of infection
  • Electrocardiogram (EKG): Detect heart rhythm problems or heart attack
  • Ultrasound of the lungs: Point-of-care tool to spot fluid

Treatment Strategies

Treatment aims to remove excess fluid, improve breathing, and address the underlying cause. Many cases are managed in the hospital, especially if symptoms are severe.

Immediate Measures

  • Oxygen therapy: Delivered through a mask or nasal cannula to boost blood oxygen levels.
  • Continuous positive airway pressure (CPAP) / BiPAP: Noninvasive ventilation that keeps airways open and pushes fluid back into capillaries.
  • Positioning: Elevating the head of the bed helps reduce pressure in lung vessels.

Medications

  • Diuretics (water pills):
    • Furosemide is commonly used to remove fluid via the kidneys.
    • Spironolactone or thiazides may be added depending on fluid status and kidney function.
  • Vasodilators:
    • Nitrates (e.g., nitroglycerin) relax blood vessels, lowering pressure in the lungs and heart.
  • Morphine (in select cases):
    • Can reduce anxiety, slow breathing rate, and decrease pressure in lung vessels.
  • Inotropes (if heart function is poor):
    • Dobutamine or milrinone may strengthen heart contractions in patients with heart failure.

Advanced Support

  • Mechanical ventilation: For severe cases where noninvasive support isn’t enough.
  • Continuous renal replacement therapy (CRRT) or dialysis: If kidney failure prevents adequate fluid removal.
  • Extracorporeal membrane oxygenation (ECMO): A last-resort system that oxygenates blood outside the body.

Addressing the Underlying Cause

Treating fluid in the lungs also means managing what triggered it:

  • Heart conditions: Optimize heart failure therapy (medications, lifestyle changes, possible surgical interventions).
  • Infections: Antibiotics or antivirals for pneumonia, sepsis, or other infections.
  • Toxins or drug reactions: Stop the offending agent and provide supportive care.
  • High-altitude exposure: Gradual descent, oxygen, and medications like nifedipine.

Preventing Recurrence

If you’re at risk for pulmonary edema, consider:

  • Monitoring weight daily: Sudden gains can signal fluid retention.
  • Limiting salt intake: Reduces fluid buildup.
  • Following heart failure plans: Take medications as prescribed and attend regular check-ups.
  • Avoiding high-altitude extremes without proper acclimatization.
  • Quitting smoking and avoiding lung irritants.

When to Seek Medical Advice

Even if symptoms are mild, pulmonary edema can worsen rapidly. If you notice new or escalating shortness of breath, persistent cough, or swelling in your legs and abdomen, act promptly. You might consider doing a free, online symptom check, using the doctor approved Ubie Symptom Checker.

Always discuss any concerning signs with a healthcare provider. If you experience severe breathlessness, chest pain, confusion, or bluish skin, call emergency services without delay.


Final Thoughts

Water in the lungs is a serious condition, but understanding its causes and treatments can help you take the right steps. Early intervention, combined with proper medical care, greatly improves outcomes. Never hesitate to seek help—if you’re uncertain about symptoms or their severity, speak to a doctor for personalized advice.

(References)

  • * Frost EA. Respiratory problems associated with head trauma. Neurosurgery. 1977 Nov-Dec;1(3):300-6. doi: 10.1227/00006123-197711000-00016. PMID: 355920.

  • * Colice GL, Matthay MA, Bass E, Matthay RA. Neurogenic pulmonary edema. Am Rev Respir Dis. 1984 Nov;130(5):941-8. doi: 10.1164/arrd.1984.130.5.941. PMID: 6388446.

  • * Guntupalli KK. Acute pulmonary edema. Cardiol Clin. 1984 May;2(2):183-200. PMID: 6443344.

  • * Laggner A, Kleinberger G, Czembirek H, Druml W, Lenz K. [Non-cardiogenic pulmonary edema]. Acta Med Austriaca. 1983;10(5):147-53. PMID: 6607583.

  • * SINGH I, KHANNA PK, LAL M, HOON RS, RAO BD. HIGH-ALTITUDE PULMONARY HYPERTENSION. Lancet. 1965 Jul 24;2(7404):146-50. doi: 10.1016/s0140-6736(65)90229-1. PMID: 14330043.

  • * Sohara Y. Reexpansion pulmonary edema. Ann Thorac Cardiovasc Surg. 2008 Aug;14(4):205-9. PMID: 18818568.

  • * Jefferies JL, Dougherty K, Krajcer Z. First use of cryoplasty to treat in-stent renal artery restenosis. Tex Heart Inst J. 2008;35(3):352-5. PMID: 18941646; PMCID: PMC2565524.

  • * Busl KM, Bleck TP. Neurogenic Pulmonary Edema. Crit Care Med. 2015 Aug;43(8):1710-5. doi: 10.1097/CCM.0000000000001101. PMID: 26066018.

  • * Irwin Z, Cook JO. Advances in Point-of-Care Thoracic Ultrasound. Emerg Med Clin North Am. 2016 Feb;34(1):151-7. doi: 10.1016/j.emc.2015.09.003. PMID: 26614246.

  • * Bhattacharya M, Kallet RH, Ware LB, Matthay MA. Negative-Pressure Pulmonary Edema. Chest. 2016 Oct;150(4):927-933. doi: 10.1016/j.chest.2016.03.043. Epub 2016 Apr 8. PMID: 27063348.

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.