SummaryAtrial fibrillation is a common arrhythmia frequently seen in surgical patients. The onset of new atrial fibrillation during the peri-operative period is less common. There are many possible precipitating factors, although volatile agents themselves may have an antifibrillatory action. The management of atrial fibrillation includes removal of any precipitating factors and treatment of the arrhythmia itself. Immediate management of acute-onset atrial fibrillation is usually direct current cardioversion. Alternatively, anti-arrhythmic drugs can be used to achieve cardioversion. In patients with rapid, chronic atrial fibrillation or those refractory to cardioversion, priority is given to control of the ventricular rate. Thrombo-embolism is a significant risk if atrial fibrillation is paroxysmal or persists for more than 48 h.