Pre-ART CD4 count below 10 cells/mm3, younger age and less education correlated with a higher malaria risk, while cotrimoxazole prophylaxis lowered the risk. Here, CD4 is linked to malaria.