Myocardial infarction (MI) can result in fatal myocardial rupture or heart failure due to adverse remodeling and dysfunction of the left ventricle. Although recent studies have shown that exogenous interleukin (IL)-22 shows cardioprotective effect after MI, the pathophysiological significance of endogenous IL-22 is unknown. In this study, we investigated the role of endogenous IL-22 in a mouse model of MI. We produced MI model by permanent ligation of the left coronary artery in wild-type (WT) and IL-22 knock-out (KO) mice. The post-MI survival rate was significantly worse in IL-22KO mice than in WT mice due to a higher rate of cardiac rupture. Although IL-22KO mice exhibited a significantly greater infarct size than WT mice, there was no significant difference in left ventricular geometry or function between WT and IL-22KO mice. IL-22KO mice showed increase in infiltrating macrophages and myofibroblasts, and altered expression pattern of inflammation- and extracellular matrix (ECM)-related genes after MI. While IL-22KO mice showed no obvious changes in cardiac morphology or function before MI, expressions of matrix metalloproteinase (MMP)-2 and MMP-9 were increased, whereas that of tissue inhibitor of MMPs (TIMP)-3 was decreased in cardiac tissue. Protein expression of IL-22 receptor complex, IL-22 receptor alpha 1 (IL-22R1) and IL-10 receptor beta (IL-10RB), were increased in cardiac tissue 3 days after MI, regardless of the genotype. We propose that endogenous IL-22 plays an important role in preventing cardiac rupture after MI, possibly by regulating inflammation and ECM metabolism.