Changes in HDAC and KCNN1 transcript levels in patients and pigs with AF complicated by HF indicate epigenetic regulation of KCNN1 expression. Here, KCNN1 is linked to atrial fibrillation.