Background/aims: To identify predictors of long-term major adverse cardiovascular events (MACE) and investigate the association between reduced kidney function (KF) and MACE in patients with diabetes mellitus (DM) presenting with STEMI as their first clinically recognized manifestation of cardiovascular disease (CVD). Methods: We analyzed 512 patients with DM and STEMI without previous CVD. KF was assessed at admission and categorized as mildly, moderately, or severely reduced. The composite endpoint (MACE) included cardiovascular death, non-fatal recurrent myocardial infarction, target vessel revascularization, and non-fatal stroke. The follow-up lasted 8 years. Results: Reduced KF was present in 312 (60.9%) patients: 175 (56.1%) had mildly, 98 (31.4%) moderately, and 39 (12.5%) severely reduced KF. MACE was more frequent among patients with reduced KF across all severity stages. Moderately and severely reduced KF were independent predictors of 8-year MACE (HR 3.12, 95% CI 1.58–6.91 and HR 5.22, 95% CI 1.68–12.70, respectively). Other independent predictors included predischarge ejection fraction < 50%, new-onset atrial fibrillation, left main stenosis, heart failure at admission, and post-procedural TIMI flow < 3. Conclusion: In patients with DM presenting with their first STEMI, moderately and severely reduced KF were associated with approximately three-fold and five-fold higher risks of 8-year MACE, respectively. Mildly reduced KF was not independently associated with MACE. Assessment of KF severity may help identify patients requiring more intensive cardiovascular and multidisciplinary follow-up after STEMI.