White blood cells significantly mediated the associations between diabetes-related markers (glycohemoglobin, fasting glucose, and insulin) with OAB, and the proportions were 7.23%, 8.08%, and 17.74%, respectively (all p < 0.0001). Here, INS is linked to diabetes mellitus.