In the present study, we first observed through optical mapping that inhibition of CaMKII activation was effective in preventing AF in the HFa and HFr heart. This evidence concerns the gene CAMK2G and atrial fibrillation.