Acute kidney injury (AKI) after spinal fusion is a significant morbidity that can lead to poor post-surgical outcomes. Identifying AKI risk factors and developing a risk model can raise surgeons' awareness and allow them to take actions to mitigate the risks. The objective of the current study is to develop machine learning (ML) models to assess patient risk factors predisposing to AKI after posterior spinal instrumented fusion. Data was collected from the IBM MarketScan Database (2009-2021) for patients >18 years old who underwent spinal fusion with posterior instrumentation (3-6 levels). AKI incidence (defined by the International Classification of Diseases codes) was recorded 90-day post-surgery. Risk factors for AKI were investigated and compared through several ML models including logistic regression, linear support vector machine (LSVM), random forest, extreme gradient boosting (XGBoost), and neural networks. Among the 141,697 patients who underwent fusion with posterior instrumentation (3-6 levels), the overall rate of 90-day AKI was 2.96%. We discovered that the logistic regression model and LSVM demonstrated the best predictions with area under the curve (AUC) values of 0.75. The most important AKI prediction features included chronic renal disease, hypertension, diabetes mellitus ± complications, older age (>50 years old), and congestive heart failure. Patients who did not have these five key risk factors had a 90-day AKI rate of 0.29%. Patients who had an increasing number of key risk factors subsequently had higher risks of postoperative AKI. The analysis of the data with different ML models identified 5 key variables that are most closely associated with AKI: chronic renal disease, hypertension, diabetes mellitus ± complications, older age (>50 years old), and congestive heart failure. These variables constitute a simple risk calculator with additive odds ratio ranging from 3.38 (1 risk factor) to 91.10 (5 risk factors) over 90 days after posterior spinal fusion surgery. These findings can help surgeons risk-stratify their patients for AKI risk, and potentially guide post-operative monitoring and medical management.