Patients with T2DM were younger (P < 0.001) and had significantly lower 25(OH)D levels (P < 0.001) and higher anti-TPO titers (P = 0.005). Here, TPO is linked to type 2 diabetes mellitus.