Introduction

Postoperative delirium (POD) is a major complication among surgical patients and can significantly affect prognosis.1 Delirium is an acute disturbance of consciousness characterized by cognitive impairment, lack of attention, and confusion.2,3 It is not merely a transient symptom; rather it has been closely associated with poor prognosis, including prolonged hospitalization, admission to a facility after discharge, and increased mortality.3–5 Delirium also has a serious impact on patient’s quality of life (QOL) and contributes to greater medical costs and resource utilization.6–8 Risk factors for delirium include predisposing factors such as advanced age and pre-existing dementia, as well as precipitating factors such as systemic inflammatory events (e.g., infection or surgery) and the use of certain medications. In particular, POD is a major clinical concern because its incidence and severity tend to increase following surgery.3,4,9,10 Despite ongoing research, the etiology of delirium remains poorly understood, and effective prevention and treatment strategies have yet to be established. Therefore, the prevention and management of delirium remain critical clinical challenges.

Antidiabetic medications have been investigated for their potential effects on aging and dementia risk.11 In recent years, the possibility that GLP-1 receptor agonists may reduce the risk of dementia has attracted increasing attention.11,12 At the same time, metformin, classical first-line treatment for type 2 diabetes, has also been examined for its potential to mitigate dementia risk and age-related changes.13 Although a recent systematic review has reported that the evidence regarding the potential dementia-preventive effects of metformin remains controversial,11 a study using nonhuman primates have shown that metformin administration can attenuate age-related changes.14 In addition, previous studies have reported that metformin may also exert anti-inflammatory, antioxidant, and neuroprotective effects.14–19 These findings suggest that metformin may play an important role not only in glycemic control but also in neuroprotection and long-term prognostic improvement. Collectively, this evidence raises the possibility that metformin could help prevent delirium and improve postoperative outcomes.

Although our previous study has indicated a potential link between metformin use and reduced risk of delirium or mortality,20 the evidence remains limited by inconsistent definitions of metformin use and incomplete data on concurrent antidiabetic therapies. To address these limitations, we conducted a detailed analysis of the medical records of surgical patients with type 2 diabetes to evaluate the relationship between metformin and the occurrence of POD.

Methods

Study design

This was a single-center, retrospective, observational study. Data were obtained from electronic medical records. The study was conducted in accordance with ethical guidelines for medical research involving human subjects and approved by the Faculty of Medicine, Tottori University Ethical Review Committee (approval number: 23A101). The opt-out process was conducted by posting a notice on the hospital website and bulletin board in accordance with the Tottori University Ethical Review Committee guidelines.

Participants

This study included patients who underwent surgery for malignant tumors at Tottori University Hospital between January 1, 2012, and December 31, 2022, in the Departments of Gastrointestinal Surgery and Thoracic Surgery. Eligible participants were aged 65 years or older and diagnosed with type 2 diabetes at the time of surgery. Patients with type 2 diabetes managed by lifestyle modification only were included if a diagnosis of type 2 diabetes was recorded by the attending physician.

For patients who underwent multiple surgeries, only data from the final surgery were included. Patients were excluded if they met any of the following criteria: refusal to provide medical records; a diagnosis of schizophrenia, mood disorder, or epilepsy at the time of surgery; or undergoing minor surgery associated with a very low risk of delirium. Patients with schizophrenia, mood disorders, or epilepsy were excluded because postoperative mental status changes could not be reliably distinguished from symptoms of the underlying psychiatric condition based solely on medical record review. Minor surgery was defined as procedures involving minimal tissue disruption, including excision of subcutaneous soft tissue tumors confined to the superficial layers and procedures such as inguinal hernia repair or biopsy that do not require extensive organ incision. This criterion was intended to create a more homogeneous study population by limiting the analysis to patients who underwent surgeries with a certain level of invasiveness.

Participant Characteristics

