Rest

Exercising at night: does it affect your sleep?

Does exercising at night affect your sleep? What a meta-analysis of 23 studies found, when a late session might keep you awake and how to plan your evening.

Written by the Nutri Gains teamReviewed by S. Vernet, founder

Updated 4 min read4 scientific sources

Woman in her late twenties stretching on a mat in her living room at night.

In 30 seconds

  • A meta-analysis of 23 studies did not find that evening exercise worsened sleep in healthy people.
  • The exception: a hard effort that finishes less than an hour before bed.
  • What usually costs you the most sleep when you train late is not the exercise but the caffeine in your pre-workout.
  • Leave time for your heart rate to come down, have dinner and get the bedroom ready for sleep.

Work, family, errands… and the only slot left for training is 9 pm. Will it be harder to fall asleep? What the studies say is more reassuring than people tend to think.

The meta-analysis

23 studies on evening exercise and sleep

23 studies on evening exercise and sleep275 peoplewho were healthy andslept well87 minof exercise, on average1.8 hbetween the end of exercise and bedtime
Mostly cycling or running. Time to fall asleep, total sleep time and night-time awakenings did not change overall 1.

What the meta-analysis says

A review of 23 studies with 275 healthy people who slept well looked at what happened to their sleep when they exercised in the evening, mostly cycling or running, for about 87 minutes on average and finishing about 1.8 hours before going to bed 1:

  • Time to fall asleep: no change overall.
  • Total sleep time: no differences.
  • Night-time awakenings: no change.

The authors conclude that training in the evening does not appear to worsen sleep 1.

What changes within your sleep

If anything changed, it was for the better: a little more deep sleep and a little less light sleep 1.

What changed in sleep after evening exercise
MeasureWith exercise, compared with no exercise
Deep sleep (slow-wave stage)+1.3 points as a share of the night
Lighter sleep (stage 1)−0.9 points
Time to the first REM sleep+7.7 minutes
Time to fall asleep, total sleep time and night-time awakeningsNo change overall

Source: Stutz et al., 2019 (meta-analysis of 23 studies with healthy people).

The authors also saw two factors linked to less efficient sleep with more awakenings: going to bed with your body temperature still high and doing exercise that is much harder than you are used to. These effects are not robust, as they relied on a single study, but they offer a practical pointer: give yourself time to cool down before getting into bed 1.

Time before bed

How much time to leave between training and bed

How much time to leave between training and bedPoorer sleep if it was intense00.511.52 hStudy average: 1.8 h
Hours between the end of exercise and going to bed. Some studies saw poorer sleep when an intense effort finished less than an hour before 1.

The exception: hard and very late

Some studies did find poorer sleep when intense exercise finished less than an hour before going to bed. The most likely explanation is that the body and heart do not have time to calm down 1.

What activity wristbands show

A 2025 study followed 14,689 active people for a year with a wristband that measured their exercise and sleep: more than 4 million nights 4. The later and harder the exercise, the later they fell asleep, the less they slept and the poorer their sleep quality, and their night-time heart rate was higher and their heart rate variability lower 4.

The most useful finding: exercise that ended at least 4 hours before falling asleep was not linked to any change in sleep, whatever its intensity. That is why the authors suggest that, if you want to sleep better, you finish with that much time to spare or choose something gentler when you train later 4. It is an observational study, not a trial, but it fits with the meta-analysis: what counts is combining a lot of intensity with very little time to spare.

The real culprit: caffeine

If you train late and take a pre-workout with caffeine, that is where the problem lies. In one study, 400 mg of caffeine taken 6 hours before bed took away more than an hour of sleep, and the participants did not even notice 2. We explain it in caffeine and sleep.

If you train late

How to plan your evening

How to plan your eveningNo caffeine before trainingIdeally, a pre-workout without it.Cool-down and shower5-10 minutes when you finish.A dinner that is not too heavyProtein, some carbohydrates and vegetables.RehydrateWith a little sodium if you have sweated a lot.Get the bedroom readyDark, quiet and cool, with screens kept out ofbed.
If you have sweated a lot, drinking with a little sodium helps you retain what you drink 3.

How to plan your evening

  1. Before training: no caffeine.
  2. When you finish: a 5-10 minute cool-down and a shower.
  3. Dinner: protein, some carbohydrates and vegetables, without it being too heavy. You will find ideas in what to have before bed if you train.
  4. Rehydrate: if you have sweated a lot, drinking with a little sodium helps you retain what you drink 3.
  5. Get the bedroom ready: dark, quiet and cool, with screens kept out of bed.
  6. Your evening routine: we explain which ingredients are backed by studies in sleep supplements if you train.

You will find more habits in our sleep and recovery guide.

See our products

Frequently asked questions

Is it bad to exercise at night?

For most people, no. A meta-analysis of 23 studies with healthy people did not find that evening exercise worsened sleep. The exception is a hard effort that ends less than an hour before going to bed.

How long should you leave between exercise and sleep?

If the session is intense, at least an hour. In the studies analysed, exercise ended on average 1.8 hours before going to bed. In more than 14,000 people tracked with activity wristbands, exercise that ended at least 4 hours earlier was not linked to changes in sleep, whatever its intensity.

Can I take a pre-workout if I train in the evening?

If it contains caffeine, better not: 400 mg taken 6 hours before bed took away more than an hour of sleep in one study. Choose a caffeine-free option.

What should I have for dinner after training in the evening?

A dinner with protein, some carbohydrates and vegetables, without it being too heavy. And rehydrate: if you have sweated a lot, a little sodium helps you retain what you drink.

Does exercising at night change your sleep stages?

Only slightly, and not for the worse. In a meta-analysis of 23 studies, deep sleep increased by 1.3 points and lighter sleep decreased; time to fall asleep, total sleep time and night-time awakenings did not change overall.

Sources

  1. Stutz J, Eiholzer R, Spengler CM. Effects of evening exercise on sleep in healthy participants: a systematic review and meta-analysis. Sports Med. 2019;49(2):269-287. View publication
  2. Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med. 2013;9(11):1195-1200. View publication
  3. Mosler S, Braun H, Carlsohn A, et al. Position of the working group sports nutrition of the German Nutrition Society (DGE): fluid replacement in sports. Dtsch Z Sportmed. 2020;71(7-9):178-184. View publication
  4. Leota J, Presby DM, Le F, Czeisler MÉ, Mascaro L, Capodilupo ER, et al. Dose-response relationship between evening exercise and sleep. Nat Commun. 2025;16(1):3297. View publication

Information based on published studies. It does not replace the advice of a doctor or registered dietitian. The results describe what was measured in each study, not the properties of any specific product. A varied and balanced diet and a healthy lifestyle are important.

Get the next guides

One email when we publish a new guide: what the studies say, how much to take and when. No weekly offers, and your details are never passed on to anyone.

Still have a question?

Ask Max: Max explains how to apply it to your everyday life and which product suits you.