Approximately 10% to 15% of patients undergoing cardiac operations suffer from atrial fibrillation (AF) at the time of surgery. The current risk stratification methods do not include preoperative arrhythmias. The aim of this study was to assess the effect of preoperative AF on the immediate postoperative outcome of patients undergoing cardiac surgery as well as in the midterm and long-term outcomes.