Herpes-simplex-virus (HSV) DNA in cerebrospinal fluid was amplified by use of the polymerase chain reaction and identified by hybridisation to a specific oligonucleotide probe. Specimens of cerebrospinal fluid (CSF) from 4 of 4 patients with herpes simplex encephalitis were positive for HSV DNA, whereas CSF specimens from 6 patients with other central-nervous-system infections were negative. This technique may expedite diagnosis of herpes simplex encephalitis.