In conclusion, our findings indicate positive associations between the ApoB/ApoA-I ratio and the risk of pre-diabetes and diabetes in Chinese women, independent of traditional metabolic risk factors. Here, APOB is linked to diabetes mellitus.