Why Do My Legs Sweat So Much When I Sleep: Causes

Legs that sweat heavily at night are usually reacting to one of three things: your sleep environment trapping heat around your lower body, your body’s natural process of cooling itself for sleep, or a medication or medical condition triggering excess sweating. The good news is that most causes are identifiable and manageable once you know what to look for.

How Your Body Cools Itself for Sleep

Your body deliberately pushes heat toward your hands and feet as you fall asleep. Blood vessels in your extremities dilate, warming the skin surface so heat can escape, which drops your core temperature and signals your brain that it’s time for sleep. This is a normal, well-documented process: before sleep onset, your hands and feet get progressively warmer until they match the temperature of your torso. That warmth at the surface means your legs are actively radiating heat, and sweating is part of how that heat leaves your body.

If your bedding or mattress traps that heat instead of letting it dissipate, the sweating intensifies. Memory foam mattresses are particularly notorious for this because they conform tightly to your legs and restrict airflow. Heavy comforters, flannel sheets, or synthetic pajama fabrics that don’t breathe can turn normal heat dissipation into a pool of sweat, concentrated where your legs press into the mattress.

Medications That Cause Night Sweats

If your leg sweating started or worsened around the time you began a new medication, that’s likely not a coincidence. A study in a primary care population found that people taking SSRIs (a common class of antidepressants) were about three times more likely to report night sweats than those not taking them. Blood pressure medications called angiotensin receptor blockers carried a similar risk, at roughly 3.4 times the odds. Thyroid hormone supplements also increased the likelihood by about 2.5 times.

Other medications linked to excessive sweating include antipsychotics, insulin, and dopamine-related drugs used for conditions like Parkinson’s disease. The sweating from these medications isn’t limited to one body part, but legs often feel the worst of it because they’re pressed against bedding that holds moisture against the skin.

Medical Conditions Worth Considering

Sweating that happens only at night points toward what’s called secondary hyperhidrosis, meaning the sweating is driven by something else going on in your body rather than being a standalone condition. Primary hyperhidrosis, the kind some people are simply born with, actually tends to decrease or stop during sleep. So if you’re sweating heavily from your legs specifically while asleep, it’s worth thinking about underlying causes.

Diabetes is one of the more common culprits, and its relationship with leg sweating is particularly interesting. Nerve damage from diabetes often starts in the feet and lower legs, affecting the tiny nerve fibers that control sweat glands. This damage can either increase or decrease sweating, and it’s one of the earliest detectable signs of diabetic nerve problems. If you have diabetes or prediabetes and notice changes in how your legs sweat, that’s meaningful information worth sharing with your doctor.

Thyroid disorders, particularly an overactive thyroid, can ramp up your metabolism and heat production around the clock, but you may only notice the sweating at night when you’re lying still and paying attention. Menopause and perimenopause cause hormonal shifts that destabilize the body’s internal thermostat, producing hot flashes and sweating that can be especially intense during sleep. Infections, including tuberculosis, and certain cancers like lymphoma also list night sweats as a hallmark symptom, though these are far less common explanations.

Chronic alcohol use is another recognized trigger. Even moderate drinking close to bedtime can cause rebound sweating as your body metabolizes the alcohol overnight. The vasodilation that alcohol produces initially gives way to a compensatory constriction that disrupts your body’s temperature regulation for hours.

Why Legs Specifically

Your legs have a large surface area with a high density of sweat glands, and they spend the night sandwiched between layers of fabric and foam with limited ventilation. Arms and your upper body have more exposure to circulating air, especially if you sleep with your arms above the covers or shift positions frequently. Your legs, by contrast, stay buried under bedding and pressed against the mattress for hours at a time.

Gravity also plays a role. Fluid that pools in your lower extremities during the day gets redistributed when you lie flat, and your body may increase blood flow to the legs as part of that rebalancing. More blood flow to the skin means more heat at the surface, which means more sweating.

Practical Fixes for Your Sleep Setup

Start with what’s touching your legs. Synthetic fibers like polyester microfiber are better at wicking moisture because they’re hydrophobic, meaning they move liquid through the weave structure rather than absorbing it. Natural fibers like cotton, bamboo, and linen absorb moisture well thanks to their hollow fiber cores, but they can become saturated and feel damp against your skin. Blends that combine bamboo or cotton with a synthetic tend to offer the best balance: they pull moisture away without trapping it. Bamboo and linen also have natural antimicrobial properties, which helps with the bacterial growth that causes odor in sweaty sleepwear.

Your mattress matters just as much. Cooling mattress toppers come in several varieties. Gel-infused memory foam absorbs and redistributes heat. Latex and wool toppers breathe better than standard memory foam. For persistent problems, active cooling systems use water circulated through thin tubes in a pad, with a bedside unit that heats or cools the water to a set temperature. Some newer versions have embedded sensors that track your body temperature and adjust automatically throughout the night.

Keep your bedroom between 60 and 67 degrees Fahrenheit, which is the range most sleep researchers recommend. If cooling the whole room isn’t practical, a fan directed at your lower body can make a noticeable difference by moving air across the skin and accelerating evaporation.

Dietary and Lifestyle Triggers

Spicy food and alcohol close to bedtime are two of the most straightforward triggers to eliminate. Spicy food contains compounds that activate the same receptors your body uses to sense heat, prompting a sweating response that can persist for hours. Alcohol disrupts your thermoregulation throughout the night as your liver processes it, often producing waves of sweating in the second half of the night. Caffeine in the evening can have a similar, though milder, effect by stimulating your sympathetic nervous system.

Heavy meals within two or three hours of bedtime also raise your metabolic rate during digestion, generating extra body heat that has to go somewhere. Lighter evening meals, eaten earlier, give your body time to settle before sleep.

When the Sweating Signals Something Bigger

Occasional leg sweating on a warm night or after a heavy dinner is unremarkable. But certain patterns deserve attention. Drenching night sweats that soak through your sheets, sweating accompanied by unexplained weight loss, fevers that come and go without an obvious infection, or sweating that started suddenly after years of sleeping dry are all patterns that warrant a medical evaluation. The same applies if you have diabetes and notice a change in sweating patterns in your feet or lower legs, since this can signal early nerve damage that benefits from prompt management.

If you suspect a medication is the cause, don’t stop taking it on your own. Bring it up at your next appointment so your doctor can weigh the options, which might include adjusting the dose, switching to an alternative, or simply managing the sweating with environmental changes while staying on a medication that’s otherwise working well.