Sweating in your sleep happens because your body is actively cooling itself down as part of the normal sleep process. Your core temperature drops by about 1 to 2 degrees as you fall asleep, and your body sheds that heat partly through your skin and sweat glands. This is completely normal in small amounts. But when you wake up damp or drenched, something else is usually going on, from a too-warm bedroom to hormonal shifts, medications, or an underlying health issue.
How Your Body Controls Temperature During Sleep
Your brain starts lowering your core temperature about two hours before you fall asleep. A region called the preoptic hypothalamus acts as both a sleep switch and a thermostat. When it detects warmth from your skin, it triggers two responses at once: it initiates the first stage of deep sleep (NREM sleep) and kicks off body cooling by widening blood vessels near your skin’s surface. That’s why your hands and feet often feel warm right before you drift off. Heat is radiating outward.
During deep sleep, your brain and core temperature continue to drop. Each time you cycle back into lighter sleep or dreaming (REM) sleep, your temperature ticks back up slightly before falling again in the next deep sleep phase. This rhythm means your body is constantly managing heat throughout the night. Some sweating is just the cost of doing that work, especially if your bedroom, bedding, or clothing traps heat and forces your sweat glands to work harder.
Your Bedroom May Be Too Warm or Humid
The simplest explanation for night sweats is also the most common. Sleep experts recommend a bedroom temperature around 65°F (18.3°C), which is cooler than most people keep their homes. If your room is 72°F or higher, your body has to work much harder to cool down, producing more sweat in the process.
Humidity matters too. The EPA recommends keeping indoor relative humidity between 30% and 50%, and it should never exceed 60%. High humidity prevents sweat from evaporating off your skin, so even mild sweating feels much worse. Synthetic bedding and memory foam mattresses can compound the problem by trapping both heat and moisture against your body.
Hormonal Changes and Menopause
For women in perimenopause or menopause, night sweats are one of the most common and disruptive symptoms. When estrogen levels decline, the hypothalamus becomes more sensitive to small rises in core body temperature. A slight increase that your brain would have previously ignored now triggers a full heat-dumping response: blood vessels dilate rapidly, sweat glands activate, and your heart rate climbs. This is the hot flash, and when it happens during sleep, it’s a night sweat.
The underlying mechanism involves a group of neurons that overexpress certain signaling molecules (particularly neurokinin B) when estrogen drops. These neurons essentially narrow the “thermoneutral zone,” the range of body temperatures your brain considers acceptable. Instead of tolerating normal fluctuations, your brain treats a tiny temperature bump as an emergency and floods the system with cooling signals. Declining estrogen also reduces the brain’s ability to take up glucose efficiently, and dips in blood sugar can independently trigger hot flashes.
Thyroid disorders can cause similar disruptions. An overactive thyroid raises your metabolic rate, generating more internal heat around the clock, including while you sleep.
Medications That Cause Night Sweats
Antidepressants are one of the most common medication-related causes of night sweats. SSRIs cause excessive sweating in roughly 7% to 19% of patients, depending on the specific drug. SNRIs tend to have similar or slightly higher rates. The sweating can happen during the day too, but many people notice it most at night when they wake up with damp sheets.
Other medications that commonly trigger night sweats include hormone therapies, blood pressure drugs, diabetes medications that can cause low blood sugar overnight, and some over-the-counter fever reducers (which work by resetting your internal thermostat downward, causing a surge of sweating as your body sheds heat). If your night sweats started around the same time as a new prescription, that connection is worth exploring.
Alcohol and Evening Habits
Drinking alcohol before bed is a reliable recipe for night sweats. Alcohol initially dilates your blood vessels and drops your core temperature. But as your body metabolizes the alcohol over the next several hours, a rebound effect occurs. Research in the American Journal of Physiology found that as blood alcohol levels fall during the night, the body may experience a sympathetic nervous system rebound, essentially a mild withdrawal response that pushes core temperature back up. The result is sweating, restless sleep, and waking up feeling overheated in the early morning hours.
Spicy food, caffeine, and intense exercise close to bedtime can also raise core temperature or stimulate your nervous system enough to increase sweating overnight, though these effects are usually milder than alcohol.
Medical Conditions Linked to Night Sweats
Persistent, drenching night sweats that soak through your clothes or sheets can signal an underlying medical condition. The Mayo Clinic lists several categories of conditions associated with secondary hyperhidrosis: infections, diabetes, thyroid problems, certain cancers, and nervous system disorders.
Infections are a common cause, particularly tuberculosis, which has been historically linked to severe night sweats. HIV, endocarditis (infection of the heart valves), and abscesses can also produce them. The sweating in these cases is your immune system’s fever response working overtime, even when you don’t feel noticeably feverish during the day.
Among cancers, lymphoma is the one most classically associated with night sweats. Oncologists look for what are called “B symptoms,” a cluster of three warning signs: drenching night sweats, unexplained fever, and unintentional weight loss greater than 5% of your body weight over six to twelve months. These three together indicate a worse prognosis and prompt more aggressive evaluation. Night sweats alone are far less concerning, but combined with unexplained weight loss or persistent fevers, they warrant prompt attention.
Anxiety and Stress
Your nervous system doesn’t fully shut off during sleep. If you’re dealing with chronic stress, anxiety, or post-traumatic stress, your sympathetic nervous system (the “fight or flight” system) can remain more active than it should be overnight. This elevates heart rate, raises body temperature, and triggers sweating. Nightmares and sleep disturbances associated with anxiety often coincide with these episodes, and you may wake up sweating without remembering a dream.
What Patterns to Pay Attention To
Occasional night sweats after a warm night, a few drinks, or a stressful week are common and rarely concerning. What matters is the pattern. Sweats that happen most nights for weeks, that drench your bedding enough to require changing sheets, or that come alongside other symptoms deserve a closer look.
The red flags that physicians take most seriously are night sweats paired with unintentional weight loss (more than 5% of body weight in six to twelve months), persistent fevers, or swollen lymph nodes. These combinations raise the probability of infection or malignancy and typically lead to blood work and imaging. Night sweats that began shortly after starting a new medication point in a very different, and usually simpler, direction.
For most people, the fix is straightforward: a cooler room, lighter bedding, cutting back on evening alcohol, and managing stress. If those changes don’t help after a few weeks, the sweating itself becomes a useful clue worth bringing to a doctor.

