Myocardial infarction (MI) is an event of heart attack due to the formation of plaques in the interior walls of the arteries. This study is conducted to explore the role of ubiquitin-specific peptidase 47 (USP47) in cardiac function and inflammatory immunity. MI mouse models were established, followed by an appraisal of cardiac functions, infarct size, pathological changes, and USP47 and NLRP3 levels. MI cell models were established in HL-1 cells using anoxia. Levels of cardiac function-associated proteins, USP7, interferon regulatory factor 1 (IRF1), platelet factor-4 (CXCL4), pyroptotic factors, and neutrophil extracellular traps (NETs) were determined. The bindings of IRF1 to USP47 and the CXCL4 promoter and the ubiquitination of IRF1 were analyzed. USP47 was upregulated in myocardial tissues of MI mice. USP47 inhibition alleviated cardiac functions, and decreased infarct size, pro-inflammatory cytokines, NETs, NLRP3, and pyroptosis. The ubiquitination and expression levels of IRF1 were increased by silencing USP47, and IRF1 bound to the CXCL4 promoter to promote CXCL4. Overexpression of IRF1 or CXCL4 in vitro and injection of Nigericin in vivo reversed the effect of silencing USP47 on alleviating pyroptosis and cardiac functions. Collectively, USP47 stabilized IRF1 and promoted CXCL4, further promoting pyroptosis, impairing cardiac functions, and aggravating immune inflammation through NLRP3 pathways.