Your legs aren’t swelling because of the socks themselves. The socks are simply revealing swelling that’s already there. When fluid accumulates in your lower legs throughout the day, the elastic band of your socks presses against that fluid-filled tissue and leaves a visible indentation. That mark is essentially the same thing a doctor checks for when pressing a thumb into your shin to test for edema.
About 19% of older adults in the U.S. have chronic leg swelling, and it affects younger people too, especially those who sit or stand for long stretches. The causes range from completely harmless to medically significant, so understanding what’s behind it matters.
What’s Actually Happening in Your Legs
Your circulatory system is constantly balancing fluid pressure. Arteries push blood down to your feet, and veins push it back up to your heart against gravity. When something disrupts that return flow, or when your body holds onto extra fluid, the excess settles in the lowest point: your feet, ankles, and lower legs.
The indentation your socks leave is called pitting edema, and it exists on a scale. A barely visible dent that rebounds immediately is grade 1. A deep 8-millimeter depression that takes two to three minutes to fill back in is grade 4. If you press your thumb into your shin for a few seconds and it leaves a lasting dent, you’re seeing the same thing your sock band reveals. The deeper the dent and the longer it takes to bounce back, the more fluid has accumulated.
Gravity and Prolonged Sitting or Standing
The most common reason for mild, symmetrical leg swelling is simply being upright for a long time. When you sit at a desk for hours or stand on your feet all day, gravity pulls fluid downward and your calf muscles aren’t contracting enough to pump blood back up. This is called occupational or dependent edema, and it’s especially noticeable by late afternoon.
Salt intake makes this worse. Research in older men found that daily sodium consumption directly correlated with how much fluid accumulated in the legs by 5:00 p.m. The more salt eaten during the day, the more the legs swelled. Cutting back on sodium reduced the amount of fluid pooling.
Venous Insufficiency
If your legs swell regularly and you notice visible veins, skin discoloration near the ankles, or a heavy, achy feeling that gets worse as the day goes on, the problem may be venous insufficiency. This happens when the one-way valves inside your leg veins weaken or stop closing properly. Blood that should flow upward toward the heart leaks backward and pools in the lower legs, raising pressure in the veins and forcing fluid into surrounding tissue.
The valve failure can happen in superficial veins near the skin, deeper veins within the muscle, or the perforating veins that connect the two systems. Sometimes the veins themselves widen to the point where the valve flaps can no longer meet in the middle. The result is persistently elevated pressure in the lower legs, which over time leads to swelling, itching, skin changes, and fatigue in the legs. Venous insufficiency is a progressive condition, so swelling that starts mild tends to worsen over months or years without management.
Medications That Cause Leg Swelling
Several common medications list leg swelling as a side effect. Blood pressure drugs called calcium channel blockers are one of the most frequent culprits. They work by relaxing blood vessels, but they relax the arteries feeding into the legs more than the veins draining them. This mismatch raises pressure inside the tiny capillaries of the lower legs and pushes fluid out into the tissue.
Over-the-counter pain relievers like ibuprofen and naproxen can also cause swelling. They reduce the kidneys’ ability to filter sodium and water efficiently, leading to fluid retention and increased blood pressure. Other medications linked to peripheral edema include certain diabetes drugs, steroids, some antidepressants used for nerve pain, and insulin. If your leg swelling started or worsened around the time you began a new medication, that connection is worth exploring with your prescriber.
Heart, Kidney, and Liver Conditions
Swelling in both legs can sometimes signal a problem with a major organ. In heart failure, the heart can’t pump blood forward efficiently, so pressure builds up in the veins and fluid backs up into the legs and lungs. The body also responds by retaining sodium and water, which makes the swelling worse. Shortness of breath, fatigue, and swelling that worsens when lying flat are common accompanying symptoms.
Kidney disease and liver disease cause swelling through a different mechanism. Both can lead to low levels of albumin, a protein in your blood that acts like a sponge to keep fluid inside your blood vessels. Albumin accounts for about 80% of the pulling force that prevents fluid from leaking out of capillaries. When levels drop, whether from kidneys leaking protein into urine or a damaged liver failing to produce enough, fluid seeps into the tissue and collects in the legs, abdomen, and sometimes around the eyes. Significant liver damage (advanced cirrhosis) or a kidney condition called nephrotic syndrome are the typical causes.
When Swelling in One Leg Is Different
Symmetrical swelling in both legs usually points to a systemic issue: fluid retention, medications, prolonged sitting, or a chronic condition. Sudden swelling in just one leg is a different situation entirely. A deep vein thrombosis (blood clot) is the most urgent possibility, especially if the leg is also warm, tender, or red. Other one-sided causes include an infection like cellulitis, a ruptured cyst behind the knee, or an injury you may not have noticed.
One-sided swelling that appears suddenly, particularly with pain or warmth, warrants prompt medical evaluation. A blood clot in a deep leg vein can break loose and travel to the lungs.
Reducing Everyday Swelling
If your sock marks are mild and appear mainly after long days, lifestyle changes often make a noticeable difference. Moving your legs regularly is the single most effective thing you can do. Your calf muscles act as a pump for your veins, so walking, flexing your feet, or even doing calf raises at your desk helps push fluid back up toward your heart. Elevating your legs above heart level for 15 to 20 minutes accelerates drainage.
Reducing sodium intake directly reduces how much fluid your body retains. Most excess sodium comes from processed and restaurant food rather than the salt shaker, so reading labels is more useful than just skipping table salt.
Compression socks work by applying graduated pressure, tightest at the ankle and lighter toward the knee, to help veins move blood upward. For mild occupational swelling, stockings rated at 10 to 15 mmHg are effective at preventing fluid buildup during long periods of sitting or standing. Higher pressures of 15 to 20 mmHg or 20 to 30 mmHg are used for moderate swelling or diagnosed venous insufficiency. The key is wearing them before swelling starts, ideally putting them on in the morning when your legs are at their smallest.
If your swelling is persistent, worsening, or accompanied by other symptoms like shortness of breath, skin changes, or reduced urine output, those patterns suggest something beyond gravity and socks at work.

