Why Do I Sweat While Sleeping? Causes and Fixes

Sweating during sleep is common and usually triggered by something fixable: a warm bedroom, heavy bedding, or alcohol before bed. But when night sweats are drenching, recurring, and not explained by your sleep environment, they can signal hormonal changes, medication side effects, sleep disorders, or less commonly, an underlying illness that needs attention.

Your Bedroom May Be Too Warm

The simplest explanation is often the right one. Your body temperature naturally dips during sleep, and if your environment works against that drop, you sweat. The Cleveland Clinic recommends keeping your bedroom between 60 and 67°F (15 to 19°C). Anything above 70°F is too hot for quality sleep and makes nighttime sweating more likely. High humidity compounds the problem because sweat can’t evaporate efficiently, leaving you damp and uncomfortable even when the thermostat looks reasonable.

Heavy comforters, memory foam mattresses that trap heat, and synthetic pajamas all contribute. Fabrics like Tencel (made from wood pulp) wick moisture away from your skin effectively, while bamboo is softer and more breathable than cotton but still holds some moisture in its fibers. Switching to lighter, breathable bedding solves the problem for many people without any further investigation.

Hormonal Changes and Menopause

For women in perimenopause or menopause, night sweats are one of the most disruptive symptoms. Up to 80% of women experience hot flashes or night sweats during this transition, and they can persist for years. The underlying mechanism isn’t simply low estrogen. It’s the withdrawal from previously high estrogen levels that triggers the problem. When estrogen drops, the brain releases a surge of norepinephrine, a stress chemical that narrows your body’s “thermoneutral zone,” the range of temperatures your body tolerates without activating heating or cooling responses. With that zone compressed, even a slight rise in core temperature triggers a full sweat response.

Progesterone appears to counteract this by stabilizing norepinephrine levels, which is why some women find relief with progesterone therapy. Night sweats during menopause tend to peak in the first few years after periods stop, then gradually ease, though the timeline varies widely from person to person.

Medications That Cause Sweating

Several categories of medication can cause night sweats, and antidepressants are among the most common culprits. Clinical trials show that 7% to 19% of patients taking SSRIs (a widely prescribed class of antidepressants) experience excessive sweating as a side effect. Other medications linked to night sweats include fever reducers like aspirin and acetaminophen (which can paradoxically trigger sweating as they work), blood pressure drugs, and hormone therapies.

If your night sweats started around the same time as a new prescription, that’s worth mentioning to your doctor. In many cases, adjusting the dose or switching to a different medication resolves the issue.

Stress, Anxiety, and Your Nervous System

Stress doesn’t clock out when you fall asleep. If you’re dealing with chronic anxiety, work pressure, or unresolved tension, your body stays in a heightened state even during rest. Stress triggers adrenaline and cortisol, which activate your sweat glands, particularly the larger glands concentrated in your armpits and groin. These stress-activated glands produce roughly 30 times more sweat than when you’re at rest, and the sweat they produce contains fats and proteins that smell more pungent than regular temperature-regulating sweat.

Nightmares and stressful dreams can produce the same physiological response. Your body reacts to a perceived threat whether you’re awake or asleep, and the result is waking up damp with a racing heart.

Sleep Apnea and Oxygen Levels

Obstructive sleep apnea, a condition where your airway repeatedly collapses during sleep, is an underrecognized cause of night sweats. The connection involves oxygen levels: when your airway closes, oxygen drops, and your body partially wakes to restart breathing. These frequent arousals spike sympathetic nervous system activity (the “fight or flight” response), which activates sweat glands. Research published in the American Journal of Managed Care found that night sweats were significantly and independently associated with a higher burden of low oxygen levels in people with sleep apnea.

If you snore loudly, wake up gasping, or feel exhausted despite a full night’s sleep, sleep apnea is worth investigating. Treating the apnea often resolves the sweating along with the other symptoms.

Alcohol and Diet

Drinking alcohol before bed is a reliable recipe for night sweats. Alcohol increases your heart rate and widens blood vessels near the skin’s surface, both of which trigger perspiration. It also disrupts the second half of your sleep cycle, when body temperature regulation is already at its most delicate. You don’t need to be a heavy drinker for this to happen. Even a couple of glasses of wine with dinner can be enough.

Spicy foods and caffeine consumed close to bedtime can also raise core body temperature and stimulate your nervous system, contributing to overnight sweating in some people.

Infections and Serious Illness

Night sweats that are truly drenching (soaking through your sheets, not just mild dampness) and persist for weeks deserve medical attention, especially when paired with unexplained weight loss, fever, or fatigue. The list of infections associated with night sweats is long: tuberculosis, HIV, endocarditis (an infection of the heart’s inner lining), pneumonia, Lyme disease, and several fungal infections.

Certain cancers also cause night sweats. Hodgkin and non-Hodgkin lymphoma are the most commonly cited, along with leukemia. In lymphoma, the combination of fever, drenching night sweats, and weight loss (known as “B symptoms”) carries prognostic significance, meaning it affects how doctors assess the disease’s severity. Other rare conditions on the list include carcinoid tumors, a type of adrenal gland tumor called pheochromocytoma, and autoimmune disorders like rheumatoid arthritis and sarcoidosis.

These causes are uncommon compared to environmental and hormonal triggers, but they’re the reason persistent, unexplained night sweats shouldn’t be dismissed.

How to Sort Out the Cause

Start with the obvious. Lower your thermostat to 65°F, switch to lighter bedding, skip alcohol for a week, and see if the problem resolves. If it does, you have your answer.

If sweating persists despite a cool, dry sleep environment, think about timing. Did it start with a new medication? Around the time your periods became irregular? Alongside snoring or daytime exhaustion? These patterns point your doctor toward the right workup. Keeping a brief log of when sweating occurs, how severe it is, and any accompanying symptoms (fever, weight changes, fatigue) gives your doctor useful information and speeds up diagnosis.

Night sweats that are occasional and mild are almost always benign. Night sweats that soak your sheets multiple times per week, wake you up consistently, or come with other systemic symptoms like unintentional weight loss warrant blood work and possibly imaging to rule out the less common but more serious causes.