Skip to main content
BMC Gastroenterology logoLink to BMC Gastroenterology
. 2026 Jan 5;26:89. doi: 10.1186/s12876-025-04590-8

Prevalence of anxiety, depression and associated risk factors in gastroenterology outpatients: a multicenter cross-sectional study

Qiang Dong 1, Songbo Li 1, Xiaojing Zhu 1, Kexin Lin 1, Yani Li 2, Shasha Wang 3, Yongquan Shi 1,✉
PMCID: PMC12870922  PMID: 41486261

Abstract

Background

Anxiety and depression are closely related to digestive system diseases. However, anxiety and depression in gastroenterology outpatients are not consistently recognized or managed. This study aimed to investigate the prevalence of anxiety, depression and associated risk factors in gastroenterology outpatients.

Methods

We conducted a cross-sectional study from June 2021 to June 2022 in the gastroenterology outpatients of three central hospitals. Professional researchers at each center collected data from patients through face-to-face interviews using a questionnaire. The Hamilton Anxiety Scale, Hamilton Depression Scale and Pittsburgh Sleep Quality Index were respectively used to assess anxiety, depression and sleep quality. Univariate and multivariate logistic regression were performed to identify associated risk factors.

Results

A total of 931 patients were finally included for analysis. The overall detection rates of anxiety and depression were 26.5% and 12.2%, respectively. Gastroesophageal reflux (AOR:1.559, 95%CI:1.084–2.244), dyspepsia (AOR:2.194, 95%CI:1.302–3.696), bile reflux (AOR:3.509, 95%CI:2.413–5.103), atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia (AOR:3.814, 95%CI:1.399–10.402), biliary tract disease (AOR:1.584, 95%CI:1.042–2.410), liver disease (AOR:2.401, 95%CI:1.073–5.374), and poor sleep (AOR:5.578, 95%CI:3.859–8.063) were significantly associated with anxiety. Bile reflux (AOR:5.409, 95%CI:3.190–9.173), liver disease (AOR:3.177, 95%CI:1.183–8.531), and poor sleep (AOR:8.572, 95%CI:4.952–14.840) were significantly associated with depression. Physical exercise time ≥ 150 min/week (AOR:0.550, 95%CI:0.324–0.934) was inversely associated with depression.

Conclusion

Anxiety and depression were prevalent among gastroenterology outpatients. Gastroenterologists should pay close attention to the psychological status of patients, especially those with gastroesophageal reflux, dyspepsia, bile reflux, atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia, biliary tract disease, liver disease, and poor sleep.

Keywords: Anxiety, Depression, Prevalence, Risk factors, Gastroenterology outpatients

Introduction

Anxiety and depression are prevalent psychological disorders with significant implications for individuals’ physical and mental well-being. According to the Global Burden of Disease Study 2019 [1], they ranked the 6th and 4th leading causes of disability-adjusted life-years (DALYs) among adolescents aged 10–24 years, and the 15th and 6th leading causes of DALYs among those aged 25–49 years. These mental health conditions have been extensively linked to various digestive disorders, including irritable bowel syndrome [2], inflammatory bowel disease [3], and gastroesophageal reflux disease [4]. The brain-gut axis has been demonstrated to play a pivotal role in mediating these associations [5–7]. Consequently, evaluating the psychological state of patients with digestive system diseases is essential. Unfortunately, patients with psychological disorders are often not well recognized by gastroenterologists [8–11]. Moreover, most previous studies have focused on evaluating anxiety and depression in patients with specific gastrointestinal diseases using single-center samples. However, few multicenter studies have comprehensively assessed anxiety and depression, as well as their associated risk factors, in the broader population of gastroenterology outpatients. Therefore, we conducted a multicenter cross-sectional study to investigate the prevalence of anxiety and depression among overall gastroenterology outpatients of three central hospitals in Northwest China, and to identify their associated factors, aiming to provide evidence for targeted screening and management.

Methods

Study design and participants

We conducted a multicenter cross-sectional study. From June 2021 to June 2022, we consecutively recruited gastroenterology outpatients from three central hospitals in Shaanxi Province, China: Xijing Hospital (Xi’an), Honghui Hospital (Xi’an), and Xianyang Central Hospital (Xianyang). The inclusion criteria for this study were: (1) aged 18–75 years, regardless of gender; (2) had undergone gastroscopy and colonoscopy within one month (with available examination reports). The exclusion criteria were: (1) a history of gastrointestinal surgery; (2) a history of malignant tumor; (3) ongoing psychological intervention or use of psychotropic drugs; (4) incomplete clinical data or questionnaire responses; (5) failure to complete the study questionnaire.

Sample size estimation

The sample size was estimated using the formula for prevalence-based cross-sectional studies: n = z2 × p × (1 - p)/d2 Based on previous research, the prevalence rates of anxiety and depression were estimated to be 30% [12], so p = 0.3. The significance level (α) was set at 0.05, corresponding to a z-value of 1.96. The allowable error d = 0.1p = 0.03. Using these parameters, the minimum estimated sample size was 897 participants. To account for a potential 10% non-response rate, we aimed to recruit at least 987 patients.

Assessment of sleep quality, anxiety, and depression

Sleep quality was assessed using the Pittsburgh Sleep Quality Index (PSQI). Total PSQI scores ranged from 0 to 21, with higher scores indicating worse sleep quality. Poor sleep was defined as a PSQI total score ≥ 8, while good sleep quality was defined as a PSQI total score < 8 [13]. Anxiety was assessed using the Hamilton Anxiety Scale (HAMA), which comprises 14 items. Higher total scores indicate more severe anxiety, and the anxiety disorder was defined as a HAMA total score > 14 [14, 15]. Depression was assessed using the Hamilton Depression Scale (HAMD), which includes 24 items. Higher total scores indicate more severe depression, and the depression disorder was defined as a HAMD total score > 20 [16, 17].

