Exercise Timing Optimizer

Find the best time to exercise for sleep. Enter your chronotype and workout details — get personalized exercise windows ranked by sleep impact, backed by circadian science.

30 sec Stutz et al. 2019 meta-analysis Chronotype-aware

Your details

Results update instantly as you change any input.

Your exercise windows across the day

Color-coded by sleep impact for your chronotype. Hover segments for details.

Optimal — best for sleep Acceptable — minor impact Avoid — high disruption risk Sleep window

The science of exercise timing and sleep

Exercise timing interacts with sleep quality through four primary physiological pathways: core body temperature, adenosine pressure, cortisol rhythm, and circadian phase shifting. Core body temperature follows a predictable 24-hour arc — rising through the morning, peaking between 4:00 and 6:00 PM, then declining toward sleep onset. Exercising near this peak amplifies the subsequent temperature drop, which is one of the brain's primary signals to initiate sleep. The post-exercise cooling effect can deepen NREM slow-wave sleep in the first two cycles of the night — exactly the sleep most critical for physical recovery.

Chronotype profoundly modulates these windows. A lion's cortisol awakening response peaks around 6:00 AM, making morning exercise energizing and performance-boosting. A wolf's cortisol peak arrives 2–3 hours later; forcing a 6:00 AM run on a wolf's system means exercising during their cortisol trough and melatonin tail — a recipe for poor output and disrupted daytime alertness. Dolphin chronotypes, who show fragmented sleep patterns tied to heightened arousal, benefit from exercise that burns excess sympathetic energy but must be especially vigilant about the 90-minute pre-bed cutoff.

Latest safe finish = Bedtime − recovery buffer (varies by intensity)
HIIT: 90 min buffer · Cardio: 60–90 min · Strength: 60 min · Yoga: 30 min (may improve onset)

Testosterone and growth hormone timing add a further layer for strength athletes. Testosterone peaks in the morning (highest between 7:00–10:00 AM), and strength training during this window maximizes anabolic response. Growth hormone is primarily secreted during slow-wave sleep in the first 90-minute cycle — meaning an evening strength session that deepens NREM sleep can increase nightly GH output, creating a positive performance loop. A 2005 review by Youngstedt across 38 controlled studies found that acute exercise consistently produced significant improvements in total sleep time and slow-wave sleep, with effect sizes growing with exercise duration and intensity — up to the disruption threshold.

ChronotypeCortisol peakMelatonin onsetOptimal windowLatest HIIT cutoff
Lion5:00–7:00 AM~8:00 PM6:00–8:00 AM7:30 PM
Bear7:00–9:00 AM~10:00 PM3:00–6:00 PM9:00 PM
Wolf9:00–11:00 AM~12:00 AM5:00–8:00 PM10:30 PM
DolphinVariableVariable4:00–6:00 PM8:30 PM
Youngstedt, S.D. (2005). Effects of exercise on sleep. Clinics in Sports Medicine, 24(2), 355–365.
Stutz, J., Eiholzer, R., & Spengler, C.M. (2019). Effects of evening exercise on sleep in healthy participants: A systematic review and meta-analysis. Sports Medicine, 49(2), 269–287.

Frequently asked questions

What is the best time to exercise for sleep?

The best time to exercise for sleep depends on your chronotype, but the broadest research consensus points to late afternoon — roughly 3:00–6:00 PM — as the sweet spot for most people. This window aligns with the body's natural core temperature peak, which occurs 4–6 hours before the circadian-driven temperature drop that initiates sleep onset. Exercising when body temperature is already elevated allows you to push harder, recover faster, and then benefit from the accelerated temperature decline afterward, which promotes deeper slow-wave sleep. Stutz et al. (2019) meta-analysis of 23 studies confirmed that vigorous evening exercise does not impair sleep in most people when scheduled at least 90 minutes before bed.

Morning exercise carries its own advantages, particularly for lion chronotypes (natural early risers), whose cortisol peaks arrive earlier and make morning sessions feel energizing rather than depleting. A 2019 study in the Journal of Physiology found that exercise at 7:00 AM shifted circadian rhythms earlier (helpful for owls trying to advance their schedule), while evening exercise at 7:00 PM shifted rhythms later — meaning exercise timing can also be used as a deliberate chronotherapy tool. The calculator above combines chronotype data with exercise type to give you a personalized window ranked by suitability.

Does working out before bed hurt sleep quality?

Working out before bed has a nuanced relationship with sleep that depends heavily on exercise intensity, individual chronotype, and how close to bedtime the workout ends. The conventional wisdom that all evening exercise disrupts sleep is now largely considered outdated. The landmark meta-analysis by Stutz et al. (2019) — which reviewed 23 controlled studies totaling over 1,000 participants — found that moderate-intensity exercise ending at least 1 hour before bed did not significantly impair sleep onset, total sleep time, or sleep efficiency. In fact, many participants showed improved slow-wave (deep) sleep after moderate evening exercise.

Where the evidence does support caution is with vigorous, high-intensity exercise within 60 minutes of bedtime. This can elevate heart rate, core body temperature, and sympathetic nervous system activity (adrenaline, noradrenaline) to levels that compete with the physiological cooling and parasympathetic shift required for sleep onset. Wolf chronotypes (natural night owls) show the most resilience to late-night sessions — their cortisol and melatonin rhythms are phase-delayed, meaning their bodies haven't yet begun the sleep-preparatory cascade at 10:00 PM when a morning-type person's system is already winding down. The practical rule: finish intense cardio or HIIT at least 90 minutes before your target bedtime; yoga, stretching, or light strength work can go closer.

