Skip to content

How Exercise Improves Sleep: What the Research Shows

Updated · 5 min read · By Taohidul Islam

Regular exercise helps most people sleep better. Research reviews find that people who exercise regularly tend to fall asleep faster, sleep a little longer and rate their sleep quality higher. The benefits are modest but real, they build over weeks of regular activity, and for most people even evening exercise is fine, as long as hard sessions finish at least an hour before bed.

What the research says about exercise and sleep

A 2015 meta-analysis in the Journal of Behavioral Medicine pooled 66 studies on physical activity and sleep. It found that:

  • A single session of exercise had small benefits for total sleep time, time to fall asleep, sleep efficiency and deep sleep, and a moderate benefit for time spent awake during the night.
  • Regular exercise had small benefits for total sleep time and sleep efficiency, small-to-medium benefits for how quickly people fell asleep, and moderate benefits for how well people felt they slept.
  • The effects varied with age, sex, fitness level, the type and duration of exercise, the time of day, and how consistently people kept it up.

In plain terms: exercise will not fix serious sleep problems on its own, but it is one of the most reliable lifestyle habits for better sleep, and consistency matters more than any single workout.

Why exercise may help you sleep

Researchers are still working out the exact mechanisms. Several explanations are commonly proposed:

  • Greater sleep drive. Your need for sleep builds the longer and more actively you are awake. Physical activity adds to that pressure, which may help you fall asleep and sleep more deeply.
  • Body temperature. Exercise raises your core temperature, and the drop afterwards may help signal that it is time to sleep. This is also why very late, very hard exercise can work against you.
  • Body clock. Regular activity, especially outdoors in daylight, can help keep your daily rhythm steady.
  • Stress and mood. Exercise is linked with lower stress and better mood, and worry is a common reason people lie awake.

How much exercise do you need for better sleep?

There is no special "sleep dose". The general adult guidelines from the CDC are a good target, and they bring many other health benefits along with better sleep:

  • About 150 minutes a week of moderate activity, such as brisk walking (for example, 30 minutes on 5 days), or about 75 minutes of vigorous activity, such as running, or an equal mix of the two.
  • Muscle-strengthening activity on at least 2 days a week that works all major muscle groups.

If you are starting from very little, any increase helps. A daily walk is a sensible first step. See our article on why exercise is important for the wider benefits.

Is it bad to exercise before bed?

Many people have heard that evening exercise ruins sleep. The evidence is more reassuring than that. A 2019 systematic review in Sports Medicine looked at 23 studies of healthy adults who exercised in the evening and concluded that evening exercise did not harm sleep overall. The one exception: vigorous exercise that ended within about an hour of bedtime was linked with taking longer to fall asleep, sleeping less and lower sleep efficiency.

Official advice tends to be more cautious. The NHS suggests avoiding exercise within 4 hours of bed, and the US National Institute of Neurological Disorders and Stroke suggests not exercising within a few hours of bedtime. A practical middle ground:

  • Morning or afternoon works well for most people and fits the official advice.
  • Evening exercise is usually fine if it suits your schedule. Finish hard sessions at least an hour before bed, and earlier if you notice it affects you.
  • The last hour before bed is best kept for gentle activity, such as an easy walk or stretching.

People respond differently, so check your own sleep on days you train late compared with days you train early.

Key takeaway: the best time to exercise for sleep is a time you can stick to. Regular activity matters far more than the exact hour, as long as hard workouts end at least an hour before bed.

Which types of exercise help sleep?

Most research has looked at moderate aerobic exercise like walking, cycling or swimming, and that is where the evidence is strongest. Strength training and mind-body practices such as yoga and tai chi have also been studied, though the evidence for them is more limited. The best choice is the activity you enjoy enough to do regularly.

It works both ways: sleep helps your training

Sleep supports muscle maintenance and the repair of cells and tissue, and short sleep slows reaction time and increases mistakes. If you train hard, poor sleep can make sessions feel harder and recovery slower. Treat sleep as part of your training plan, not something that happens after it.

When to talk to a doctor

If you have had trouble sleeping for several weeks despite regular activity and good sleep habits, or you snore loudly, stop breathing or gasp during sleep, or feel very sleepy during the day, speak with a doctor. If you have a heart condition or other health concern, or have been inactive for a long time, check with a doctor before starting vigorous exercise.

Seeing the link in your own data with FitRest

FitRest brings your workouts and sleep from Apple Health into one place. Effort vs Recovery shows how your training load compares with how recovered you are, When You Train shows the times of day you usually work out, and your daily Recovery and Sleep scores sit side by side on the Dashboard. That makes it easier to compare nights after early and late sessions. Explore the workouts and sleep tracking features.

Sources

FitRest is a wellness app, not a medical device. It does not diagnose, treat or prevent any condition. Talk to a qualified health professional about any health concern.

Keep reading