Assessment of possible confounding factors

Body mass index (BMI) was categorized according to Chinese criteria: underweight (BMI < 18.5 kg/m²), normal weight (18.5 ≤ BMI < 24 kg/m²), and overweight/obesity (BMI ≥ 24 kg/m²). Current smoking was defined as reporting smoking at least one cigarette per day over the past three months. Current alcohol consumption was defined as reporting alcohol intake at least once per week over the past three months. Clinical characteristics were assessed via a combination of self-report, clinician assessment, and review of relevant medical records. Biliary tract diseases included cholecystectomy, cholecystitis, gallstones, and gallbladder polyps. Liver diseases included viral hepatitis, alcoholic hepatitis, autoimmune liver disease, and cirrhosis.

Data collection and quality control

Each center collected patient data via face-to-face interviews using a standardized questionnaire by professional researchers. The data mainly included socio-demographic characteristics, living habits, and clinical characteristics. We developed a standardized questionnaire with the assistance of statistical experts and linguists. Researchers at each center underwent both online and offline training to fully understand the content of the questionnaire, interview procedures, and ethical requirements. We regularly reviewed the returned questionnaires to exclude incomplete or invalid responses, thus ensuring the integrity and reliability of the data.

Statistical analysis

Statistical analysis was performed using SPSS version 25.0 (IBM, Armonk, NY, USA). Categorical variables were expressed as proportions (n, %) and were compared using χ² tests. We performed univariate logistic regression analysis for all correlated variables separately to obtain crude odds ratios (COR). Subsequently, all variables with P < 0.15 in the univariate logistic regression analysis were included in the multivariate logistic regression analysis to identify independent factors. Adjusted odds ratios (AOR) and 95% confidence intervals (CI) were reported to indicate the strength of associations. The variance inflation factor was used to test for multicollinearity between variables in the model. A P-value < 0.05 was considered statistically significant.

Results

Socio-demographic characteristics and living habits of the study participants

A total of 1224 gastroenterology outpatients participated in the survey. According to the inclusion and exclusion criteria, 931 outpatients were finally included in the analysis, including 571 from Xijing Hospital, 255 from Honghui Hospital, and 105 from Xianyang Central Hospital. Among all participants, 507 (54.5%) were female, with a median age of 49 years (interquartile range, 38–58). A majority of the participants 537(57.7%) had an average weight and 820(88.1%) were married. Most participants, 642(69.0%) resided in urban areas and 440(47.3%) had a college education or above. Additionally, 551(59.2%) participants worked more than 8 h daily, while 656 (70.5%) had an average monthly income of no less than 3000 RMB. Regarding living habits, 547(58.8%) participants reported doing physical exercise for less than 150 min per week. The majority of participants did not smoke 776(83.4%) or consume alcohol 733(78.7%), as shown in Table 1.

Table 1.

Socio-demographic characteristics and living habits of the study participants (n = 931)

Variables Categories Frequency(n) Percentage(%)
Gender

Male

Female

424

507

45.5

54.5

Age in years

18–29

30–44

45–59

60–75

94

255

381

201

10.1

27.4

40.9

21.6

BMI(kg/m2)

< 18.5

18.5–23.99

≥ 24

90

537

304

9.7

57.7

32.7

Marital status

Unmarried

Married

Divorced/Widowed

93

820

18

10.0

88.1

1.9

Residence

Rural

Urban

289

642

31.0

69.0

Educational level

≤Middle school

High school

≥College

116

375

440

12.5

40.3

47.3

Monthly income(RMB)

< 3000

≥ 3000

275

656

29.5

70.5

Working hours per day(h)

< 8

≥ 8

380

551

40.8

59.2

Physical exercise time(min/week)

< 150

≥ 150

547

384

58.8

41.2

Current smoking

No

Yes

776

155

83.4

16.6

Current alcohol intake

No

Yes

733

198

78.7

21.3

Clinical characteristics of the study participants

Regarding gastrointestinal symptoms, approximately half of the patients 442 (47.5%) experienced gastroesophageal reflux, while more than three-quarters 711 (76.4%) had dyspepsia. Among the participants, 137 (14.7%) reported chronic diarrhea, and 224 (24.1%) reported chronic constipation. Findings from gastroscopy and colonoscopy revealed that more than one-third 332 (35.7%) had bile reflux, while 91 (9.8%) had peptic ulcer, and 89 (9.6%) had gastrointestinal polyps. Furthermore, 504(54.1%) participants had non-atrophic gastritis, 396 (42.5%) had atrophic gastritis, and 31 (3.3%) had atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia. Other relevant investigations showed that 188(20.2%) participants tested positive for Helicobacter pylori infection, 214 (23.0%) had biliary tract disease, 37 (4.0%) had liver disease, 129(13.9%) had hypertension, and 44(4.7%) had diabetes as shown in Table 2.

Table 2.

Clinical characteristics of the study participants (n = 931)

Variables Categories Frequency(n) Percentage(%)
Gastroesophageal reflux

No

Yes

489

442

52.5

47.5

Dyspepsia

No

Yes

220

711

23.6

76.4

Chronic diarrhea

No

Yes

794

137

85.3

14.7

Chronic constipation

No

Yes

707

224

75.9

24.1

Peptic ulcer

No

Yes

840

91

90.2

9.8

Gastrointestinal polyp

No

Yes

842

89

90.4

9.6

Bile reflux

No

Yes

599

332

64.3

35.7

Gastroscopy findings

Non-atrophic gastritis

Atrophic gastritis

Atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia

504

396

31

54.1

42.5

3.3

Helicobacter pylori infection status

No

Yes

743

188

79.8

20.2

Biliary tract disease

No

Yes

717

214

77.0

23.0

