Multivariate logistic regression analysis showed that male patients (odds ratio: 2.28, 95% confidence interval: 1.11–4.69, p = 0.025) and non-insulin users (odds ratio: 0.33, 95% confidence interval: 0.15–0.74, p = 0.007) were independent factors for the presence of CGI in the H. pylori-infected patients with type 2 diabetes mellitus. Here, INS is linked to type 2 diabetes mellitus.