The presence and distribution of human immunodeficiency virus (HIV) were examined in the CNS of two children with severe HIV encephalitis and myelitis. Using polymerase chain reaction-mediated DNA amplification and subsequent Southern analysis, proviral HIV gag sequences were identified in brain tissue of both patients. In situ hybridization using antisense oligonucleotide probes revealed abundant HIV gag and env/nef RNAs selectively in areas with histopathological evidence for HIV-induced tissue damage. The spinal cord of one patient exhibited a striking subpial accumulation of HIV RNAs strongly suggestive of a liquorigenic spread of the infection. HIV RNAs were typically associated with cells of the monocyte/macrophage lineage, as shown by a combined immunohistochemical and in situ hybridization procedure. The present study supports the view that the pattern and distribution of HIV-induced brain lesions is largely determined by the extent of focal HIV replication within the CNS.