Background:Recovery and rehabilitation following surgery can take many months. Understanding what patients can do to facilitate recovery would be beneficial for spinal surgeons. This study sought to evaluate the impact of exercise practice, before and after surgery, on long-term outcomes of spine surgery in a robust clinical sample.Methods:This prospective longitudinal cohort study included adult patients undergoing spinal surgery for degenerative spinal conditions. Patients were administered a survey that included preoperative and postoperative exercise practices and the following patient-reported outcome measures: the physical component score (PCS) and mental component score (MCS) of the Medical Outcomes Study 36-Item Short Form Survey (Rand-36), the Oswestry Disability Index (ODI) score, the Numeric Rating Scale (NRS) score for pain and the Patient-Reported Outcome Measurement Information System (PROMIS) Pain Interference Short Form score. Random effects models investigated the relationship of exercise, follow-up time and their interaction in predicting each patient-reported outcome measure over time, with and without sociodemographic covariates.Results:There were 168 patients in the study sample with up to 12 months of follow-up data. Analysis revealed modest significant main effects of exercise on PCS, MCS, ODI and PROMIS scores and main effects of time on all outcomes. The exercise-by-time interaction was significant in predicting the trajectories of the ODI and MCS scores. When full models were adjusted for education and employment status, interaction effects were no longer significant, but exercise main effects remained significant for ODI score.Conclusion:Patients who engage in exercise before and after spine surgery have better mental health and spine-specific recovery trajectories than those who do not. All health care providers should encourage patients to exercise while they are waiting for surgery within preoperative limitations and as soon as they are able after surgery and to continue this over the long term.