In summary, we discovered that lncRNA SNHG7 promoted cardiac fibrosis via targeting miR-34-5p by acting as a ceRNA in mice after MI; silencing of SNHG7 attenuated the deposition of collagen and improved heart function and miR-34-5p inhibited the fibrogenesis of cardiac fibroblasts by targeting ROCK1 and abolished cardiac fibroblasts proliferation and fibroblast-myofibroblast transition that were induced by SNHG7. The gene discussed is SNHG7; the disease is myocardial infarction.