Moreover, we found that general risk factors such as higher age, vaccination status, and HIV-related parameters such as latest CD4 count and HIV load were associated with SARS-CoV-2 infection and hospitalization, and these results will provide scientific information for future control and prevention of COVID-19 among people living with HIV. Here, CD4 is linked to COVID-19.