Opportunistic infections (OI), tuberculosis (TB), CD4 cells <50/μl, and viral load >5 log10 copies/ml increased the odds of treatment failure both at 6 and 12 months. This evidence concerns the gene CD4 and tuberculosis.