Furthermore, stratified analysis observed that sleep disorders (insomnia: OR, 5.10; 95% CI, 2.21–11.79; poor sleep quality: OR, 4.79; 95% CI, 1.95–11.75; short sleep: OR, 5.43; 95% CI, 1.51–19.51; and long sleep duration: OR, 4.10; 95% CI, 1.04–16.08) were significantly associated with physical frailty in middle-aged and older PWH with current CD4+ T-cell counts <350 cells/μL, but not in those with CD4+ T-cell counts ≥350 cells/μL (Supplementary Table 1). Here, CD4 is linked to insomnia measurement.