Liver disease

No

Yes

894

37

96.0

4.0

Hypertension

No

Yes

802

129

86.1

13.9

Diabetes

No

Yes

887

44

95.3

4.7

Prevalence of poor sleep, anxiety, and depression of the study participants

Among the study participants, approximately one-third 312 (33.5%) reported poor sleep quality. The overall detection rates for anxiety, depression, anxiety or depression, and anxiety and depression were 26.5%, 12.2%, 27.2%, and 11.6%, respectively. It was observed that the detection rates of poor sleep, anxiety, and depression were higher in females compared to males (P < 0.001). Additionally, the detection rates of poor sleep, depression, and anxiety and depression were higher in the 60–75 years age group compared to other age groups (P < 0.05) (Table 3).

Table 3.

Prevalence of poor sleep, anxiety, and depression among outpatients in the department of gastroenterology

Patients Poor sleep Anxiety Depression Anxiety or depression Anxiety and depression
Total(n = 931) 312(33.5) 247(26.5) 114(12.2) 253(27.2) 108(11.6)
Gender
 Male(n = 424) 112(26.4) 83(19.6) 33(7.8) 84(19.8) 32(7.5)
 Female(n = 507) 200(39.4) 164(32.3) 81(16.0) 169(33.3) 76(15.0)
 Statistic χ2 = 17.601 χ2 = 19.323 χ2 = 14.425 χ2 = 21.333 χ2 = 12.474
 P < 0.001 < 0.001 < 0.001 < 0.001 < 0.001
Age in years
 18–29(n = 94) 20(21.3) 24(25.5) 10(10.6) 25(26.6) 9(9.6)
 30–44(n = 255) 63(24.7) 52(20.4) 19(7.5) 54(21.2) 17(6.7)
 45–59(n = 381) 138(36.2) 111(29.1) 55(14.4) 114(29.9) 52(13.6)
 60–75(n = 201) 91(45.3) 60(29.9) 30(14.9) 60(29.9) 30(14.9)
 Statistic χ2 = 28.924 χ2 = 7.439 χ2 = 8.725 χ2 = 6.831 χ2 = 10.154
 P < 0.001 0.059 0.033 0.077 0.017

Factors associated with anxiety

The univariate logistic regression analysis indicated that several socio-demographic characteristics and living habits, including gender, age, BMI, residence, educational level, monthly income, working hours per day, and current alcohol intake, were significantly associated with anxiety (P < 0.15). Clinical characteristics such as gastroesophageal reflux, dyspepsia, chronic constipation, bile reflux, biliary tract disease, peptic ulcer, liver disease, gastrointestinal polyps, gastroscopy findings, and sleep quality were also significantly associated with anxiety. The variance inflation factors for these variables were all less than 5, excluding multicollinearity among the variables. Subsequently, a multivariate regression analysis was performed to identify the independent associations between anxiety and the significant variables. The results revealed that gastroesophageal reflux, dyspepsia, bile reflux, biliary tract disease, liver disease, atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia, and poor sleep were independently associated with anxiety (P < 0.05).

Patients with gastroesophageal reflux symptoms were 1.559 times more likely to develop anxiety than those without gastroesophageal reflux symptoms (AOR:1.559, 95%CI: 1.084–2.244). The risk of anxiety in patients with dyspepsia was 2.194 times higher than those without (AOR:2.194, 95%CI: 1.302–3.696). Patients with bile reflux had a 3.509-fold increased risk of anxiety (AOR:3.509, 95%CI:2.413–5.103) compared to patients without bile reflux. Patients with biliary tract disease had 1.584 times the odds of developing anxiety as patients without biliary tract disease (AOR: 1.584, 95%CI:1.042–2.410). The odds of having anxiety among participants with liver disease was 2.401 times higher than those without liver disease (AOR: 2.401, 95%CI:1.073–5.374). The model also showed that patients who had atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia were 3.814times more likely to have potential anxiety as compared to those with non-atrophic gastritis (AOR:3.814, 95%CI:1.399–10.402). The results of this study showed that the odds of having anxiety among participants who had poor sleep was about 5.578 times higher compared to participants who had good sleep (AOR:5.578, 95%CI:3.859–8.063) (Table 4).

Table 4.

Univariate and multivariate logistic regression analysis on factors associated with anxiety among outpatients in the department of gastroenterology(n = 931)

Variables Categories Anxiety COR(95%CI) AOR(95%CI)
No Yes
Gender

Male

Female

341

343

83

164

1

1.964(1.450–2.661)

1

1.149(0.748–1.766)

Age in years

18–29

30–44

45–59

60–75

70

203

270

141

24

52

111

60

1

0.747(0.429–1.301)

1.199(0.717–2.004)

1.241(0.714–2.158)

1

0.722(0.369–1.411)

0.970(0.479–1.965)

0.649(0.286–1.474)

BMI(kg/m2)

< 18.5

18.5–23.99

≥ 24

56

387

241

34

150

63

1.566(0.983–2.496)

1

0.674

0.985(0.541–1.792)

1

0.704(0.465–1.067)

Residence

Rural

Urban

199

485

90

157

1.397(1.028–1.900)

1

1.329(0.843–2.096)

1

Educational level

≤Middle school

High school

≥College

69

278

337

47

97

103

2.229(1.448–3.431)

1.142(0.829–1.571)

1

1.348(0.678–2.683)

0.802(0.506–1.271)

1

Monthly income(RMB)

< 3000

≥ 3000

181

503

94

153

1.707(1.255–2.323)

1

0.905(0.576–1.423)

1

Working hours per day(h)

< 8

≥ 8

256

428

124

123

1.685(1.257–2.261)

1

1.284(0.856–1.927)

1

Current alcohol intake

No

Yes

518

166

215

32

2.153(1.428–3.246)

1

