Abstract Background Existing clinical preoperative risk assessment tools such as the Revised Cardiac Risk Index (RCRI) have been used extensively to predict perioperative major adverse cardiovascular events (MACE). Electrocardiogram (ECG) analysis using Deep Learning can identify hidden features that human eyes cannot identify and might help further risk stratify patients undergoing noncardiac surgery. Objective We aimed to develop a Deep Learning model that predicts perioperative MACE in patients undergoing elective noncardiac surgeries. Methods We included patients ≥ 18-year-old who underwent elective non-cardiac surgery between 2000-2021. MACE was validated in duplicate and were defined as a composite of in-hospital myocardial infarction, cardiac arrest or mortality. A convolutional neural network was developed using ECGs within 30 days before surgery. We randomly split subjects into training, internal validation, and testing datasets in a 7:1:2 ratio. Performance was evaluated using the area under the receiver operator characteristics curve (AUC) values on the testing dataset. Models trained included AI-ECG models to predict in-hospital MACE and to predict in-hospital mortality, and AI-ECG+RCRI models to predict in-hospital MACE and to predict in-hospital mortality. All models were validated using 30-day validated outcomes (MACE or all-cause mortality) in a community-based cohort and were compared with the Revised Cardiac Risk Index (RCRI) score using AUC values. Findings: We included 195,214 patients who underwent a total of 241,999 surgeries. 169,214 ECGs were used in the training dataset, 24,234 in the internal validation dataset, and 48,551 in the testing dataset. In the test cohort, the AI-ECG algorithm discriminated risk for in-hospital MACE with an AUC of 0.82 (95% CI 0.79-0.85). The algorithm similarly discriminated 30-day MACE with an AUC value of 0.79 (95% CI 0.77-0.81) surpassing the discrimination of the RCRI score AUC of 0.69 (95% CI 0.66-0.72). All models’ performances are shown in Figure1A. The AI-ECG model to predict in-hospital mortality had an AUC of 0.83 (95% CI 0.80-0.86) and predicted 30-day mortality with an AUC of 0.80 (95% CI 0.77-0.82). Other models’ performances are shown Figure1B. Training the AI-ECG models including RCRI data did not improve the AI-ECG models’ performance. Conclusion AI-ECG models with no additional clinical data can improve perioperative risk prediction in non-cardiac surgery, outperforming a conventional and widely used risk stratification tool such as the RCRI.