To support the global restart of elective surgery, data from an international prospective cohort study of 8492 patients (69 countries) was analysed using artificial intelligence (machine learning techniques) to develop a predictive score for mortality in surgical patients with SARS-CoV-2. We found that patient rather than operation factors were the best predictors and used these to create the COVIDsurg Mortality Score (https://covidsurgrisk.app). Our data demonstrates that it is safe to restart a wide range of surgical services for selected patients.