>

>

Is it bad to work out right before bed?

>

>

Is it bad to work out right before bed?

>

>

Is it bad to work out right before bed?

Is it bad to work out right before bed?

For most people, no. Evening exercise doesn’t wreck sleep, but very hard workouts that end within about an hour of bedtime are the exception.

A runner in silhouette on a wet road at dusk, with a glowing sky ahead

Key takeaways

  • For most people, an evening workout is fine for sleep. A 2019 review of 23 studies found that exercise in the evening didn’t harm sleep in healthy adults, and some measures moved slightly in the right direction.

  • The exception is hard exercise close to bedtime. The same review said falling asleep, total sleep time, and sleep efficiency might suffer after vigorous exercise that ends an hour or less before bed.

  • Hard sessions fit better earlier. Reviews found no disruption when a vigorous workout ended 2 to 4 hours before bed, and easy sessions close to bedtime haven’t been tested head to head, so treat them as a reasonable guess.

  • Some people are more sensitive than others. Large wearable-device data shows later and harder workouts linked to later sleep and a higher resting heart rate overnight, and averages can hide individual differences.

  • Watch the caffeine. A standard pre-workout serving in one review held about as much caffeine as two cups of coffee, and the researchers advise leaving many hours before bed.

The short answer

For most healthy adults, working out in the evening won’t ruin your night. Researchers have tested this many times, and the old advice to never exercise near bedtime hasn’t held up well. The one real caution is very vigorous exercise that finishes within about an hour of lying down. That’s where a major review and one large wearable study flagged possible trouble falling asleep.

Regular exercise helps sleep, whatever time of day you do it. The CDC lists better sleep among the benefits of being physically active. So if the evening is the only slot you have, an evening workout is better than none.

What the biggest review found

The anchor study is a 2019 systematic review and meta-analysis by Stutz, Eiholzer, and Spengler in Sports Medicine. They searched five databases and pooled 23 studies of a single evening exercise session compared with no exercise in healthy adults.

Compared with the no-exercise nights, evening exercise delayed REM sleep (the dreaming stage) by about 7.7 minutes, added 1.3 percentage points of slow-wave sleep (the deepest stage), and trimmed light stage 1 sleep by 0.9 percentage points. The authors concluded that the evidence doesn’t support the idea that evening exercise harms sleep, and if anything it pointed the other way.

They did flag one exception. Falling asleep, total sleep time, and sleep efficiency might be worse after vigorous exercise ending an hour or less before bed. Higher exercise strain was also linked to lower sleep efficiency and more time awake in the night. The authors worded the one-hour caution as “might,” so it’s a caution, not a firm finding, and the strain and temperature links disappeared when one study was removed. The review covered only healthy adults, so it says little about people with insomnia or other sleep problems.

What other studies add

Other studies point the same way.

  • High-intensity workouts. A 2021 meta-analysis of 15 trials with 194 healthy adults found that hard evening exercise ending 0.5 to 4 hours before bed cut REM sleep by 2.34%, with no other significant change. It concluded that high-intensity exercise 2 to 4 hours before bed doesn’t disrupt sleep in healthy young and middle-aged adults.

  • Comparing intensities. A 2022 network meta-analysis of 28 studies with 325 participants found no significant differences between intensities, apart from a small drop in REM sleep after high-intensity exercise. Moderate exercise ranked best, though the gains over no exercise were small.

  • A tough session, two hours out. In a 2011 lab study, 11 fit young adults cycled to exhaustion about 2 hours 13 minutes before bed. Their sleep quality didn’t suffer, but their heart rate during sleep was a few beats higher, mostly in the first three hours.

  • Everyday Americans. A 2013 National Sleep Foundation poll of 1,000 adults found that people who exercised moderately or vigorously in the evening didn’t report worse sleep than people who didn’t exercise. Morning vigorous exercisers reported the best sleep, though a survey can’t show that timing is the reason.

Where the warning comes from

The worry is that hard exercise leaves the body revved up. A lab study of 11 adults found a higher heart rate during the first hours of sleep after a hard evening ride, even when sleep itself looked normal, so the body may stay more active for a few hours. In the 2019 review, a higher body temperature at bedtime was linked to lower sleep efficiency, though that finding also vanished when one study was removed. Our post on the best bedroom temperature covers how the body cools for sleep.

A 2025 study in Nature Communications used wearable data from 14,689 physically active adults across more than 4 million nights. Later and higher-strain exercise was linked to later sleep onset, shorter sleep, a higher resting heart rate overnight, and lower heart rate variability, a sign of how relaxed the body is. Compared with light exercise, maximal-strain exercise ending two hours before usual sleep onset was linked to sleep starting about 36 minutes later and lasting about 22 minutes less. The authors reported no association with sleep when exercise ended four or more hours before sleep.

It was observational, so it can’t prove the workouts caused the changes. The people were mostly men and already active, and two authors worked for the company that makes the wearable. It also didn’t track caffeine or alcohol.

Strength, cardio, yoga, and morning workouts

