Cough with pink frothy sputum
Informed by recognized medical guidance
Overview
Coughing up pink, frothy sputum (spit or mucus) is a sign that fluid has built up in your lungs. This is called pulmonary edema. It often happens when the heart cannot pump blood effectively, causing fluid to leak into the air sacs. This is a medical emergency.
Key facts
- Pink frothy sputum is a sign of fluid in the lungs, usually from a heart problem.
- It requires immediate medical attention – call your local emergency number right away.
- This condition can be treated, but quick action is vital to improve breathing and save heart function.
This symptom is not common in healthy people. It is most often seen in those with serious heart conditions, especially heart failure. It can also occur after a heart attack or with severe infections.
It mainly affects older adults, people with a history of heart disease, high blood pressure, or diabetes. It can also happen in people with severe pneumonia or exposure to high altitudes.
Symptoms
- Coughing up pink frothy sputum
- Severe trouble breathing or gasping for air
- Chest pain or pressure
- Blue lips or fingernails
- Confusion or loss of consciousness
- ⚠Increased swelling in legs or abdomen
- ⚠Worsening shortness of breath over a few days
- ⚠Unexplained weight gain from fluid retention
Common symptoms
- Cough that produces pink, bubbly, or frothy mucus
- Trouble breathing, especially when lying down
- Wheezing or a feeling of tightness in the chest
- Anxiety or a sense of drowning
Symptoms in children
- Rapid breathing or grunting
- Flaring nostrils when breathing
- Pale or bluish skin
Symptoms in older adults
- Sudden shortness of breath
- Confusion or sleepiness
- Less urine output
- Swelling in the legs or feet
Causes
Main causes
- Heart failure – the heart cannot pump blood well, so fluid backs up into the lungs
- Heart attack – damage to heart muscle suddenly reduces pumping ability
- Severe infection (pneumonia) or inflammation in the lungs
- High altitude pulmonary edema (HAPE) – fluid collects at high elevations
- Certain medications or illegal drugs that affect the heart
Risk factors
- High blood pressure
- Coronary artery disease
- Previous heart attack
- Diabetes
- Obesity
- Recent surgery or infection involving the heart
When to see a doctor
See a doctor urgently if:
- Cough with pink frothy sputum – call your local emergency number immediately
- Shortness of breath that gets worse quickly
- Chest pain or feeling of heaviness
Book a routine appointment if:
- If you have a known heart condition and notice new or worsening swelling in your legs or belly
- If your breathing becomes more difficult with activity or when lying down
Diagnosis
Doctors will listen to your lungs, check your oxygen levels, and ask about your medical history. They will use tests to find the cause of the fluid in your lungs.
Tests that may be done
- Chest X-ray to see fluid in the lungs
- Blood tests to check heart strain and oxygen levels
- Electrocardiogram (ECG) to check heart rhythm
- Echocardiogram (ultrasound of the heart) to see how well the heart pumps
What to expect at your appointment
In the emergency department, you may receive oxygen and medicines to remove fluid. You will be monitored closely. Once stable, further tests will help find the underlying cause.
Treatment
Treatment aims to quickly remove fluid from the lungs, support your breathing, and treat the underlying cause – often heart failure. This is done in a hospital, usually in an intensive care unit.
Self-care at home
- Do not try to treat this at home – it is a medical emergency.
- Follow your doctor's instructions for managing any existing heart condition.
- Take all prescribed medicines exactly as directed after discharge.
Medical treatments
In hospital, you may receive oxygen or a breathing machine to help with breathing. Medications are given to remove excess fluid from the body (diuretics), help the heart pump stronger (inotropic medicines), and relax blood vessels (vasodilators). The exact medicines depend on your situation and will be chosen by your healthcare team.
When is surgery considered?
Surgery is not usually needed for this acute episode. However, if the cause is a heart valve problem or blocked arteries, you may need a procedure later, such as valve repair or bypass surgery.
Living with this condition
After recovery, you will need to manage the underlying condition, often chronic heart failure. This includes daily monitoring of your weight, taking medicines as prescribed, and watching for swelling or breathing changes.
Lifestyle tips
- Limit salt in your diet to help control fluid buildup
- Weigh yourself daily and report sudden weight gain to your doctor
- Avoid smoking and limit alcohol
- Get regular, gentle exercise as approved by your healthcare team
Diet and exercise
Eat a heart-healthy diet rich in fruits, vegetables, whole grains, and lean proteins. Reduce salt and processed foods. Start a walking program gradually, but always check with your doctor first.
Mental health and emotional wellbeing
Experiencing a serious breathing emergency can be frightening. It is normal to feel anxious or worried about your health. Talk to your doctor or a counsellor if you feel overwhelmed.
Prevention
In many cases, you can reduce your risk by managing heart disease risk factors. Keep blood pressure and diabetes under control, eat a healthy diet, exercise, and do not smoke. If you already have heart failure, following your treatment plan closely can help prevent flare-ups.
Vaccines
Get vaccinated against flu and pneumonia to avoid lung infections that can stress your heart and lungs.
Screening programmes
Regular check-ups with your GP to monitor blood pressure, cholesterol, and heart function can catch problems early.
Complications
If left untreated
- Worsening breathing that can lead to respiratory failure
- Damage to the heart muscle from lack of oxygen
- Long-term damage to kidneys from low blood flow
- Increased risk of serious heart rhythm problems
Long-term outlook
With prompt emergency care, most people improve. The long-term outlook depends on the underlying cause. Many people live well for years by managing their heart condition with medications, lifestyle changes, and regular medical care. Your healthcare team will work with you to develop a plan that suits your needs.
Find support
External links open third-party websites. Ruqelo Health is not responsible for external content. Listing an organisation does not imply endorsement.
Always verify with your doctor
Health guidelines vary by country and region. The information in this article is based on international clinical guidelines but may not reflect the specific guidelines, medications, or practices in your country. Always discuss your health concerns with your own doctor or healthcare provider, and refer to your local national health guidelines where available.
Important notice This information is for educational purposes only. It does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider about your specific situation. If you are experiencing a medical emergency, call your local emergency services immediately.
Related conditions
Sources and guidance
This article is educational and is prepared with reference to recognized health information and clinical guidance sources where available. Specific source links may vary by topic.
Last updated: July 16, 2026
Educational note: This information is for education only and is not a diagnosis.
Use it to support, not replace, advice from a licensed clinician.
If symptoms are severe, worsening, or urgent, call your local emergency number or seek emergency care.
Guidance may differ by country or region. Confirm local recommendations with a qualified healthcare provider.