Edema, the visible swelling caused by excess fluid trapped in your tissues, is largely preventable through daily habits: managing sodium intake, staying active, wearing compression garments when needed, and elevating your legs. Most cases of mild, bilateral swelling in the legs and feet respond well to these lifestyle strategies. Here’s how each one works and what specifically to do.
Why Fluid Builds Up in the First Place
Your smallest blood vessels constantly filter fluid into surrounding tissues and reabsorb most of it back. This exchange depends on a balance between the pressure pushing fluid out of your capillaries and the protein concentration in your blood pulling it back in. When that balance tips, whether from too much salt, too little movement, low protein levels, or certain medications, fluid accumulates faster than your lymphatic system can drain it.
Your body has built-in safety valves. As tissue fluid increases, local pressure rises sharply, which slows further leakage. Your lymphatic vessels also ramp up drainage. But these defenses have limits. Sustained pressure from gravity, chronic inflammation, or impaired circulation can overwhelm them, and that’s when you notice puffy ankles, tight shoes, or sock marks that linger.
Keep Sodium Low and Potassium Adequate
Sodium is the primary dietary driver of fluid retention. When you eat more salt than your kidneys can quickly excrete, your body holds onto water to keep sodium concentrations stable. For people already prone to swelling, Georgetown University’s nephrology guidelines recommend keeping daily sodium between 1,375 and 1,800 mg. For general prevention, staying under 2,300 mg is a reasonable target, though many people routinely consume 3,400 mg or more.
Potassium works as sodium’s counterbalance. When potassium intake drops, your kidneys retain more sodium and chloride, even if your salt intake hasn’t changed. In one controlled study, restricting potassium to very low levels triggered measurable sodium retention and raised blood pressure. Adding potassium back reversed it, promoting both sodium excretion and water loss. Practically, this means eating potassium-rich foods (bananas, potatoes, spinach, beans, avocados) does more than just check a nutrition box. It actively helps your kidneys flush excess sodium.
The most effective dietary approach combines both: reduce processed foods (which supply roughly 70% of dietary sodium) and increase whole fruits and vegetables (which supply potassium naturally). Reading labels matters more than avoiding the salt shaker, since most sodium hides in bread, deli meats, canned soups, frozen meals, and restaurant food.
Move Your Legs Throughout the Day
Your calf muscles act as a second heart for your lower body. Every time they contract, they squeeze blood upward through your veins against gravity. When you sit or stand still for hours, this pump goes dormant, and fluid pools in your feet and ankles.
You don’t need an elaborate exercise routine to keep the pump working. The most effective movements specifically target the calves and ankles. Heel raises (lifting your body weight onto your toes, then lowering back down) are the single most-studied exercise for preventing leg swelling. Doing 10 to 15 repetitions a few times throughout the day makes a measurable difference. Circular foot movements, alternating between pointing your toes and flexing your feet, and simply walking for 10 minutes all activate the same pump mechanism.
Research on people with chronic venous insufficiency found that structured programs combining calf strengthening, walking, and ankle mobility exercises two to three times per week significantly improved the calf pump’s ability to move blood upward. But even informal movement helps. If you work at a desk, flexing your ankles under the table every 30 minutes or taking a short walk each hour keeps fluid from settling. If you stand for long periods, shifting your weight and doing periodic heel raises accomplishes the same thing.
Wear Compression Stockings When Needed
Compression stockings work by applying graduated pressure to your lower legs, highest at the ankle and decreasing toward the knee. This counteracts gravity’s pull on blood and tissue fluid, supporting your veins and reducing the gap between what your capillaries push out and what gets reabsorbed.
For preventing occupational swelling (the kind you get from sitting or standing all day at work), light compression in the 10 to 15 mmHg range is effective and comfortable enough for daily wear. A systematic review found this level prevents occupational edema and reduces complaints of heaviness and fatigue, while lower pressures were ineffective. Stockings in the 15 to 20 mmHg range offer slightly more reduction, and 20 to 30 mmHg stockings provide the greatest benefit, particularly for people who sit most of the day.
Knee-length stockings cover the area where swelling most commonly develops. The key is putting them on in the morning before swelling starts, since they prevent fluid accumulation rather than reversing it once it’s already happened. If you find higher-pressure stockings uncomfortable, the 10 to 15 mmHg range still provides meaningful protection.
Elevate Your Legs the Right Way
Elevation uses gravity to assist venous return. The higher your legs relative to your heart, the more effectively fluid drains from your lower extremities. Research testing five different angles of elevation found a clear linear relationship: greater angles produced greater fluid reduction, with a statistically significant difference between 90 degrees (legs straight up) and simply lying flat.
In practice, 90 degrees is awkward to maintain. The sweet spot for comfort and effectiveness is about 30 degrees, which you can achieve by propping your legs on two or three pillows while lying on a couch or bed. Fifteen minutes at this angle after prolonged standing or sitting produces noticeable relief. For more benefit, aim for 30 minutes. The critical detail is that your legs need to be above heart level, not just propped on an ottoman while you sit upright in a chair. Lying back with your legs elevated is what actually shifts the pressure gradient.
Stay Hydrated, Even When Swollen
It feels counterintuitive to drink more water when your legs are already puffy, but dehydration makes fluid retention worse. When your body senses low fluid intake, your kidneys respond by retaining more sodium and water, which concentrates in tissues rather than circulating freely. Aim for roughly 1.5 to 2 liters of water per day. Adequate hydration keeps your kidneys filtering efficiently and helps flush the excess sodium that drives swelling.
Check Your Medications
Several common medication classes cause edema as a side effect, and the swelling can easily be mistaken for a lifestyle problem. Blood pressure medications called calcium channel blockers are among the most frequent culprits. They selectively relax the arteries feeding your capillaries without equally relaxing the veins on the other side, creating higher pressure inside the capillary bed that pushes fluid into tissues.
Anti-inflammatory painkillers (NSAIDs like ibuprofen and naproxen) cause fluid retention by reducing blood flow to the kidneys, which triggers your body to hold onto sodium and water. Steroids produce a similar effect through a different pathway. Certain diabetes medications, some antipsychotics, and drugs used for nerve pain can also cause noticeable leg swelling. If you’ve noticed new or worsening edema after starting a medication, that connection is worth raising with your prescriber. In many cases, an alternative drug in the same class causes less swelling.
When Swelling Signals Something Serious
Not all edema is the kind you can prevent with lifestyle changes. The pattern of your swelling provides important clues about what’s driving it. Swelling that appears suddenly in one leg, especially with pain, warmth, or redness in the calf, can indicate a blood clot. Swelling that develops in both legs over just a few days may reflect a sudden change in heart, kidney, or liver function.
Chronic swelling in both legs that worsens throughout the day and improves overnight is the pattern most consistent with venous insufficiency or lifestyle-related fluid retention. This is the type that responds best to the strategies above. Swelling accompanied by aching, heaviness, or visible varicose veins points toward a venous cause. Painless swelling that involves the top of the foot and doesn’t fully resolve with elevation suggests lymphatic involvement, which requires different management.
One-sided swelling that persists for weeks or months without an obvious injury deserves medical evaluation, as it can reflect problems ranging from vein compression to post-thrombotic damage. Bilateral swelling with shortness of breath, rapid weight gain (several pounds over days), or reduced urine output suggests the edema is a symptom of an organ-level problem rather than a local circulation issue.