Background

COVID-19 has a poor prognosis and the risk of death nearly doubles in people with diabetes mellitus (DM) [1,2,3]. Hypoglycaemic agents and diabetes itself can affect the course of Covid-19. Although the effects of antidiabetic drugs on COVID-19 are not fully known, new studies are ongoing in this regard. Metformin is one of the most widely used oral hypoglycaemic agents. It also has immunomodulatory effects in animal models via the phosphorylating adenosine monophosphate-activated protein kinase [4]. In addition, some studies reveal that it could have an inhibitory effect, especially on some viruses, by improving insulin sensitivity [5].

Metformin has been used in the past to treat malaria and influenza [6]. Several studies reveal the beneficial clinical results of concomitant use of metformin in respiratory diseases, including chronic pulmonary diseases and pulmonary infection diseases [7,8,9,10]. In a comparative study, metformin significantly decreased the mortality rate of chronic lower respiratory tract diseases [11]. In a meta-analysis conducted before the COVID-19 era, five observational studies involving 1282 patients were examined, and preadmission usage of metformin was associated with low mortality in patients with diabetes and sepsis [12]. Given the high worldwide prevalence of type 2 diabetes and the increased risk of COVID-19-related deaths, it is crucial to investigate the safety of hypoglycaemic agents in COVID-19 patients with diabetes [13].

The effect of preadmission metformin usage in patients with COVID-19 was assessed using meta-analyses of various studies. Although most studies reveal results in favour of metformin, there were some methodological differences. Two of these studies employed the propensity score matching (PSM) method while forming the control group, thereby enhancing equality. Moreover, these studies did not evaluate post-discharge mortality data [14, 15]. However, the increase in mortality continued after hospital discharge in COVID-19, with 10% rates reported within a few months after discharge [16, 17]. This prompts the need for more studies to explore the effects of metformin as part of the COVID-19 treatment guidelines [18, 19].

Thus, we aimed at analysing the effect of preadmission usage of metformin on the mortality of COVID-19 by PSM, while including a post-discharge period of at least 90 days.

Material-methods

Our study is a retrospective cohort study. Included participants were patients with diabetes over 18 years of age, hospitalised at the Canakkale Onsekiz Mart University Medical Faculty Hospital with COVID-19 confirmed by radiological and/or PCR between March 12, 2020 and December 22, 2020. Information on the age, sex, medications, comorbidities, laboratory parameters and COVID-19 severity were obtained from participants’ hospital records. Patients with a history of chronic liver/kidney failure and pregnancy were excluded from the study [20]. The study was approved by the Local Ethics Committee of the Canakkale Onsekiz Mart University Medical School (2011-KAEK-27/2021-E.2100041806).

From the records, patients who were found to use metformin regularly in the last 6 months were considered to be using metformin before hospitalisation. They were divided into two groups: those who used metformin (MF) before hospitalisation (MF( +)) and those who did not (MF(–)). Individuals in the MF( +) group were propensity score-matched as 1:1 for age and sex to individuals in the MF(–) group. The patient recruitment scheme is outlined in Fig. 1. The mortality status of the patients included in the study on March 22, 2021 (the first year of the first patient recruitment) was obtained from the Turkish Central Death Registry. Following this date, all cases included in the study had a mortality of at least 90 days. The primary endpoint of our study was at least 90 days of all-cause mortality. Secondary endpoints were in-hospital and post-discharge mortalities.

Fig. 1
figure 1

Patient recruitment scheme

Normally distributed continuous variables are presented as mean ± standard deviation, while non-normally distributed as the median and interquartile range (IQR: the difference between the 25th and 75th percentiles). Categorical variables were expressed as numbers and percentages. Student’s t test and Mann Whitney U test were used to compare means between normally distributed and non-normally distributed groups of continuous variables, respectively. Pearson’s chi-square was used to test the significance of the difference between categorical variables. Estimated glomerular filtration rate (eGFR) was calculated according to the CKD-EPI equation [21]. COX regression analyses were used to evaluate the risk factors of COVID-19-related mortality. In the adjusted HR (aHR) analysis, sex, age, glucose, ALT, eGFR, number of hospitalisation days, diabetes duration, chronic pulmonary disease, coronary artery disease, cerebrovascular disease, hypertension and hyperlipidaemia were used covariate variables. Unadjusted hazard ratios (HRs) were calculated by analysis with a single variable. Statistical analysis was performed with SPSS 19 for Windows (IBM, Armonk, NY, USA). A p-value < 0.05 was considered statistically significant.

