Variables that had an association with sleep quality at a P value ≤ 0.2 in bivariable logistic regression were sex, occupation, body mass index, presence of chronic disease, smoking, alcohol, chewing tobacco, taking substances such as shisha, recent CD4 count, anxiety, depression, sleep hygiene, social support, and stigma. The gene discussed is CD4; the disease is depressive disorder.