Pulmonary edema
Pulmonary edema is a build-up of fluid in the lungs that makes it hard to breathe, most often caused by heart problems, and can be an emergency.
Clinician view: includes diagnostic criteria, management and safety detail.

Overview
Pulmonary edema means there is too much fluid in your lungs. "Pulmonary" means to do with the lungs, and "edema" (also spelled oedema) means swelling caused by fluid. People often call it "fluid on the lungs."
Your lungs are made of millions of tiny air sacs called alveoli. Each one is wrapped in very small blood vessels. When you breathe in, oxygen passes from the air sacs into your blood, and carbon dioxide passes out. In pulmonary edema, fluid leaks out of the blood vessels into the lung tissue and then into the air sacs. The fluid gets in the way of oxygen, so your blood carries less of it to the rest of your body. You feel short of breath, and in severe cases it can feel like you are drowning.
Pulmonary edema is not a disease on its own. It is a sign that something else is wrong, most often with the heart. It can come on suddenly over minutes to hours (acute pulmonary edema), which is a medical emergency, or build up slowly over days or weeks (chronic pulmonary edema), often in people with long-term heart failure. With prompt treatment of both the fluid and its cause, many people recover well.
Symptoms
Symptoms depend on how fast the fluid builds up and how much there is.
Sudden (acute) pulmonary edema
- Severe shortness of breath that gets worse when you lie down
- A feeling of suffocating or drowning
- Fast, hard breathing and a racing or pounding heartbeat
- Wheezing or gasping, or a bubbling or gurgling sound when you breathe
- A cough that brings up frothy, white or pink (blood-tinged) mucus
- Cold, clammy, sweaty skin
- Blue or grey lips or fingertips
- Feeling very anxious, restless or confused
- Chest pain, if a heart attack is the cause
Slowly developing (chronic) pulmonary edema
- Getting out of breath more easily with activity
- Needing to sleep propped up on extra pillows to breathe comfortably
- Waking at night short of breath and needing to sit up or stand (doctors call this paroxysmal nocturnal dyspnea)
- Wheezing or a lasting cough
- Swollen ankles, feet or legs
- Fast weight gain from fluid, such as a few kilograms or pounds over a few days
- Feeling tired and weak
At high altitude
High-altitude pulmonary edema usually starts 2 to 5 days after going up quickly above about 2,500 metres (8,000 feet). Early signs are being much more breathless than your companions, a dry cough, and less ability to exercise. Later there is breathlessness even at rest, a wet cough and sometimes confusion.
Causes
Doctors split the causes into two main groups.
Heart-related (cardiogenic) pulmonary edema
This is the most common type. When the left side of the heart cannot pump well or fill properly, blood backs up into the veins that drain the lungs. The pressure rises and pushes fluid out of the small blood vessels into the lungs. Causes include:
- Heart failure, when the heart muscle is weak or stiff
- A heart attack, which damages the heart muscle
- Heart valve disease, such as a narrow or leaky mitral or aortic valve
- Very high blood pressure that spikes suddenly
- Abnormal heart rhythms, such as atrial fibrillation with a very fast heart rate
- Disease of the heart muscle (cardiomyopathy)
Non-heart-related (non-cardiogenic) pulmonary edema
Here the heart is working normally, but the walls of the small lung blood vessels become leaky, or something else upsets the fluid balance. Causes include:
- Acute respiratory distress syndrome (ARDS), a severe lung injury that can follow pneumonia, sepsis (a body-wide reaction to infection), major injury or inflammation of the pancreas
- Breathing in smoke, toxic gases, or water in a near-drowning
- Kidney failure, when the body cannot get rid of extra fluid
- Receiving a lot of fluid or blood through a drip, or a rare reaction to a blood transfusion
- Going to high altitude too fast
- Some medicines and illegal drugs, such as an opioid overdose
- A serious brain injury, seizure or bleeding in the brain (neurogenic pulmonary edema)
- Rarely, after a collapsed lung is re-expanded, or after trying hard to breathe in against a blocked airway
Risk factors
You are more likely to develop pulmonary edema if you have:
- Heart failure, coronary artery disease or a past heart attack
- High blood pressure, especially if it is not well controlled
- Heart valve problems or an irregular heartbeat
- Chronic kidney disease
- Diabetes
- Sleep apnea (pauses in breathing during sleep)
- A serious infection, injury or illness that needs hospital care
In people with heart failure, an episode is often set off by eating too much salt, drinking too much fluid, missing doses of medicines, an infection such as flu or pneumonia, or a new heart rhythm problem. Some medicines can also make fluid build up, such as anti-inflammatory painkillers (NSAIDs). For high-altitude pulmonary edema, the main risks are climbing fast, going very high, hard exercise at altitude, and having had it before.
Diagnosis
In an emergency, the care team will start treatment while they work out the cause. They will listen to your lungs with a stethoscope, often hearing crackles, and check your heart, blood pressure, breathing rate and oxygen level. They will ask about your symptoms, health history and medicines.
Tests may include:
- Pulse oximetry: a clip on your finger that measures the oxygen level in your blood
- Chest X-ray: shows fluid in the lungs and whether the heart is enlarged
- Lung ultrasound: a quick scan at the bedside that can show signs of fluid
- Electrocardiogram (ECG or EKG): records the heart's electrical activity to look for a heart attack or rhythm problem
- Echocardiogram: an ultrasound of the heart that shows how well it pumps and how the valves work
- Blood tests: including BNP or NT-proBNP (proteins released when the heart is under strain), troponin (to check for heart damage), kidney function, salts, blood count and sometimes a blood gas test for oxygen and carbon dioxide
Sometimes more tests are needed, such as a CT scan or a test that measures pressures inside the heart.
Treatment
Sudden pulmonary edema is usually treated in an emergency department, and sometimes in intensive care. Treatment aims to help you breathe, remove the extra fluid and fix the cause.
Helping you breathe
- Sitting upright, which eases breathing
- Oxygen through a mask or tubes in the nose if your oxygen level is low
- A tight-fitting mask that gently pushes air into your lungs (non-invasive ventilation, such as CPAP)
- In severe cases, a breathing machine (ventilator) with a tube in the windpipe for a short time
Medicines
- Diuretics ("water pills"): loop diuretics such as furosemide, bumetanide or torsemide make your kidneys pass more urine, removing extra fluid. Ethacrynic acid is a similar medicine used for people who cannot take the others.
- Nitrates such as nitroglycerin: widen blood vessels and lower the pressure in the lungs and on the heart
- Medicines that support the heart's pumping or raise blood pressure, if blood pressure is low
- Blood pressure medicines if blood pressure is very high
Treating the cause
- For a heart attack: opening the blocked artery with a procedure or clot-dissolving medicines
- For a rhythm problem: medicines, or an electric shock to reset the heartbeat
- For a severe valve problem: valve repair or replacement
- For kidney failure: dialysis to remove fluid and waste
- For infection: antibiotics or other treatment
- For high-altitude pulmonary edema: going down to lower altitude straight away, plus oxygen, rest and keeping warm. Medicines such as nifedipine may help while descending.
After you go home, people with heart failure usually take long-term medicines that protect the heart and help prevent fluid from coming back. Your care team will explain each one.
Living with it
If you have heart failure or another condition that can cause fluid on the lungs, a few daily habits can help you spot problems early and stay out of hospital.
- Weigh yourself every morning, after using the toilet and before eating, and write it down. Tell your care team if you gain more than about 1 to 1.5 kg (2 to 3 lb) in a day or 2.5 kg (5 lb) in a week, or the amount they give you.
- Take your medicines exactly as prescribed. Don't stop or change them without talking to your clinician, even if you feel well.
- Limit salt (sodium). Salt makes your body hold on to water. Check food labels and cut back on processed and restaurant foods.
- Follow any fluid advice your care team gives you.
- Watch for warning signs such as more breathlessness, needing more pillows at night, swelling or a new cough.
- Stay active within the limits your team suggests. Cardiac rehabilitation programs can help you exercise safely.
- Avoid smoking and limit alcohol.
- Check with a pharmacist before taking over-the-counter painkillers, cold remedies or supplements, as some can cause fluid build-up or raise blood pressure.
- Get vaccinated against flu, COVID-19 and pneumonia, as advised, because infections can trigger an episode.
Having trouble breathing is frightening. It is normal to feel anxious afterwards. Talk to your care team if worry or low mood is affecting you.
Complications
Without fast treatment, sudden pulmonary edema can cause dangerously low oxygen levels and can be fatal. Other possible problems include:
- Respiratory failure, when the lungs cannot keep enough oxygen in the blood or remove enough carbon dioxide
- Damage to other organs, such as the kidneys or brain, from low oxygen
- Fluid build-up around the lungs (pleural effusion) or in the belly and legs
- Swelling of the liver from fluid backing up
- Repeat episodes and hospital stays, especially if the cause is not controlled
Outlook
The outlook depends mostly on the cause, how severe the episode is, and how quickly it is treated. Many people improve within hours to days once fluid is removed. High-altitude pulmonary edema usually gets better quickly after going down. When the cause is ARDS or a severe heart attack, recovery can take longer and the illness is more serious.
For people with heart failure, an episode of pulmonary edema is a sign that the heart condition needs close attention. Good long-term treatment and self-care can lower the chance of it happening again.
Prevention
You cannot prevent every case, but you can lower your risk:
- Keep blood pressure, cholesterol and diabetes under control
- If you have heart or kidney disease, take your medicines, go to your check-ups and follow salt and fluid advice
- Don't smoke, and limit alcohol
- Be active and keep a healthy weight
- When travelling to high places, go up slowly, especially above 2,500 metres (8,000 feet). If you have had high-altitude pulmonary edema before, talk to a doctor before your trip about ways to prevent it.
In the United States
In the US, Medicare and many private insurers cover cardiac rehabilitation for people with stable heart failure with reduced ejection fraction and certain other heart conditions. The American Heart Association offers patient resources on heart failure and self-care.
Diagnosis
Pulmonary edema is a clinical-radiological diagnosis; the priority is identifying the mechanism (cardiogenic, from raised pulmonary capillary pressure, versus non-cardiogenic, from increased capillary permeability) and the precipitant.
- Clinical: acute dyspnea, orthopnea, tachypnea, hypoxemia, bibasal crackles; raised JVP, S3, peripheral edema and hypertension or hypotension point to a cardiogenic cause.
- Imaging: chest radiograph (upper-lobe diversion, interstitial edema, Kerley B lines, bat-wing alveolar shadowing, effusions, cardiomegaly). Lung ultrasound with bilateral B-lines is sensitive and useful at the bedside.
- Natriuretic peptides: BNP below 100 pg/mL or NT-proBNP below 300 pg/mL make acute heart failure unlikely (ESC 2021). Interpret with age, renal function and obesity in mind.
- ECG and high-sensitivity troponin for ACS and arrhythmia; urgent transthoracic echocardiography for ventricular function, valves and tamponade.
- Bloods: renal function, electrolytes, FBC, blood gas when hypercapnia or acidosis is suspected; lactate if hypoperfusion.
- ARDS: Berlin definition (onset within 1 week, bilateral opacities, respiratory failure not fully explained by cardiac failure or fluid overload, PaO2/FiO2 ratio thresholds on PEEP 5 cmH2O or more); the 2023 global definition extends this to non-intubated patients on high-flow oxygen and allows SpO2/FiO2.
Management
Follow the ESC 2021 heart failure guideline (and 2023 focused update), the 2022 AHA/ACC/HFSA heart failure guideline, the CCS heart failure guidelines, and NICE CG187 (acute heart failure) and NG106 (chronic heart failure).
- Oxygenation: sit upright; oxygen if SpO2 below 90%; early non-invasive ventilation (CPAP or BiPAP) for respiratory distress or hypoxemia reduces the need for intubation. Escalate to intubation for refractory hypoxemia, hypercapnia or reduced consciousness.
- Decongestion: IV loop diuretic. In patients already on oral loop diuretics, ESC 2021 suggests an initial IV dose of 1 to 2 times the daily oral dose. Assess response by urine output (or spot urine sodium); add a thiazide-type diuretic or acetazolamide for diuretic resistance. Monitor potassium, magnesium and creatinine.
- Vasodilators: IV nitrates for hypertensive presentations (SBP above 110 mmHg), avoiding in hypotension, severe aortic stenosis or recent PDE-5 inhibitor use.
- Cardiogenic shock: inotropes or vasopressors and mechanical circulatory support in specialist settings.
- Treat precipitants: urgent reperfusion for ACS; rate or rhythm control or cardioversion for arrhythmia; urgent intervention for acute valve lesions; dialysis or ultrafiltration for refractory overload in renal failure.
- Routine opioids are not recommended (associated with harm in observational data).
- Non-cardiogenic: treat the cause; lung-protective ventilation and conservative fluid strategy in ARDS. HAPE: immediate descent, oxygen; nifedipine as adjunct; diuretics are not indicated.
Follow-up and prognosis
Before discharge, achieve euvolemia, establish guideline-directed medical therapy for HFrEF (ACE inhibitor/ARB/ARNI, evidence-based beta-blocker, MRA, SGLT2 inhibitor) as tolerated, arrange early review within 1 to 2 weeks with renal function and electrolytes, and provide self-monitoring education (daily weights, sodium restriction). Acute cardiogenic pulmonary edema carries substantial in-hospital mortality and high early readmission; prognosis is driven by the underlying cause, LV function, renal function and response to decongestion.
When to get medical help
See your doctor or heart failure team soon if you notice:
- You are more short of breath than usual with everyday activities
- You need extra pillows to sleep or wake up breathless
- Quick weight gain or new or worse swelling in your legs, ankles or belly
- A new cough that won't go away
Call emergency services (911 in Canada and the US) right away if you have:
- Sudden or severe shortness of breath, or a feeling of drowning or suffocating
- Trouble breathing while lying flat that does not improve when you sit up
- Coughing up frothy or pink mucus
- Chest pain or pressure
- Blue or grey lips or skin, or cold, clammy skin
- Confusion, fainting or a very fast or irregular heartbeat
- Breathlessness at rest while at high altitude (go down at once and get help)
Don't drive yourself to hospital.
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Pulmonary Edema. meshb.nlm.nih.gov
- MedlinePlus: Pulmonary edema. medlineplus.gov/ency/article/000140.htm
- NHLBI: Heart failure. nhlbi.nih.gov/health/heart-failure
- ESC: 2021 Guidelines for the diagnosis and treatment of acute and chronic heart failure. doi.org/10.1093/eurheartj/ehab368
- AHA/ACC/HFSA: 2022 Guideline for the management of heart failure. doi.org/10.1161/CIR.0000000000001063
- NICE: Chronic heart failure in adults: diagnosis and management (NG106). nice.org.uk/guidance/ng106
- NICE: Acute heart failure: diagnosis and management (CG187). nice.org.uk/guidance/cg187