Sweating in bed happens because your body is actively cooling itself during sleep, and sometimes that cooling system overreacts. Your core temperature naturally drops by about 1 to 2°C (roughly 2 to 3.5°F) as you move through sleep cycles, and sweating is one of the main ways your body sheds that heat. When the process works normally, you barely notice it. But when something amplifies it, whether that’s a too-warm room, a medication, a hormonal shift, or an underlying health issue, you wake up damp or drenched.
How Your Body Regulates Temperature During Sleep
Sleep and body temperature are tightly linked. A region deep in your brain called the preoptic hypothalamus acts as both a sleep switch and a thermostat. It receives temperature signals from your skin, your organs, and the brain itself, then decides whether to cool you down or warm you up. When you transition from wakefulness into deep sleep, this system triggers cooling: blood vessels near the skin dilate to release heat, and your core temperature drops by about 0.2 to 0.4°C with each deep-sleep episode.
This cooling is actually part of what makes sleep possible. Your brain needs to be slightly cooler to maintain deep sleep. During REM sleep (when you dream), your body temporarily loses some of its ability to regulate temperature, which is why you’re more vulnerable to feeling too hot or too cold during those phases. If your bedroom, bedding, or body is generating more heat than this system can handle, sweating ramps up as a backup cooling mechanism.
The Most Common Everyday Causes
Before looking at medical explanations, it’s worth ruling out the simplest ones. Your sleep environment is the most frequent culprit.
The Cleveland Clinic recommends keeping your bedroom between 60 and 67°F (15 to 19°C) for adults. Anything above that range forces your body to work harder to cool down, which means more sweating. For babies and toddlers, the ideal range is slightly warmer, between 65 and 70°F.
Your bedding matters just as much as the thermostat. Synthetic fabrics like polyester and microfiber are dense and trap heat against your body. They might feel soft, but they don’t let air circulate. Cotton is naturally breathable and absorbs moisture, though lightweight percale weaves sleep much cooler than sateen or high-thread-count options. Wool is particularly effective: each fiber can absorb up to 30% of its own weight in moisture without feeling damp, and it adjusts to your body temperature, releasing heat when you’re warm and insulating when you’re cool. Bamboo, despite its reputation, can trap heat in thicker weaves. And layering cotton sheets over a synthetic mattress protector or comforter can cancel out cotton’s breathability, trapping moisture against you.
Food, Drink, and Evening Habits
What you eat and drink in the hours before bed can directly interfere with your body’s thermostat. Alcohol is one of the most common triggers. It dilates blood vessels near the skin and disrupts the way your body regulates internal temperature, producing excess heat that your sweat glands then try to manage. Caffeine has a similar effect, raising your metabolic rate and internal temperature.
Spicy foods containing capsaicin, the compound that gives chili peppers their heat, activate the same receptors in your body that respond to actual warmth. Your brain interprets the signal as overheating and launches a cooling response, including sweating. Eating spicy or heavy meals close to bedtime gives your body less time to process that thermal disruption before you fall asleep.
Hormonal Changes and Menopause
Hormonal shifts are one of the most well-documented causes of night sweats, particularly during perimenopause and menopause. The mechanism is specific: when estrogen levels drop, the brain releases a surge of norepinephrine, a stress-related chemical messenger. This narrows your thermoneutral zone, the temperature range your body considers “comfortable.” Normally, that zone is several degrees wide, so minor temperature fluctuations don’t trigger a response. When it narrows, even a tiny increase in body heat can set off a full-blown hot flash or drenching sweat.
It’s not just the overall level of estrogen that matters. Downward swings in estrogen, even temporary ones, trigger the most intense episodes. This is why night sweats can be unpredictable during perimenopause, when hormone levels fluctuate wildly from day to day. The same narrowing of the thermoneutral zone also explains why some people on hormone-blocking medications for cancer treatment experience severe night sweats.
Medications That Cause Night Sweats
Several common medications list sweating as a side effect, but antidepressants are among the most frequent offenders. In one study of over 400 primary care patients, those taking SSRIs (a widely prescribed class of antidepressants) were about three times more likely to report night sweats than those not taking them. Angiotensin receptor blockers, used for blood pressure, carried a similar risk, with roughly 3.4 times the odds. Thyroid hormone supplements also showed a significant association, about 2.5 times the odds of night sweats compared to non-users.
Other medication categories linked to night sweating include older-generation antidepressants (tricyclics), diabetes medications that can cause low blood sugar overnight, and opioid pain medications. If your night sweats started or worsened around the time you began a new medication, the timing is worth noting and discussing with your prescriber.
Sleep Apnea and Breathing Disruptions
Obstructive sleep apnea, a condition where your airway repeatedly collapses during sleep, is an underrecognized cause of night sweats. People with sleep apnea are significantly more likely to sweat at night than those without it: about 19% of people with OSA report night sweats compared to 12% of the general population.
The connection comes down to oxygen and stress hormones. Each time your airway closes, your blood oxygen drops and your body jolts partially awake to reopen it. These frequent awakenings spike your sympathetic nervous system, the same fight-or-flight response that makes you sweat during a stressful moment while you’re awake. If you sweat at night and also snore loudly, wake up gasping, or feel exhausted despite a full night’s sleep, sleep apnea is worth investigating.
Infections and Immune System Activity
Night sweats can be a sign that your immune system is fighting something. During infections, your body releases inflammatory chemicals that temporarily raise the set point of your internal thermostat. This is what causes a fever and the chills that go with it. When those inflammatory signals drop back to normal, often in waves overnight, your thermostat resets downward and your body sweats to shed the excess heat. That cycle of chills followed by sweating is characteristic of infections ranging from common viruses to more serious conditions like tuberculosis, endocarditis (infection of the heart lining), and HIV.
The same mechanism applies to certain cancers, particularly lymphomas. Tumor cells and the immune cells responding to them release the same inflammatory mediators that infections do, creating a similar pattern of temperature spikes and sweating. Lymphoma-related night sweats tend to be drenching, often requiring a change of sheets, and they persist night after night.
Signs That Night Sweats Need Medical Attention
Occasional sweating in bed, especially on a warm night or after alcohol, is normal. Persistent night sweats that happen regularly over weeks are different. The American Academy of Family Physicians identifies several red flags that warrant prompt evaluation: unintentional weight loss greater than 5% of your body weight over 6 to 12 months, fevers you can measure with a thermometer (not just feeling warm), and swollen lymph nodes that you can feel in your neck, armpits, or groin. Lymph nodes that remain swollen for more than four to six weeks alongside night sweats are particularly concerning for malignancy.
Night sweats combined with any of these findings raise the possibility of an underlying infection or cancer that needs to be identified. Night sweats alone, without other symptoms, are far less likely to signal something serious, but when they’re frequent enough to disrupt your sleep or soak your sheets, they’re still worth bringing up with a doctor to identify treatable causes like medication side effects, thyroid dysfunction, or sleep apnea.
Practical Steps to Reduce Bed Sweating
Start with your sleep environment, since it’s the easiest variable to control. Set your thermostat to 65°F (18°C) or lower. Switch synthetic bedding for natural fibers: percale-weave cotton or wool are the strongest performers for temperature regulation. If your mattress has a synthetic foam core, a breathable mattress topper or pad can help prevent heat from building up beneath you.
Move alcohol, caffeine, and spicy foods earlier in the day, ideally finishing them at least three hours before bed. Exercise is excellent for sleep quality, but intense workouts within two hours of bedtime raise your core temperature at exactly the wrong time. A warm shower 60 to 90 minutes before bed can actually help: it brings blood to the skin’s surface, and when you step out into cooler air, the rapid heat loss signals your brain to initiate the cooling process that leads to sleep.
If environmental changes don’t help and sweats continue for more than two to three weeks, keep a simple log noting how often they happen, how severe they are, and any patterns with food, stress, or your menstrual cycle. That information makes it much easier for a clinician to narrow down the cause efficiently.