1.372(0.799–2.354)

1

Gastroesophageal reflux

No

Yes

393

291

96

151

1

2.124(1.578–2.860)

1

1.559(1.084–2.244)*

Dyspepsia

No

Yes

196

488

24

223

1

3.732(2.374–5.867)

1

2.194(1.302–3.696)*

Chronic constipation

No

Yes

543

141

164

83

1

1.949(1.412–2.691)

1

1.393(0.926–2.097)

Peptic ulcer

No

Yes

609

75

231

16

1

0.594(0.332–1.075)

1

0.865(0.456–1.653)

Gastrointestinal polyp

No

Yes

612

72

230

17

1

0.628(0.363–1.089)

1

0.922(0.478–1.779)

Bile reflux

No

Yes

507

177

92

155

1

4.826(3.541–6.577)

1

3.509(2.413–5.103)**

Gastroscopy findings

Non-atrophic gastritis

Atrophic gastritis Atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia

379

292

13

125

104

18

1

1.080(0.799–1.460)

4.198(2.000–8.812)

1

0.904(0.608–1.345)

3.814(1.399–10.402)*

Biliary tract disease

No

Yes

553

131

164

83

1

2.136(1.543–2.958)

1

1.584(1.042–2.410)*

Liver disease

No

Yes

665

19

229

18

1

2.751(1.419–5.333)

1

2.401(1.073–5.374)*

Sleep quality

Good sleep

Poor sleep

532

152

87

160

1

6.437(4.687–8.840)

1

5.578(3.859–8.063)**

1: reference category, AOR: Adjusted odds ratio, CI confidence interval, COR Crude odds ratio, *: statistically significant at P < 0.05, **: statistically significant at P < 0.001

Factors associated with depression

Our univariate logistic regression analysis revealed that several socio-demographic characteristics and living habits such as gender, age, BMI, marital status, residence, educational level, monthly income, working hours per day, physical exercise time, and current alcohol intake were significantly associated with depression (P < 0.15). Clinical characteristics, including gastroesophageal reflux, dyspepsia, chronic constipation, bile reflux, biliary tract disease, peptic ulcer, liver disease, gastrointestinal polyps, gastroscopy findings, and sleep quality, were also significantly associated with depression. The variance inflation factors for these variables were all less than 5, excluding multicollinearity among the variables. Further multivariate regression analysis revealed that physical exercise time, bile reflux, liver disease, and poor sleep were independently associated with depression (P < 0.05).

In this study, the odds of having depression among participants with bile reflux were about 5.409 times higher as compared to those without bile reflux (AOR:5.409, 95%CI: 3.190–9.173). Patients with liver disease were 3.177 times more likely to develop depression than those without liver disease (AOR:3.177, 95%CI: 1.183–8.531). The odds of developing depression were 8.572 times higher among respondents with poor sleep than good sleep (AOR:8.572, 95%CI: 4.952–14.840). The results of the study found that patients with physical exercise time ≥ 150 min/week may have a reduced risk of depression compared with patients with physical exercise time < 150 min/week (AOR:0.550, 95%CI:0.324–0.934).(Table 5).

Table 5.

Univariate and multivariate logistic regression analysis on factors associated with depression among outpatients in the department of gastroenterology(n = 931)

Variables Categories Depression COR(95%CI) AOR(95%CI)
No Yes
Gender

Male

Female

391

426

33

81

1

2.253(1.469–3.454)

1

1.227(0.656–2.296)

Age in years

18–29

30–44

45–59

60–75

84

236

326

171

10

19

55

30

1

0.676(0.302–1.513)

1.417(0.693–2.898)

1.474(0.688–3.157)

1

0.541(0.106–2.763)

0.965(0.184–5.048)

0.676(0.121–3.772)

BMI(kg/m2)

< 18.5

18.5–23.99

≥ 24

68

472

277

22

65

27

2.349(1.361–4.057)

1

0.708(0.441–1.135)

1.769(0.862–3.630)

1

0.753(0.422–1.342)

Marital status

Unmarried

Married

Divorced/Widowed

85

719

13

8

101

5

1

1.493(0.702–3.173)

4.087(1.158–14.416)

1

1.455(0.281–7.537)

5.002(0.594–42.153)

Residence

Rural

Urban

242

575

47

67

1.667(1.115–2.492)

1

1.567(0.868–2.830)

1

Educational level

≤Middle school

High school

≥College

90

330

397

26

45

43

2.667(1.557–4.568)

1.259(0.809–1.960)

1

0.893(0.370–2.153)

0.672(0.358–1.261)

1

Monthly income(RMB)

< 3000

≥ 3000

223

594

52

62

2.234(1.498–3.331)

1

1.455(0.809–2.617)

1

Working hours per day(h)

< 8

≥ 8

324

493

56

58

1.469(0.992–2.176)

1

0.811(0.454–1.449)

1

Physical exercise time(min/week)

< 150

≥ 150

469

348

78

36

1

0.622(0.409–0.945)

1

0.550(0.324–0.934)*

Current alcohol intake

No

Yes

634

183

99

15

1.905(1.080–3.360)

1

0.961(0.445–1.449)

1

Gastroesophageal reflux

No

Yes

447

370

42

72

1

2.071(1.382–3.104)

1

1.273(0.770–2.104)

Dyspepsia

No

Yes

212

605

8

106

1

4.643(2.225–9.687)

1

2.257(0.982–5.191)

Chronic constipation

No

Yes

633

184

74

40

1

1.860(1.224–2.825)

1

0.990(0.578–1.693)

Peptic ulcer

No

Yes

731

86

109

5

1

0.390(0.155–0.982)

1

0.640(0.207–1.986)

Gastrointestinal polyp

No

Yes

732

85

110

4

1

0.313(0.113–0.871)

1

0.530(0.169–1.666)

