Why Do You Sweat When You Sleep? Causes & Fixes

Sweating during sleep is often your body doing exactly what it’s designed to do: cooling itself down as part of its normal overnight temperature cycle. Your core body temperature drops by about 2°C (3.6°F) between the time you fall asleep and the early morning hours, and sweating is one of the main tools your body uses to make that happen. But when you’re waking up drenched, with sheets soaked through, something beyond normal physiology is usually at play.

How Your Body Temperature Shifts During Sleep

Your brain’s internal thermostat actively lowers your core temperature as you transition from wakefulness into deeper sleep stages. Each time you enter deep sleep, your brain temperature drops by about 0.2 to 0.4°C. Over an extended stretch of sleep, these small dips add up to a total drop of roughly 2°C. To shed that heat, your body dilates blood vessels near the skin and triggers mild sweating, particularly on your chest, back, and forehead.

During REM sleep (when most dreaming occurs), your body’s temperature regulation becomes less precise. Your brain temporarily loosens its grip on the sweating and shivering reflexes, which means your body is more vulnerable to whatever temperature your bedroom happens to be. If the room is warm, you’re far more likely to sweat during these REM periods, which grow longer toward the second half of the night.

The Most Common Non-Medical Causes

Before looking at health conditions, it’s worth ruling out the obvious. A bedroom that’s too warm is the single most frequent reason people sweat at night. Sleep specialists recommend keeping your room between 60 and 67°F (15 to 19°C) for adults. For babies and toddlers, the ideal range is slightly higher, between 65 and 70°F. Heavy comforters, memory foam mattresses that trap heat, and synthetic pajamas all compound the problem.

Alcohol is another common trigger. It dilates blood vessels and disrupts your body’s ability to regulate temperature during the night. Spicy food close to bedtime can have a similar effect. And intense exercise within a couple of hours of sleep raises your core temperature enough that your body is still working to cool down after you’ve fallen asleep.

Menopause and Hormonal Changes

Hormonal shifts are one of the most well-studied causes of night sweats. During menopause, falling estrogen levels affect the brain’s thermostat in a specific way: they narrow what researchers call the “thermoneutral zone.” This is the temperature range your body considers comfortable, the band between the point where sweating kicks in and the point where shivering starts. In women experiencing hot flashes, this zone becomes so narrow that even tiny fluctuations in core temperature trigger a full sweating response.

The mechanism involves changes in the brain’s stress-response chemistry. Estrogen withdrawal increases activity in the sympathetic nervous system, which essentially puts the thermostat on a hair trigger. A temperature shift that would go unnoticed in a premenopausal woman can set off a wave of heat, flushing, and drenching sweat that lasts several minutes. These episodes tend to cluster during lighter sleep stages and can significantly disrupt sleep quality. Low testosterone in men can cause a similar, though typically milder, pattern of night sweats through a related hormonal mechanism.

Sleep Apnea and Night Sweats

Obstructive sleep apnea has a surprisingly strong connection to night sweats that many people don’t know about. In one study, 31% of people with untreated sleep apnea reported frequent night sweats (three or more times per week), compared to just 11% of the general population. That’s a threefold increase.

The likely explanation is that each time your airway closes and oxygen drops, your body mounts a stress response, releasing adrenaline to wake you just enough to resume breathing. Dozens or even hundreds of these micro-arousals per night keep your sympathetic nervous system in overdrive, which drives sweating. The good news: when sleep apnea patients used a CPAP machine consistently, the rate of frequent night sweats dropped from 33% down to about 12%, essentially matching the general population. If you snore heavily and wake up sweating, sleep apnea is worth investigating.

Medications That Cause Night Sweats

Several common medications list night sweats as a side effect. Antidepressants are among the most frequent culprits, particularly SSRIs and SNRIs. These drugs alter the brain chemicals involved in temperature regulation, and sweating can begin within weeks of starting a new prescription or adjusting a dose.

Other medications known to cause night sweats include:

  • Hormone therapy drugs, including those used for breast cancer or prostate cancer treatment
  • Blood sugar medications, which can trigger sweating when glucose drops too low during the night
  • Methadone, used in opioid use disorder treatment
  • Fever reducers like aspirin or acetaminophen, which can cause rebound sweating as they wear off

If your night sweats started around the same time as a new medication, that timing is a strong clue. Don’t stop a medication on your own, but it’s a conversation worth having with your prescriber.

Anxiety, Depression, and Stress

Mental health conditions are a commonly overlooked cause. Panic disorder, generalized anxiety, depression, and PTSD all appear on clinical lists of night sweat triggers. The connection is straightforward: these conditions keep the sympathetic nervous system activated, and that activation drives sweating the same way physical stress does. People with anxiety disorders may also have more frequent awakenings, making them more aware of sweating that might otherwise go unnoticed.

Stress from daily life, even without a diagnosed condition, can do the same thing. If you’re going through a high-pressure period at work or dealing with a major life change, the heightened cortisol and adrenaline coursing through your body don’t shut off cleanly when you fall asleep.

Medical Conditions Worth Knowing About

Most night sweats have a benign explanation, but persistent, drenching sweats that soak through your clothes or sheets deserve attention. The list of medical causes is long, but the ones physicians typically consider first include hyperthyroidism (an overactive thyroid), infections like tuberculosis or endocarditis, gastroesophageal reflux disease (GERD), and diabetes. Obesity is independently associated with night sweats as well, likely because excess body mass makes it harder to dissipate heat.

Lymphoma and leukemia are the diagnoses people worry about most, and while they do cause drenching night sweats, they almost always come with other noticeable symptoms: unexplained weight loss, persistent fevers, swollen lymph nodes, or severe fatigue. Night sweats alone, without these accompanying signs, are rarely the first indicator of cancer.

Practical Ways to Reduce Night Sweating

Start with your sleep environment. Set your thermostat to the 60 to 67°F range and use a fan for air circulation if needed. Choose bedding made from natural, breathable materials. Bamboo-derived fabrics and cotton both allow more airflow than polyester or microfiber. If your mattress traps heat, a cooling mattress pad can make a noticeable difference.

Keep alcohol, caffeine, and spicy foods to a minimum in the three hours before bed. If you exercise in the evening, try to finish your workout at least two to three hours before you plan to sleep, giving your core temperature time to come back down. Wearing lightweight, loose-fitting sleepwear, or sleeping without it entirely, gives your body more surface area to release heat naturally.

For people whose night sweats have a medical or hormonal cause, treating the underlying condition typically resolves the sweating. Hormone therapy can widen the thermoneutral zone in menopausal women, CPAP therapy dramatically reduces sweating in sleep apnea patients, and adjusting a medication dose or switching to an alternative can eliminate drug-related sweats. Tracking when your night sweats happen, how severe they are, and what else you notice alongside them gives your doctor the most useful information to work with.