GPT and Opportunistic infection: Viral hepatitis (AOR = 6.02; 95% CI = 1.87–19.39), opportunistic infections (AOR = 2.91; 95% CI = 1.04–8.19), current CD4 count <200 cells/mm3 (AOR = 2.16; 95% CI = 1.06–4.39), and male sex (AOR = 1.83; 95% CI = 1.001–3.33) were associated with elevated ALT and/or AST.