What Does It Mean When Your Legs Sweat at Night?

Sweaty legs at night usually come down to something simple: your bedding or sleepwear is trapping heat around your lower body. But when it happens regularly and isn’t explained by your sleep environment, it can signal an underlying medical issue worth paying attention to. The cause ranges from medication side effects and hormonal shifts to nerve-related conditions that affect how your body regulates temperature.

The Most Common Cause: Heat Trapping

Before considering medical explanations, it’s worth looking at your bed. Your legs are in constant contact with your mattress and sheets, and certain materials create a pocket of trapped heat that your upper body doesn’t experience the same way. Memory foam mattresses are particularly notorious for this because they conform to your body and restrict airflow. Non-breathable synthetic sheets and heavy blankets compound the problem, essentially wrapping your legs in insulation while you sleep.

If you sleep on your side, your legs press together and against the mattress, reducing the surface area available for heat to escape. People who sleep in sweatpants or flannel pajama bottoms often don’t realize the fabric is working against them. Standard cotton sheets absorb moisture but saturate quickly, leaving you damp rather than dry. Moisture-wicking fabrics made from bamboo, linen, or synthetic blends designed for athletes move sweat away from the skin and dry faster. Switching to breathable bedding and lighter sleepwear is the simplest first step, and for many people, it solves the problem entirely.

Medications That Trigger Night Sweats

A long list of common medications can cause sweating during sleep. Antidepressants (particularly SSRIs) are among the most frequent culprits, along with blood pressure medications, corticosteroids, thyroid hormone supplements, and over-the-counter pain relievers like ibuprofen. Diabetes medications, including insulin and oral blood sugar drugs, can also trigger nocturnal sweating. Beta blockers, antihistamines, and certain decongestants round out the list.

Medication-related sweating tends to affect the whole body, but you may notice it most in areas pressed against bedding, which is why legs and the back often feel sweatiest. If your leg sweating started around the same time as a new prescription or dosage change, that timing is a strong clue. Don’t stop taking a medication on your own, but it’s worth raising with your prescriber, who may be able to adjust the dose or switch to an alternative.

Hormonal Changes and Menopause

Hormonal fluctuations are one of the most common medical causes of night sweats. During perimenopause and menopause, dropping estrogen levels disrupt the body’s internal thermostat, triggering sudden waves of heat. These vasomotor symptoms can cause sweating that shows up in specific body zones rather than everywhere at once, and the legs are a common site because of how much skin surface area they have and their contact with bedding.

Certain lifestyle changes can reduce the frequency and intensity of hormonally driven night sweats. Cutting back on caffeine, alcohol, and spicy foods helps some people noticeably. Regular exercise, particularly yoga, appears to improve hormone regulation and reduce vasomotor symptoms. Foods rich in plant-based estrogens (phytoestrogens), such as soybeans, chickpeas, flaxseed, and lentils, may also help offset the estrogen decline that drives these episodes.

Nerve Damage and Autonomic Dysfunction

Your sweat glands are controlled by autonomic nerves, the same system that manages your heart rate, blood pressure, and digestion without you thinking about it. When those nerves are damaged, a condition called peripheral neuropathy, sweating can become unpredictable. Some areas sweat excessively while others stop sweating altogether. The legs and feet are the most common sites for this kind of nerve damage because the longest nerves in your body run to your lower extremities, making them the most vulnerable.

Diabetes is the leading cause of peripheral neuropathy, but it can also result from alcohol use, certain infections, autoimmune conditions, and vitamin deficiencies. If your leg sweating comes with other symptoms like tingling, numbness, burning sensations, or a feeling of weakness in your feet and lower legs, nerve involvement becomes more likely. These symptoms tend to start gradually and worsen over time.

Thyroid Problems and Other Medical Conditions

An overactive thyroid speeds up your metabolism, which raises your core body temperature and increases sweating, often most noticeable at night when you’re under covers. Thyroid issues are common enough that they’re worth considering if night sweats are a new and persistent symptom, especially if you’ve also noticed unexplained weight changes, a rapid heartbeat, or increased anxiety.

Other conditions linked to night sweats include diabetes (where blood sugar drops during sleep can trigger sweating as part of the body’s stress response), certain infections, and some types of cancer, though cancer-related night sweats almost always come with other noticeable symptoms like unexplained weight loss, persistent fevers, or severe fatigue.

Primary vs. Secondary Hyperhidrosis

Excessive sweating falls into two categories that matter for figuring out what’s going on. Primary hyperhidrosis is a condition where specific body areas (hands, feet, underarms, face) sweat excessively for no identifiable medical reason. It typically starts before age 25 and runs in families. One important distinction: primary hyperhidrosis usually stops during sleep. So if your legs only sweat while you’re awake, this could be the explanation, but if it’s happening while you’re asleep, it points elsewhere.

Secondary hyperhidrosis is sweating caused by something else: a medical condition, a medication, or a hormonal change. It can appear at any age, often affects larger or less typical body areas, and notably does continue during sleep. According to guidelines published in the British Journal of General Practice, the persistence of sweating during sleep is one of the key clinical features that distinguishes secondary hyperhidrosis from the primary form. If your legs are sweating enough to wake you up or soak your sheets, that pattern suggests a secondary cause worth investigating.

Practical Steps to Reduce Leg Sweating

Start with your sleep environment. Keep your bedroom cool, ideally between 60 and 67°F (15 to 19°C), using a fan or open window if you don’t have air conditioning. Replace heavy or synthetic bedding with breathable, moisture-wicking sheets. Bamboo and linen are naturally antimicrobial and hypoallergenic, which also helps if damp skin is causing irritation. For sleepwear, look for fabrics designed to pull moisture away from your body rather than absorb and hold it.

Beyond bedding, pay attention to patterns. Track whether the sweating coincides with certain foods, drinks, medications, or phases of your menstrual cycle. This kind of detail is genuinely useful if you end up talking to a doctor about it. Night sweats that happen occasionally, resolve with environmental changes, and aren’t accompanied by other symptoms are rarely a sign of anything serious. Night sweats that persist for weeks, happen regardless of room temperature, wake you up regularly, or come alongside unexplained weight loss, fevers, or new pain deserve a closer look.