Taken together, our results indicated that higher SHBG, coupled with lower free testosterone levels may confer reduced risk for T2D in WLWH than WLWOH. Here, SHBG is linked to type 2 diabetes mellitus.