Background: Atrial fibrillation (AF) is one of the most common complications after cardiac surgery. Several therapeutic and preventive strategies have been introduced for postoperative AF, but the treatment and prophylaxis of AF remain controversial. We aimed to compare the efficacy of intravenous amiodarone and oral propafenone in the treatment of AF after coronary artery bypass grafting (CABG). Methods: This was a randomized controlled trial performed in two hospitals in Shiraz, Iran from 2009 to 2012. We included all patients who underwent elective CABG and developed AF postoperatively. The patients were randomly assigned to receive propafenone or amiodarone. The duration of AF, the success rate of the treatment, the need for cardioversion, the frequency of repeated AF, and the need for repeating the treatment were compared. Results: The duration of the first (p=0.361), second (p=0.832), and third (p=0.298) episodes of AF, the need for cardioversion (p=0.998), and the need to repeat the first and second doses of drugs (p=0.557, 0.699) were comparable between the study groups. Repeated AF was observed in 17 patients (30.9%) in the propafenone group and 23 patients (34.3%) in the amiodarone group (p=0.704). Conclusion: Oral propafenone and intravenous amiodarone are equally effective in the treatment and conversion of recent-onset AF after CABG