BackgroundAtrial and ventricular cardiac arrhythmias are one of the most common early complications after cardiac surgery and these serve as a major cause of mortality and morbidity after cardiac revascularization. We want to evaluate the effect of magnesium sulfate administration on the incidence of cardiac arrhythmias after cardiac revascularization by doing this systematic review and meta-analysis.MethodsThe search performed in several databases (SID, Magiran, IranDoc, IranMedex, MedLib, PubMed, EmBase, Web of Science, Scopus, the Cochrane Library and Google Scholar) for published Randomized controlled trials before December 2017 that have reported the association between Magnesium consumption and the incidence of cardiac arrhythmias. This relationship measured using odds ratios (ORs) with a confidence interval of 95% (CIs). Funnel plots and Egger test used to examine publication bias. STATA (version 11.1) used for all analyses.ResultsTwenty-two studies selected as eligible for this research and included in the final analysis. The total rate of ventricular arrhythmia was lower in the group receiving magnesium sulfate than placebo (11.88% versus 24.24%). The same trend obtained for the total incidence of supraventricular arrhythmia (10.36% in the magnesium versus 23.91% in the placebo group). In general the present meta-analysis showed that magnesium could decrease ventricular and supraventricular arrhythmias compared with placebo (OR = 0.32, 95% CI 0.16–0.49; p < 0.001 and OR = 0.42, 95% CI 0.22–0.65; p < 0.001, respectively). Subgroup analysis showed that the effect of magnesium on the incidence of cardiac arrhythmias was not affected by clinical settings and dosage of magnesium. Meta-regression analysis also showed that there was no significant association between the reduction of ventricular arrhythmias and sample size.ConclusionThe results of this meta-analysis study suggest that magnesium sulfate can be used safely and effectively and is a cost-effective way in the prevention of many of ventricular and supraventricular arrhythmias.