- Open Access
Metformin therapy and postoperative atrial fibrillation in diabetic patients after cardiac surgery
Journal of Intensive Care volume 5, Article number: 60 (2017)
Postoperative atrial fibrillation (AF) commonly occurs in cardiac surgery patients. Studies suggest inflammation and oxidative stress contribute to postoperative AF development in this patient population. Metformin exerts an anti-inflammatory effect that reduces oxidative stress and thus may play a role in preventing postoperative AF.
We conducted a matched, retrospective cohort study of diabetic patients’ age ≥18 undergoing a coronary artery bypass graft (CABG) and/or cardiac valve surgery from January 1, 2009, to November 30, 2014. We extracted data from The Society of Thoracic Surgeons National Adult Cardiac Surgery Database. Primary exposure was ongoing metformin use at a dose of ≥ 500 mg in effect before cardiac surgery as captured before admission. Primary study outcome was postoperative AF incidence. Matching was used to reduce selection bias between metformin and non-metformin groups. Comparison between the groups after matching was accomplished using the McNemar test or paired t test.
Out of the 4177 patients with cardiac surgery (CABG and/or valve surgery), 1283 patients met our study criteria. These patients were grouped into metformin [n = 635 (49.5%)] and non-metformin [n = 648 (50.5%)] users. Pre-matching, postoperative AF was found in 149 (23.5%) patients in the metformin group and 172 (26.5%) in the non-metformin group (p = 0.2088). Matching resulted in a total of 114 patients in each group (metformin vs. non-metformin). We found no statistically significant difference for postoperative AF between the two groups after matching (p = 0.8964).
Prior use of metformin therapy in diabetic patients undergoing cardiac surgery was not associated with decreased rate of postoperative AF.
The incidence trend of postoperative atrial fibrillation (AF) has remained high over the last two decades, ranging from 10 to 65% depending on patient characteristics and preoperative as well as perioperative risk factors [1,2,3,4]. Postoperative AF is associated with greater resource utilization, prolonged hospital stays, increased morbidity, and in-hospital and long-term mortality [3,4,5,6].
The literature shows that beta blockers and anti-arrhythmic agents decrease the risk of developing postoperative AF . Thus, the American Association of Thoracic Surgery and Canadian Cardiovascular Society both recommend the use of beta blockers and anti-arrhythmic agents such as amiodarone to prevent postoperative atrial fibrillation [8, 9]. However, as of today, there is no standard therapy to effectively avoid the development of this well-known postoperative cardiac surgery complication.
Metformin, an oral hypoglycemic agent, exerts an anti-inflammatory effect by reducing C-reactive protein (CRP) in both humans  and animal models . Esteghamati et al. showed that metformin significantly reduced YKL-40, a novel marker of inflammation and oxidative stress in patients newly diagnosed with type 2 diabetes (T2D) [12, 13]. Metformin therapy has also been found by Chang et al. to be associated with decreased risk of AF in patients with T2D not using other anti-diabetic agents .
With the exception of a few studies, the relationship between metformin use and the development of AF has not been investigated. The main objective of this study was to investigate the role of metformin therapy in the prevention of postoperative AF in diabetic cardiac surgical patients.
A retrospective cohort study was conducted utilizing data from The Society of Thoracic Surgeons (STS) Adult Cardiac Surgery Database Version 2.73. The STS National Database is one of the largest databases in medicine used in the analysis and reporting of risk-adjusted outcomes in cardiothoracic surgery . The database contains over 5.9 million surgical records and collects data from approximately 90% of the US institutions that perform cardiac surgery . A detailed description of the STS database design can be found elsewhere [17, 18]. The database was utilized to obtain a list of eligible patients. Cross-referencing from the electronic medical record was conducted to obtain the remaining data elements needed for inclusion criteria (e.g., medications). Geisinger Institutional Review Board (IRB#2014-0627) approval was obtained before study initiation.
Data extracted from the STS database included patient demographics (age, sex, race, body mass index (BMI), alcohol use), medical characteristics including hypertension, dyslipidemia, lung disease, peripheral artery disease, prior heart failure, prior myocardial infarction, chronic kidney disease (estimated glomerular filtration rate (eGFR) < 60 mL/min), glycated hemoglobin (HbA1C), and mitral valve disease/stenosis. We also collected preoperative and postoperative medication use including angiotensin-converting enzyme (ACE), angiotensin receptor blockers (ARB), acetylsalicylic acid (ASA), other anti-platelet, beta blocker lipid-lowering agents, steroids, vitamins C and E, amiodarone, and magnesium sulfate. Lastly, we extracted cardiac characteristics data such as active myocardial infarction (STEMI), coronary artery bypass graft (CABG), valve surgery, cross-clamp time, explant position, intra-aortic balloon pump, surgery status, and resuscitation.
Exposure of interest
The primary exposure of interest was continuous metformin use at a dose of 500 mg or higher in effect before cardiac surgery as captured through the prior-to-admission medication listing using Clinical Decision Intelligence System (CDIS) at the study institution.
All adult patients with diabetes age 18 years or older undergoing any major cardiac surgery at Geisinger Health System from 1/1/2009 to 11/30/2014. Types of cardiac valve surgeries present were mitral and aortic, but no transcatheter aortic valve replacements. Patients were excluded if they had a history of AF or any other major cardiac arrhythmia before cardiac surgery.
Sample size justification
A power analysis was performed based on the assumption that the incidence of postoperative AF would be 22% for patients with metformin and 30% for patients without metformin. In the Maisel et al. study, the incidence trend of postoperative AF ranged from 10 to 65% depending on patient characteristics . In the Mathew et al.  and Mariscalco et al.  studies, the AF rate was 30% for patients without metformin. The study had 80.5% power to detect an absolute 8% difference between the metformin and non-metformin groups.
Study end points
The primary end point was the incidence of postoperative AF. The event of AF was assessed by the recording of a 12 lead electrocardiogram, from the continuous bedside monitor characterized by the absence of discrete P waves and an irregularly irregular ventricular rate. The occurrence of any new atrial fibrillation during the post-operative period, (i.e., immediately after the planned cardiac surgery until discharge from the hospital for that admission) was identified as post-operative atrial fibrillation. We also examined 30-day hospital readmission rate due to any arrhythmia and in-hospital postoperative acute renal failure (defined as a rise in serum creatinine of more than three-fold from baseline).
Propensity score matching
The propensity score matching method was used to reduce selection bias introduced by using a non-randomized design (Fig. 1.) . The following variables, chosen from the STS database, were used to compute the propensity score for each patient: age, sex, race, BMI, alcohol consumption, hypertension, dyslipidemia, lung disease, peripheral artery disease, prior heart failure, prior myocardial infarction, chronic kidney disease (eGFR < 60 mL/min), HbA1C, mitral valve disease/stenosis, ACE or ARB use, ASA use, other anti-platelet use, beta blocker use, lipid-lowering agent use, steroid use, vitamins C and E use, amiodarone use, magnesium sulfate use, active myocardial infarction, CABG, valve surgery, cross-clamp time, explant position, intra-aortic balloon pump, surgery status and resuscitation. The propensity score was estimated using logistic regression treating metformin use as the dependent variable. We then matched metformin users to non-users in a 1:1 ratio using the greedy method [20, 21]. Matching was evaluated using standardized differences [19,20,21,22]. If any standardized difference exceeded 10%, then the propensity model was re-evaluated and updated. The process was repeated until all standardized differences of the baseline variables were < 10%.
Descriptive statistics were reported for the full sample and were stratified by the patients discharged with and without metformin therapy after cardiac surgery. Comparison between the groups before matching was accomplished using the chi-square or Fisher’s exact tests, and two-sample t test or Wilcoxon rank sum test, as appropriate. Comparison between the groups after matching was accomplished using the McNemar test or paired t test. We defined incident AF, arrhythmia, and acute renal failure as no AF, arrhythmia or acute renal failure being present 30 days before surgery (washout period = 30 days). A p value of less than 0.05 was considered statistically significant. Statistical analysis was performed using SAS version 9.4 (SAS Institute, Cary, NC).
After excluding patients without diabetes, those with a history of arrhythmia and patients with missing data, the final sample size consisted of 1283 patients. There were 635 patients in the metformin prior-to-admission group and 648 in the non-metformin group. Demographic information, medical characteristics, preoperative medications use, postoperative medications use, and cardiac characteristics are summarized in Table 1, stratified by patients with or without metformin use before admission.
Patients in the metformin group, when compared to the non-metformin group, were more likely to be male (70.6 vs. 65.3%; p = 0.0431) and younger (65.1 vs. 66.6; p = 0.0064), respectively. With regard to medical characteristics, patients in the metformin group, when compared to the non-metformin group had lower prior heart failure (7.6 vs. 13.6%; p = 0.0085) and MI rates (33.1 vs. 39.1%: p = 0.0308), lower CKD rates (38.3 vs. 57.3%; p < 0.0001) and higher rates of HbA1C ≥ 9% (18.4 vs. 13.0%; p = 0.0197), respectively. Patients in the metformin group, when compared to the non-metformin group, were more likely to use ACE inhibitors or ARBs preoperatively within 48 h (47.0 vs. 38.9%; p = 0.0197) and less likely to use other anti-platelets postoperatively (17.8 vs. 27.0%; p = 0.0001), respectively. With regard to cardiac characteristics, patients in the metformin group also had lower rates of cross-clamp time ≥ 120 (18.7% vs. 24.4; p = 0.0486). All variables presented in Table 1 were used to conduct propensity score matching. After matching, no significant differences were observed for any of the variables between the metformin and non-metformin groups (see Table 2).
Table 3 presents comparisons between metformin and non-metformin groups for primary and secondary outcome variables before matching. Results for overall (CABG or valve surgery) showed that 23.5% of patients in the metformin group had developed new AF, 0.5% had acute renal failure, and 0.6% had 30-day readmission with arrhythmia. In the non-metformin group, 26.5% patients developed new AF, 0.8% had acute renal failure, and 0.5% had 30-day readmission with arrhythmia. All comparisons between the metformin and non-metformin groups for the primary and secondary variables were not significant. Similarly, when comparing the two groups within CABG only and valve surgery only, there were no significant differences for new AF, acute renal failure, and 30-day readmission with arrhythmia.
After matching, 26.3% of patients in the metformin group had developed new AF, 0.9% had acute renal failure, and none had 30-day readmission with arrhythmia while 30.7% of patients in the non-metformin group developed new AF, none had acute renal failure, and 0.9% had 30-day readmission with arrhythmia (Table 4). There were no statistically significant differences between the two groups on the primary and secondary outcomes. Similarly, when analyzing CABG and valve surgery separately, there were no differences in all outcomes between patients in the metformin and non-metformin groups after matching.
The main objective of our study was to investigate the role of metformin therapy in the prevention of postoperative AF in patients with diabetes who underwent cardiac surgery. The major findings of this propensity score matched study show that metformin use was not associated with a decreased risk of developing postoperative AF. The findings were similar even after separating the cardiac surgery into CABG or isolated valve surgery. Moreover, metformin use was also not associated with acute renal failure or 30-day readmission due to arrhythmia.
Several studies have suggested an important role of inflammation and oxidative stress as inciting factors in the development of postoperative AF in diabetic cardiac surgery patients [23,24,25,26]. A recent meta-analysis concluded that increased circulation inflammatory factors are associated with greater AF risk in the general population as well as for patients who underwent CABG . Pre-operative use of statin drugs has shown promising results in preventing postoperative AF in multiple studies [28,29,30]. Some other novel therapies being tested for the prevention of this condition with conflicting beneficial effects are fish oil, vitamin C, vitamin E, polyunsaturated fatty acids, and corticosteroids [31,32,33,34,35,36]. Although metformin exerts an anti-inflammatory effect by reducing CRP levels [11, 12] in our study, it was not associated with lower postoperative AF risk in cardiac surgery patients.
Chang et al.  who performed a population-based study that included 645,710 patients with T2D found that metformin protected patients from developing new AF for at least 2 years during their 13-year follow-up period. However, this study did not include cardiac surgery patients. Moreover, in their study, the researchers only adjusted for 14 covariates, which did not include HbA1C, antioxidant use, and BMI. In our propensity score matched study, we controlled for 35 potentially confounding variables to better isolate the role of metformin in the development of postoperative AF in cardiac surgery patients.
One of the limitations of our study is that we did not have data on the exact use period of metformin. We abstracted metformin use data (a dose of 500 mg or higher in effect before cardiac surgery) from the prior-to-admission medication listing using CDIS at the study institution. The absolute bioavailability of oral metformin ranges from 40 to 60%, and absorption is complete within 6 h ; thus, patients receiving metformin in our study would be achieving steady-state plasma levels. However, it may be that the reduced inflammation requires a longer metformin use period. Previous research in clinical populations such as Cameron et al. found that metformin reduced inflammation with use period ranging from 4 to 6 months or longer . In their retrospective cohort study, the use period of metformin was for at least 6 months, and in their randomized placebo-controlled study patients in the metformin arm received the medication for 4 months. Propensity score matching decreases selection bias by balancing measured covariates; the larger the number of covariates used to construct the propensity score, the better the balance between the groups. In our study, we used 35 variables to construct the propensity score which included many of the variables shown in the literature to have an effect on postoperative AF. Unfortunately, we did not have data regarding diabetes duration and could not adjust for this variable. Moreover, only randomization can balance the unmeasured confounders; thus, hidden bias may remain in the present study.
Another limitation in our study is that the vast majority of patients were white. The relationship between metformin use and postoperative AF may be different for other races/ethnicities. For example, African American individuals may have a significantly improved glycemic response to metformin when compared with white Americans . Moreover, the Diabetes Prevention Program study, comparing Asian with white patients, showed greater risk reduction for T2D incidence from metformin use (38 vs. 24%) .
In our study, prior use of metformin therapy was not associated with the incidence of postoperative AF in diabetic patients undergoing cardiac surgery. With only a few studies exploring the relationship between metformin use and postoperative AF conducted to date, future randomized controlled trials are needed with more diverse patient populations.
Angiotensin receptor blockers
Body mass index
Coronary artery bypass graft
Clinical decision intelligence system
ST-segment elevation myocardial infarction
Society of Thoracic Surgeons
Type 2 diabetes
Maisel WH, Rawn JD, Stevenson WG. Atrial fibrillation after cardiac surgery. Ann Intern Med. 2001;135:1061–73.
Mathew JP, Fontes ML, Tudor IC, Ramsay J, Duke P, Mazer CD, et al. A multicenter risk index for atrial fibrillation after cardiac surgery. J Am Med Assoc. 2004;291:1720–9.
Villareal RP, Hariharan R, Liu BC, Kar B, Lee V-V, Elayda M, et al. Postoperative atrial fibrillation and mortality after coronary artery bypass surgery. J Am Coll Cardiol. 2004;43:742–8.
Mariscalco G, Klersy C, Zanobini M, Banach M, Ferrarese S, Borsani P, et al. Atrial fibrillation after isolated coronary surgery affects late survival. Circulation. 2008;118:1612–8.
Bramer S, van Straten AHM, Soliman Hamad MA, Berreklouw E, Martens EJ, Maessen JG. The impact of new-onset postoperative atrial fibrillation on mortality after coronary artery bypass grafting. Ann Thorac Surg. 2010;90:443–9.
Saxena A, Dinh DT, Smith JA, Shardey GC, Reid CM, Newcomb AE. Usefulness of postoperative atrial fibrillation as an independent predictor for worse early and late outcomes after isolated coronary artery bypass grafting: multicenter Australian study of 19,497 patients. Am J Cardiol. 2012;109:219–25.
Arsenault KA, Yusuf AM, Crystal E, Healey JS, Morillo CA, Nair GM, et al. Interventions for preventing post-operative atrial fibrillation in patients undergoing heart surgery. Cochrane Database Syst Rev. 2013;1:CD003611.
Mitchell LB. Canadian Cardiovascular Society atrial fibrillation guidelines 2010: prevention and treatment of atrial fibrillation following cardiac surgery. Can J Cardiol. 2011;27:91–7.
Frendl G, Sodickson AC, Chung MK, Waldo AL, Gersh BJ, Tisdale JE, et al. AATS guidelines for the prevention and management of perioperative atrial fibrillation and flutter for thoracic surgical procedures. J Thorac Cardiovasc Surg 2014;148. 2014:e153–93.
Morin-Papunen L, Rautio K, Ruokonen A, Hedberg P, Puukka M, Tapanainen JS. Metformin reduces serum C-reactive protein levels in women with polycystic ovary syndrome. J Clin Endocrinol Metab. 2003;88:4649–54.
Salman ZK, Refaat R, Selima E, Sarha A El, Ismail MA. The combined effect of metformin and l-cysteine on inflammation, oxidative stress and insulin resistance in streptozotocin-induced type 2 diabetes in rats. Eur J Pharmacol 2013;714:448–455.
Esteghamati A, Rezvani S, Khajeh E, Ebadi M, Nakhjavani M, Noshad S. Comparative effects of metformin and pioglitazone on YKL-40 in type 2 diabetes: a randomized clinical trial. J Endocrinol Investig. 2014;37:1211–8.
Esteghamati A, Eskandari D, Mirmiranpour H, Noshad S, Mousavizadeh M, Hedayati M, et al. Effects of metformin on markers of oxidative stress and antioxidant reserve in patients with newly diagnosed type 2 diabetes: a randomized clinical trial. Clin Nutr. 2013;32:179–85.
Chang S-H, Wu L-S, Chiou M-J, Liu J-R, Yu K-H, Kuo C-F, et al. Association of metformin with lower atrial fibrillation risk among patients with type 2 diabetes mellitus: a population-based dynamic cohort and in vitro studies. Cardiovasc Diabetol. 2014;13:1–8.
Ferguson TB Jr, Dziuban SW Jr, Edwards FH, Eiken MC, Shroyer ALW, Pairolero PC, et al. The STS National Database: current changes and challenges for the new millennium. Ann Thorac Surg. 2000;69:680–91.
The Society of Thoracic Surgeons Fact Sheet. 2017 . Available from: http://www.sts.org/media/sts-fact-sheet. [cited 2017 May 1].
Jacobs JP, Shahian DM, He X, O’Brien SM, Badhwar V, Cleveland JC Jr, et al. Penetration, completeness, and representativeness of the society of thoracic surgeons adult cardiac surgery database. Ann Thorac Surg. 2016;101:33–41.
Grover FL, Shahian DM, Clark RE, Edwards FH. The STS National Database. Ann Thorac Surg. 2014;97:S48–54.
Rosenbaum PR, Rubin DB. Reducing bias in observational studies using subclassification on the propensity score. J Am Stat Assoc. 1984;79:516–24.
Rosenbaum PR. Design of observational studies. New York, NY: Springer New York; 2010.
Austin PC. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate Behav Res. 2011;46:399–424.
Normand S-LT, Landrum MB, Guadagnoli E, Ayanian JZ, Ryan TJ, Cleary PD, et al. Validating recommendations for coronary angiography following acute myocardial infarction in the elderly: a matched analysis using propensity scores. J Clin Epidemiol. 2001;54:387–98.
Aviles RJ, Martin DO, Apperson-Hansen C, Houghtaling PL, Rautaharju P, Kronmal RA, et al. Inflammation as a risk factor for atrial fibrillation. Circulation. 2003;108:3006–10.
Gaudino M, Andreotti F, Zamparelli R, Di Castelnuovo A, Nasso G, Burzotta F, et al. The −174G/C interleukin-6 polymorphism influences postoperative interleukin-6 levels and postoperative atrial fibrillation. Is atrial fibrillation an inflammatory complication? Circulation. 2003;108:II-195–9.
Chung MK, Martin DO, Sprecher D, Wazni O, Kanderian A, Carnes CA, et al. C-reactive protein elevation in patients with atrial arrhythmias inflammatory mechanisms and persistence of atrial fibrillation. Circulation. 2001;104:2886–91.
Li J, Solus J, Chen Q, Rho YH, Milne G, Stein CM, et al. Role of inflammation and oxidative stress in atrial fibrillation. Hear Rhythm. 2010;7:438–44.
Wu N, Xu B, Xiang Y, Wu L, Zhang Y, Ma X, et al. Association of inflammatory factors with occurrence and recurrence of atrial fibrillation: a meta-analysis. Int J Cardiol. 2013;169:62–72.
Liakopoulos OJ, Kuhn EW, Slottosch I, Wassmer G, Wahlers T. Preoperative statin therapy for patients undergoing cardiac surgery. Cochrane Database Syst Rev. 2012;4:CD008493.
Fauchier L, Pierre B, de Labriolle A, Grimard C, Zannad N, Babuty D. Antiarrhythmic effect of statin therapy and atrial fibrillation: a meta-analysis of randomized controlled trials. J Am Coll Cardiol. 2008;51:828–35.
Chopra V. Effect of perioperative statins on death, myocardial infarction, atrial fibrillation, and length of stay: a systematic review and meta-analysis. Arch Surg. 2012;147:181.
Mozaffarian D, Wu JHY, de Oliveira Otto MC, Sandesara CM, Metcalf RG, Latini R, et al. Fish oil and post-operative atrial fibrillation: a meta-analysis of randomized controlled trials. J Am Coll Cardiol. 2013;61:2194–6.
Dieleman JM, van Paassen J, van Dijk D, Arbous MS, Kalkman CJ, Vandenbroucke JP, et al. Prophylactic corticosteroids for cardiopulmonary bypass in adults. Cochrane Database Syst rev. Chichester, UK: John Wiley & Sons, Ltd; 2011.
Weis F, Beiras-Fernandez A, Schelling G, Briegel J, Lang P, Hauer D, et al. Stress doses of hydrocortisone in high-risk patients undergoing cardiac surgery: effects on interleukin-6 to interleukin-10 ratio and early outcome. Crit Care Med. 2009;37:1685–90.
Halonen J, Halonen P, Järvinen O, Taskinen P, Auvinen T, Tarkka M, et al. Corticosteroids for the prevention of atrial fibrillation after cardiac surgery: a randomized controlled trial. J Am Med Assoc. 2007;297:1562–7.
Rodrigo R, Korantzopoulos P, Cereceda M, Asenjo R, Zamorano J, Villalabeitia E, et al. A randomized controlled trial to prevent post-operative atrial fibrillation by antioxidant reinforcement. J Am Coll Cardiol. 2013;62:1457–65.
Harling L, Rasoli S, Vecht JA, Ashrafian H, Kourliouros A, Athanasiou T. Do antioxidant vitamins have an anti-arrhythmic effect following cardiac surgery? a meta-analysis of randomised controlled trials. Heart. 2011;15;97(20):1636–42.
Scheen AJ. Clinical pharmacokinetics of metformin. Clin Pharmacokinet. 1996;1;30(5):359–71.
Cameron AR, Morrison VL, Levin D, Mohan M, Forteath C, Beall C, et al. Anti-inflammatory effects of metformin irrespective of diabetes status. Circ Res. 2016;119:652–65.
Williams LK, Padhukasahasram B, Ahmedani BK, Peterson EL, Wells KE, González Burchard E, et al. Differing effects of metformin on glycemic control by race-ethnicity. J Clin Endocrinol Metab. 2014;99:3160–8.
Knowler WC, Barrett-Connor E, Fowler SE, Hamman RF, Lachin JM, Walker EA. Reduction in the incidence of type 2 diabetes with lifestyle intervention or metformin. N Engl J Med. 2002;346:393–403.
Availability of data and materials
The datasets generated during and/or analyzed during the current study are available from the corresponding author.
Ethics approval and consent to participate
The study was approved by the Geisinger Institutional Review Board (IRB#2014-0627) before study initiation.
Consent for publication
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Basnet, S., Kozikowski, A., Sun, H. et al. Metformin therapy and postoperative atrial fibrillation in diabetic patients after cardiac surgery. j intensive care 5, 60 (2017). https://doi.org/10.1186/s40560-017-0254-8
- Cardiac surgery
- Postoperative atrial fibrillation