These individuals should exercise at least 1 to 2 hours before going to bed, giving endorphin levels time to wash out and “the brain time to wind down,” she says.
https://www.hopkinsmedicine.org/health/wellness-and-prevention/exercising-for-better-sleep



