SHBG levels were higher among HIV-infected men regardless of the presence of NAFLD, and adjustment for SHBG levels attenuated the association of HIV infection with lower odds of NAFLD. This evidence concerns the gene SHBG and metabolic dysfunction-associated steatotic liver disease.