Hostname: page-component-89b8bd64d-ktprf Total loading time: 0 Render date: 2026-05-07T02:29:11.591Z Has data issue: false hasContentIssue false

Association of depression and gastrointestinal diseases: a three-stage study

Published online by Cambridge University Press:  25 March 2026

Bo Zheng
Affiliation:
School of Public Health, Tianjin Medical University, China
Dun Li
Affiliation:
School of Public Health, Tianjin Medical University, China
Danni Zhu
Affiliation:
School of Public Health, Tianjin Medical University, China
Yun Yang
Affiliation:
School of Public Health, Tianjin Medical University, China
Hongxi Yang
Affiliation:
School of Basic Medical Sciences, Tianjin Medical University, China
Ying Gao
Affiliation:
Health Management Center, Tianjin Medical University General Hospital, China
Shu Li
Affiliation:
School of Management, Tianjin University of Traditional Chinese Medicine, China
Yaogang Wang
Affiliation:
School of Public Health, Tianjin Medical University, China School of Integrative Medicine, Public Health Science and Engineering College, Tianjin University of Traditional Chinese Medicine, China
Xinyu Zhang*
Affiliation:
School of Public Health, Tianjin Medical University, China Tianjin Key Laboratory of Environment, Nutrition and Public Health, Tianjin Medical University, China
*
Corresponding author: Xinyu Zhang; Email: zhangxinyu@tmu.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

Background

Depression as a mental illness is commonly observed to co-occur with various somatic diseases, such as gastrointestinal diseases. However, previous studies have primarily focused on the risk of mental disorders following physical illnesses. Our study took depression as a risk factor, attempting to explore its relationship with gastrointestinal diseases.

Methods

A total of 457,940 participants (aged 37–73 years) in the UK Biobank were included. The Cox proportional hazards model was used to assess the relationship between depression and gastrointestinal diseases. Mendelian randomization assessed the causal link between depression and gastrointestinal disorders, and seven machine learning algorithms (including LightGBM, XGBoost, and Random Forest) were trained in the total population to develop predictive models for incident gastrointestinal diseases, with model performance evaluated using the area under the receiver operating characteristic curve (AUC).

Results

During a median follow-up period of 13.7 years, 9563 esophagitis events, 36,420 gastroesophageal reflux disease events, 5469 gastric ulcer events, 3096 duodenal ulcer events, 37,225 gastritis and duodenitis events, and 9153 dyspepsia events were recorded. After adjusting for covariates, depression was associated with increased risk of all six diseases. Two-sample MR analysis supported a causal association. Machine learning models demonstrated good discrimination, with the highest predictive accuracy observed for duodenal ulcer (AUC = 0.76) and gastric ulcer (AUC = 0.75).

Conclusions

Addressing depression as a modifiable risk factor may reduce gastrointestinal disease risk, especially in disadvantaged populations, by integrating mental health care into primary care and using predictive models for early intervention.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - SA
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike licence (http://creativecommons.org/licenses/by-nc-sa/4.0), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the same Creative Commons licence is used to distribute the re-used or adapted article and the original article is properly cited. The written permission of Cambridge University Press or the rights holder(s) must be obtained prior to any commercial use.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Table 1. Baseline characteristics of study participants by incident depression

Figure 1

Table 2. Multivariable HRs and 95% CIs of associations of depression on gastrointestinal diseases

Figure 2

Figure 1. Effect of depression on outcome in two sample MR.

Figure 3

Figure 2. Performance of gastrointestinal diseases risk prediction: (a) esophagitis, (b) gastroesophageal reflux disease (GERD), (c) gastric ulcer, (d) duodenal ulcer, (e) gastritis and duodenitis, and (f) dyspepsia.

Figure 4

Figure 3. Dierctional SHAP of risk predictors for gastrointestinal diseases: (a) esophagitis, (b) gastroesophageal reflux disease (GERD), (c) gastric ulcer, (d) duodenal ulcer, (e) gastritis and duodenitis, and (f) dyspepsia.

Supplementary material: File

Zheng et al. supplementary material

Zheng et al. supplementary material
Download Zheng et al. supplementary material(File)
File 2.1 MB