In this study, we detected the level of 25(OH)D3 in serum and found that serum 25(OH)D3 decreased as the BMI increased in T2D patients, and it was also inversely correlated with the expression of TNF-α and IFN-γ in circulating γδ T cells. The gene discussed is IFNG; the disease is type 2 diabetes mellitus.