Does It Matter When You Exercise? Your Sleep Says Yes
Share
How does exercise timing affect your sleep quality and schedule? Read more to find out.
Exercising in the morning can be different than exercising in the afternoon or at night in terms of how it affects your sleep.
You already know exercise is good for you. But here's something fewer people talk about: when you work out might matter just as much as how you work out—at least when it comes to getting a good night's sleep.
If you've ever finished a late-night gym session and then spent the next two hours staring at the ceiling, you've felt this firsthand. The relationship between exercise timing and sleep quality is real, and understanding it could be the key to waking up feeling genuinely rested.
How Exercise Affects Sleep Quality
Regular physical activity is one of the most effective ways to improve sleep. It helps you fall asleep faster, spend more time in deep sleep, and wake up less frequently throughout the night. Exercise reduces stress hormones like cortisol and raises your core body temperature—both of which play a role in how well you sleep.
The catch? These same physiological responses can either help or hinder your sleep depending on when they occur.
The Best (and Worst) Times to Work Out for Sleep
Morning Exercise
Morning workouts are a solid choice for sleep. Exercising in the morning helps regulate your circadian rhythm—your body's internal clock—by exposing you to daylight and signaling that it's time to be awake and active. By the time evening rolls around, your body is naturally winding down, making it easier to fall asleep.
Studies have also found that people who exercise in the morning tend to spend more time in deep, restorative sleep compared to those who work out later in the day.
Best for: Early risers, those who struggle to fall asleep at night, and anyone looking to establish a consistent sleep schedule.
Afternoon Exercise
The afternoon window—roughly between 1 PM and 5 PM—is often considered the sweet spot for both performance and sleep. Your core body temperature and muscle function peak during these hours, which can make workouts feel easier and more effective.
Exercising in the afternoon also gives your body enough time to recover and cool down before bed, meaning you'll likely drift off without much trouble.
Best for: Those with flexible schedules who want to maximize workout performance and sleep quality.
Evening Exercise
Evening workouts get a bad reputation, but the research tells a more nuanced story. A 2019 study published in Sports Medicine found that exercising in the evening did not negatively affect sleep—as long as participants avoided high-intensity workouts in the hour before bed.
Moderate-intensity activities like yoga, light cycling, or a brisk walk in the evening can actually help reduce stress and prepare your body for rest.
Best for: People who genuinely cannot work out earlier in the day, provided they keep the intensity in check.
Late-Night Exercise
This is where things get tricky. High-intensity exercise within an hour of bedtime raises your heart rate, spikes adrenaline, and keeps your core body temperature elevated—all of which make it harder to fall asleep. For many people, a late-night HIIT session or heavy lifting session can delay sleep onset by 30 minutes or more.
That said, everyone responds differently. Some people can finish a hard workout at 10 PM and sleep just fine. If you're one of them, great. But if you're regularly waking up tired, your workout schedule is worth examining.
Best for: Night owls who have no other option—but monitor how it affects your sleep closely.
Finding Your Ideal Exercise Window
There's no single answer that works for everyone. Your chronotype (whether you're naturally a morning or evening person), fitness goals, and daily schedule all play a role in determining the best time for you to work out.
A practical approach: track your sleep for a couple of weeks using a sleep app or journal, then experiment with shifting your workout to a different time of day. The changes can be surprisingly noticeable.
Small Shifts, Better Sleep
Exercise timing is a small variable with a potentially big payoff. If you're already active and sleeping well, there's no reason to overhaul your routine. But if restless nights are a recurring problem, adjusting when you move your body could be one of the simplest fixes available.
Start with your sleep, work backward, and give your body the consistency it needs to perform—both in the gym and in bed.
Hannah Lake
Sleeps on a mattress every night. Loves a foam pillow (emotional support pillow). Has been a student of the foam industry for years. Dedicated to getting a solid 6-8 hours of rest every night before writing about foam. Passionate about helping others do the same.