Results

We included 586 diabetic patients, with a mean age of 66 ± 11.9 years, constituting 293 women (50%). Metformin usage ratio was 73.7% (432).

Analysis of data before PSM (unmatched)

The mean age of the MF ( −) group was significantly higher than the MF ( +) group (68.92 ± 13.47 years vs 64.98 ± 11.19 years, p = 0.001). The MF ( −) group had lower baseline eGFR values (62.2(35.5 − 87.9) vs. 76.5(56.8 − 94.4), p = 0.001) and higher acute renal failure rates (39% vs 19.4%, p = 0.0001). Median number of hospitalization days (IQR) (8(5–16)vs. 6(5–12), p = 0.036), intensive care unit (ICU) admission rate (27.3% vs. 18.1%, p = 0.015), in-hospital mortality rate (26% vs. 11.6%, p = 0.0001), post-discharge mortality rate (20.2% vs. 9.4%, p = 0.002), and overall mortality rate (40.9% vs. 19.9%, p = 0.0001)) were higher in the MF( −) group. Comparison of general characteristics of MF ( +) and MF ( −) groups before PSM is given in Table 1.

Table 1 Comparison of general characteristics of MF( +) and MF( −) groups before PSM

Analysis of data after PSM (matched)

PSM was performed at a ratio of 1:1 in terms of age and sex, according to the use of metformin. After PSM, 120 MF( +) and 120 MF( −) patients were matched. ALT values (median(IQR)) of the MF ( +) group were higher than those of the MF (–) group (25(16–42) vs 19(11–30), p = 0.003). ICU admission rates, in-hospital mortality rates, and post-discharge mortality rates were higher in the MF( −) group, though not significant. Overall mortality was higher in the MF( −) group than in the MF( +) group (51(42.5%) vs. 35(29.2%), p = 0.031). A comparison of general characteristics of MF ( +) and MF ( −) groups after PSM is presented in Table 2.

Table 2 Comparison of general characteristics of MF( +) and MF( −) groups after PSM

Hazard ratios for overall, in-hospital mortality, and post-discharge mortality

HR for in-hospital mortality, post-discharge mortality, and overall mortality were evaluated with COX regression in matched and unmatched groups.

For overall mortality, the aHR was 0.607 (95% CI: 0.428 − 0.860, p = 0.005) in the unmatched MF( +) group, while the aHR was 0.585 (95% CI: 0.371 − 0.920, p = 0.020) in the matched MF( +) group. For in-hospital mortality, aHR was 0.546 (95% CI: 0.349 − 0.855,p = 0.008) in the unmatched MF( +) group, while aHR was 0.568 (95% CI: 0.306 − 1.052, p = 0.072) in the matched MF( +) group. For post-discharge mortality, aHR was 0.702 (95% CI:0.399 − 1.236, p = 0.22) in the unmatched MF( +) group and 0.652 (95% CI:0.324 − 1.310, p = 0.23) in the matched MF( +) group. All mortality assessments, HR and aHR ratios in the match and unmatch groups, and forest plot graphics are given in Fig. 2. Figure 3 displays the Kaplan − Meier plot showing the risk of overall mortality in the unmatched and matched groups for MF( +) vs. MF( −) patients.

Fig. 2
figure 2

Forest plot showing hazard ratios (HRs) of overall, in-hospital, post-discharge mortality for MF (+) compared to MF (−) patients

Fig. 3
figure 3

Kaplan–Meier plot showing the risk of overall mortality in the unmatched and matched groups for MF ( +) vs. MF ( −) patients

In the COX regression analysis performed for overall mortality, in addition to metformin, age (95% CI: 1.003 − 1.057, aHR; 1.029, p = 0.031), ALT (95% CI: 1.000 − 1.001, aHR; 1.001, p = 0.001), and eGFR (95% CI: 0.971 − 0.990, aHR; 0.98, p = 0.001) remained statistically significant.

Discussion

