In our study, in vitro experiments revealed that M1 macrophages prolonged action potential durations (APDs) of cardiomyocytes via gap junction and KCa3.1 activation, and in vivo study showed that KCa3.1 inhibition attenuated post-MI arrhythmias. This evidence concerns the gene KCNN4 and myocardial infarction.