Gastrin ameliorates heart failure and suppresses myocardial remodeling via the JAK2/STAT3 and ERK1/2 pathways. Here, JAK2 is linked to heart failure.