After surgery, inflammation is a prominent factor influencing postoperative atrial fibrillation. Myeloperoxidase is a major contributor to inflammatory responses after surgical tissue damage. We evaluated whether myeloperoxidase is associated with postoperative atrial fibrillation clinically and in an animal model. This prospective cohort study included patients undergoing isolated coronary artery bypass grafting. Myeloperoxidase concentrations in blood and pericardial fluid were determined at baseline and 6, 12, and 18hours after coronary artery bypass grafting. Myeloperoxidase activity in blood, pericardial fluid, and atrium were also evaluated in a canine coronary artery bypass grafting model. Electrophysiologic, histologic, and immunohistochemistry analyses were performed to explore underlying mechanisms. Postoperative atrial fibrillation occurred in 45 of 137 patients (32.8%). Patients with postoperative atrial fibrillation had significantly higher serum and pericardial myeloperoxidase levels. Individual clinical and surgical factors had moderate predictive value (area under the curve, 0.760) for postoperative atrial fibrillation. Discrimination improved remarkably when myeloperoxidase was combined with other parameters (area under the curve, 0.901). Pericardial myeloperoxidase at 6hours postoperatively was the strongest independent predictor of postoperative atrial fibrillation (odds ratio, 19.215). The rate of postoperative atrial fibrillation increased exponentially across pericardial myeloperoxidase grades. Compared with controls, coronary artery bypass grafting-treated dogs showed higher atrial fibrillation vulnerability and maintenance, shorter atrial effective refractory period, attenuated connexin 43 expression, and increased myocardial and pericardial myeloperoxidase activity. Connexin 43 expression and atrial effective refractory period were strongly negatively correlated with myocardial and pericardial myeloperoxidase activity. Myeloperoxidase is linked to postoperative atrial fibrillation, and the ability to predict postoperative atrial fibrillation was remarkably improved by adding pericardial myeloperoxidase. Myeloperoxidase-related atrial structural and electrical remodeling is a physiologic substrate for this arrhythmia.