Yes — exercise is one of the most robustly evidenced lifestyle interventions for improving sleep quality. A meta-analysis of 66 studies in Mental Health and Physical Activity found that regular exercise reduced self-reported sleep complaints and improved objective sleep quality across multiple population groups. But the type, timing, and intensity of exercise all influence whether it helps or hurts sleep on any given night. This guide explains the mechanisms and the evidence.

How Exercise Improves Sleep: The Mechanisms

Sleep Pressure (Adenosine Accumulation)

Physical activity increases metabolic activity and ATP consumption, which increases adenosine levels in the brain. Adenosine is the primary driver of sleep pressure — the biological force that makes you feel progressively sleepier throughout the day. Higher adenosine from exercise increases the depth and duration of slow-wave (deep) sleep that night. This is the same system that caffeine antagonises — caffeine blocks adenosine receptors, which is why it interferes with sleep and reduces exercise-associated sleep benefits.

Core Body Temperature

Exercise raises core body temperature. The subsequent cooling (which happens over the 4–6 hours following exercise) signals to the brain that sleep onset is approaching — the same thermal mechanism that makes a warm bath before bed effective. This is why morning or afternoon exercise improves sleep: the temperature rise and fall align with the evening sleep window.

Circadian Entrainment

Morning exercise in outdoor or bright light provides two circadian entrainment signals simultaneously: light exposure and physical activity. Both advance the circadian clock, making earlier sleep onset more natural. Regular morning exercise is one of the most effective non-pharmaceutical treatments for delayed sleep-wake phase disorder.

Anxiety Reduction

Exercise reduces cortisol (after the initial post-exercise spike), increases BDNF, and activates endocannabinoid signalling — all of which reduce the physiological hyperarousal associated with anxiety-related insomnia. A 2015 review in Preventive Medicine Reports confirmed exercise reduces anxiety scores, with dose-response benefits up to approximately 150 minutes of moderate activity per week.

What Type of Exercise Is Best for Sleep?

Aerobic Exercise (Strongest Evidence)

Moderate-intensity aerobic exercise — brisk walking, jogging, cycling, swimming — has the most consistent evidence for sleep improvement. The AASM recommends at least 150 minutes of moderate aerobic exercise per week as part of sleep hygiene. Effects accumulate over weeks but are also observable after a single session in people with insomnia symptoms.

Resistance Training

Resistance training (weight lifting, bodyweight exercise) also improves sleep quality, particularly slow-wave sleep depth. A 2018 randomised controlled trial in Journal of Sleep Research found resistance training 3 times/week improved sleep quality, mood, and physical functioning in adults with insomnia. The effect was similar to aerobic exercise for sleep quality outcomes.

Yoga and Tai Chi

Both have consistent evidence for improving sleep quality, particularly in older adults and those with anxiety-driven insomnia. The combined physical and mindfulness components address both the physiological and cognitive components of hyperarousal. A Harvard Medical School study found yoga practice significantly improved sleep quality and daytime fatigue in older adults with insomnia.

Exercise Timing: Does It Matter?

The conventional advice was to avoid vigorous exercise within 3 hours of bedtime. Recent research has nuanced this significantly:

Practical guidance: If you can only exercise in the evening, do it — the sleep benefits significantly outweigh the small risk of delayed onset for most people. If you're a sensitive individual or have confirmed insomnia, keep intensity moderate and leave at least 90 minutes before bed. Morning exercise is optimal if schedule permits.

How Much Exercise Is Needed?

Sleep benefits are detectable with as little as 10–15 minutes of moderate activity. However, the AASM recommends a minimum of 150 minutes of moderate aerobic activity per week (30 minutes, 5 days/week) for sustained sleep improvement. More vigorous exercise — running, HIIT, heavy resistance training — can achieve similar benefits in less time (75 minutes/week of vigorous activity). Benefits accumulate over 2–8 weeks of consistent exercise before maximal sleep improvement is seen.

Exercise for Specific Sleep Problems

For more on how lifestyle factors affect sleep, see our guides on foods that help you sleep and how stress impacts sleep quality. Use the Sleep Score tool to identify your most impactful areas to address.


About the author: Morgan Wells is a certified sleep analyst and wellness writer with over a decade of experience in behavioral sleep health. Learn more about Morgan.