HDAC inhibitor prevented post-MI cardiac remodelling and depended upon the recovery of autophagosome processing for cardiac fibroblasts. Here, HDAC9 is linked to myocardial infarction.