Objective We aimed to determine whether the prognostic value of the shock index (SI) and its derivatives is better than that of the Thrombolysis In Myocardial Infarction risk index (TRI) for predicting adverse outcomes in patients with ST-segment elevation myocardial infarction (STEMI) undergoing primary percutaneous coronary intervention (PCI). Methods A total of 257 patients with STEMI undergoing primary PCI from January 2018 to June 2019 were analyzed in a retrospective cohort study. The SI, modified shock index (MSI), age SI (age × the SI), age MSI (age × the MSI), and TRI at admission were calculated. Clinical endpoints were in-hospital complications, including all-cause mortality, acute heart failure, cardiac shock, mechanical complications, re-infarction, and life-threatening arrhythmia. Results Multivariate analyses showed that a high SI, MSI, age SI, age MSI, and TRI at admission were associated with a significantly higher rate of in-hospital complications. The predictive value of the age SI and age MSI was comparable with that of the TRI (area under the receiver operating characteristic curve: z = 1.313 and z = 0.882, respectively) for predicting in-hospital complications. Conclusions The age SI and age MSI appear to be similar to the TRI for predicting in-hospital complications in patients with STEMI undergoing primary PCI.