HIV infection duration was negatively associated with femoral BMD and T scores and with spine T score, and a significant positive correlation was found between total hip BMD and CD4 + count. The gene discussed is CD4; the disease is HIV infectious disease.