Background: Helicobacter pylori infection is a major cause of gastrointestinal disease and is frequently encountered among patients presenting with dyspepsia. Objective: To determine the prevalence of H. pylori infection and identify its associated risk factors among patients presenting with dyspepsia at a tertiary care hospital. Methodology: A cross-sectional analytical study was done at a tertiary care hospital of Karachi from July 2025 to June 2026 in which 220 adult patients of dyspeptic complaints were included. A structured questionnaire was used to collect data and diagnostic testing was used to assess H. pylori infection. Data was analysed statistically using IBM SPSS version 25, which included Chi-square tests and multivariable logistic regression to determine risk factors associated with the problem. Results: Among 220 participants, 132 (60.00%) tested positive for H. pylori infection. Low socioeconomic status (65.00%), active smoking (75.00%), and unsafe drinking water (70.00%) were significantly associated with infection. Multivariable analysis identified low socioeconomic status (aOR=2.65, p=0.023), active smoking (aOR=2.38, p=0.015), and unsafe drinking water (aOR=2.15, p=0.011) as independent predictors of infection. Conclusion: H. pylori infection was highly prevalent among dyspeptic patients, with socioeconomic status, smoking, and drinking-water safety emerging as important associated factors.
Dyspepsia is a frequent gastrointestinal symptom that includes epigastric pain, burning in the epigastrium, fullness after meals, early satiety, nausea and upper abdominal discomfort [1]. This accounts for a significant number of outpatient gastroenterology consultations globally, and can be due to any of a number of underlying conditions such as gastritis, peptic ulcer disease, gastroesophageal reflux disease, or functional gastrointestinal disorders [2]. The prevalence of uninvestigated dyspepsia world wide is very variable depending on the definition of dyspepsia, geographical location and population characteristics. Epidemiological studies have shown that prevalence of dyspepsia is high in developing countries, especially in those with poor socioeconomic and environmental conditions which could be factors in gastrointestinal disorders [1,3]. Patients with recurrent dyspeptic symptoms should have an underlying cause ruled out according to clinical guidelines as part of this investigation including Helicobacter pylori infection [4].
Helicobacter pylori is a spiral-shaped, gram-negative bacteria which colonizes gastric mucosa and is known as one of the most prevalent chronic bacterial infection in the world [5]. Its transmission is mainly linked to being acquired during childhood, having contact with people in one's home and poor sanitation. Chronic active gastritis can be caused by the persistent infection, and it is significantly related to the peptic ulcer disease, and gastric mucosa-associated lymphoid tissue lymphoma and gastric cancer [6]. While the majority of those infected never show clinical signs of gastrointestinal symptoms, some do experience clinically relevant symptoms such as dyspepsia [5]. Appropriate test and eradication of confirmed infection, especially in patients with dyspeptic symptoms is recommended by international consensus [7,8].
Although H. pylori infection is a significant burden in Pakistan, prevalence rates and risk factors reported in various geographical areas and health care settings have shown variations. Additionally, existing results may not be generalizable due to variation in patient characteristics, diagnostic methods, and environmental exposures. Hospital-based prevalence data on patients with dyspepsia needs to be generated locally to enable the identification of appropriate risk factors.
Research Objective
To determine the prevalence of Helicobacter pylori infection and identify its associated risk factors among patients presenting with dyspepsia at a tertiary care hospital.
Study Design and Setting A cross-sectional analytical study was designed to assess the prevalence of Helicobacter pylori infection and risk factors for this infection among dyspeptic patients. The study was conducted in the outpatient department of a tertiary care hospital of Karachi, Pakistan. The study lasted for one year (from July 2025 to June 2026). Study Population The study population consisted of adult patients (18 years old and above) referred to the selected hospital with dyspeptic symptoms during the study period. Sample Size and Sampling Technique. A total of 220 patients were recruited for this study. It was determined by the WHO formula for estimating a proportion for a population, taking into account an estimated prevalence, the desired level of confidence (95%), and a suitable margin of error. The sampling method was consecutive sampling, which is non-probability sampling. Patients who fulfilled the inclusion criteria were included consecutively until the sample size was reached. Inclusion and Exclusion Criteria The study comprised patients ≥18 years of age that presented with dyspeptic symptoms, after providing informed consent and agreeing to perform diagnostic testing for H. pylori. Previous gastric surgery, known gastric malignancy, and recent use of antibiotics, bismuth compounds, and proton pump inhibitors were exclusion criteria as they may affect the diagnostic testing. Data Collection Procedure All participants were asked to sign informed consent and a pre-designed structured questionnaire was used to gather data. Sociodemographic indicators were collected such as age, gender, place of residence, education, and socioeconomic status. Clinical history comprised the history of dyspeptic symptoms and their duration, previous gastrointestinal diseases and evidence of relevant medication use. Other factors that might increase the risk of H. pylori infection, such as smoking, food and beverage consumption, drinking water source, personal hygiene, sanitation, crowding in the household, and a family history of gastrointestinal diseases were also evaluated. All the participants were subjected to the following diagnostic tests for H. pylori and the results were recorded for further statistical analysis. Diagnostic Assessment of H. pylori Infection Appropriate validated diagnostic test was used to determine the presence of H. pylori infection. All of the participants were tested following standard laboratory procedures, manufacturer's instructions and standard diagnostic protocols. Test results were documented and the subjects were divided as either H. pylori-positive or H. pylori-negative for further statistical analysis. Data Analysis Data were analysed with the help of suitable statistical software namely SPSS version 25. Demographic and clinical characteristics were summarized using descriptive statistics and frequencies and percentages were calculated for categorical variables. The chi-square test or Fisher's exact test were used to determine the association between H. pylori and potential risk factors. Multivariable logistic regression was used to determine the independent risk factors for infection. Statistically significant p value was set as < 0.05. Ethical Considerations The institutional ethical review committee of the hospital gave ethical approval; prior to data collection, all participants gave informed consent. Participants' confidentiality and anonymity were respected throughout the study.
Among 220 participants, the largest age group was ≥50 years (29.09%), followed by 30–39 years (25.45%), shown in table 1. Males accounted for 50.91% and females 49.09%. Most participants were from urban areas (60.00%), had secondary education (39.09%), belonged to the low socioeconomic group (54.55%), and were married (68.18%).
Table 1. Sociodemographic characteristics of study participants (N = 220)
|
Sociodemographic Characteristic |
Category |
Frequency (n) |
Percentage (%) |
|
Age (years) |
18–29 |
48 |
21.82 |
|
30–39 |
56 |
25.45 |
|
|
40–49 |
52 |
23.64 |
|
|
≥50 |
64 |
29.09 |
|
|
Gender |
Male |
112 |
50.91 |
|
Female |
108 |
49.09 |
|
|
Residence |
Urban |
132 |
60.00 |
|
Rural |
88 |
40.00 |
|
|
Educational Status |
Primary or below |
74 |
33.64 |
|
Secondary |
86 |
39.09 |
|
|
Higher education |
60 |
27.27 |
|
|
Socioeconomic Status |
Low |
120 |
54.55 |
|
Middle |
70 |
31.82 |
|
|
High |
30 |
13.64 |
|
|
Marital Status |
Married |
150 |
68.18 |
|
Unmarried |
70 |
31.82 |
Regarding clinical characteristics, 56.36% of participants reported dyspeptic symptoms lasting ≥6 months (table 2). Epigastric pain or burning was the most common presentation (80.00%), followed by abdominal bloating (65.91%) and postprandial fullness (58.18%). Among potential risk factors, household overcrowding (54.55%), frequent dining outside the home (53.64%), and poor personal hygiene (50.00%) were commonly reported.
Table 2. Clinical characteristics and reported risk factors among dyspeptic patients (N = 220)
|
Characteristic |
Category |
Frequency (n) |
Percentage (%) |
|
Duration of Dyspeptic Symptoms |
< 6 months |
96 |
43.64 |
|
≥ 6 months |
124 |
56.36 |
|
|
Clinical Presentation |
Epigastric pain / burning |
176 |
80.00 |
|
Abdominal bloating |
145 |
65.91 |
|
|
Postprandial fullness |
128 |
58.18 |
|
|
Nausea |
90 |
40.91 |
|
|
Early satiety |
82 |
37.27 |
|
|
Potential Risk Factors |
Active smoking |
60 |
27.27 |
|
Frequent dining outside home |
118 |
53.64 |
|
|
Unsafe drinking water source |
100 |
45.45 |
|
|
Poor personal hygiene practices |
110 |
50.00 |
|
|
Household overcrowding (≥3 persons/room) |
120 |
54.55 |
|
|
Family history of GI disorders |
60 |
27.27 |
Among the 220 patients investigated, 132 (60.00%) tested positive for H. pylori infection, while 88 (40.00%) tested negative (figure 1). This indicated an overall prevalence of H. pylori infection of 60.00% among patients presenting with dyspepsia.
Figure 1. Overall prevalence of Helicobacter pylori infection (N = 220)
Bivariate analysis demonstrated significant associations between H. pylori infection and low socioeconomic status (p=0.034), active smoking (p=0.006), and unsafe drinking water (p=0.006), shown in table 3. Infection was more frequent among smokers (75.00%), participants using unsafe drinking water (70.00%), and those belonging to the low socioeconomic group (65.00%). However, age, gender, residence, personal hygiene, household overcrowding, and family history of gastrointestinal disorders were not significantly associated with infection (p>0.05).
Table 3. Bivariate association of sociodemographic, clinical, and environmental risk factors
with H. pylori infection (N = 220)
|
Variable |
Category |
H. pylori Positive (n=132) |
H. pylori Negative (n=88) |
Test Statistic (χ²) |
p-value |
|
Age Group (years) |
18–29 |
30 (62.50) |
18 (37.50) |
0.618 |
0.892 |
|
30–39 |
34 (60.71) |
22 (39.29) |
|||
|
40–49 |
32 (61.54) |
20 (38.46) |
|||
|
≥50 |
36 (56.25) |
28 (43.75) |
|||
|
Gender |
Male |
72 (64.29) |
40 (35.71) |
1.745 |
0.187 |
|
Female |
60 (55.56) |
48 (44.44) |
|||
|
Residence |
Urban |
80 (60.61) |
52 (39.39) |
0.051 |
0.821 |
|
Rural |
52 (59.09) |
36 (40.91) |
|||
|
Socioeconomic Status |
Low |
78 (65.00) |
42 (35.00) |
6.782 |
0.034* |
|
Middle |
42 (60.00) |
28 (40.00) |
|||
|
High |
12 (40.00) |
18 (60.00) |
|||
|
Active Smoking |
Yes |
45 (75.00) |
15 (25.00) |
7.424 |
0.006* |
|
No |
87 (54.38) |
73 (45.62) |
|||
|
Drinking Water Source |
Unsafe |
70 (70.00) |
30 (30.00) |
7.558 |
0.006* |
|
Safe |
62 (51.67) |
58 (48.33) |
|||
|
Personal Hygiene |
Poor |
70 (63.64) |
40 (36.36) |
1.222 |
0.269 |
|
Good |
62 (56.36) |
48 (43.64) |
|||
|
Household Overcrowding |
Yes |
78 (65.00) |
42 (35.00) |
2.766 |
0.096 |
|
No |
54 (54.00) |
46 (46.00) |
|||
|
Family History of GI Disorders |
Yes |
42 (70.00) |
18 (30.00) |
3.518 |
0.061 |
|
No |
90 (56.25) |
70 (43.75) |
* Statistically significant at p < 0.05 based on Pearson Chi-square test.
Multivariable logistic regression identified low socioeconomic status (aOR=2.65, 95% CI: 1.14–6.16; p=0.023), active smoking (aOR=2.38, 95% CI: 1.18–4.79; p=0.015), and unsafe drinking water (aOR=2.15, 95% CI: 1.19–3.88; p=0.011) as independent predictors of H. pylori infection (table 4. Middle socioeconomic status, household overcrowding, and family history were not statistically significant predictors (p>0.05). The Hosmer–Lemeshow test indicated good model fit (p=0.665), with a Nagelkerke R² of 0.160.
Table 4. Multivariable logistic regression analysis identifying independent predictors of
|
Variable |
Reference Category |
Adjusted OR (aOR) |
95% Confidence Interval |
p-value |
|
Low Socioeconomic Status |
High Socioeconomic Status |
2.65 |
1.14 – 6.16 |
0.023* |
|
Middle Socioeconomic Status |
High Socioeconomic Status |
2.12 |
0.88 – 5.10 |
0.093 |
|
Active Smoking |
Non-smoker |
2.38 |
1.18 – 4.79 |
0.015* |
|
Unsafe Drinking Water |
Safe Drinking Water Source |
2.15 |
1.19 – 3.88 |
0.011* |
|
Household Overcrowding |
No Overcrowding |
1.48 |
0.82 – 2.67 |
0.191 |
|
Family History of GI Disorders |
No Family History |
1.72 |
0.89 – 3.32 |
0.106 |
Model Diagnostics: Log-likelihood: -136.42; Cox & Snell R²: 0.118; Nagelkerke R²: 0.160. Hosmer-Lemeshow goodness-of-fit test: χ² = 5.84, p = 0.665.
* Statistically significant independent predictor (p < 0.05).
In the present study, a high prevalence of Helicobacter pylori infection 60.00% was observed in 220 patients with dyspepsia. This finding suggests that there was a high burden of infection in symptomatic individuals in Pakistan. The prevalence of infection reported in our study was similar to a recent study conducted in Pakistan by Shahzad et al. (2025), who found that 64.8% of patients attending a tertiary care hospital with dyspepsia were infected [13]. In a similar study, Ali et al. (2022) found the prevalence of dyspepsia in Karachi as 83.8%. This difference in prevalence could be attributed to variation in patient selection, geographical distribution, diagnostic techniques and/or healthcare settings [14]. Similarly, Hooi et al. (2017) reported a significant geographical variation in the prevalence of H. pylori worldwide, especially between the developed and developing countries [15]. The sociodemographic results revealed that the majority (29.09%) were between 50 and 59 years old and that 50.91% were male and 49.09% were female. Sixty percent of participants were urbanites and 54.55 percent were from a low socioeconomic group. But age, gender and residence were not found to be significantly related to infection (p=0.892, p=0.187 and p=0.821, respectively). The results indicate that infection spread throughout the various demographic groups. The socioeconomic and environmental factors were found to have an influence as higher prevalence was reported in developing countries (50.8%) compared with developed countries (34.7%) by Zamani et al. (2018) [16]. The clinical findings revealed, epigastric pain/burning as the major symptom (80.00%), followed by abdominal bloating (65.91%) and postprandial fullness (58.18%). Moreover, 56.36 % of the participants had been suffering from dyspeptic symptoms for half a year or more. These data indicate that there is a large overlap of the upper gastrointestinal symptoms associated with suspected H. pylori infection. Another recent study from Pakistan by Shahzad et al. 2025, found abdominal pain in upper abdomen as revealed in 92.4% and heartburn as reported in 82.2% of the patients who suffered from dyspepsia [13]. Khan et al. (2013) also found significant positivity of H. pylori in patients of Pakistan with various gastroduodenal disorders thus establishing its clinical significance in symptomatic cases [17]. As regards potential risk factors strong association was seen between H. pylori status and socioeconomic status (p=0.034) and active smoking (p=0.006), and unsafe drinking water (p=0.006). Smokers had a higher proportion of infection (75.00%) than non-smokers (54.38%) and those who drank unsafe water had a higher proportion of infection (70.00%) than those who drank safe water (51.67%). In the same way, low socioeconomic status had higher infection rate (65.00%) as compared with high socioeconomic status (40.00%). The results indicated significant associations between infection and low socioeconomic status (p≤0.01), consistent with Shahzad et al. (2025) who reported significant association between infection and low socioeconomic status [13]. In the 2026 Pakistani multicentre study, the same was observed with untreated drinking water and poor hand hygiene being relevant factors contributing to the infection [18]. Multivariable logistic regression further confirmed low socioeconomic status (aOR=2.65, 95% CI: 1.14–6.16; p=0.023), active smoking (aOR=2.38, 95% CI: 1.18–4.79; p=0.015), and unsafe drinking water (aOR=2.15, 95% CI: 1.19–3.88; p=0.011) as independent predictors of infection. Household overcrowding (p=0.191) and family history of gastrointestinal disorders (p=0.106) on the other hand were not independent. The goodness of fit of the model was good (Hosmer–Lemeshow p=0.665); however, the model's explanatory power was relatively low (Nagelkerke R²=0.160). These results highlight the importance of socioeconomic conditions, smoking habits and drinking-water safety in the understanding of the pattern of infection [16]. In general, the results indicate a significant prevalence of H. pylori infection in dyspeptic patients and underscore the need for proper diagnosis and preventive measures. Facilitating access to potable water, helping people quit smoking, and enhancing hygiene education can result in less exposure. The cross-sectional design, single centre location, and small sample size, however, restrict the ability to draw causal conclusions and make generalizations. More large-scale and multicenter studies with uniform diagnostic tools are suggested to confirm these results and enhance prevention strategies in Pakistan. Strengths and Limitations The strengths of this study are the assessment of Helicobacter pylori infection prevalence among patients presenting with Dyspepsia and evaluation of multiple risk factors, including sociodemographic, clinical, behavioral, and environmental factors. The application of consecutive sampling, standardized data collection and multivariable logistic regression consolidated the assessment of the factors associated with infection independently. In addition, the study also gives the locally relevant evidence from a tertiary care hospital in Pakistan which can be useful in clinical decision making and in implementing preventive strategies. Some caveats apply, however. The cross-sectional design restricts the ability to make causal inferences between the risk factors identified and infection. The results of the study may not be generalizable to other populations, as the study was conducted in a single centre and included a small sample size. Furthermore, self-reported data on lifestyle, hygiene, and environmental exposures may have resulted in recall and reporting bias. This should therefore be viewed in the light of these methodological restrictions.
In this study of dyspeptic patients at a tertiary hospital in Pakistan, we found a high prevalence of Helicobacter pylori infection (60.0%). Low socioeconomic status, active smoking, and the use of unsafe drinking water were independently associated with the presence of infection. These findings highlight a significant burden of H. pylori in this symptomatic population and identify key correlates that can inform public health awareness campaigns. While our study cannot establish causality, the associations suggest that multicenter and longitudinal studies are warranted to confirm these predictors and to evaluate the impact of targeted public health interventions, such as smoking cessation and water safety programs, on the burden of H. pylori infection in Pakistan.