Does exercising in the evening affect sleep?
Ask the doctor
- Reviewed by Robert H. Shmerling, MD, Senior Faculty Editor, Harvard Health Publishing; Editorial Advisory Board Member, Harvard Health Publishing
Q. I’ve heard that you shouldn’t exercise in the evening because it can interfere with restful sleep. Is this true?
A. Traditional sleep hygiene guidelines include the recommendation to avoid exercising late in the day. However, research suggests that many people can exercise in the evening without it affecting their sleep as long as it’s not too close to their bedtime.
A 2021 study in Frontiers in Public Health analyzed the impact of evening exercise on sleep duration and quality among almost 13,000 people, and found that moderate to vigorous activity completed at least three hours before bedtime did not interfere with sleep. A 2025 study in Nature Communications suggested an exercise cutoff of four hours before bedtime.
Besides abiding by this evening exercise timeframe, you can also practice good sleep hygiene by doing the following:
- Set a regular bedtime and adopt a relaxing bedtime routine.
- Turn off devices that give off light, such as the TV, computer, and phone, at least an hour before bedtime.
- Be sure your bed is comfortable, and your bedroom is dark, quiet, and cool.
- Don’t take long naps during the day. If you need a nap, restrict it to 20 to 30 minutes in the early afternoon.
- If you can’t fall asleep after 15 to 20 minutes, go to another room. Read quietly until you feel sleepy.
Image: © Angel Santana/Getty Images
About the Author
Matthew Solan, Former Executive Editor, Harvard Men's Health Watch
About the Reviewer
Robert H. Shmerling, MD, Senior Faculty Editor, Harvard Health Publishing; Editorial Advisory Board Member, Harvard Health Publishing
Disclaimer:
As a service to our readers, Harvard Health Publishing provides access to our library of archived content. Please note the date of last review or update on all articles.
No content on this site, regardless of date, should ever be used as a substitute for direct medical advice from your doctor or other qualified clinician.