Compensated hypogonadism was associated with higher SHBG levels and liver fibrosis scores, together with longer duration of HIV infection. This evidence concerns the gene SHBG and HIV infectious disease.