Right ventricular (RV) dysfunction after acute myocardial infarction (AMI) is a recognized predictor of dismal prognosis. However, the most reliable RV index to predict mortality early after revascularization remains undetermined. This study aimed to explore the ability of RV global longitudinal strain (GLS) to predict inhospital mortality in patients with first AMI. All consecutive patients with first AMI were prospectively enrolled from March 2022 until February 2023. An echocardiogram was performed 24 hours after successful revascularization and RV GLS alongside conventional echocardiographic indexes were measured. Inhospital mortality was recorded. A total of 300 patients (age 61.2 ± 11.8 years, 74% male) were included in the study. RV GLS was the only RV performance index that differed significantly between anterior and inferior ST-segment-elevation patients with AMI (14.5 ± 5.2% vs 17.4 ± 5.1% respectively, p <0.001). After revascularization, 23 patients (7.7%) died in hospital. The model of Global Registry of Acute Coronary Event risk score and left ventricular ejection fraction, built for predicting inhospital mortality, significantly improved its prognostic performance only by the addition of RV GLS (chi-square value increase by 7.485, p=0.006) compared with the other RV function indexes. RV GLS was independently associated with inhospital mortality (odds ratio 0.83, 95% confidence interval 0.71 to 0.97, p=0.017) after adjustment for Global Registry of Acute Coronary Event risk score and left ventricular ejection fraction. Echocardiographic RV GLS measured 24 hours after revascularization in patients with first AMI outperformed conventional RV function indexes in predicting inhospital mortality.