Demographic characteristics, Body Mass Index (BMI), blood test results, medical department, surgical method, blood loss, anesthesia time, and surgery time were extracted from medical records. Blood test results closest to the date of surgery were used for analysis. The Charlson Comorbidity Index (CCI) score was calculated based on preoperative assessments of comorbidities.21

Information regarding antidiabetic medication use at the time of surgical consultation was collected. Patients taking metformin at the time were classified as metformin users. In accordance with the package insert and the recommendations of the Japan Association for Diabetes Education and Care, all patients taking metformin had their antidiabetic regimen modified prior to surgery, and metformin was discontinued several days prior to the procedure. Information on medications other than antidiabetic agents was obtained from prescription records on the day before surgery.

Assessment for delirium

Delirium was assessed using medical records from postoperative days 1 to 5. POD was considered present when medical records documented changes in level of consciousness, memory impairment, disturbances in attention or orientation, hallucinations, delusions, or affective alterations—symptoms consistent with the Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition (DSM-5) criteria for delirium. Each case was independently reviewed by two evaluators, at least one of whom was a psychiatrist specializing in delirium treatment. In cases of disagreement, a third psychiatrist reviewed the case and made a final determination. The assessors reviewed only postoperative medical records and did not have access to any information regarding metformin use. However, because clinical notes may occasionally reference medication changes, complete blinding could not be ensured. Patients who were assessed as having delirium at least once between postoperative days 1 and 5 were classified into the delirium group, whereas those who were never assessed as having delirium during this period were classified into the non-delirium group.

Statistical analysis

All statistical analyses were performed using R version 4.4.3 (R Foundation for Statistical Computing, Vienna, Austria), and EZR version 1.68.22 Fisher’s exact test was used to compare the incidence of delirium between the metformin-treated and non-metformin-treated groups. To further examine the association between metformin use and delirium, a modified Poisson regression analysis23 was performed, adjusting for the following covariates: age, sex, BMI, presence or absence of dementia, renal disease, and CCI score (excluding dementia and renal disease), HbA1c level, surgical method, amount of blood loss, duration of anesthesia, and the use of metformin, insulin, other antidiabetic agents, sleep medications, and antipsychotics. The amount of blood loss and duration of anesthesia were log-transformed before inclusion in the analysis. Missing data were treated using multiple imputation by chained equations24 with 200 imputations. Missing data were present only for HbA1c. HbA1c was treated as a continuous variable, and missing values were imputed using predictive mean matching. The imputation model included the corresponding outcome and all covariates used in the multivariable analyses. As a sensitivity analysis, we also conducted propensity score weighting analyses. All p-values were two-sided, and statistical significance was set at 0.05.

Results

Demographics

A total of 1,159 patients were included in the analysis. There were no participants who refused data usage. The mean age was 74.9 years (standard deviation [SD]: 6.19), and 71.3% were male (Table 1). Among the 1,159 patients, 133 had a history of metformin use. The non-metformin-treated group was older than the metformin-treated group (mean age [SD]: 75.1 [6.24] vs. metformin treated group 73.3 [5.56] years, t-test, p = 0.001) and had a significant lower BMI (mean [SD]:22.6 [3.59] vs. 23.6 [3.37] years, t-test, p = 0.003). In preoperative blood test results, HbA1c levels were lower in the non-metformin-treated group compared with the metformin-treated group (mean age [SD]: non-metformin-treated group 6.63 [0.99] vs. metformin treated group 7.04 [0.95], t-test p < 0.001) (Table 1). Additional information regarding dementia, renal disease, CCI (excluding dementia and renal disease), blood tests, surgical method, amount of blood loss, anesthesia time, medication use, and POD is presented in Table 1.

