We found that overall hybrid immunity was associated with a significant reduction in the risk of COVID-19 and severe COVID-19 compared to vaccine immunity, but this effect did not seem to hold among PLWH with low CD4 counts or HIV viraemia. This evidence concerns the gene CD4 and COVID-19.