The association between peptic ulcer disease and the severity of coronavirus disease 2019 (COVID-19) is inconclusive across individual studies. Thus, this study aimed to investigate whether there was a significant association between peptic ulcer disease and COVID-19 severity through a meta-analysis. The electronic databases (Web of Science, Wiley, Springer, EMBASE, Elsevier, Cochrane Library, Scopus and PubMed) were retrieved for all eligible studies. The Stata 11.2 software was used for all statistical analyses. The pooled odds ratio (OR) with a 95% confidence interval (CI) was calculated by a random-effects meta-analysis model. The heterogeneity was evaluated by the inconsistency index (I2) and Cochran’s Q test. Egger’s analysis and Begg’s analysis were conducted to evaluate the publication bias. Meta-regression analysis and subgroup analysis were done to explore the potential source of heterogeneity. Totally, our findings based on confounding variables-adjusted data indicated that there was no significant association between peptic ulcer disease and the higher risk for COVID-19 severity (pooled OR = 1.17, 95% CI: 0.97–1.41) based on 15 eligible studies with 4,533,426 participants. When the subgroup analysis was performed by age (mean or median), there was a significant association between peptic ulcer disease and a higher risk for COVID-19 severity among studies with age ≥ 60 years old (pooled OR = 1.15, 95% CI: 1.01–1.32), but not among studies with age < 60 years old (pooled OR = 1.16, 95% CI: 0.89–1.50). Our meta-analysis showed that there was a significant association between peptic ulcer disease and a higher risk for COVID-19 severity among older patients but not among younger patients.