Working Out Before Bed: Does It Wreck Your Sleep?

Most evening workouts don't hurt sleep. Hard sessions close to bed are the risk. What three big studies found, and a timing guide by type of workout.

N
NSDR.co
11 min read
Working Out Before Bed: Does It Wreck Your Sleep?

Working out before bed is fine for most healthy adults. The risk is hard exercise close to the time you fall asleep. Lab trials found little harm unless a vigorous session ended within about an hour of bed. A year-long study of nearly 15,000 adults wearing fitness trackers was stricter. Harder, later sessions went with later and shorter sleep, and the authors report no link with sleep for sessions that ended 4 or more hours before sleep, though their detailed tables still show small differences of a few minutes.

In practice, finish hard sessions about 4 hours before you plan to sleep when you can, and keep anything later on the light side. This guide shows what each study found, gives you a timing guide by type of workout, and covers what to do if late evening is the only time you can train. This is general information, not medical advice. NSDR is not a treatment for any condition.

Is it bad to work out before bed?

Usually not. Three bodies of evidence look at working out before bed, and they don't fully agree.

StudyWhoWhat they measuredWhat they foundThe limit
Stutz et al. 2019, review of 23 lab studiesHealthy adultsSleep after one evening session vs a night with no exerciseNo harm overall, and slightly more deep sleep. Vigorous exercise ending within an hour of bed might delay and shorten sleepSingle sessions in a lab, mostly light or moderate effort
Frimpong et al. 2021, review of 15 trials194 healthy adults aged 18 to 50, good sleepersSleep after hard evening exerciseSessions ending half an hour to 4 hours before bed caused a small drop in the proportion of REM sleep (reported as 2.34%) and nothing else. Sessions ending 2 to 4 hours before bed didn't disrupt sleepSmall samples, single sessions
Leota et al. 2025, one year of tracker data14,689 physically active adults, average age 38, about three in four menSleep, night-time heart rate and heart rate variability after real workouts, just over 4 million nightsLater, harder sessions went with later sleep, shorter sleep and lower sleep quality. The authors report no link when sessions ended 4 or more hours before sleep, whatever the effort, though their tables show small differences of a few minutes at the 4-hour markObservational, so it can't show cause; WHOOP users only; two authors work for WHOOP

Why the gap? The lab studies averaged about 12 people each, and by the tracker study authors' count, 82% of the studies in the earlier reviews would rate as light or moderate. The tracker study saw real life, including long runs and matches that lab trials rarely test.

The tracker study picked up effects the small trials may have missed. Compared with a light session, a maximal one ending 2 hours before people's usual sleep time went with falling asleep about 36 minutes later and sleeping about 22 minutes less. But it's observational. It shows what went together, and it couldn't account for things like bright gym lighting.

Put together, most evening exercise doesn't hurt sleep, and the harder and later the session, the more likely it is to push sleep back.

How close to bed is too close?

It depends on how hard the session is. The NHS gives a quick test for effort. At moderate intensity you can still talk, but not sing. At vigorous intensity you can't say more than a few words without pausing for breath.

This table is our reading of the studies above, not a result from any one of them. Use it as a guide and adjust to how you sleep.

Type of sessionExamplesWhen to finishWhy
Very gentleSlow stretching, easy yoga, a strollAny time in the eveningNot measured in these studies; it's gentler than the lightest sessions the tracker study counted
LightBrisk walk, slow jog, an easy zone 2 rideAbout 2 hours before sleepLight or moderate sessions ending more than about 2 hours before people's usual sleep time looked much like rest days
ModerateA gym class, a steady 5-mile run, a typical weights session2 hours at least, more if it runs longSame 2-hour finding; longer sessions build up more strain
HardIntervals, a long hard run, a match, heavy lifting to failureAbout 4 hours before sleep if you canThe tracker study authors report no link with sleep when sessions ended 4 or more hours before sleep, with only small differences in their tables. Lab trials found little harm at 2 to 4 hours
The last hourAnything vigorousAvoid itThe one window where the lab review warns sleep might suffer

The 4-hour figure isn't only from the tracker study. The NHS insomnia page gives the same number, and says not to exercise in the 4 hours before bed. That advice is aimed at people who already sleep badly. If you sleep well, the lab evidence gives you more room.

Most of the examples come from the tracker study's own effort bands, which counted a brisk walk as light, a gym class as moderate and a half marathon as maximal.

Why hard exercise might delay sleep

Falling asleep goes with your heart rate and body temperature coming down. A hard session pushes both up, and the harder it is, the longer the heart takes to settle back.

The tracker study saw this in its sleep data. After harder and later sessions, resting heart rate during sleep was higher and heart rate variability was lower. The authors think that slower settling is why sleep came later and was poorer.

A small lab study shows the same pattern. Eleven fit adults cycled to exhaustion at about 9pm, finishing a little over 2 hours before bed. Their sleep quality, measured with a wrist device and by their own ratings, didn't change. Their heart rate stayed higher through the night, most of all in the first three hours.

Temperature may matter too. In the 2019 review, a higher body temperature at bedtime went with less efficient sleep and more time awake in the night, and so did a session that was hard relative to what the person usually did. Those links were fragile. They disappeared when one study was taken out.

