Background: In the central nervous system, HIV replication can occur relatively independent of systemic infection, and intrathecal replication of HIV-1 has been observed in patients with HIV-related and opportunistic neurological diseases. The clinical usefulness of HIV-1 RNA detection in the cerebrospinal fluid (CSF) of patients with opportunistic neurological diseases, or the effect of opportunistic diseases on CSF HIV levels in patients under HAART has not been well defined. We quantified CSF and plasma viral load in HIV-infected patients with and without different active opportunistic neurological diseases, determined the characteristics that led to a higher detection rate of HIV RNA in CSF, and compared these two compartments.