To investigate the associations between the ApoB/ApoA-I ratio and the risk of T2DM and pre-diabetes in a Chinese population, and to assess the role of gender in these associations. Here, APOA1 is linked to diabetes mellitus.