Night sweats happen when something disrupts your body’s internal thermostat, triggering a sweating response while you sleep. The causes range from a bedroom that’s too warm to hormonal shifts, medications, infections, and occasionally something more serious. Understanding the mechanism behind them, and which causes are common versus rare, can help you figure out whether yours are worth investigating.
How Your Body’s Thermostat Gets Disrupted
Your brain maintains a narrow comfort zone called the thermoneutral zone. Within this range, your body doesn’t need to sweat or shiver to stay at the right temperature. When something narrows that zone, even a tiny fluctuation in core body temperature can trigger a full sweat response. During the day, you might notice this as flushing or mild warmth. At night, when you’re under blankets and your body is already working to cool down for sleep, the same trigger produces drenching sweats.
Nearly every cause of night sweats works through this same basic pathway: something shrinks your thermoneutral zone, and your body overreacts to normal temperature changes by flooding your skin with sweat.
Hormonal Changes Are the Most Common Cause
For women in perimenopause or early menopause, night sweats are remarkably common. About 79% of perimenopausal women and 65% of postmenopausal women between ages 40 and 65 experience them. The trigger is a drop in estrogen. When estrogen levels swing downward, it causes a spike in norepinephrine, a chemical messenger in the brain. That norepinephrine surge narrows the thermoneutral zone dramatically, so your body interprets a tiny rise in temperature as overheating and launches a full cooling response: blood vessels dilate, sweat glands activate, and you wake up soaked.
This isn’t a one-time event. Estrogen levels fluctuate repeatedly during perimenopause, and each downward swing can set off another episode. For some women, night sweats last a few months. For others, they persist for years. The pattern tends to be worst during the transition into menopause and gradually improves afterward, though the timeline varies widely.
Men can experience hormonal night sweats too, typically from declining testosterone levels. Low testosterone narrows the thermoneutral zone through a similar mechanism, though it’s less common and less intense than what most menopausal women experience.
Medications That Trigger Sweating
Antidepressants are one of the most frequently overlooked causes. In one study of older adults taking SSRIs (a common class of antidepressants), about 22.5% reported night sweats, and SSRI use tripled the odds of experiencing them compared to people not on the medication. SNRIs, a related class, carry similar risks. These drugs alter serotonin and norepinephrine levels in the brain, both of which influence temperature regulation.
Other medications linked to night sweats include fever reducers like acetaminophen and ibuprofen (which can cause rebound sweating as they wear off), blood pressure medications, hormone therapies, and some diabetes drugs that cause low blood sugar overnight. If your night sweats started around the same time as a new prescription, the medication is a likely suspect.
Infections and Immune Responses
When your body fights an infection, immune cells release inflammatory molecules like interleukins and tumor necrosis factor. These substances temporarily raise the set point of your thermostat, which is why you get chills and fever. Night sweats happen on the back end of that cycle: as the levels of these inflammatory molecules drop, your thermostat resets to normal, and your body dumps heat rapidly through sweating.
This explains why night sweats often follow a fever pattern, peaking and breaking in waves. Common infections like the flu or a sinus infection can cause a night or two of sweating. Chronic infections like tuberculosis, HIV, or heart valve infections (endocarditis) cause recurring, drenching night sweats over weeks or months because the immune system is locked in an ongoing battle, with inflammatory molecules rising and falling in cycles.
Sleep Apnea and Breathing Problems
Obstructive sleep apnea is an underappreciated cause of night sweats. When your airway collapses repeatedly during sleep, your blood oxygen levels drop. Research has found that night sweats in people with sleep apnea are directly associated with the severity of oxygen deprivation, along with higher rates of body movements during sleep and more frequent awakenings. The physical struggle to breathe, combined with repeated surges of stress hormones each time the brain jolts you awake, activates your sweat glands.
If your night sweats come with loud snoring, daytime fatigue, or waking up gasping, sleep apnea is worth investigating. Treating the breathing problem often resolves the sweating.
Anxiety and Nighttime Panic Attacks
Stress and anxiety keep your nervous system in a heightened state, and that arousal doesn’t always shut off when you fall asleep. Nocturnal panic attacks, which strike during sleep without any obvious trigger, cause a sudden surge of adrenaline that activates your fight-or-flight response. You wake abruptly with a racing heart, difficulty breathing, and profuse sweating. These episodes can feel identical to other causes of night sweats, but they’re typically accompanied by intense fear or dread that fades within minutes.
Even without full panic attacks, chronic anxiety and high stress levels increase baseline sympathetic nervous system activity. This keeps your sweat glands more reactive overnight, making you more prone to sweating from minor temperature changes that wouldn’t bother you otherwise.
Cancer and Other Serious Causes
Night sweats are one of the “B symptoms” of lymphoma, along with unexplained fever and significant weight loss. The sweats associated with lymphoma and other cancers are typically described as drenching, meaning severe enough that you need to change your bedclothes. They recur persistently over weeks rather than happening once or twice.
Cancer-related night sweats are far less common than hormonal, medication, or environmental causes. But certain combinations of symptoms raise the level of concern. Unintentional weight loss of more than 5% over six to twelve months is considered clinically significant. Swollen lymph nodes that persist longer than four to six weeks, especially alongside night sweats, warrant prompt evaluation. Recurring fevers without an obvious infection are another red flag. Any one of these signs alongside persistent drenching sweats is worth bringing to your doctor’s attention quickly.
Your Bedroom Might Be the Problem
Before looking for medical explanations, it’s worth checking the simplest one. Sleep experts recommend keeping your bedroom between 60 and 67°F (15 to 19°C). Anything above 70°F is considered too hot for quality sleep, and a warm, humid room is one of the most common reasons people wake up sweating. Heavy blankets, memory foam mattresses that trap heat, and synthetic sleepwear all compound the problem.
Alcohol is another frequent culprit. It dilates blood vessels and disrupts your body’s temperature regulation for hours after your last drink. A glass or two of wine at dinner can easily translate into sweating at 3 a.m. Spicy food close to bedtime has a similar, though usually milder, effect.
If lowering your room temperature, switching to breathable bedding, and cutting back on evening alcohol eliminates the problem, you likely don’t need further investigation. Night sweats that persist despite these changes, recur multiple times per week, or come with other symptoms like weight loss, fever, or new fatigue point toward one of the medical causes worth discussing with a healthcare provider.