Cardiac ischaemia/reperfusion (I/R) injury causes cardiomyocyte apoptosis and mitochondrial dysfunction. Ursolic acid (UA), as a pentacyclic triterpenoid carboxylic acid, exerts several bioactivities in animal models of different diseases, but the preventive role of UA in I/R-induced myocardial dysfunction remains largely unknown. Male wild-type mice were pre-administered with UA at a dosage of 80 mg/kg i.p. and then subjected to cardiac I/R injury for 24 h. Cardiac function and pathological changes were examined by echocardiography and histological staining. The protein and mRNA levels of the genes were determined using qPCR and immunoblotting analysis. Our results revealed that UA administration in mice significantly attenuated the I/R-induced decline in cardiac function, infarct size, myocyte apoptosis, and oxidative stress. Mechanistically, UA increased three immunoproteasome catalytic subunit expressions and activities, which promoted ubiquitinated PP2A degradation and activated AMPK-PGC1α signalling, leading to improved mitochondrial biosynthesis and dynamic balance. In vitro experiments confirmed that UA treatment prevented hypoxia/reperfusion (H/R)-induced cardiomyocyte apoptosis and mitochondrial dysfunction through activation of AMPK signalling. In summary, our findings identify UA as a new activator of the immunoproteasome that exerts a protective role in I/R-induced myocardial dysfunction and suggest that UA supplementation could be beneficial for the prevention of cardiac ischaemic disease.