Background: Cardiac arrhythmias. especially atrial fibrillation. are among the most common early complications of open-heart surgery. Hypomagnesemia is one of the clinical mechanisms associated with the pathogenesis of postoperative atrial fibrillation. https://www.itsmajorlook.com/