If you can only train late

You don't need to stop. A few changes help.

Make the late session the easier one. Save intervals and maximal efforts for days you can train earlier. A steady session at an effort where you can still talk is the safer late option. If most of your training is easy, our guide to zone 2 cardio explains how to pitch it.

Watch the caffeine. Pre-workout drinks and late coffees carry caffeine, and caffeine's half-life averages about 4 hours in healthy adults, with a range of 2 to 8. A late pre-workout drink is a caffeine problem as much as an exercise one. The tracker study authors also point out that what people eat and drink around a session, including caffeine and alcohol, can affect sleep on its own. The caffeine half-life guide has the timings.

Cool down, then cool the room. Finish with five easy minutes and some gentle stretching rather than stopping dead. Keep the bedroom on the cool side; our sleep temperature guide covers the ranges and when a warm shower before bed helps.

Give yourself a quiet 10 minutes. Dim the lights, put the phone down and let your breathing slow. A longer out-breath is an easy place to start: breathe out for a little longer than you breathe in. Never practise breathwork in water or while driving. If you'd like a voice to follow instead, a short guided wind-down works well.

Be clear about what that can and can't do. A PubMed search on 31 October 2026 found no trial that tests a guided rest session after a late workout. For sleep, the evidence is early. Small trials of yoga nidra, the older practice NSDR grew out of, mostly report better sleep measures, but a 2026 meta-analysis rated the certainty of that evidence very low. None of the four NSDR trials tested a bedtime session, and NSDR does not replace sleep. Our page on NSDR for sleep goes through those trials.

The cortisol timing guide makes a similar case for moving hard training earlier in the day, and if late sessions are piling up on top of a heavy week, check the signs of overtraining.

Can an evening workout help you sleep?

A little, on average. In the 2019 review, people got slightly more slow-wave sleep, the deepest stage, after an evening session. The gain was 1.3 percentage points, with a little less of the lightest stage. That's a small change, and it came from single sessions in the lab.

The bigger case for exercise and sleep is about doing it regularly, at whatever time suits you. Our guide to deep sleep covers that research, and exercise and dopamine covers why a workout can lift your mood. If you're still awake long after a session, the guide to falling asleep has more to try.

Signs to stop and get help

Stop exercising and get help if you notice any of these during or after a workout. The NHS says to call 999 if:

  • you get sudden pain or discomfort in your chest that does not go away, which can feel like squeezing, pressure, burning or indigestion
  • the pain spreads to your arm, neck, jaw, stomach or back
  • you have chest pain and feel sweaty, sick, light-headed or short of breath
  • your heart is racing or pounding and it doesn't go away, or it comes with chest pain, shortness of breath or feeling faint (call 999 or go to A&E)

Strenuous exercise is a common cause of a noticeable heartbeat. See a GP if palpitations keep coming back or last longer than a few minutes.

If you sleep badly on most nights, whatever you do in the evening, that's a sleep problem more than a workout problem. For ongoing sleep problems, CBT-I (cognitive behavioural therapy for insomnia) is the recommended first treatment. Ask your GP. If you're struggling, talk to your GP. UK: Samaritans 116 123. US: 988.

This is general information, not medical advice. NSDR is not a treatment for any condition.

FAQ

Is 9pm too late to work out?

Working out at 9pm is fine for most people if the session is easy or moderate and you sleep at 11pm or later. A hard session at 9pm is closer to the line. In the tracker study, the authors report no link with sleep for sessions that ended 4 or more hours before sleep, and harder sessions inside that window went with later, shorter sleep. If 9pm is your only slot, keep it steady and finish with a cool-down.

Is it okay to exercise 3 hours before bed?

Yes, for most sessions. Working out before bed with a 3-hour gap is fine for light and moderate exercise, which looked like rest days in the tracker study when it ended more than about 2 hours before sleep. A review of hard evening exercise found that sessions ending 2 to 4 hours before bed didn't disrupt sleep. For very hard sessions, 4 hours is the safer buffer.

What is the healthiest time to work out?

The healthiest time to work out is the one you'll keep doing. The sleep question is a narrow one, and it only really matters for hard sessions late in the evening. Morning, lunchtime and early evening are all fine for sleep.

Why can't I sleep after a workout?

Hard exercise raises your heart rate and body temperature, and both need to come down before sleep comes easily. After harder, later sessions, the tracker study found a higher resting heart rate through the night. Caffeine from a pre-workout drink or an afternoon coffee can add to it. Try an easier late session, a proper cool-down and a quiet 10 minutes before bed.

Is lifting before bed bad?

The same rule applies. What counts is how hard the session is and how close it ends to sleep. The data on lifting is thinner than for cardio. The big tracker study measured effort by heart rate, which its authors say may underrate strength training. A normal weights session finished a couple of hours before bed is unlikely to be a problem. Heavy sessions to failure are better moved earlier when you can.

What exercises can I do in bed before sleeping?

A few slow stretches, or lying still and lengthening your out-breath. Nothing that gets you out of breath.

Sources