Cardiac pacemaker implantation is an important treatment for symptomatic bradycardia. However, epidemiological data show that the incidence of atrial fibrillation (AF) is significantly higher in patients with implanted pacemakers than in the general population, which may be related to the preoperative presence of multiple risk factors for AF, improvement of diagnostic sensitivity and the pacemaker itself. The pathogenesis of AF after the implantation of pacemaker is related to cardiac electrical remodeling, structural remodeling, inflammation, and autonomic nervous disorder, which are induced by the pacemaker. Moreover, different pacing modes and pacing sites have various effects on the pathogenesis of postoperative AF. Recent studies have reported that reducing the proportion of ventricular pacing, improving the pacing site and setting up special pacing procedures might be highly useful in prevention of AF after pacemaker implantation. This article reviews the epidemiology, pathogenesis, influencing factors, and preventive measures regarding AF after pacemaker surgery.