Bile reflux

No

Yes

570

247

29

85

1

6.764(4.325–10.578)

1

5.409(3.190–9.173)**

Gastroscopy findings

Non-atrophic gastritis

Atrophic gastritis

Atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia

475

337

23

47

59

8

1

1.702(1.132–2.561)

3.382(1.433–7.982)

1

1.565(0.911–2.690)

2.268(0.707–7.272)

Biliary tract disease

No

Yes

642

175

75

39

1

1.908(1.252–2.908)

1

1.166(0.672–2.022)

Liver disease

No

Yes

790

27

104

10

1

2.813(1.324–5.979)

1

3.177(1.183–8.531)*

Sleep quality

Good sleep

Poor sleep

597

220

22

92

1

11.348(6.951–18.526)

1

8.572(4.952–14.840)**

1: reference category, AOR: Adjusted odds ratio, CI confidence interval, COR Crude odds ratio, *: statistically significant at P < 0.05, **: statistically significant at P < 0.001

Discussion

This multicenter cross-sectional study aimed to investigate the prevalence of anxiety and depression, as well as their associated risk factors, among gastroenterology outpatients of three central hospitals in Northwest China. The results showed that the overall detection rates of anxiety and depression were 26.5% and 12.2%, respectively. Gastroesophageal reflux, dyspepsia, bile reflux, atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia, biliary tract disease, liver disease, and poor sleep were significantly associated with anxiety. Bile reflux, liver disease, and poor sleep were significantly associated with depression. Physical exercise time ≥ 150 min/week was inversely associated with depression.

Prevalence of anxiety and depression among outpatients in the department of gastroenterology

Previous studies indicated that mental and psychological problems were quite common in the northwest region of China, especially in rural areas [18, 19], among the elderly population [20] and student groups [21].

The anxiety detection rate (26.5%) in our study was almost consistent with those reported in previous studies, including 27.0% among gastroenterology inpatients and outpatients from eight general hospitals in Shandong Province, China [12], and 27.5% among gastroenterology outpatients from four general hospitals in Riyadh, Saudi Arabia [22]. However, our results were higher than those reported in studies by Lijuan Feng (20.7%) [23], Monika Mussell (19.4%) [24], Xiaojing Li (9.4%) [25], and Chunyan Zhu (6.9%) [26]. These differences in results could be attributed to variations in study design, geographical differences, and the use of different assessment scales. For instance, Lijuan Feng’s study focused on inpatients in a single Chinese general hospital, while Monika Mussell studied subjects in primary care centers in the United States. Additionally, the anxiety assessment scales in their study differed from our HAMA, with Xiaojing Li and Chunyan Zhu using the Hospital Anxiety and Depression Scale (HADS), Lijuan Feng using the Self-Rating Anxiety Scale (SAS), and Monika Mussell using the seven-item Generalized Anxiety Disorder Scale (GAD-7).

The depression detection rate (12.2%) in our study was comparable to those reported in studies by Xiaoxia Qin(11.0%) [27], Chunyan Zhu(15.2%) [26], and Xiaojing Li(9.4%) [25]. However, our results were lower compared to studies conducted in the United States (19.1%) [24] and Saudi Arabia (35.9%) [22]. Different results may be attributed to the differences in economic culture and the different assessment scales in the United States (the eight-item depression module of the Patient Health Questionnaire, PHQ-8) and Saudi Arabia (PHQ-9). Furthermore, our results were lower than the other two studies from China, Anzhong Zhang (31.1%) [12], and Lijuan Feng (31.8%) [23]. One possible explanation for this difference was that the subjects in those studies were selected from inpatients who generally had more severe conditions and thus a higher likelihood of developing severe depression.

Factors associated with anxiety and depression

Gastroesophageal reflux was significantly associated with anxiety in our study. Several studies have shown a strong association between anxiety and gastroesophageal reflux disease(GERD) [28, 29]. Moreover, a bidirectional Mendelian randomization study confirmed that GERD was associated with an increased likelihood of anxiety [30]. Patients with dyspepsia were 2.194 times more likely to suffer from anxiety than those without dyspepsia. A cross-sectional survey from a Chinese community found that dyspepsia was associated with an increased likelihood of anxiety by 2.03 times (OR = 2.03, 95% CI: 1.06–3.89) [31]. Furthermore, a 5–15 year prospective study from the United States found that dyspepsia in childhood was associated with an increased likelihood of anxiety disorders and reduced quality of life in adolescence and young adulthood [32], and a 10-year follow-up study in Sweden also confirmed a strong association between dyspepsia and anxiety [33]. Compared with patients with non-atrophic gastritis, those with atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia were more likely to suffer from anxiety. Gastric intestinal metaplasia or intraepithelial neoplasia was associated with an increased likelihood of progression to gastric cancer [34, 35], which may be correlated with anxiety due to patient concern. A multicenter population-based cohort study also showed that patients with high-grade intraepithelial neoplasia and esophageal cancer were more likely to have anxiety (RR:2.20,95%CI: 1.10–4.30) and a longer duration of anxiety [36]. Furthermore, our study revealed that biliary tract disease was associated with an increased likelihood of anxiety. Previous studies have shown that biliary tract diseases can lead to gastrointestinal dysfunction [37, 38], which can decrease quality of life and subsequently induces anxiety. Notably, we found an inverse association between moderate physical exercise and depression, consistent with a population-based study from Korea that reported a similar association between moderate physical exercise and depressive symptoms [39]. Additionally, several randomized controlled trials have also demonstrated that moderate physical exercise can reduce the risk of depression in various populations, including adolescents [40], older adults [41], and pregnant women during the perinatal period [42]. Multiple studies have confirmed that exercise may alleviate depression by regulating the release of neurotransmitters and neurotrophic factors, as well as modulating the immune inflammatory response [43, 44].