Table 1.Patient demographics
Classification All Metformin    
subjects    
N 1159 1026 133 P-⁠value Statistical test
Male (n) [%] 826 [71.3] 731 [71.2] 95 [71.4] >0.99  
Mean Age (years old) [SD] 74.9 [6.2] 75.1 [6.2] 73.3 [5.6] 0.001 t = 3.29
Mean BMI (kg/m2) [SD] 22.7 [3.6] 22.6 [3.6] 23.6 [3.4] 0.003 t = -2.98
Dementia (n) [%] 24 [2.1] 23 [2.2] 1 [0.8] 0.51  
Renal disease (n) [%] 22 [1.9] 22 [2.1] 0 [0] 0.16  
Mean CCI excluding Dementia, Renal disease [SD] 3.7 [0.9] 3.7 [0.9] 3.6 [0.8] 0.56 t = 0.59
Mean ASA-PS [SD] 2.39 [0.53] 2.39 [0.53] 2.38 [0.52] 0.86 t = 0.18
Mean HbA1c (%) [SD] 6.68 [1.00] 6.63 [0.99] 7.04 [0.95] <0.001 t = -4.44
Mean Total bilirubin (mg/dL) [SD] 0.66 [0.36] 0.67 [0.36] 0.64 [0.32] 0.38 t = 0.88
Mean Albumin (g/dL) [SD] 3.73 [0.63] 3.71 [0.64] 3.88 [0.55] 0.003 t = -2.95
Mean AST (U/L) [SD] 43.4 [135.5] 41.5 [124.0] 58.3 [203.5] 0.18 t = -1.34
Mean ALT (U/L) [SD] 37.1 [104.7] 36.1 [102.5] 45.3 [120.3] 0.34 t = -0.96
Mean γ-GTP (U/L) [SD] 49.4 [75.0] 49.3 [72.9] 49.5 [90.1] 0.98 t = -0.02
Mean Sodium (mmol/L) [SD] 140.3 [3.0] 140.3 [3.0] 140.0 [2.9] 0.35 t = 0.94
Mean Potassium (mmol/L) [SD] 4.27 [0.44] 4.26 [0.44] 4.31 [0.44] 0.21 t = -1.27
Mean Chloride (mmol/L) [SD] 104.8 [3.4] 104.8 [3.4] 104.3 [2.9] 0.09 t = 1.67
Mean Urea nitrogen (mg/dL) [SD] 17.6 [7.4] 17.7 [7.6] 16.7 [5.7] 0.16 t = 1.40
Mean Creatinine (mg/dL) [SD] 0.94 [0.77] 0.95 [0.81] 0.84 [0.27] 0.13 t = 1.50
Mean CRP (mg/dL) [SD] 0.76 [2.31] 0.79 [2.40] 0.55 [1.43] 0.26 t = 1.13
Mean White blood cell (103/μL) [SD] 7.20 [3.44] 7.14 [3.40] 7.63 [3.67] 0.12 t = -1.55
Mean Hemoglobin (g/dL) [SD] 11.9 [1.92] 11.9 [1.92] 12.2 [1.97] 0.06 t = -1.86
Gastrointestinal surgery (n) [%] 815 [70.3] 717 [69.9] 98 [73.7] 0.42  
Thoracic surgery (n) [%] 344 [29.7] 309 [30.1] 35 [26.3] 0.42  
Surgery in multiple medical departments (n) [%] 84 [7.3] 81 [7.9] 3 [2.3] 0.01  
Surgery in a single department (n) [%] 1075 [92.8] 945 [92.1] 130 [97.7] 0.01  
Surgical method          
Open abdominal (n) [%] 386 [33.3] 337 [32.8] 49 [36.8] 0.38  
Open thoracic (n) [%] 61 [5.3] 54 [5.3] 7 [5.3] 1  
Laparoscopic (n) [%] 359 [31.0] 317 [30.9] 42 [31.6] 0.92  
Thoracoscopic (n) [%] 245 [21.1] 230 [22.4] 15 [11.3] 0.002  
Robotic (n) [%] 108 [9.3] 88 [8.6] 20 [15.0] 0.03  
Mean Anesthesia duration (min) [SD] 379.2 [252.2] 377.6 [259.9] 391.6 [182.5] 0.55 t = -0.60
Mean Amount of blood loss (mL) [SD] 222.6 [476.6] 215.2 [468.6] 280.0 [533.0] 0.14 t = -1.47
Insulin (n) [%] 101 [8.7] 86 [8.4] 15 [11.3] 0.26  
Biguanide excluding metformin (n) [%] 0 [0] 0 [0] 0 [0] NA  
DPP-4 inhibitor (n) [%] 412 [35.5] 315 [30.7] 97 [72.9] <0.001  
GIP/GLP-1 receptor agonist (n) [%] 0 [0] 0 [0] 0 [0] NA  
GLP-1 receptor agonist (n) [%] 11 [0.9] 5 [0.5] 6 [4.5] 0.001  
SGLT2 inhibitor (n) [%] 45 [3.9] 26 [2.5] 19 [14.3] <0.001  
α-glucosidase inhibitor (n) [%] 106 [9.1] 95 [9.3] 11 [8.3] 0.87  
Glimin (n) [%] 0 [0] 0 [0] 0 [0] NA  
Sulfonylurea (n) [%] 171 [14.8] 112 [10.9] 59 [44.4] <0.001  
Thiazolidinedine (n) [%] 100 [8.6] 63 [6.1] 37 [27.8] <0.001  
Benzodiazepine receptor agonist (n) [%] 203 [17.5] 181 [17.6] 22 [16.5] 0.81  
Melatonin receptor agonist (n) [%] 19 [1.6] 19 [1.9] 0 [0] 0.15  
Orexin receptor antagonist (n) [%] 26 [2.2] 22 [2.1] 4 [3.0] 0.53  
Antipsychotics (n) [%] 11 [0.9] 11 [1.1] 0 [0] 0.63  
Antidepressant (n) [%] 28 [2.4] 25 [2.4] 3 [2.3] 1  
Antihistamine (n) [%] 83 [7.2] 75 [7.3] 8 [6.0] 0.72  
Anticholinergic (n) [%] 1 [0.1] 1 [0.1] 0 [0] 1  
Mean ICU stay (days) [SD] 3.0 [11.8] 3.0 [12.3] 2.9 [5.7] 0.96 t = 0.05
Delirium (n) [%] 194 [16.7] 174 [17.0] 20 [15.0] 0.62  