Is morning or evening exercise better for sleep?

Neither morning nor evening exercise is universally superior for sleep — chronotype is the dominant moderating variable. For lion chronotypes (early risers), morning exercise aligns with their cortisol peak, produces higher performance output, and supports their natural tendency toward early sleep onset. For wolf chronotypes (night owls), forced morning exercise often occurs during a cortisol trough and melatonin tail, resulting in subpar performance and sometimes increased post-workout fatigue that paradoxically disrupts daytime alertness. A 2019 study in the Journal of Physiology specifically showed that morning exercise (7:00 AM) advanced circadian phase — beneficial for owls wishing to normalize their schedule — while evening exercise (7:00 PM) delayed phase, which suits wolves who need to stay alert later.

From a pure sleep architecture standpoint, evening exercise has one distinct advantage: the post-exercise core temperature drop, which occurs 30–90 minutes after a workout ends, closely mirrors the circadian temperature decline that drives sleep onset. If timed correctly, this produces a double-dip cooling effect that can meaningfully shorten sleep onset latency and increase slow-wave sleep in the first two cycles of the night. Youngstedt (2005) reviewed multiple studies and found that acute exercise consistently improved sleep quality, with evening exercisers showing particularly robust increases in NREM slow-wave sleep — the most restorative stage. The key is ending the session at the right time relative to your chronotype's melatonin onset.

Can HIIT before bed disrupt sleep?

HIIT (high-intensity interval training) before bed is the exercise modality most likely to disrupt sleep when scheduled too close to lights-out. HIIT drives a pronounced sympathetic nervous system response — heart rate can reach 85–95% of maximum, catecholamine (adrenaline, noradrenaline) secretion spikes sharply, and core body temperature can rise by 1.5–2°C. All three of these physiological changes are antithetical to sleep initiation, which requires parasympathetic dominance, heart rate deceleration, and a falling core temperature. The Stutz et al. (2019) meta-analysis specifically noted that studies including vigorous-intensity exercise within 60 minutes of bedtime showed the highest probability of sleep disruption — including delayed sleep onset and reduced slow-wave sleep depth.

That said, HIIT is not completely off the table for evening exercisers. Wolf chronotypes with late-shifted melatonin onset (often after midnight) can comfortably complete a HIIT session at 9:00 PM and still have a 2–3 hour buffer before their actual sleep window opens. Additionally, individuals who are highly fit tend to clear catecholamines and normalize heart rate more rapidly post-exercise, reducing the disruptive window. A practical rule: if your target bedtime is 11:00 PM, end HIIT by 9:00 PM — giving 90 minutes minimum. Substitute with yoga, bodyweight flow, or light resistance training if you must exercise within 60 minutes of sleep. This calculator flags HIIT sessions within the danger zone and suggests safer alternatives.

How does exercise timing affect sleep quality?

Exercise timing affects sleep quality through four primary physiological pathways: core body temperature regulation, adenosine accumulation, cortisol rhythm modulation, and circadian phase shifting. Exercise raises body temperature, and the subsequent post-exercise cooling — accelerated by blood vessel dilation and sweating — mimics and amplifies the natural circadian temperature drop that signals the brain to initiate sleep. Research by Horne and Staff (1983) showed that hot baths in the evening improved slow-wave sleep specifically because of this same cooling mechanism. Exercise also accelerates adenosine buildup (the chemical that creates sleep pressure), potentially deepening NREM sleep. Youngstedt (2005) reviewed over 30 studies and found consistent improvements in total sleep time, sleep efficiency, and slow-wave sleep in regular exercisers, with acute sessions showing benefits on the same night.

Testosterone and growth hormone rhythms add another layer of timing complexity. Testosterone peaks in the early morning hours (around 6:00–8:00 AM for most chronotypes) and strength training during this window maximizes anabolic response. Growth hormone secretion, however, is strongly linked to slow-wave sleep in the first third of the night — meaning evening strength sessions that deepen NREM sleep can actually increase nightly growth hormone output, creating a positive feedback loop between exercise timing and sleep quality. The calculator incorporates workout type: cardio and HIIT are primarily scored against the temperature and sympathetic nervous system window, while strength training also factors in testosterone peak timing by chronotype to give you the highest-yield recommendation for your goals.

How long before bed should you stop exercising?

The evidence-based recommendation is to stop vigorous exercise at least 90 minutes before your target bedtime. This buffer allows core body temperature to begin its post-exercise descent, heart rate to return within 20 beats per minute of resting baseline, and catecholamine (adrenaline) levels to clear sufficiently for parasympathetic recovery. The Stutz et al. (2019) meta-analysis — the most comprehensive review of this question to date, covering 1,000+ participants across 23 studies — found that the negative effects of vigorous evening exercise on sleep were largely confined to sessions ending less than 60 minutes before bed, and that the 90-minute cutoff essentially eliminated sleep disruption across chronotypes.

The cutoff is intensity-dependent and chronotype-modulated. Moderate-intensity exercise (brisk walking, cycling at 60–70% max heart rate, lighter strength training) can safely end 60 minutes before bed for most chronotypes. Gentle exercise — yoga, stretching, tai chi, walking — can be performed 30 minutes before bed and has been shown to improve sleep onset in some populations, particularly older adults and those with insomnia (Halpern et al., 2014). Wolf chronotypes with late-shifted circadian timing can compress these cutoffs by 20–30 minutes given their delayed melatonin onset. The timeline visualization in the calculator above translates your chronotype and workout type into a color-coded exercise window: green means safe, amber means finish up soon, red means high disruption risk for your profile.