Back to all articles
Sleep Problems5 min read

What to Eat (and Avoid) Before Bed to Reduce Night Sweats

What you eat and drink in the hours before bed has a direct effect on core body temperature, cortisol activity, and blood glucose stability during the night. Each of these affects how likely you are to sweat during sleep. The relationship between diet and night sweats is rarely discussed in specific terms, but the mechanisms are well understood and the practical implications are clear.

What Triggers Night Sweats Through Diet

Alcohol

Alcohol is the most reliably documented dietary trigger for night sweats. It causes vasodilation initially, lowering core body temperature. As the liver metabolises alcohol and blood alcohol falls, the body reverses the vasodilation and core temperature rebounds, producing sweating in the second half of the night. Alcohol also suppresses the liver's ability to maintain blood glucose overnight, which triggers a cortisol and adrenaline response that generates additional heat. For a full explanation of these mechanisms, see our article on night sweats and alcohol.

Even moderate amounts of alcohol, one to two standard drinks, can trigger sweating in people who are already sensitive due to other factors like anxiety, low estrogen, or magnesium deficiency. The sweating from alcohol typically appears two to six hours after the last drink, which is why it hits in the middle of the night rather than immediately after drinking.

Spicy Food

Capsaicin, the active compound in chilli and many spicy foods, activates TRPV1 receptors. These receptors are the same sensors the nervous system uses to detect actual heat. When capsaicin binds to them, it sends the same signal to the brain as genuinely high temperature, prompting a sweating response to cool the body down.

Eating spicy food in the evening extends this activation into the sleep period. The sweating triggered by TRPV1 activation during digestion of spicy food overlaps with the sleep period and can be mistaken for heat-related or stress-related sweating. The timing varies depending on how late the meal was eaten and the concentration of capsaicin in the food.

Caffeine

Caffeine consumed in the afternoon or early evening extends sympathetic nervous system activity into the sleep period. The sympathetic system is the fight-or-flight system that produces alertness, elevated heart rate, and raised body temperature. Even after the alerting effect of caffeine has seemingly worn off, its half-life of approximately five to seven hours means that a significant portion of it remains active at the time of sleep.

Caffeine also raises cortisol, which raises core temperature and increases the reactivity of the thermoregulatory system. For people who already have elevated cortisol at night due to stress or anxiety, evening caffeine compounds the problem.

High-Sugar Meals

A high-sugar or high-glycaemic meal in the evening creates a blood glucose spike that is followed by a compensatory drop. As blood glucose falls during sleep, the body releases adrenaline and cortisol to signal the liver to produce more glucose. This hormonal release generates heat and triggers sweating, typically in the early to middle hours of the night.

Ultra-processed foods, sugary desserts, refined carbohydrates without accompanying protein or fat, and fruit juice consumed in large amounts in the evening all create this pattern. The degree of the blood glucose swing determines the magnitude of the hormonal response.

Underfuelling

The opposite problem, going to bed significantly underfed, creates a different blood glucose scenario. Without adequate glycogen stores, the liver struggles to maintain glucose during the overnight fast, and glucose can drop even without a prior spike. The same adrenaline and cortisol response follows. People who eat very little in the evening, either due to calorie restriction, intermittent fasting with a very early eating cutoff, or simply not having time to eat, sometimes find that night sweats improve with a small, balanced evening meal.

What Helps

Balanced Evening Meal Timing

Eating a meal with protein, fat, and complex carbohydrate two to three hours before bed supports stable overnight blood glucose. The protein and fat slow gastric emptying and blunt the glucose response. The complex carbohydrate provides steady glucose release without a sharp spike. This combination reduces the likelihood of reactive hypoglycaemia during the night.

Finishing the main meal well before sleep also reduces the digestive heat load during the sleep period. Digestion generates body heat, and eating very close to bedtime means the body is producing heat from digestion exactly when it should be cooling down for sleep.

Magnesium-Rich Foods

Foods high in magnesium support the nervous system regulation that keeps cortisol and adrenaline responses calibrated. Pumpkin seeds, dark leafy greens, almonds, dark chocolate, and legumes are among the best dietary sources. Magnesium from food is generally well-tolerated and contributes to the baseline that supplements build on.

Glycine-Rich Foods

Glycine, the amino acid found in collagen-rich foods, supports the natural drop in core body temperature that sleep onset requires. Bone broth, slow-cooked meat (especially cuts with connective tissue), and gelatin are good sources. A cup of bone broth in the evening is both calming and practically rich in glycine.

Glycine supplementation at 3g before bed has been shown in clinical trials to lower core body temperature by promoting peripheral vasodilation in the hands and feet, releasing heat from the body's core. This mechanism is directly relevant to night sweats. For more on the evidence, see our article on foods that help you sleep.

Tart Cherry

Tart cherry contains small amounts of melatonin and has been shown in a few small trials to modestly improve sleep quality. Its primary relevance to night sweats is indirect, through supporting sleep continuity and reducing the fragmentation that compounds other sweating triggers.

The Practical Summary

If you experience regular night sweats, the dietary changes most likely to produce a noticeable reduction are finishing alcohol at least three to four hours before bed (or eliminating it during a trial period), avoiding spicy food in the evening, stopping caffeine by early afternoon, eating a balanced evening meal rather than a high-sugar or very low-food evening, and considering a small protein and fat containing snack before bed if you tend to eat early.

These changes work in parallel with cooling the bedroom, managing stress through the evening, and supporting the thermoregulatory system with supplements like magnesium and glycine that address the biological pathways involved.

Sources


Related reading: Why You Wake Up Sweating: The Real Causes of Night Sweats | Eating Before Bed: What Helps and What Hurts Sleep

About the Author

Nima Koucheki

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.

Related Reading

Want the Full Sleep Protocol?

Get the free Sleep Improvers book and put the science to work tonight.