Abbreviation: DM, type 2 diabetes mellitus; Met, Metformin; SD, Standard deviation; BMI, Body mass index; CCI, Charlson
comorbidity index; ICU, Intensive Care Unit.

Incidence of postoperative delirium and history of metformin use

The incidence of delirium was 15.0% in the metformin-treated group and 17.0% in the non-metformin group; however, the difference was not statistically significant (p = 0.624, Fisher’s exact test) (Table 1). Modified Poisson regression analysis indicated that a history of metformin use did not be significantly associated with the risk of POD (Relative risk: 0.94, 95% confidence interval [CI]: 0.60~1.45, p = 0.766) (Table 2). Even in the propensity score weighting analyses, no significant association was observed between metformin use and the incidence of POD (Relative risk: 1.51, 95% CI: 0.62~3.69, p = 0.370) (Table 3).

Table 2.Result of the modified Poisson regression
  RR 95%CI P-⁠value
Age 1.07 1.05 - 1.10 <0.001
Male 1.34 0.98 - 1.82 0.063
BMI 1.00 0.96 - 1.04 0.957
Dementia 2.60 1.57 - 4.30 <0.001
Renal disease 1.41 0.55 - 3.60 0.471
CCI excluding Dementia, Renal disease 1.18 1.05 - 1.34 0.007
HbA1c 1.01 0.88 - 1.16 0.923
Surgical method          
Open abdominal Ref Ref - Ref -
Open thoracic 0.78 0.42 - 1.45 0.431
Laparoscopic 0.80 0.55 - 1.15 0.232
Thoracoscopic 0.86 0.53 - 1.40 0.547
Robotic 0.51 0.25 - 1.03 0.059
Anesthesia duration 3.65 1.84 - 7.23 <0.001
Amount of blood loss 1.24 0.96 - 1.61 0.103
Metformin 0.94 0.60 - 1.45 0.766
Insulin 1.34 0.83 - 2.14 0.227
Other antidiabetic agents 1.24 0.93 - 1.65 0.142
Benzodiazepine receptor agonist 1.35 1.00 - 1.82 0.047
Melatonin receptor agonist 1.17 0.50 - 2.75 0.710
Orexin receptor antagonist 2.51 1.51 - 4.19 <0.001
Antipsychotics 1.85 1.05 - 3.26 0.035

