ObjectiveMultiple studies have reported a potential contribution of human cytomegalovirus (HCMV) to the pathogenesis of type 1 diabetes and post-transplantation diabetes. However, the association between HCMV and type 2 diabetes mellitus (T2DM) remains unclear. In this paper, we employ the meta-analysis approach to investigate the potential correlation between HCMV infection and T2DM.MethodThe data of our study were collected from PubMed, Embase, Web of Science, Cochrane Library, China National Knowledge Infrastructure and WAN FANG databases from inception to November 2022. Using the Review Manager V.5.4 software, the meta-analysis was performed.ResultsA total of 18 139 patients from 22 studies were included in our analysis. In the Asian subgroup, the patients with T2DM group had a significantly higher frequency of HCMV infection and older age compared with the healthy group. In the European, the frequency of HCMV infection in the T2DM was lower than the healthy group, although this difference was not statistically significant. After adjusting for demographic factors, the adjusted OR of T2DM for risk of by HCMV status was not found to be significant (adjusted OR=1.19, 95% CI=0.88 to 1.62, p>0.05). Additionally, T2DM with vasculopathy had a significantly higher rate of HCMV infection compared with those without vasculopathy (OR=1.87, 95% CI=1.24 to 2.83, p<0.05). Among T2DM with HCMV infection, there were significant increases in fasting blood glucose levels and the proportion of CD8+ T lymphocytes. Conversely, fasting blood insulin levels, the proportion of CD4+ T lymphocyte and the CD4+/CD8+ ratio were significantly decreased compared with the healthy group.ConclusionAt present, the available evidence does not provide a clear understanding of whether there is a significant association between T2DM and HCMV infection. Additionally, T2DM with HCMV infection exhibited significantly worse blood glucose regulation and immune markers, as well as a higher frequency of vasculopathy.PROSPERO registration numberCRD42022342066.