Logistic regression analysis adjusted for age and sex was conducted for the people with T2D and healthy controls (n = 597), and the results revealed that HTR2A rs6313, NPY2R rs1047214, HTR1F rs56398417, HTR3A rs1062613, HTR2C rs6318, and CXCR2 rs2230054 were associated with T2D. Here, NPY2R is linked to type 2 diabetes mellitus.