This study found that gender, PH, STEMI, pericardial effusion, BMI, NT-ProBNP, CK, LVEF and HbA1c upon admission were associated with in-hospital mechanical complications among AMI patients who have a history of T2DM. This evidence concerns the gene NPPB and type 2 diabetes mellitus.