CD4 and Opportunistic infection: The findings of this study revealed that history of STI [AOR, 1.97, 95%CI, 1.09–3.56], hospital admission [AOR, 3.08, 95%CI, 1.69–5.61], traditional delivery care [AOR, 3.31, 95%CI, 1.72–6.37], family history of HBV [AOR, 3.33, 95%CI, 1.72–6.37], presence of opportunistic infections [AOR, 0.23, 95%CI, 0.12–0.58], viral load [AOR, 7.58, 95%CI, 3.18–8.01], CD4 count [AOR, 2.15, 95% CI, 1.01–4.59], anaemia [AOR, 3.07, 95% CI, 1.71–5.51] and unsafe sex [AOR, 1.98, 95%CI, 1.09–3.61] had a statistically significant association with HBV infection.