Consistent with in vitro results, in vivo KCa3.1 inhibition significantly attenuated post-MI QTc prolongation and arrhythmias. Here, KCNN4 is linked to myocardial infarction.