A 2024 lab study of 16 young adults compared 30 minutes of resistance exercise with 30 minutes of endurance exercise, both starting an hour before bed. Sleep efficiency was lower after both, and sleep recordings showed more signs of arousal after the endurance session, along with higher cortisol (a stress hormone). The authors didn’t call the changes harmful and asked for larger studies.

The trials above didn’t test yoga or gentle stretching as a pre-bed workout. A slow session probably raises your heart rate far less than a sprint, but that’s a guess, not a finding.

What about mornings? A 2026 review in Sleep Medicine Reviews of 25 studies found no clear overall advantage for morning over evening exercise for most sleep measures. Evening exercise was linked to a modest rise in time awake after first falling asleep, though the authors said to interpret that with caution because of small-study effects, and the differences were larger at higher intensities. An earlier 2025 meta-analysis found no difference in time to fall asleep between morning and evening workouts, although only five of its studies measured sleep. Both reviews call for flexible timing based on what suits the person.

What counts as vigorous

The CDC’s talk test is the standard guide. During moderate activity, you can talk but not sing. During vigorous activity, you can’t say more than a few words without pausing for breath. Brisk walking is moderate, while running is vigorous.

If you’re gasping, you’re in the zone the research flags for the last hour before bed.

How to tell if you’re sensitive

The studies mostly report averages, so some people may react more than others. A few ways to find out.

  • Run your own test. Keep your evening workouts the same for a week or two and note how long it takes to fall asleep and how you feel in the morning. Then move the workout earlier and compare. If you wake up tired despite a full night, our post on whether everyone needs 8 hours covers why needs differ.

  • Check your wearable, but gently. A higher overnight heart rate after late hard sessions matches what the studies found, though a tracker can’t tell you how you slept.

  • Change one thing at a time. Move the hardest session to the afternoon, or make the evening one easier, and leave the rest alone.

Caffeine and pre-workout supplements

Caffeine can cost you sleep on its own. A 2023 meta-analysis of 24 studies found that caffeine reduced total sleep time by 45 minutes and sleep efficiency by 7%. The authors calculated that a cup of coffee (107 mg per 250 mL) should be consumed at least 8.8 hours before bed, and a standard serving of pre-workout supplement (217.5 mg of caffeine) at least 13.2 hours before bed, to avoid losing sleep time.

That means a pre-workout scoop at 7 p.m. can interfere with sleep even if the workout itself doesn’t. Check the label for the caffeine content, and consider skipping the stimulant for evening sessions. Our post on how late you can drink coffee goes through the timing in more detail.

What to do

  • Keep hard sessions earlier. Aim to finish vigorous workouts at least 2 to 4 hours before bed, which is where the reviews found no disruption.

  • Keep late workouts easier. Walking, yoga, and stretching are gentler choices in the last hour or two, though they haven’t been tested head to head against harder sessions.

  • Cool down. A few minutes of slow movement lets your heart rate come down. No trial here tested a cooldown, so this is a low-risk habit with no proof behind it.

  • Skip the stimulants. Leave out pre-workout caffeine for evening sessions.

  • Keep exercising. The WHO recommends at least 150 minutes of moderate-intensity activity a week for adults, and the CDC adds muscle-strengthening on 2 or more days a week.

If you often can’t fall asleep or stay asleep, or you feel unrefreshed no matter when you exercise, talk to a doctor about it.

Frequently asked questions

Can I exercise 30 minutes before bed?

Studies haven’t tested gentle sessions like stretching or an easy walk this close to bed, so there’s no evidence of harm, but no proof either. A hard one is what the research flags for possible trouble falling asleep.

How long before bed should I stop exercising?

For vigorous exercise, aim for at least 2 to 4 hours. A 2021 meta-analysis found no disruption at 2 to 4 hours, and the 2025 wearable study reported no association at 4 hours or more. The 2019 review flagged only vigorous exercise ending within about an hour of bed.

Does working out at night make you tired or wired?

It can be either, depending on the person and how hard the session was. Pooled trials show a little more deep sleep after evening exercise, while hard efforts close to bed raise heart rate in the first hours of sleep.

Is morning exercise better for sleep than evening exercise?

Not clearly. A 2026 review found no overall advantage for mornings on most sleep measures, with modest differences at higher intensities. The NSF poll found morning vigorous exercisers reported the best sleep, but a survey can’t show cause. Both reviews favor flexible timing.

Is lifting weights at night bad for sleep?

There’s little evidence that it is. In the 2024 lab study, a 30-minute resistance session an hour before bed lowered sleep efficiency a little, but unlike the endurance session, it didn’t raise cortisol.

Do I need to cool down before bed after working out?

None of the studies above tested a cooldown for sleep. Slow movement is a low-risk way to wind down, and it’s reasonable to try it and see.

The Curious Sleeper

Plain-language answers to the sleep questions people actually ask, plus a look at the old wives’ tales.

© 2026 The Curious Sleeper. All rights reserved.

The Curious Sleeper

Plain-language answers to the sleep questions people actually ask, plus a look at the old wives’ tales.

© 2026 The Curious Sleeper. All rights reserved.

The Curious Sleeper

Plain-language answers to the sleep questions people actually ask, plus a look at the old wives’ tales.

© 2026 The Curious Sleeper. All rights reserved.