Edema happens when fluid leaks out of your smallest blood vessels and accumulates in surrounding tissues, causing visible swelling. The underlying cause can be as simple as sitting too long on a flight or as serious as heart or kidney failure. In every case, the swelling comes down to an imbalance in the forces that normally keep fluid moving between your blood vessels and the tissue around them.
How Fluid Normally Stays in Balance
Your capillaries, the tiny vessels connecting arteries to veins, constantly exchange fluid with surrounding tissue. Two opposing forces control this exchange. Hydrostatic pressure (the physical push of blood against vessel walls) drives fluid out into tissue. Oncotic pressure (created mainly by proteins like albumin dissolved in your blood) pulls fluid back in. When these forces are balanced, a small amount of fluid seeps out and gets collected by the lymphatic system, a network of vessels that drains excess fluid back into your bloodstream.
Edema develops when something disrupts this balance. That disruption falls into a few broad categories: too much pressure pushing fluid out, not enough protein pulling it back, a blocked or damaged lymphatic system, or leaky blood vessel walls that let fluid escape too easily.
Heart Failure
Heart failure is one of the most common systemic causes of edema. When the heart can’t pump blood efficiently, two things happen. First, blood backs up in the veins, raising the hydrostatic pressure in capillaries and forcing more fluid into surrounding tissue. Second, the drop in blood pressure triggers a hormonal chain reaction. Your body activates systems that tell the kidneys to hold onto sodium and water, expanding blood volume in an attempt to maintain blood pressure. This extra fluid has to go somewhere, and it ends up pooling in the lowest points of your body, typically the ankles and feet if you’re upright, or the lower back if you’re lying down.
This type of swelling often worsens throughout the day as gravity pulls fluid downward, then improves overnight when you’re lying flat. If the left side of the heart is primarily affected, fluid can also back up into the lungs, causing shortness of breath.
Kidney Disease
Your kidneys filter about 180 liters of fluid per day, reabsorbing most of it. When they’re damaged, they lose the ability to excrete sodium efficiently, which causes water retention throughout the body. In some kidney conditions, the filters themselves become leaky and allow large amounts of protein to spill into the urine. This drops the level of albumin in your blood, reducing the oncotic pressure that normally holds fluid inside your vessels. The result is widespread, often puffy swelling that’s especially noticeable around the eyes and in the hands and feet.
Liver Disease
Advanced liver disease causes edema through several overlapping mechanisms. A damaged liver produces less albumin, which lowers the protein concentration in your blood. But the more significant driver of fluid accumulation in cirrhosis is increased pressure in the portal vein, the large vessel carrying blood from the intestines to the liver. Scarring in the liver blocks normal blood flow, raising pressure in the portal system and forcing fluid into the abdominal cavity. This specific type of fluid buildup in the abdomen is called ascites, and it can accumulate to the point of visible abdominal distension. Peripheral swelling in the legs often follows.
Venous Insufficiency
Veins in your legs rely on one-way valves to push blood upward against gravity. When these valves fail, blood pools in the lower legs, creating a sustained column of high-pressure fluid. During normal walking, pressure in the veins of the lower leg drops to nearly zero. In venous insufficiency, that pressure stays elevated even during movement because the faulty valves allow blood to flow backward.
This persistent high pressure forces fluid out of the capillaries and into the surrounding tissue. Over time, the chronic swelling leads to skin changes: darkening or discoloration, thickening, and eventually, in severe cases, open wounds that are slow to heal. The swelling is typically worse after long periods of standing and improves with leg elevation. Varicose veins are a visible sign of this same valve failure closer to the skin’s surface.
Lymphedema
Lymphedema occurs when the lymphatic system itself is damaged or blocked, preventing it from draining excess fluid from tissues. This is different from venous edema in an important way: the trapped fluid is rich in proteins and cellular debris, not just water and salt. Over time, this protein-rich fluid triggers inflammation and tissue fibrosis, making the swelling progressively harder and less responsive to elevation.
The most common cause in developed countries is lymph node removal or radiation therapy during cancer treatment, particularly for breast cancer. It can also result from infections, inherited conditions, or severe obesity that compresses lymphatic vessels. While venous edema pits easily when pressed (the skin holds the indentation), advanced lymphedema becomes firm and non-pitting as the tissue hardens. Both conditions can cause limb heaviness, discomfort, and skin changes, but they require different management approaches.
Medications
Several classes of medication cause edema as a side effect. Blood pressure medications known as calcium channel blockers are among the most common culprits. These drugs relax the walls of arteries but not veins, which creates a pressure mismatch in the capillaries of the lower legs. The incidence ranges from 1 to 15% at typical doses but can exceed 80% in people taking high doses long-term. The swelling is dose-dependent, meaning it gets worse as the dose increases.
Other medications that commonly cause fluid retention include anti-inflammatory painkillers (NSAIDs), which cause the kidneys to retain sodium; corticosteroids like prednisone; certain diabetes medications; and some antidepressants. Hormone therapies, including estrogen-containing birth control and hormone replacement therapy, can also trigger swelling. If you notice new ankle or leg swelling after starting a medication, the timing is a strong clue.
Sodium and Diet
Eating a lot of salty food can contribute to fluid retention, though the effect in healthy people is more modest than many assume. In research studying sodium intake ranging from low (about 3 grams of salt per day) to very high (over 38 grams per day), plasma volume increased in a dose-dependent way, but total body water did not rise significantly in healthy subjects. The body’s regulatory systems are remarkably good at maintaining fluid balance when the kidneys and heart are working normally.
The picture changes when those organs are compromised. People with heart failure, kidney disease, or liver disease are far more sensitive to sodium intake. In these conditions, even moderate salt consumption can tip the balance toward noticeable swelling because the kidneys can’t excrete the extra sodium efficiently.
Pregnancy
Some degree of swelling is normal during pregnancy, especially in the third trimester. Blood volume increases by about 50%, and the growing uterus compresses pelvic veins, slowing the return of blood from the legs. Hormonal changes also make blood vessel walls more permeable. Most pregnancy-related swelling is harmless and concentrated in the feet, ankles, and hands.
However, sudden or severe swelling, particularly in the face and hands, can be a warning sign of preeclampsia, a condition involving high blood pressure and potential organ damage. Swelling alone doesn’t confirm preeclampsia, but rapid onset combined with headaches, visual changes, or upper abdominal pain warrants immediate medical attention.
How Pitting Edema Is Graded
When a provider presses a finger into swollen tissue, the depth of the resulting dent and how long it takes to bounce back indicate severity. The standard grading scale runs from 1 to 4:
- Grade 1: A 2 mm pit that rebounds immediately
- Grade 2: A 3 to 4 mm pit that rebounds in under 15 seconds
- Grade 3: A 5 to 6 mm pit that takes 15 to 60 seconds to rebound
- Grade 4: An 8 mm pit that takes two to three minutes to rebound
This grading helps track whether swelling is getting better or worse over time and gives clinicians a shorthand for communicating severity. Grade 1 or 2 is common with prolonged standing or mild venous insufficiency. Grade 3 or 4 typically points to a more significant underlying cause that needs investigation.
Prolonged Sitting and Inactivity
Even without any underlying disease, sitting or standing in one position for hours can cause noticeable ankle swelling. Your calf muscles act as a pump that squeezes blood upward through your leg veins. When you’re immobile, that pump stops working, blood pools in the lower legs, and fluid leaks into the tissue. Long flights, desk jobs, and post-surgical bed rest are classic triggers. This type of edema is usually symmetrical (affecting both legs equally), mild, and resolves with movement and elevation.

