Best Time to Work Out for Better Sleep
By Mac Burke, qualified sports nutritionist
The short answer
The best time to work out for sleep is the time you can stick to. Regular exercise improves sleep quality at almost any time of day. Morning and afternoon sessions are the safest choice for light sleepers, and evening training is fine for most people as long as very hard sessions finish more than an hour before bed.
People ask about timing as if one slot unlocks perfect sleep. It does not. The biggest sleep benefit comes from exercising regularly, week after week. Timing is a smaller lever. Morning or afternoon training suits most light sleepers, and evening sessions are fine for most people if you keep the hardest efforts away from bedtime.
Does exercise actually improve sleep?
Yes, and the effect is consistent. A 2015 meta-analysis in the Journal of Behavioral Medicine pooled 66 studies on physical activity and sleep. It found that 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 sleep quality.
Even a single session helped. Acute exercise had small benefits for total sleep time, time to fall asleep and deep sleep, and a moderate benefit for time spent awake during the night. The authors also found the effects were moderated by exercise type, duration, adherence and time of day, as well as by age, sex and baseline fitness.
So time of day does matter a little. But showing up regularly matters more. A morning plan you skip half the time will do less for your sleep than an evening plan you never miss.
Is morning exercise better for sleep?
Morning training is a safe choice if you are a light sleeper. It leaves the whole day for your heart rate, body temperature and alertness to settle before bed. It also tends to happen more reliably, because fewer things get in the way at 6 am than at 6 pm.
The trade-offs are real, though:
- If an early session means cutting your night short, you lose more than you gain. Sleep time comes first.
- Strength and power often feel lower first thing, so warm up longer.
- Early training is easier if you go to bed at a fixed time and keep your wake time steady on weekends.
If you are a natural early riser and can sleep 7 or more hours before your alarm, morning is a strong option. If you are a night owl dragging yourself out of bed at 5 am, it may cost you more sleep than it is worth.
Does working out in the evening hurt sleep?
For most people, no. A 2019 meta-analysis in Sports Medicine looked at 23 studies of healthy adults who exercised in the evening. Compared with no exercise, evening sessions slightly increased deep (slow-wave) sleep and reduced light stage 1 sleep. The authors concluded the evidence does not support the idea that evening exercise harms sleep, and if anything suggests the opposite.
There was one clear exception. Sleep onset, total sleep time and sleep efficiency might be impaired after vigorous exercise ending 1 hour or less before bedtime. A 2021 meta-analysis of high-intensity evening exercise in Sleep Medicine Reviews found something similar. Hard sessions ending 2-4 hours before bed did not disrupt sleep in healthy adults, and regular evening high-intensity training did not disrupt sleep either.
What about afternoon workouts?
Afternoon and early evening sessions are the easy middle ground. You have eaten a couple of meals, you are fully awake, and there are several hours for your body to wind down before bed. For many office workers, a session between 4 pm and 7 pm fits naturally after work.
The main risk with afternoon training is caffeine. A pre-workout drink at 4 pm can stay in your system well into the night. A 2013 study found 400 mg of caffeine taken 6 hours before bed still disrupted sleep. If you train after work, try a caffeine-free session, or keep your last coffee before lunch.
How much exercise do you need to sleep better?
You do not need marathon sessions. The 2015 meta-analysis found that the sleep benefits of exercise depended partly on duration and on adherence, meaning how consistently people stuck with it. That points to a simple rule. Pick a session length you can repeat every week for months, not one you can manage for a fortnight.
For most busy adults, three to four strength sessions a week plus a daily walk is a realistic base. If you are currently inactive, start smaller. Even a short walk after dinner counts as movement, and it is gentle enough not to rev you up before bed. Build from there as the habit sticks.
How do you choose the right workout time for you?
Run a simple two-week test. Keep your training the same and change only the time.
- Pick a slot you can hit at least 3 times a week without cutting into sleep.
- Log your bedtime, wake time and a 1-10 rating of how rested you feel each morning.
- Note how long it takes to fall asleep on training days versus rest days.
- After two weeks, compare. If sleep is the same or better, you have your time.
- If you fall asleep slower on training nights, move the session earlier by an hour or lower the intensity at the end.
Habit tracking makes this test easy to run. The habit tracker in the MBM app lets you log training and sleep habits side by side so you can see what each workout time does to your nights.
Which other habits matter more than timing?
If your sleep is poor, workout timing is rarely the main cause. Check these first:
- A steady wake time, 7 days a week.
- At least 7 hours in bed, as recommended by the American Academy of Sleep Medicine and Sleep Research Society for adults.
- Caffeine kept to the morning.
- Alcohol kept light and early.
- A cool, dark bedroom and a screen-free last 30 minutes.
If you have tried all of this and still struggle to fall or stay asleep most nights, see your GP. Insomnia and sleep apnoea are common, and exercise alone may not be enough to fix them.
Common questions
Is it bad to work out right before bed?
Light activity like walking, stretching or easy mobility is fine before bed. Vigorous sessions that end within an hour of bedtime may make it harder to fall asleep for some people. Give yourself at least an hour, and longer after very hard training.
Does exercise help with insomnia?
Regular exercise improves sleep quality and how quickly people fall asleep, according to a 2015 meta-analysis. It can be part of managing insomnia, but ongoing insomnia should be assessed by a GP, who may recommend other proven treatments.
How long after exercise can I sleep?
After light or moderate exercise, most people can sleep soon after. After very hard training, aim for at least an hour, and ideally 2 or more, before bed so your heart rate and body temperature can settle.
Is yoga at night good for sleep?
Gentle, low-intensity movement in the evening is unlikely to hurt sleep, and many people find a calm routine helps them wind down. Keep it relaxed rather than turning it into a hard workout.
Sources
- Kredlow et al. (2015), Journal of Behavioral Medicine - The effects of physical activity on sleep: a meta-analytic review
- Stutz, Eiholzer & Spengler (2019), Sports Medicine - Effects of evening exercise on sleep: systematic review and meta-analysis
- Frimpong et al. (2021), Sleep Medicine Reviews - Evening high-intensity exercise and sleep: systematic review and meta-analysis
- Drake et al. (2013), Journal of Clinical Sleep Medicine - Caffeine effects on sleep taken 0, 3, or 6 hours before bed
- Watson et al. (2015), Sleep - Recommended amount of sleep for a healthy adult (AASM/SRS consensus)
Ready to apply this to your own program?
MBM builds 1:1 coaching programs around the exact principles above - weekly check-ins, weekly adjustments, and a plan that fits your life.