Furthermore, our results demonstrated that bile reflux was an independent risk factor for anxiety and depression. This may be due to the recurrent symptoms of bile reflux, which negatively impact overall quality of life. Additionally, bile reflux is associated with an increased likelihood of gastric cancer [45] and esophageal cancer [46], which can further exacerbate anxiety and depression in affected patients. Liver disease was also identified as an independent risk factor for both anxiety and depression in our study. A multicenter epidemiological study of patients with chronic digestive system diseases found that the detection rates of anxiety and depression were the highest in patients with digestive system tumors, followed by patients with liver cirrhosis (48.1% and 41.4%, respectively) [12]. A multicenter study from the United States also confirmed that anxiety and depression are common in patients with cirrhosis, with nearly half experiencing moderate to severe anxiety and nearly one in six experiencing moderate to severe depression [47]. Additionally, our findings indicated that poor sleep quality was associated with an increased likelihood of both anxiety and depression. This was consistent with previous research that had consistently shown a link between poor sleep and an increased risk of anxiety and depression in various populations, including children [48], college students [49], the elderly [50], and postpartum women [51].

Limitations of the study

Indeed, several limitations of our study should be acknowledged. Firstly, the study subjects were recruited exclusively from three general hospitals in northwest China, which may limit the generalizability of our findings to other populations or regions. The lack of random sampling in hospital selection may have introduced selection bias and compromised the representativeness of the study sample. In addition, the cross-sectional design of our study prevented us from establishing causal relationships between the outcome variables and the predictor variables. In the future, longitudinal or prospective studies would be needed to provide more robust evidence on the causal relationships between anxiety, depression, and the risk factors identified in our study.

Conclusions

Anxiety and depression were prevalent among gastroenterology outpatients. Gastroesophageal reflux, dyspepsia, biliary tract disease, and atrophic gastritis with intestinal metaplasia or intraepithelial neoplasia were significantly associated with anxiety. Bile reflux, liver disease, and poor sleep were significantly associated with anxiety and depression. Gastroenterologists should enhance screening for anxiety and depression in gastroenterology outpatients, especially in those with the aforementioned risk factors.

Acknowledgements

This research was supported by State Key Laboratory of Holistic Integrative Management of Gastrointestinal Cancers, National Clinical Research Center for Digestive Diseases, Xijing Hospital of Digestive Diseases, Air Force Medical University, Xi’an 710032, Shaanxi Province, China, Department of Gastroenterology, Honghui Hospital, Xi’an 710054, Shaanxi Province, China, Department of Gastroenterology, Xianyang Central Hospital, Xianyang 712099, Shaanxi Province, China. The authors thank all respondents involved in this study.

Authors’ contributions

DQ analyzed and interpreted the data, and was a major contributor in writing the manuscript. SYQ made substantial contributions to conception and design; DQ, LSB, ZXJ, LKX, LYN, WSS contributions to acquisition of data. DQ was involved in revising it critically for important intellectual content. All authors read and approved the final manuscript.

Funding

This work was supported by Shaanxi Key Research & Development Projects (2023-ZDLSF-35).

Data availability

No datasets were generated or analysed during the current study.

Declarations

Ethics approval and consent to participate

