Yes. Known as herpes meningoencephalitis, it occurs when the herpes virus causes swelling of the thin layer of tissue that cover your brain (meninges). The meningitis infection can spread to the brain, causing encephalitis. Meningoencephalitis can be caused by bacteria, fungus, or virus, including herpes simplex 1 and 2.