Kharche et al. used computer modeling to investigate the mechanism by which the KCNQ1 S140G mutation, promotes and perpetuates atrial fibrillation. Here, KCNQ1 is linked to atrial fibrillation.