In multivariable analysis, variables that have a statistically significant association with anaemia were as follows: CD4 count <350 (Adjusted Odds Ratio [AOR] 2⋅76; 95 % CI 1⋅76, 4⋅34), World Health Organization (WHO) clinical stage III (AOR 7⋅9; 95 % CI 3⋅5, 17⋅91) and stage IV (AOR 7⋅8; 95 % CI 3⋅37, 18⋅1), cotrimoxazole prophylaxis therapy (AOR 0⋅5; 95 % CI 0⋅31, 0⋅8) and mid-upper arm circumference (MUAC) ≤11⋅5 mm (AOR 2⋅1; 95 % CI 1⋅34, 3⋅28). This evidence concerns the gene CD4 and anemia.