The study was approved by the Ethics Committee of Xijing Hospital, Air Force Medical University(No. KY20202100-F-1). Each enrolled patient signed a written informed consent form.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Vos T, Lim SS, Abbafati C, Abbas KM, Abbasi M, Abbasifard M, Abbasi-Kangevari M, Abbastabar H, Abd-Allah F, Abdelalim A, et al. Global burden of 369 diseases and injuries in 204 countries and territories, 1990–2019: a systematic analysis for the global burden of disease study 2019. Lancet. 2020;396(10258):1204–22. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Lee C, Doo E, Choi JM, Jang S, Ryu H, Lee JY, et al. The increased level of depression and anxiety in irritable bowel syndrome patients compared with healthy controls: systematic review and meta-analysis. J Neurogastroenterol. 2017;23(3):349–62. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Barberio B, Zamani M, Black CJ, Savarino EV, Ford AC. Prevalence of symptoms of anxiety and depression in patients with inflammatory bowel disease: a systematic review and meta-analysis. Lancet Gastroenterol Hepatol. 2021;6(5):359–70. [DOI] [PubMed] [Google Scholar]
  • 4.Kessing BF, Bredenoord AJ, Saleh CMG, Smout AJPM. Effects of anxiety and depression in patients with gastroesophageal reflux disease. Clin Gastroenterol Hepatol. 2015;13(6):1089–95. [DOI] [PubMed] [Google Scholar]
  • 5.Jacobs JP, Gupta A, Bhatt RR, Brawer J, Gao K, Tillisch K, et al. Cognitive behavioral therapy for irritable bowel syndrome induces bidirectional alterations in the brain-gut-microbiome axis associated with gastrointestinal symptom improvement. Microbiome. 2021;9(1):236. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Person H, Keefer L. Psychological comorbidity in gastrointestinal diseases: update on the brain-gut-microbiome axis. Prog Neuro-Psychopharmacol Biol Psychiatry. 2021;107:110209. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Fairbrass KM, Lovatt J, Barberio B, Yuan Y, Gracie DJ, Ford AC. Bidirectional brain-gut axis effects influence mood and prognosis in IBD: a systematic review and meta-analysis. Gut. 2022;71(9):1773–80. [DOI] [PubMed] [Google Scholar]
  • 8.Kroenke K, Spitzer RL, Williams JBW, Monahan PO, Löwe B. Anxiety disorders in primary care: prevalence, impairment, comorbidity, and detection. Ann Intern Med. 2007;146(5):317–25. [DOI] [PubMed] [Google Scholar]
  • 9.Cepoiu M, McCusker J, Cole MG, Sewitch M, Belzile E, Ciampi A. Recognition of depression by non-psychiatric physicians–a systematic literature review and meta-analysis. J Gen Intern Med. 2008;23(1):25–36. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Keefer L, Sayuk G, Bratten J, Rahimi R, Jones MP. Multicenter study of gastroenterologists’ ability to identify anxiety and depression in a new patient encounter and its impact on diagnosis. J Clin Gastroenterol. 2008;42(6):667–71. [DOI] [PubMed] [Google Scholar]
  • 11.Janmohamed N, Steinhart AH. Measuring severity of anxiety and depression in patients with inflammatory bowel disease: low concordance between patients and male gastroenterologists. Inflamm Bowel Dis. 2017;23(7):1168–73. [DOI] [PubMed] [Google Scholar]
  • 12.Zhang A, Wang Q, Huang K, Huang J, Zhou C, Sun F, et al. Prevalence of depression and anxiety in patients with chronic digestive system diseases: a multicenter epidemiological study. World J Gastroenterol. 2016;22(42):9437–44. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Wu W, Jiang Y, Wang N, Zhu M, Liu X, Jiang F, et al. Sleep quality of Shanghai residents: population-based cross-sectional study. Qual Life Res. 2020;29(4):1055–64. [DOI] [PubMed] [Google Scholar]
  • 14.Ye Z, Zhang Y, Du M, Lu S, Zhao Q, Yang S. The correlation between probiotics and anxiety and depression levels in cancer patients: a retrospective cohort study. Front Psychiatry. 2022;13:830081. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Xu P, Wu S, Zhao J, Liu J, Zhang X. The prevalence and clinical correlates of severe anxiety symptoms in first-episode drug-naïve schizophrenia: a Chinese population study. BMC Psychiatry. 2025;25(1):743. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Li S, Guo B, Yang Q, Yin J, Tian L, Zhu H, et al. Evaluation of depression status and its influencing factors in convalescent elderly patients with first-episode stroke. Asian J Psychiatr. 2022;77:103252. [DOI] [PubMed] [Google Scholar]
  • 17.Wang J, Jiang C, Chen L, Wu S, Lin J, Gao L, et al. A cross-sectional study to investigate the correlation between depression comorbid with anxiety and serum lipid levels. Compr Psychiatry. 2016;69:163–8. [DOI] [PubMed] [Google Scholar]
  • 18.Gao Q, Lei C, Wei X, Peng L, Wang X, Yue A, Shi Y. Exploring the interplay of living arrangements, social support, and depression among older adults in rural Northwest China. BMC Public Health. 2024;24(1):3297. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Niu F, Wang X. Psychological well-being of rural left-behind women in Northwest China and its associated factors: a regional, population-based study. Front Public Health. 2024;12:1395996. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Yunming L, Changsheng C, Haibo T, Wenjun C, Shanhong F, Yan M, et al. Prevalence and risk factors for depression in older people in Xi’an China: a community-based study. Int J Geriatr Psychiatry. 2012;27(1):31–9. [DOI] [PubMed] [Google Scholar]
  • 21.Yang Z, Shang Y, Liang Y, Zhang H, Yang Y, Wang Y, Shang L, Zhang Y. The quality of life and its relationship with systemic family dynamics and mental health in senior high school students from Shaanxi, China. Front Public Health. 2022;10:833561. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Alosaimi F, Al-sultan O, Alghamdi Q, Almohaimeed I, Alqannas S. Association of help-seeking behavior with depression and anxiety disorders among gastroenterological patients in Saudi Arabia. Saudi J Gastroenterol. 2014;20(4):233. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Feng L, Li Z, Gu X, Jiang J, Liu X. Psychosomatic disorders in patients with gastrointestinal diseases: single-center cross-sectional study of 1186 inpatients. Gastroenterol Res Pract. 2021;2021:6637084. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Mussell M, Kroenke K, Spitzer RL, Williams JBW, Herzog W, Löwe B. Gastrointestinal symptoms in primary care: prevalence and association with depression and anxiety. J Psychosom Res. 2008;64(6):605–12. [DOI] [PubMed] [Google Scholar]
  • 25.Li X, He Y, Ma H, Liu Z, Jia F, Zhang L, et al. Prevalence of depressive and anxiety disorders in Chinese gastroenterological outpatients. World J Gastroenterol. 2012;18(20):2561–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Zhu C, Ou L, Geng Q, Zhang M, Ye R, Chen J, et al. Association of somatic symptoms with depression and anxiety in clinical patients of general hospitals in Guangzhou, China. Gen Hosp Psychiatry. 2012;34(2):113–20. [DOI] [PubMed] [Google Scholar]
  • 27.Qin X, Wang W, Jin Q, Ai L, Li Y, Dong G, et al. Prevalence and rates of recognition of depressive disorders in internal medicine outpatient departments of 23 general hospitals in Shenyang, China. J Affect Disord. 2008;110(1–2):46–54. [DOI] [PubMed] [Google Scholar]
  • 28.On ZX, Grant J, Shi Z, Taylor AW, Wittert GA, Tully PJ, et al. The association between gastroesophageal reflux disease with sleep quality, depression, and anxiety in a cohort study of Australian men. J Gastroenterol Hepatol. 2017;32(6):1170–7. [DOI] [PubMed] [Google Scholar]
  • 29.Choi JM, Yang JI, Kang SJ, Han YM, Lee J, Lee C, et al. Association between anxiety and depression and gastroesophageal reflux disease: results from a large cross-sectional study. J Neurogastroenterol Motil. 2018;24(4):593–602. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Zeng Y, Cao S, Yang H. The causal role of gastroesophageal reflux disease in anxiety disorders and depression: a bidirectional Mendelian randomization study. Front Psychiatry. 2023;14:1135923. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Mak ADP, Wu JCY, Chan Y, Chan FKL, Sung JJY, Lee S. Dyspepsia is strongly associated with major depression and generalised anxiety disorder - a community study. Aliment Pharmacol Ther. 2012;36(8):800–10. [DOI] [PubMed] [Google Scholar]
  • 32.Rippel SW, Acra S, Correa H, Vaezi M, Di Lorenzo C, Walker LS. Pediatric patients with dyspepsia have chronic symptoms, anxiety, and lower quality of life as adolescents and adults. Gastroenterology. 2012;142(4):754–61. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Aro P, Talley NJ, Johansson S, Agréus L, Ronkainen J. Anxiety is linked to new-onset dyspepsia in the Swedish population: a 10-year follow-up study. Gastroenterology. 2015;148(5):928–37. [DOI] [PubMed] [Google Scholar]
  • 34.Shao L, Li P, Ye J, Chen J, Han Y, Cai J, et al. Risk of gastric cancer among patients with gastric intestinal metaplasia. Int J Cancer. 2018;143(7):1671–7. [DOI] [PubMed] [Google Scholar]
  • 35.Lee JWJ, Zhu F, Srivastava S, Tsao SK, Khor C, Ho KY, Fock KM, Lim WC, Ang TL, Chow WC, et al. Severity of gastric intestinal metaplasia predicts the risk of gastric cancer: a prospective multicentre cohort study (GCEP). Gut. 2022;71(5):854–63. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Zhu J, Ma S, Chen R, Xie S, Liu Z, Liu Z, et al. Long-term anxiety and depression signatures of participants that received esophageal cancer screening: a multicenter population-based cohort study. Cancer Med. 2023;12(5):6294–306. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Berhane T, Hausken T, Olafsson S, Søndenaa K. Ultrasound examination shows disturbed proximal gastric function in symptomatic gallstone patients with dyspepsia and improvement after cholecystectomy–gallstones and gastric emptying. Ultraschallmed. 2006;27(5):451. [DOI] [PubMed] [Google Scholar]
  • 38.Di Ciaula A, Molina-Molina E, Bonfrate L, Wang DQ, Dumitrascu DL, Portincasa P. Gastrointestinal defects in gallstone and cholecystectomized patients. Eur J Clin Invest. 2019;49(3):e13066. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Kim J. Regular physical exercise and its association with depression: a population-based study short title: exercise and depression. Psychiatr Res. 2022;309:114406. [DOI] [PubMed] [Google Scholar]
  • 40.Philippot A, Dubois V, Lambrechts K, Grogna D, Robert A, Jonckheer U, et al. Impact of physical exercise on depression and anxiety in adolescent inpatients: a randomized controlled trial. J Affect Disord. 2022;301:145–53. [DOI] [PubMed] [Google Scholar]
  • 41.Hidalgo JL, Sotos JR. Effectiveness of physical exercise in older adults with mild to moderate depression. Ann Fam Med. 2021;19(4):302–9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Vargas-Terrones M, Barakat R, Santacruz B, Fernandez-Buhigas I, Mottola MF. Physical exercise programme during pregnancy decreases perinatal depression risk: a randomised controlled trial. Br J Sports Med. 2019;53(6):348–53. [DOI] [PubMed] [Google Scholar]
  • 43.Ross RE, VanDerwerker CJ, Saladin ME, Gregory CM. The role of exercise in the treatment of depression: biological underpinnings and clinical outcomes. Mol Psychiatry. 2023;28(1):298–328. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.da Cunha LL, Feter N, Alt R, Rombaldi AJ. Effects of exercise training on inflammatory, neurotrophic and immunological markers and neurotransmitters in people with depression: A systematic review and meta-analysis. J Affect Disord. 2023;326:73–82. [DOI] [PubMed] [Google Scholar]
  • 45.Zhang LY, Zhang J, Li D, Liu Y, Zhang DL, Liu CF, et al. Bile reflux is an independent risk factor for precancerous gastric lesions and gastric cancer: an observational cross-sectional study. J Dig Dis. 2021;22(5):282–90. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.McQuaid KR, Laine L, Fennerty MB, Souza R, Spechler SJ. Systematic review: the role of bile acids in the pathogenesis of gastro-oesophageal reflux disease and related neoplasia. Aliment Pharmacol Ther. 2011;34(2):146–65. [DOI] [PubMed] [Google Scholar]
  • 47.Hernaez R, Kramer JR, Khan A, Phillips J, McCallister K, Chaffin K, Hernandez AP, Fullington H, Ortiz C, Blackwell J, et al. Depression and anxiety are common among patients with cirrhosis. CLIN GASTROENTEROL H. 2022;20(1):194–203. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Shanahan L, Copeland WE, Angold A, Bondy CL, Costello EJ. Sleep problems predict and are predicted by generalized anxiety/depression and oppositional defiant disorder. J Am Acad Child Adolesc Psychiatry. 2014;53(5):550–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Nyer M, Farabaugh A, Fehling K, Soskin D, Holt D, Papakostas GI, et al. Relationship between sleep disturbance and depression, anxiety, and functioning in college students. Depress Anxiety. 2013;30(9):873–80. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Yu J, Rawtaer I, Fam J, Jiang MJ, Feng L, Kua EH, Mahendran R. Sleep correlates of depression and anxiety in an elderlya Sian population. Psychogeriatrics. 2016;16(3):191–5. [DOI] [PubMed] [Google Scholar]
  • 51.Okun ML, Mancuso RA, Hobel CJ, Schetter CD, Coussons-Read M. Poor sleep quality increases symptoms of depression and anxiety in postpartum women. J Behav Med. 2018;41(5):703–10. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

No datasets were generated or analysed during the current study.


Articles from BMC Gastroenterology are provided here courtesy of BMC

RESOURCES