longevitywatch

What does exercising right before bed do to my sleep?

Exercise improves your sleep, even when you do it in the evening up to around 8 p.m. Yoga, walking, and strength training have the strongest evidence.

Exercise improves sleep, even when you do it at a random point in the day. A single workout already produces small positive effects: you fall asleep a little faster, sleep a little longer and more efficiently, and get slightly more deep sleep. People who move regularly over several weeks see the biggest improvements in the time it takes to fall asleep and in overall sleep quality.

The feared effect of evening exercise on sleep turns out to be less of a problem in practice. Twelve weeks of moderate aerobic training showed that exercising up to 8 p.m. shortens the time it takes to fall asleep, just as morning exercise does. Your body clock does not shift earlier the way it does with morning exercise, but your sleep does not suffer either. Evening exercise even had an extra benefit in that study: blood vessels responded better and blood pressure dropped more than with morning exercise. Training very late and very intensely is a different matter; there is too little data there to draw firm conclusions.

If you are specifically dealing with sleep problems, some forms of exercise have the strongest evidence behind them. Yoga produces the biggest gain in total sleep time for people with insomnia, on average almost two hours more. Walking or jogging reduces the severity of insomnia most on a standardised symptom scale. For older adults, strength training appears to improve sleep quality the most of all individual forms of exercise. A combination of endurance-strength training with walking scores even better in older people than either approach on its own.

How exercise influences sleep is not yet fully understood. There are signs that physical activity lowers the stress hormone cortisol, and that this partly explains why sleep improves. That link has not been firmly proven, however, and the studies that looked into it involved mainly women who had been treated for breast cancer, which makes it hard to apply the findings more broadly.

The evidence
7 studies · 3 meta-analyses · 2 randomised trials

This answer draws on several combined summaries of dozens of studies, plus one study on the timing of exercise in which participants were assigned to different groups. The researchers themselves rate the certainty as moderate for the effect of exercise on cortisol and sleep efficiency, and as low for effects on the time it takes to fall asleep and on lying awake after first falling asleep. Of the studies on insomnia, 68% were rated as raising "some concerns about bias" and 14% as high risk of bias; only 18% had a low risk. This makes the precise figures uncertain, but the direction of the findings is consistent enough to draw practical conclusions.

Last checked: November 2026 · how this was judged
Related answers

Does intense exercise shortly before bedtime disrupt your sleep quality?

For most active people the advice is: allow a buffer of at least four hours between intense exercise and bedtime. If you are well trained, your sleep appears to be less sensitive to late-night exercise, but you will only know for certain by measuring it yourself.

Moderate evidence

What can I do to sleep better?

Cognitive behavioural therapy for insomnia is the most proven approach and works better than sleeping medication. Cutting back on caffeine in the afternoon is the next simplest step with the strongest evidence.

Strong evidence

Does walking outside during the day help me sleep better at night?

A daily walk of around half an hour outside helps improve your sleep, as shown by a randomised study. The surroundings matter little, but air pollution can dampen the effect.

Yes · Moderate evidence

Does the menopause disrupt my sleep, and what can help?

The menopause genuinely disrupts your sleep, mainly through hot flushes and hormonal changes. A talking therapy designed specifically for sleep problems is the best first step; hormone therapy or melatonin may come into the picture after that.

Yes · Moderate evidence

Does your sleeping position affect how rested you feel when you wake up?

If you have sleep apnoea, your sleeping position makes a clear difference: side sleeping produces a noticeably better night than sleeping on your back. For healthy people without apnoea or pain, the effect is smaller and less well studied.

Yes · Moderate evidence

How does stress affect your sleep and recovery?

Stress disrupts sleep, and poor sleep in turn amplifies stress. Research shows the relationship also runs in reverse: people who sleep better experience less stress.

Related research
13 Nov
Brain fluid flow stagnates in Alzheimer’s mice
10 Nov
Poor sleep and aging inflammation fuel each other
06 Nov
Tau linked to isolated sleep waves and memory loss in older adults
Don't see your question?
Ask it and we'll look it up for you.
Ask a question →
Newsletter

Stay in the loop

Every Thursday, the most important longevity research in your inbox, focused on what you follow.