What to Take for Swollen Ankles and When to Worry

Swollen ankles usually respond to a combination of simple home strategies: elevating your legs, cutting back on sodium, wearing compression socks, and in some cases taking a magnesium supplement. If the swelling is persistent or severe, prescription water pills (diuretics) are the standard medical treatment. The right approach depends on what’s causing the fluid buildup in the first place.

Magnesium Supplements

Magnesium is the most commonly recommended supplement for ankle swelling. Cleveland Clinic suggests 200 to 400 mg per day to help reduce fluid retention. Magnesium helps regulate the balance of fluids and electrolytes in your body, and people who are low in it tend to hold onto more water. You can get magnesium through supplements or by eating more magnesium-rich foods like dark leafy greens, nuts, seeds, and whole grains.

Magnesium isn’t safe for everyone at supplemental doses. If you have kidney disease or heart problems, the mineral can build up to harmful levels because your body can’t clear it efficiently. Check with your doctor before starting it.

Reducing Sodium Intake

Salt is one of the biggest drivers of fluid retention. When you eat a lot of sodium, your body holds onto extra water to keep concentrations balanced, and that water tends to pool in your lower legs and ankles. The American Heart Association recommends no more than 2,300 mg of sodium per day, with an ideal target of 1,500 mg for most adults. For context, a single restaurant meal can easily exceed 2,000 mg on its own.

The fastest way to cut sodium isn’t putting down the salt shaker. Most excess sodium comes from processed and packaged foods: canned soups, deli meats, frozen meals, bread, and condiments. Reading nutrition labels and cooking more meals at home makes a bigger difference than any supplement.

Staying Hydrated

It sounds counterintuitive, but drinking more water actually reduces swelling. When you’re dehydrated, your body goes into conservation mode and holds onto fluid more aggressively. A well-hydrated body is less likely to retain water in the tissues. On the flip side, drinks that dehydrate you, like coffee, tea, and alcohol, can make fluid retention worse over time. Plain water is your best option.

Compression Socks

Compression socks apply graduated pressure to your lower legs, squeezing fluid back up toward your heart instead of letting it settle around your ankles. They come in several pressure levels measured in millimeters of mercury (mmHg):

  • 8 to 15 mmHg (mild): good for minor, occasional swelling
  • 15 to 20 mmHg (medium): helps prevent or reduce everyday lower leg swelling
  • 20 to 30 mmHg (firm): used for moderate to severe edema, including lymphatic swelling
  • 30 to 40 mmHg (extra firm): treats more serious chronic swelling, typically with a doctor’s guidance

For most people dealing with swollen ankles from standing, sitting, or travel, 15 to 20 mmHg is a practical starting point. You can buy them without a prescription at pharmacies and online. Put them on in the morning before swelling builds up during the day.

Leg Elevation

Gravity is working against you all day, pulling fluid downward into your feet and ankles. Elevating your legs reverses that flow. The key details matter: your foot should be above hip level, with your entire leg supported (not just from the knee down), and your knee slightly bent to avoid straining the joint. Propping your feet on a low ottoman doesn’t do much. You need your legs high enough that fluid can drain back toward your core. Doing this for 20 to 30 minutes several times a day makes a noticeable difference, especially after long periods of standing or sitting.

Prescription Diuretics

When home remedies aren’t enough, doctors prescribe diuretics, commonly called water pills. These medications force your kidneys to flush out extra sodium and water, reducing the volume of fluid that can accumulate in your tissues. There are several types, and which one you’d be prescribed depends on the underlying cause of your swelling.

Loop diuretics are the most powerful and are often the first choice for significant edema, especially when it’s related to heart or kidney problems. Thiazide diuretics are milder and sometimes added alongside loop diuretics for a stronger combined effect. A third type, potassium-sparing diuretics, is used specifically in people with heart failure or liver-related fluid buildup because it reduces swelling without depleting potassium levels the way other diuretics can.

All diuretics require a prescription and monitoring because they change your electrolyte balance. You’ll likely need periodic blood tests to make sure your potassium, sodium, and kidney function stay within safe ranges.

Check Your Current Medications

Swollen ankles are a well-known side effect of several common prescription drugs, particularly a class of blood pressure medications called calcium channel blockers. These include amlodipine, nifedipine, felodipine, diltiazem, and verapamil, among others. The swelling is dose-related: at low doses, between 1 and 15 percent of people develop ankle edema. At high doses taken long-term, that number can climb above 80 percent.

Other medications that commonly cause ankle swelling include certain diabetes drugs, steroids, hormone replacement therapy, and some antidepressants. If your swelling started around the time you began a new medication or had a dose increase, that connection is worth raising with your prescriber. Switching to a different drug in the same class, or adjusting the dose, often resolves the problem.

When Swelling Is a Warning Sign

Most ankle swelling is harmless and related to gravity, salt intake, or prolonged sitting. But certain patterns signal something more serious. Sudden swelling in just one leg could indicate a blood clot (deep vein thrombosis), especially if it comes with pain, warmth, or redness. That requires urgent medical attention.

Chronic swelling in both legs that doesn’t go away with elevation may point to vein disease, heart failure, or kidney or liver problems. Skin changes around the ankles, like thickening, darkening, or sores that won’t heal, suggest the swelling has been present long enough to damage the tissue. Any of these patterns warrants a visit to your doctor rather than more home remedies.