Amount of blood loss and anesthesia duration were adjusted by log transformation. Of the 1,159 subjects, 80 lacked HbA1c data, and the missing data were imputed using multiple imputation by chained equations.
Abbreviation: BMI, Body Mass Index; CCI, Charlson Comorbidity Index

Table 3.Results of Propensity Score Weighting
Model RR 95%CI P-value
Propensity Score Weighting 1.51 0.62 - 3.69 0.370

Propensity Score Weighting was performed using stabilized inverse probability weights derived from the propensity score model. The propensity score model included demographic, clinical, diabetes-related, and perioperative variables. Covariate balance after weighting was assessed using standardized mean differences.(N=1159).

Discussion

In this study, we analyzed the medical records of patients who underwent tumor-related surgery in the Departments of Gastroenterological Surgery and Thoracic Surgery to evaluate the association of metformin use with POD. However, the findings did not provide evidence that metformin use was associated with the risk of POD.

Increasing evidence suggests that metformin may help prevent delirium. Our prior study indicated that a history of oral metformin use was associated with a reduced risk of delirium upon hospital admission.20 Similarly, another study reported that metformin use reduced risk of delirium in elderly patients with type 2 diabetes, with greater protective effects observed at higher doses.25 A cohort study using the TriNetX network found that metformin use was associated with a reduced risk of both delirium and mortality when compared with dipeptidyl peptidase-4 inhibitors.26 Additionally, cumulative metformin administration has been shown to decrease the risk of POD in patients with type 2 diabetes following cardiovascular surgery, demonstrating a dose-dependent protective effect.27 Continuous metformin use also appeared to slightly reduce the incidence of POD after non-cardiac surgery, although the difference was not statistically significant, and it was associated with reduced major complications, particularly renal impairment and early discharge.28

Contrary to prior reports suggesting a protective effect, our findings did not confirm that metformin use reduces the risk of POD. These findings should be interpreted with caution, considering the observational study design and specific characteristics of the study population, including racial and ethnic composition and BMI. Several prior studies that found a delirium-preventive effect of metformin included a high proportion of obese participants.20,26,28 A secondary analysis of one study reported that the delirium risk–reducing effect of metformin was observed only in obese patients.29 Given that most participants in this study’s cohort were of normal weight, this difference in BMI distribution may have attenuated the potential benefit of metformin and could partly account for the discrepancy with prior studies that included a higher proportion of obese participants. This difference in baseline BMI distribution could partly explain the discrepancy between our findings and those of prior studies. Additionally, these prior reports were conducted in non-Asian populations.20,26,28 Therefore, metformin may be less effective in Asian populations than in Caucasian individuals. Unlike Taiwanese cohorts, which determined a correlation between a history of metformin use and reductions in delirium risk, these studies did not provide information on BMI or obesity status26,28; additionally, differences in cohort characteristics may account for the discrepancy in the findings. Moreover, because the data were drawn from routine clinical practice over the past 10 years, temporal (period) effects may have influenced the outcomes. These include improvements in surgical techniques, refinement of anesthetic management, enhanced perioperative care protocols, and advances in adjuvant therapies. Future studies should therefore incorporate detailed information on cancer characteristics and treatment advances.

