Why You Wake Up Sweating: The Real Causes of Night Sweats (And What to Do)
Waking up drenched in sweat when the room is not especially hot is one of the more disorienting sleep experiences. It is also one of the more common ones. Night sweats affect a significant portion of adults, and the causes range from harmless to worth investigating. Understanding which category you fall into starts with understanding what your body is actually doing when it sweats during sleep.
What Night Sweats Actually Are
Night sweats are episodes of excessive sweating during sleep that are not explained by an overheated environment. The distinction matters because sweating because your bedroom is 80 degrees is not the same physiological event as sweating in a cool room.
Your body temperature is not stable during sleep. It drops in the early evening as part of the sleep initiation process, reaches its lowest point in the early hours of the morning, then rises again toward waking. This cycle is governed by the hypothalamus, the brain region that acts as a thermostat for the body.
When something disrupts this system, the hypothalamus compensates by sweating to release heat or by other thermoregulatory mechanisms. Night sweats are the result of this thermoregulatory system being triggered inappropriately, either because something is generating excess heat internally, or because the hypothalamus itself has become oversensitive and fires at lower thresholds than normal.
The Three Main Biological Triggers
Most night sweats that are not caused by an overheated environment trace back to one of three biological mechanisms.
Cortisol and adrenaline surges. Cortisol follows a natural diurnal rhythm, rising sharply in the hour after waking and declining through the day. Under stress, this rhythm becomes dysregulated. Cortisol and adrenaline levels can spike during the night, particularly in the early hours of the morning when a natural cortisol uptick occurs around 3 to 4am. These hormones raise core body temperature and trigger sweating as a side effect. People who experience anxiety, chronic stress, or burnout are particularly susceptible to this pathway.
Blood sugar drops. When blood glucose falls during the night, the body releases adrenaline and cortisol as a counter-regulatory response. This hormonal release generates heat and causes sweating. Reactive hypoglycemia is most common a few hours after eating a high-sugar meal or drinking alcohol, because blood sugar spikes and then drops sharply during the digestive and metabolic processing that occurs during early sleep. People who go to bed underfuelled can also experience overnight glucose dips for different reasons.
Adrenaline surges from sleep apnea events. Each time breathing stops during an apnea event, oxygen drops and carbon dioxide rises. The brain responds by triggering an emergency arousal, which involves a burst of adrenaline. This adrenaline spike raises heart rate, body temperature, and sweat production. Many people with sleep apnea are unaware of the apnea events themselves but wake with racing heart, sweat, and a sense of having been startled.
Hormonal Causes
Beyond the three main triggers, several hormonal conditions directly lower the threshold at which the hypothalamus triggers sweating.
Estrogen and progesterone both help stabilise the hypothalamic thermostat. When these hormones fall, as they do during menopause, perimenopause, and the postpartum period, the hypothalamus becomes oversensitive. Small fluctuations in core body temperature that would normally go unnoticed can trigger a full vasodilation and sweating response. This is the mechanism behind hot flashes and night sweats in menopause, and it explains why postpartum women often experience significant sweating in the weeks after birth even in a cool environment.
Low testosterone in men produces a similar effect. Testosterone plays a role in hypothalamic thermoregulation, and men with low testosterone frequently report night sweats as a symptom, particularly in their 40s and 50s. The connection is underappreciated because night sweats are still predominantly framed as a women's issue.
Thyroid hormones are also relevant. An overactive thyroid accelerates metabolism, raises baseline body temperature, and makes the sweating response more easily triggered. Hyperthyroidism is one of the more common medical causes of night sweats that warrants a blood test.
Medications
Several medication classes commonly cause night sweats as a side effect. Antidepressants, particularly SSRIs and SNRIs, affect serotonin pathways that are involved in thermoregulation. Studies suggest that 10 to 20 percent of people taking antidepressants experience sweating as a side effect, often concentrated at night.
Other medications associated with night sweats include some blood pressure drugs, steroids, opioid pain medications, and certain diabetes medications. If night sweats began shortly after starting a new medication, that is worth discussing with the prescribing doctor.
Lifestyle Factors
Several common habits reliably increase the likelihood of night sweats.
Alcohol causes vasodilation initially, which lowers core temperature. As blood alcohol clears in the second half of the night, the body overcompensates to restore temperature, producing rebound warming and sweating. Alcohol also suppresses the liver's ability to maintain blood glucose overnight, making reactive hypoglycemia more likely.
Spicy food activates the same heat-sensing receptors that respond to actual warmth, signalling the hypothalamus that the body is hot and triggering sweating during digestion.
Caffeine consumed in the afternoon or evening extends sympathetic nervous system activation into the sleep period, keeping the arousal systems that trigger sweating more reactive.
A hot bedroom environment is the simplest cause and the most overlooked. The optimal sleep temperature for most people is between 15 and 19 degrees Celsius (60 to 67 degrees Fahrenheit). Rooms significantly above this range will cause sweating in most people regardless of other factors.
The Role of Core Body Temperature in Sleep
The drop in core body temperature that initiates sleep is not just a byproduct of rest. It is an active process driven by vasodilation in the hands and feet, which releases heat from the body's core to its periphery. This peripheral heat loss is what allows core temperature to fall enough to support sleep onset.
Glycine, an amino acid found in collagen-rich foods and available as a supplement, has been shown in research from Nagoya University to promote this peripheral vasodilation when taken before bed. In clinical trials, participants who took 3g of glycine before sleep showed measurable reductions in core body temperature and reported improvements in sleep onset and sleep quality. This temperature-lowering mechanism is directly relevant to night sweats, because anything that supports the normal temperature descent at sleep onset reduces the likelihood of the thermoregulatory system being triggered inappropriately during the night.
Magnesium also plays a role in thermoregulation through its effects on the hypothalamic-pituitary axis and on cortisol regulation. Magnesium deficiency is common in adults, and low magnesium is associated with heightened nervous system reactivity, which amplifies the cortisol and adrenaline response pathways that trigger night sweating.
For a deeper look at how glycine affects sleep temperature and architecture, see our article on glycine for sleep. For the magnesium evidence, see our article on magnesium for sleep.
When Night Sweats Warrant a Doctor Visit
Most night sweats have benign causes. The following signs suggest a medical evaluation is appropriate:
Drenching sweats that soak through bedclothes and sheets rather than mild or moderate perspiration. Night sweats accompanied by unexplained weight loss. Night sweats accompanied by swollen lymph nodes, which can be felt as lumps in the neck, armpits, or groin. Night sweats accompanied by persistent fever during the day or evening. Sweats that occur every night for more than three weeks without an obvious lifestyle explanation.
These combinations can occasionally indicate infection, lymphoma, or other conditions that require diagnosis and treatment. The vast majority of people reading this article do not have these conditions, but the red flags are worth knowing.
What to Do
The practical approach depends on which cause is most likely for you.
If the room is warm, start there. A cool bedroom, breathable bedding, and removing excess insulation from the sleeping environment resolves temperature-driven sweating without requiring anything else.
If anxiety or stress is high, the cortisol and adrenaline pathway is the most likely driver. Winding down before bed with relaxation techniques, reducing evening alcohol and caffeine, and addressing the underlying stress load are the first steps. Supplementing with magnesium and ingredients that support the GABA system, such as lemon balm and apigenin, addresses the nervous system reactivity that keeps the cortisol response overactive at night.
If alcohol is a regular part of the evening, a trial period without it will often resolve night sweats within a few days. For a detailed explanation of what alcohol does to sleep temperature, see our article on night sweats and alcohol.
If a medication is likely responsible, speaking with the prescribing doctor about timing changes or alternatives is the right path.
If hormonal causes are suspected, a GP or endocrinologist can run relevant blood tests including oestrogen, testosterone, and thyroid function panels.
What This Means for Your Sleep
Night sweats are rarely random. They have specific biological mechanisms, and identifying which one applies to your situation makes the solution much clearer. For most people, the answer involves some combination of a cooler bedroom, reduced evening alcohol and sugar, better nervous system regulation before bed, and support for the thermoregulatory system through ingredients like glycine and magnesium that work with the body's natural temperature processes rather than against them.
Sources
- Uchida S, et al. (2012). Effect of glycine on daytime sleepiness and cognitive function in humans. https://pubmed.ncbi.nlm.nih.gov/22293131/
- Kawai N, et al. (2015). The sleep-promoting and hypothermic effects of glycine are mediated by NMDA receptors in the suprachiasmatic nucleus. https://pubmed.ncbi.nlm.nih.gov/25533534/
- Mold JW, et al. (2002). Night sweats: a systematic review of the literature. https://pubmed.ncbi.nlm.nih.gov/12365860/
- Viera AJ, et al. (2003). Common questions about the management of menopause. https://pubmed.ncbi.nlm.nih.gov/12637138/
- Roehrs T, Roth T. (2001). Sleep, sleepiness, and alcohol use. https://pubmed.ncbi.nlm.nih.gov/11529016/
- Chollet D, et al. (2001). Magnesium involvement in sleep: genetic and nutritional models. https://pubmed.ncbi.nlm.nih.gov/11777170/
Related reading: Glycine for Sleep: The Amino Acid That Lowers Your Body Temperature | Magnesium for Sleep: Which Form Works and Why
About the Author

Nima Koucheki
Founder, Sleep Improvers
Nima Koucheki is the founder of Sleep Improvers. He hosts a podcast and YouTube channel dedicated to sleep science, translating peer-reviewed research into protocols anyone can apply tonight.