Background: Pre-operative cardiorespiratory fitness assessment informs surgical risk stratification, but objective in-hospital assessment is challenging and limited to high-risk cohorts. Wearable devices, already used by millions worldwide, may provide an accessible objective measure for broader surgical populations.Methods: This retrospective cohort study evaluated wearable-derived daily step count as a scalable pre-operative risk marker in 9,187 participants undergoing surgery across UK Biobank (n=5,034) and All of Us (n=4,153). Step counts within 1 year before surgery, stratified by established step count groupings. Outcomes of interest, post-operative complications and hospital length of stay, and covariates were ascertained from linked electronic health record data.Findings: After adjustment for demographic, comorbidity and surgical factors, participants taking <2,500 versus ≥10,000 steps daily had higher odds of 30-day post-operative complications (adjusted odds ratio (aOR), 2.24; 95% CI, 1.47–3.41) and longer hospital stay (adjusted incidence rate ratio (aIRR), 1.74; 95% CI, 1.42–2.14). Those taking 2,500–4,999 steps also had higher complication risk (aOR, 1.46; 95% CI, 1.08–1.97) and longer stay (aIRR, 1.22; 95% CI, 1.09–1.36).Interepretation: These findings support wearable-derived pre-operative step count as an independent, externally validated marker of peri-operative risk. By identifying patients at higher risk of complications and prolonged hospital stay, step count can complement existing pre-operative risk assessment and help target optimisation strategies before surgery.FundingCancer Research UK, National Insititute of Health Researc Oxford BRC, Wellcome Trust [223100/Z/21/Z, 227093/Z/23/Z, 306069/Z/23/Z], GSK, Boehringer Ingelheim, Google, National Institutes of Health’s Oxford Cambridge Scholars Program, EPSRC Centre for Doctoral Training in Health Data Science (EP/S02428X/1), British Heart Foundation Centre of Research Excellence (grant number RE/18/3/34214), Danish National Research Foundation, National Human Genome Research Institute intramural research program (ZIA HG200417).