Atrial fibrillation (AF) occurs in almost 30% of patients undergoing coronary artery bypass grafting (CABG). Around 80% of these patients have decreased levels of total and ionized serum magnesium postoperatively. The association between magnesium deficiency and post CABG AF is still undetermined. Therefore, a large variety of prophylactic strategies have been assessed including perioperative magnesium administration. However, the efficacy is still questionable. The aim of this study was to find out any correlation of serum magnesium levels with the incidence of post-operative atrial fibrillation in patients undergoing off pump CABG and whether magnesium supplementation modifies the incidence. One hundred fifty patients undergoing CABG were selected and divided into treatment and control groups. Perioperative serum magnesium assays were done, and patients were monitored in the postoperative period for occurrence of Atrial Fibrillation. The risk of post CABG atrial fibrillation was more among females, obese patients, patients with EF < 50% and RWMA. Post-operative AF occurred in 5 patients in the treatment group (n = 75) and 11 patients in the control group (n = 75). : The proportion of patients with post-operative atrial fibrillation among cases (6.7%) was lower than that of controls (14.7%) which may indicate an important role of magnesium in prevention of AF following cardiac surgeries. The results however didn’t reach a statistical significance which could be due to sample size, the duration and design of the study and the period of post-operative AF monitoring.