What Retains Water in Your Body and Why?

Your body retains water when something disrupts its normal fluid balance, causing tissues to hold onto more fluid than usual. The most common triggers are eating too much sodium, hormonal shifts during the menstrual cycle, sitting still for long periods, certain medications, and chronic stress. In most cases, water retention is temporary and manageable, but persistent or severe swelling can point to something more serious.

How Sodium Drives Water Retention

Salt is the single biggest dietary driver of water retention. When you eat more sodium than your body needs, your kidneys respond by reabsorbing more water to keep your blood’s salt concentration in balance. In a tightly controlled study of healthy men, increasing salt intake from 6 grams to 12 grams per day caused the kidneys to hold back an extra 540 milliliters of water daily. That’s more than two cups of fluid your body would have otherwise excreted. The body also produces more urea (a waste product normally filtered out) to help the kidneys concentrate urine and hang onto even more water.

This process is partly regulated by aldosterone, a hormone that tells your kidneys to reabsorb sodium. Where sodium goes, water follows. A second hormone, often called antidiuretic hormone or vasopressin, works alongside aldosterone by making the kidney’s collecting tubes more permeable to water, so more fluid gets pulled back into the bloodstream instead of leaving as urine. Together, these two hormones are the main control system your body uses to manage how much water it keeps or lets go.

Carbohydrates and Glycogen Storage

Sodium isn’t the only thing that binds water in your body. Every gram of glycogen, the stored form of carbohydrate in your muscles and liver, holds onto at least 3 grams of water. This is why people on low-carb or ketogenic diets often lose several pounds quickly in the first week. That initial drop is mostly water released as glycogen stores are burned through. Conversely, a carb-heavy meal after a period of restriction can cause a rapid, noticeable weight gain that’s almost entirely fluid. If your weight fluctuates by two or three pounds overnight, glycogen-bound water is a likely explanation.

The Menstrual Cycle and Fluid Shifts

Many women notice bloating and puffiness in the days around their period, and a year-long prospective study confirmed that fluid retention peaks on the first day of menstrual flow, not in the days before it as commonly believed. Interestingly, this peak happens when both estrogen and progesterone levels are at their lowest. The study found no significant link between either hormone’s level and the severity of fluid retention, which means the mechanism is more complex than “progesterone causes bloating.”

Whatever the underlying cause, magnesium supplementation has shown measurable benefit. In a randomized, placebo-controlled trial, 200 mg of magnesium daily reduced premenstrual symptoms of fluid retention, including swelling in the hands and feet, breast tenderness, and abdominal bloating, after two cycles of use.

Sitting Still and Gravity

Staying in one position for hours, whether sitting at a desk or standing behind a counter, lets gravity pool fluid in your lower legs. Your calf muscles normally act as pumps, squeezing veins and pushing blood back toward your heart with every step. When those muscles stay inactive, fluid leaks from capillaries into surrounding tissue, and your ankles and feet swell. This is sometimes called dependent edema because the swelling collects in whatever body part is lowest.

Research comparing continuous sitting, continuous standing, and periodic sit-to-stand transitions found that breaking up long stretches of sitting significantly reduced lower leg swelling. Even small, frequent position changes are enough to engage the muscle pump and keep fluid circulating.

Stress and Cortisol

Chronic stress raises cortisol levels, and elevated cortisol promotes sodium retention in the kidneys. In one study, participants given high-dose cortisol (mimicking stress-level concentrations) retained significantly more sodium over five days compared to baseline. Since the body holds water wherever it holds sodium, sustained stress can contribute to mild, whole-body puffiness. This effect operates through a pathway separate from the usual aldosterone system, which means it can add to fluid retention even when other hormonal signals are functioning normally.

Medications That Cause Fluid Retention

Several common drug classes cause water retention as a side effect. The most well-known culprits include:

  • Blood pressure medications (calcium channel blockers): These widen the small arteries that feed your capillaries without equally widening the veins that drain them, raising pressure inside capillary beds and pushing fluid into surrounding tissue. Swelling is dose-dependent, meaning higher doses cause more puffiness, especially in the ankles.
  • Pain relievers (NSAIDs): Over-the-counter anti-inflammatories like ibuprofen reduce blood flow to the kidneys, which lowers the rate at which your kidneys filter fluid. The kidneys compensate by activating the same aldosterone pathway that salt triggers, holding onto sodium and water.
  • Diabetes medications (thiazolidinediones): These increase fluid volume through their effects on kidney sodium handling, and peripheral edema is one of their most common adverse effects.
  • Steroids, insulin, and certain antipsychotics can also cause noticeable fluid retention through various mechanisms.

If you notice new swelling after starting a medication, that timing is a strong clue that the drug is involved.

Potassium’s Balancing Role

Potassium works as sodium’s counterpart. While sodium tells the kidneys to hold water, potassium helps the kidneys release it. The CDC identifies inadequate potassium intake combined with excess sodium as a key factor in elevated blood pressure and fluid imbalance. Fruits, vegetables, beans, and low-fat dairy are the richest dietary sources. Rather than focusing on a specific potassium-to-sodium ratio, the practical approach is to eat more whole foods and fewer processed ones, since processed foods are where most excess sodium hides.

When Swelling Signals Something Serious

Most water retention is harmless and temporary. But the pattern, location, and timeline of swelling can reveal whether something more concerning is going on.

Swelling that appears suddenly in one leg within 72 hours could indicate a blood clot, an infection, or an injury. Swelling that develops gradually in both legs over weeks or months is more likely tied to a systemic problem with the heart, liver, or kidneys. The key distinction is symmetry: one-sided swelling usually has a local cause, while swelling on both sides points toward a whole-body issue.

Heart failure causes bilateral leg swelling alongside shortness of breath and visible neck vein distention, because the heart can’t pump blood forward efficiently and fluid backs up. Liver disease produces swelling paired with abdominal fluid buildup, sometimes with yellowing of the skin. Kidney disease causes edema through protein loss in the urine and the kidneys’ inability to properly filter and excrete fluid. Thyroid disorders can cause a generalized puffiness accompanied by fatigue and unexplained weight gain.

One useful test you can do yourself: elevate your legs for 20 to 30 minutes. Swelling from prolonged sitting or mild venous insufficiency improves noticeably with elevation. Swelling caused by low blood protein levels, as seen in liver or kidney disease, tends to persist regardless of position. If your swelling doesn’t respond to elevation, affects both sides, or comes with other symptoms like breathlessness or changes in urination, those are signs worth investigating promptly.