Your legs swell when you sit because gravity pulls blood and fluid downward, and without movement, your body lacks the pumping action it needs to push that fluid back up toward your heart. The longer you sit, the more fluid seeps out of your blood vessels and into the surrounding tissue, creating visible puffiness in your ankles, feet, and lower legs. This is extremely common, especially in people who sit for hours at a desk, on a plane, or in a car. In most cases it’s harmless and temporary, but sometimes it signals something that deserves attention.
How Gravity and Stillness Work Against You
When you’re sitting, your legs are below your heart. Gravity creates constant downward pressure on the blood in your leg veins, a force called hydrostatic pressure. Your veins have one-way valves designed to fight this pressure and keep blood flowing upward, but they can’t do the job alone. They rely on your calf muscles to act as a pump.
Every time you walk, flex your feet, or shift your legs, your calf muscles squeeze the veins and push blood upward with surprising force, generating pressures around 140 mmHg. That’s enough to propel blood through the large veins in your thigh and back to your heart. When you sit still, that pump shuts off almost entirely. Blood pools in your lower legs, pressure builds inside the small blood vessels, and fluid leaks through the vessel walls into the tissue. The result is swelling that worsens as the hours pass.
This is why your legs often look and feel fine in the morning but noticeably puffy by late afternoon or evening. The fluid has been accumulating all day, and gravity has had hours to work.
Who Gets It Worst
Almost anyone will get some degree of leg swelling after sitting long enough, but certain factors make it significantly worse. Obesity, older age, diabetes, high blood pressure, and low activity levels all increase the risk, with odds ratios ranging from 1.2 to 5.6 depending on the factor. Women are more affected than men. People with mobility limitations or chronic pain, who tend to move less throughout the day, are also at higher risk.
Your job matters too. Office workers, truck drivers, and anyone whose profession keeps them seated (or standing) for long stretches are more prone to what researchers call occupational edema. It’s not a disease. It’s a predictable consequence of not moving your legs for extended periods.
When Swelling Points to a Vein Problem
For some people, the swelling isn’t just about sitting too long. It’s a sign that the valves inside their leg veins have become damaged, a condition called chronic venous insufficiency. Normally, those valves snap shut after each heartbeat to stop blood from flowing backward. When they fail, blood falls back down and pools in the lower legs. This raises the pressure inside those veins chronically, not just when you sit still.
Chronic venous insufficiency typically develops gradually. You might notice that the swelling takes longer to go away when you elevate your legs, or that it starts earlier in the day. Over time, the skin on your lower legs can darken, become leathery, or develop open sores. A history of deep vein thrombosis (a blood clot in a deep leg vein) is one of the most common causes, because the clot leaves behind scar tissue that damages the vein and its valves.
Medications That Make It Worse
Several common medications cause or worsen leg swelling, and the effect is more noticeable when you’re sedentary. Blood pressure medications in the calcium channel blocker family are among the most frequent culprits. They relax the small arteries feeding your capillaries but don’t relax the veins on the other side, creating a pressure imbalance that pushes fluid out of your blood vessels and into surrounding tissue. The swelling is dose-dependent, so it gets worse at higher doses.
Anti-inflammatory painkillers like ibuprofen and naproxen contribute differently. They cause your kidneys to retain more sodium and water, increasing your overall blood volume and the pressure in your veins. Diabetes medications in the thiazolidinedione class, certain nerve pain drugs, steroids, and even insulin can also trigger or worsen leg swelling. If your swelling started or worsened around the time you began a new medication, that connection is worth exploring with your prescriber.
Salt and Fluid Retention
What you eat plays a direct role. In a study of elderly men, daily salt intake correlated with the amount of leg swelling measured at the end of the day. Higher sodium consumption led to more fluid accumulating in the legs during daytime hours. The body holds onto extra water to dilute the sodium in your blood, and that extra fluid ends up settling in your lower legs when you sit or stand for long periods. Reducing sodium intake is one of the simplest ways to decrease the severity of sitting-related swelling.
One Leg vs. Both: A Key Distinction
Swelling in both legs that develops gradually over the course of a day is usually related to gravity, inactivity, or one of the causes above. It’s the pattern most people experience and the one least likely to be dangerous.
Swelling in just one leg is different. Acute, unilateral swelling, especially if accompanied by warmth, redness, tenderness, or pain, is the hallmark presentation of a deep vein thrombosis. This is a blood clot that can break loose and travel to your lungs, making it a medical emergency. Other causes of one-sided swelling include infection, a ruptured cyst behind the knee, or trauma, but DVT is the one that needs to be ruled out quickly. If one leg suddenly swells more than the other, that warrants prompt medical evaluation.
How to Check Your Own Swelling
You can assess the severity of your swelling with a simple test. Press your thumb firmly into the skin over your shinbone or ankle for about five seconds, then release. If the skin bounces back immediately and the indent is barely visible (around 2 mm deep), that’s mild, grade 1 swelling. If the indent is 3 to 4 mm and takes up to 15 seconds to fill back in, that’s grade 2. Grade 3 leaves a 5 to 6 mm pit that takes up to a minute to rebound. Grade 4, the most severe, creates an 8 mm pit that takes two to three minutes to disappear. Most people with sitting-related swelling fall into grade 1 or 2.
What Actually Helps
Move Your Calf Muscles
The single most effective thing you can do is reactivate your calf muscle pump. Walking for a few minutes every hour is ideal, but even flexing your feet up and down while seated, doing calf raises under your desk, or bouncing your heels off the floor makes a measurable difference. The goal is to squeeze your calf muscles so they compress the veins and push pooled blood upward.
Elevate Your Legs
Raising your legs helps drain the accumulated fluid. Research testing different angles found that even 15 minutes of elevation produces meaningful reduction in swelling. Elevating at 30 degrees (propping your legs on a couple of pillows or the arm of a couch) for 15 to 30 minutes is effective and comfortable. You don’t need to get your feet above your heart, though higher is generally better. Even a low footrest under your desk reduces the hydrostatic pressure compared to having your feet flat on the floor.
Try Compression Stockings
Compression stockings apply gentle, graduated pressure that counteracts gravity and helps your veins move blood upward. For everyday sitting-related swelling, light compression in the 10 to 15 mmHg range is effective at preventing occupational edema and comfortable enough to wear all day. Stockings in the 15 to 20 mmHg range offer slightly more support. Research suggests that pressures above 15 mmHg don’t necessarily provide additional benefit for healthy people with sitting-related swelling, so you don’t need the heavy-duty medical grade versions unless you have an underlying vein condition. Knee-high stockings are sufficient for most people, since the swelling concentrates below the knee.
Reduce Sodium Intake
Cutting back on salt reduces the amount of fluid your body retains, which directly decreases how much fluid ends up pooling in your legs. Processed foods, restaurant meals, and canned soups are the biggest sources for most people. Even a moderate reduction can make a noticeable difference in afternoon swelling, particularly if your current intake is high.