Although diabetes is a major risk factor for COVID-19 mortality, the safe use of hypoglycaemic agents in glycaemic control in such patients during the COVID-19 pandemic was unclear [2, 22]. Our study showed that the usage of metformin before hospital admission had a protective effect on mortality. This effect increases over time and becomes more significant on inclusion of the post-discharge period. In our study, the effect remained after PS matching for age and sex. Moreover, after adjusting for comorbidities, metformin provides a decrease in the mortality risk of approximately 45%. Having post-discharge follow-ups distinguishes our study from other related studies, thereby contributing to the literature.

When in-hospital mortality was evaluated, the protectiveness for HR and aHR mortality in the MF( +) group became insignificant after grouped HR matching. Only unmatched HR was protective for mortality in the MF( +) group for the post-discharge period. However, both unmatch and match HR and aHR rates were protective for overall mortality in the MF( +) group.

A recent meta-analysis examining the association between metformin use and overall COVID-19 mortality found an OR of 0.78 (95% CI 0.71–0.86) with PSM studies and 0.75 (95% CI 0.66–0.85) for unmatched studies [23]. The approximately 25% risk reduction found in this meta-analysis was approximately 40% in our study. The fact that we have follow-ups after discharge, our long follow-up period and the inclusion of only hospitalised patients in the study may be the factors affecting this difference.

A meta-analysis in 2020 evaluated nine studies on metformin and COVID-19 hospital mortality. The OR for the non-adjusted model was 0.45 [95% CI: 0.25–0.81], and that for the adjusted model was 0.64 [95% CI: 0.43, 0.97] [24]. However, PSM was not performed in some of the studies evaluated in this meta-analysis. In our study, the preadmission usage of metformin was observed to be protective on in-hospital mortality before PSM, but not after PSM.

Metformin is contraindicated for patients with diabetes having comorbidities such as chronic kidney disease, which has a high risk for mortality. Therefore, metformin-usable patients have a lower diabetic burden [25]. The exclusion of this group in our study provided a more accurate interpretation of the metformin effect. However, some studies did not exclude chronic kidney disease in their analysis [26,27,28]. In a population-based study involving primary care patients, preadmission usage of metformin had no protective effect compared to in-hospital studies [29]. This could be due to the exclusion of the lower risk group. A recent large cohort exploring the registry containing all patients with diabetes nationwide (in-hospital and out-hospital data) also had results consistent with our study. This study showed that patients on metformin prior to infection had a lower risk of death associated with COVID-19 with an HR of 0.77 (95% CI 0.73–0.81) [13]. Although studies on the COVID-19 mortality of preadmission usage of metformin have different results, the differences in the selection of patient and control groups could impact the results.

Although both groups’ median ALT levels were within the normal reference range, ALT levels were higher in metformin users. In our study, higher ALT levels were associated with mortality. Other studies have also found that ALT can predict increased mortality [30, 31]. Despite the higher ALT levels in the metformin group, a lower mortality rate may support the protective effect of metformin in our study.

Our study has some limitations. Since the deaths of the patients after discharge were evaluated with the national death registration system, the death status at home or in another hospital could also be determined precisely from the system. However, since COVID patients who were hospitalised were evaluated in our study, patients who died before hospitalisation due to peri-hospital cardiac arrest could not be evaluated within the scope of this study. Even though we observed in the prescription records that eligible participants were on drugs, it is possible that the patients were not compliant to their medications. In addition, we evaluated the just efficacy of metformin, not the consequences, complications, or interactions of other hypoglycaemic agents and non-diabetic medications that can be used in combination therapy in diabetes patients. Furthermore, the causality could not be inferred from our observations owing to the study design. Randomised controlled studies are needed to evaluate the mentioned effects more clearly. However, these studies are still ongoing. Although studies show beneficial effects, if the patient had impaired renal/hepatic function, discontinuation of this drug is recommended if there are concerns about acidosis.

Conclusion

Preadmission use of metformin is associated with reducing all-cause mortality following hospitalisation for COVID-19. This effect starts from the in-hospital period, but it becomes significant when evaluated within the post-discharge period. Considering that patients with diabetes have a higher risk of death after COVID-19, this positive effect of metformin is reassuring for clinicians and patients.