AF induced pro-inflammatory macrophage polarization while pro-inflammatory macrophages exacerbated atrial electrical remodeling by secreting IL-1β, further inhibiting QKI expression in atrial myocytes, which contributed to ICa-L downregulation. Here, QKI is linked to atrial fibrillation.