This study has several limitations. First, as an observational study, it cannot establish causality. Second, although we adjusted for potential confounding factors, it was difficult to completely eliminate the influence of factors such as patients’ underlying diseases, concomitant medications, hospitalization environment, and treatment environment. However, residual confounding may persist despite adjustment. Third, the lack of sufficient data on the cumulative and daily doses of metformin is another limitation. This is because neither the dose nor the duration of metformin use was uniformly recorded in the medical charts. Prior studies have suggested that the effects of metformin are more pronounced at higher cumulative doses,25,27 and collecting more detailed dosage information may enable a more accurate evaluation of the relationship between metformin and relevant outcomes. Fourth, delirium was diagnosed retrospectively, meaning that detection may have been influenced by a specific delirium phenotype. In particular, hypoactive delirium is less likely to be documented in medical records, and therefore may have been under-detected, resulting in a potential increase in false negatives. This could have potentially influenced the main findings on the risk of delirium. Fifth, the relatively small sample size and single-center nature of this study further limit the generalizability of our findings. Sixth, we excluded patients who underwent minimally invasive procedures to ensure a more homogeneous study population. However, this exclusion limits the generalizability of our findings, as the results may not be applicable to patients undergoing less invasive surgeries. Finally, while focusing on Japanese patients is a strength because it minimizes the confounding effects of racial differences such as genetic background, dietary habits, and healthcare access, it also limits the generalizability of this study’s findings to populations in other countries or those with different ethnic compositions. Further studies are required to consider the cultural background, healthcare systems, diet, genetic factors, as well as other factors that may influence the risk of delirium and the efficacy of metformin.

In conclusion, metformin use was not significantly associated with POD in this study.


Funding / Support

The Mitsubishi Foundation

None

Conflict of Interest

Gen Shinozaki is co-founder of Predelix Medical LLC and has pending patents as follows: “Non-invasive device for predicting and screening delirium,” PCT application no. PCT/US2016/064937 and US provisional patent no. 62/263,325; “Prediction of patient outcomes with a novel electroencephalography device,” US provisional patent no. 62/829,411; “Epigenetic Biomarker of Delirium Risk” in the PCT Application No. PCT/US19/51276 and U.S. Provisional Patent No. 62/731,599. Masaaki Iwata has received research funding from OSAKA GAS CO.,LTD. and Daikin Industries, Ltd. for projects unrelated to the present work. The other authors declare no conflicts of interest.

Acknowledgement

The authors express their gratitude to Ms. Iguchi for her assistance with data extraction, and to Dr. Sunada for contributing to the design of the research plan.

Declaration of generative AI and AI-assisted technologies in the writing process

During the preparation of this manuscript, the authors used ChatGPT (GPT-5, OpenAI, San Francisco, CA, USA) to improve content readability and correct grammatical errors. After using this tool, the authors carefully reviewed and revised the content as required and take full responsibility for the final version of the manuscript.

Author Contributions

N. Kajitani collected and organized the clinical data, wrote the initial draft, and edited the final version of the manuscript. T. Yamanashi provided research ideas, collected clinical data, organized data, wrote the initial draft, and edited the final form of the manuscript. T. Nishiguchi, C. Ushida, and M. Nakamoto edited the initial drafts of the manuscript. D. Yoshioka, K. Komatsu, H. Furuse, S. Ikuta, H. Matsuoka, K. Miyatani, Y. Kubouchi, Y. Kitagawa, and T. Okura collected clinical data. H. Noma analyzed data. G. Shinozaki and M. Iwata reviewed the manuscript critically.

Access to Data and Data Analysis

T. Yamanashi. had full access to all study data and takes responsibility for the integrity of the data and the accuracy of the data analysis.

Data Availability

The Data supporting the findings of this study are available from the corresponding author, T. Yamanashi, upon reasonable request.