Age, SHBG, FAI, FSH, LH, HbA1c, FPG, diabetes, systolic pressure and UA had strong association with ED. This evidence concerns the gene BRD2 and diabetes mellitus.