Age, SHBG, FAI, FSH, LH, HbA1c, FPG, diabetes, systolic pressure and UA had strong association with ED. Here, SHBG is linked to diabetes mellitus.