These results suggest a potential mediating role of LPL in the associations of 25(OH)D with IR and T2D. Here, LPL is linked to type 2 diabetes mellitus.