Why You Sweat at Night and When to Worry

Night sweats are surprisingly common, affecting about 41% of primary care patients in a given month. Most of the time, the cause is something straightforward: a warm bedroom, a medication side effect, or hormonal changes. Occasionally, night sweats signal something that needs medical attention, so understanding the full range of causes helps you figure out what’s going on.

How Your Body Controls Temperature at Night

Your brain’s thermostat sits in a region called the hypothalamus, which constantly monitors your core temperature and triggers sweating when it senses you’re too warm. This system runs on two separate pathways: one responds to actual heat, and the other responds to emotions and stress. Either pathway can activate your sweat glands through the sympathetic nervous system, the branch of your nervous system responsible for “fight or flight” responses.

During sleep, your body naturally drops its core temperature by about one to two degrees. If anything disrupts that cooling process or artificially raises your internal thermostat’s set point (the way a fever does), your body compensates by sweating. That’s why night sweats can come from such a wide range of triggers: anything that throws off your internal temperature regulation or overstimulates your sympathetic nervous system can cause them.

Hormonal Changes and Menopause

Fluctuating hormones are one of the most common reasons for night sweats, particularly during perimenopause and menopause. Estrogen and progesterone levels swing unpredictably during this transition, and those swings affect the brain’s thermoregulatory center. The result is hot flashes, which happen during the day and at night. When they strike during sleep, they produce drenching sweats that can soak through pajamas and sheets.

These hormonal fluctuations don’t settle down quickly. According to Johns Hopkins Medicine, the ups and downs can continue for almost 10 years after menopause begins. Night sweats during this period are not dangerous, but they can seriously disrupt sleep quality. Thyroid disorders, particularly an overactive thyroid, can produce similar effects by revving up your metabolism and raising your body temperature around the clock.

Medications That Cause Night Sweats

A long list of common medications can trigger sweating as a side effect. Antidepressants, particularly SSRIs (like sertraline and fluoxetine), are among the most well-documented culprits. A primary care study found that patients taking SSRIs had roughly three times the odds of reporting night sweats compared to those not on the medication. The likely mechanism: SSRIs increase the release of certain brain chemicals that stimulate the sympathetic nervous system.

Other medication classes linked to night sweats include:

  • Blood pressure medications, including certain calcium channel blockers and angiotensin receptor blockers (ARBs had about 3.4 times the odds of night sweats in one study)
  • Thyroid hormone supplements, which had about 2.5 times the odds
  • Pain medications, including over-the-counter options like aspirin and acetaminophen, as well as prescription opioids
  • Steroids, including oral and inhaled corticosteroids
  • Diabetes medications, including insulin and oral blood sugar drugs
  • Acid reflux medications, particularly proton pump inhibitors

If your night sweats started around the same time as a new medication, that connection is worth raising with your doctor. In some cases, switching to a different drug in the same class or adjusting the dose can resolve the problem.

Sleep Apnea and Night Sweats

About half of people with obstructive sleep apnea report nocturnal sweating, typically concentrated around the neck and upper body. Sleep apnea causes repeated airway closures during sleep, which drops oxygen levels and forces the body into brief stress responses throughout the night. That sympathetic nervous system activation raises blood pressure and triggers sweating.

Research from an Icelandic sleep apnea cohort found that patients who sweated more also had higher blood pressure and lower sleep quality, with more daytime sleepiness. The encouraging finding: both the sweating and the elevated blood pressure improved with treatment using a PAP (positive airway pressure) machine. If you snore heavily, wake up feeling unrested, or your partner has noticed you gasping during sleep, sleep apnea could be driving your night sweats.

Infections and Serious Conditions

Night sweats are a classic symptom of several infections, most notably tuberculosis, HIV, and endocarditis (an infection of the heart’s inner lining). Bacterial infections that produce abscesses can also trigger drenching sweats. In these cases, the sweating is your immune system’s response to fighting off infection, often accompanied by fever.

Certain cancers, particularly lymphomas and leukemia, list night sweats as a hallmark symptom. In lymphoma specifically, the combination of fever, drenching night sweats, and unexplained weight loss (known as “B symptoms”) indicates a more aggressive disease and a worse prognosis. These cancers cause sweating because they trigger inflammatory responses that reset the brain’s thermostat.

Night sweats from a serious underlying condition rarely show up in isolation. The red flags that prompt doctors to investigate further include unexplained weight loss, persistent fevers, swollen lymph nodes that last longer than four to six weeks, easy bruising or unusual bleeding, and persistent fatigue. If your night sweats come with any of these, that combination warrants a thorough evaluation.

Lifestyle and Dietary Triggers

Before assuming a medical cause, it’s worth looking at some everyday habits that reliably trigger night sweats. Alcohol is a common one. It dilates blood vessels near the skin’s surface, which raises your skin temperature and causes sweating. Even a couple of drinks in the evening can be enough to disrupt your body’s overnight temperature regulation.

Spicy foods eaten close to bedtime can have a similar effect. Capsaicin, the compound that makes peppers hot, tricks your nervous system into sensing heat, prompting a cooling sweat response. Nicotine is another trigger: it releases a chemical called acetylcholine that directly stimulates sweat glands, and it raises core body temperature on top of that.

Caffeine consumed late in the day can also contribute. It stimulates the central nervous system and raises heart rate, both of which can activate the same sympathetic pathways that trigger sweating.

Bedroom Environment

Sometimes the simplest explanation is the right one. A bedroom that’s too warm is one of the most common, fixable causes of sweating at night. The Sleep Foundation recommends keeping your bedroom between 60 and 68 degrees Fahrenheit for optimal sleep. If your room runs warmer than that, your body will sweat to compensate.

Bedding material matters too. Synthetic fabrics trap heat and moisture against the skin, making sweating worse once it starts. Cotton or linen pajamas and sheets wick moisture away more effectively. Sleeping in lightweight, layered bedding that you can kick off as needed gives your body more flexibility to regulate its own temperature. A bedroom fan or open window can also make a noticeable difference, even if the room temperature is already in the right range.

What Gets Checked During Evaluation

If night sweats are persistent, drenching (not just mild dampness), and not explained by an obvious environmental or medication cause, doctors typically start by looking for signs of infection or malignancy. The initial evaluation focuses on a thorough physical exam, particularly checking for swollen lymph nodes throughout the body, and asking about accompanying symptoms like weight loss, fevers, cough, fatigue, and recent travel or exposures.

Your doctor will also review your full medication list, menstrual history if applicable, and screen for symptoms of sleep apnea or thyroid dysfunction. The goal is to separate the roughly 41% of people whose night sweats are benign from the smaller group who need further workup. Most people who sweat at night fall into a category where the cause is identifiable and manageable, whether that means adjusting a medication, treating sleep apnea, or simply turning down the thermostat.