Mice with conditional deletion of the AMPK α catalytic subunits in atrial myocytes developed atrial conduction and repolarization delays and atrial ectopic activity before the subsequent onset of spontaneous atrial fibrillation. Here, PRKAA2 is linked to atrial fibrillation.