The LDL-C/Apo B ratio was significantly and positively associated with BTMs in patients with T2D. Here, APOB is linked to type 2 diabetes mellitus.