We tried to identify the interaction between dietary quality indices and apolipoprotein B Ins/Del and EcoR1 polymorphisms on biochemical and anthropometric factors in patients with type 2 diabetes mellitus (T2DM). Here, APOB is linked to type 2 diabetes mellitus.