These results unveil the BMP4–gremlin axis as a druggable pathway for the treatment of myocardial inflammation, limiting the severe sequelae of cardiac fibrosis and heart failure. Here, BMP4 is linked to heart failure.