The study showed that sex, opportunistic infections or AIDS-defining cancers, CD4 count, and social support were significantly associated with depression. This evidence concerns the gene CD4 and major depressive disorder.