Encephalitis

ByRobyn S. Klein, MD, PhD, University of Western Ontario
Reviewed/Revised Jul 2024
View Patient Education

Encephalitis is inflammation of the parenchyma of the brain, resulting from direct viral invasion or occurring as a postinfectious immunologic complication caused by a hypersensitivity reaction to a virus or another foreign protein. Symptoms include fever, headache, and altered mental status, often accompanied by seizures or focal neurologic deficits. Diagnosis requires cerebrospinal fluid analysis and neuroimaging. Treatment involves antiviral medications when indicated (eg, in herpes simplex virus encephalitis) and is otherwise supportive.

(See also Introduction to Brain Infections.)

Etiology of Encephalitis

Primary viral infection

Viruses causing primary encephalitis directly invade the brain. These infections may be

Mosquito-borne arboviral encephalitides infect people during the spring, summer, and early fall when the weather is warm (see table Some Arboviral Encephalitides). Incidence in the United States varies from 150 to > 4000 cases yearly, mostly in children. Most cases occur during epidemics.

Table
Table

In the United States, the most common sporadic encephalitis is caused by herpes simplex virus (HSV); hundreds to several thousand cases occur yearly. Most are due to HSV-1, but HSV-2 may be more common among immunocompromised patients. HSV encephalitis occurs at any time of the year, tends to affect patients < 20 or > 40 years, and is often fatal if untreated.

Rabies remains a significant cause of encephalitis in developing countries and still causes a few cases of encephalitis in the United States.

Encephalitis can also occur as a late reactivation of latent or subclinical viral infection. The best known types are

Immunologic reaction

influenza A or B virus, enteroviruses, Epstein-Barr virus (1), herpes viruses (2), hepatitis A or hepatitis B virus, or HIV. Immunologically mediated encephalitis also occurs in patients with cancer and other autoimmune disorders.

Rarely, apparent encephalitis has developed in patients with COVID-19, caused by the novel pandemic severe acute respiratory syndrome coronavirus (SARS-CoV2); the mechanism is not clear, but an immunologic contribution to the mechanism of apparent encephalitis is possible (2).

Encephalopathies caused by autoantibodies to neuronal membrane proteins (eg, N-methyl-d-aspartate receptors [NMDAR]) may mimic viral encephalitis. Studies indicate that anti-NMDAR encephalitis is more common than viral encephalitides. Anti-NMDAR encephalitis was first described in young women with ovarian teratomas but can occur in both sexes and at any age.  Anti-NMDAR encephalitis also occurs as a postinfectious complication of HSV encephalitis, resulting in clinical decline within weeks of the HSV infection.

Etiology references

  1. 1. Schwenkenbecher P, Skripuletz T, Lange P, et al; German Network for Research on Autoimmune Encephalitis: Intrathecal antibody production against Epstein-Barr, herpes simplex, and other neurotropic viruses in autoimmune encephalitis. Neurol Neuroimmunol Neuroinflamm 8(6):e1062, 2021. doi: 10.1212/NXI.0000000000001062

  2. 2. Meinhardt J, Streit S, Dittmayer C, et al: The neurobiology of SARS-CoV-2 infection. Nat Rev Neurosci 25(1):30-42, 2024. doi: 10.1038/s41583-023-00769-8

Pathophysiology of Encephalitis

In acute encephalitis, inflammation and edema occur in infected areas throughout the cerebral hemispheres, brain stem, cerebellum, and, occasionally, spinal cord. Petechial hemorrhages may be present in severe infections. Direct viral invasion of the brain usually damages neurons, sometimes producing microscopically visible inclusion bodies, and triggers inflammation that may persist after clearance of virus (1). Severe infection, particularly untreated herpes simplex virus (HSV) encephalitis, can cause brain hemorrhagic necrosis.

Acute disseminated encephalomyelitis is characterized by multifocal areas of perivenous demyelination and absence of virus in the brain.

Pathophysiology reference

  1. 1. Godinho-Silva C, Cardoso F, Veiga-Fernandes H: Neuro-immune cell units: A new paradigm in physiology. Annu Rev Immunol 237:19-46, 2019. doi: 10.1146/annurev-immunol-042718-041812

Symptoms and Signs of Encephalitis

Symptoms of encephalitis include fever, headache, and altered mental status, often accompanied by seizures and focal neurologic deficits. A gastrointestinal (GI) or respiratory prodrome may precede these symptoms. Meningeal signs are typically mild and less prominent than other manifestations.

Status epilepticus, particularly convulsive status epilepticus, or coma suggests severe brain inflammation and a poor prognosis.

Olfactory seizures, manifested as an aura of foul smells (rotten eggs, burnt meat), indicate temporal lobe involvement and suggest HSV encephalitis.

Diagnosis of Encephalitis

  • MRI

  • Cerebrospinal fluid (CSF) testing

Encephalitis is suspected in patients with unexplained alterations in mental status. Clinical presentation and differential diagnoses may suggest certain diagnostic tests, but MRI and CSF analysis (including polymerase chain reaction [PCR] for HSV and other viruses) are usually done, typically with other tests (eg, serologic tests) to identify the causative virus. Despite extensive testing, the cause of many cases of encephalitis remains unknown.

Cytomegalovirus encephalitis should be considered in patients with HIV/AIDS or other immunocompromised conditions and can be diagnosed by PCR.

MRI

Contrast-enhanced MRI is sensitive for early HSV encephalitis, showing edema in the orbitofrontal and temporal areas, which HSV typically infects. MRI shows demyelination in progressive multifocal leukoencephalopathy and may show basal ganglia and thalamic abnormalities in West Nile and eastern equine encephalitis. MRI can also exclude lesions that mimic viral encephalitis (eg, brain abscess, sagittal sinus thrombosis).

CT is much less sensitive than MRI for HSV encephalitis but can help because it is rapidly available and can exclude disorders that make lumbar puncture risky (eg, mass lesions, hydrocephalus, cerebral edema).

CSF testing

Lumbar puncture (spinal tap) is done (1, 2). If encephalitis is present, CSF is characterized by lymphocytic pleocytosis, normal glucose, mildly elevated protein, and an absence of pathogens after Gram staining and culture (similar to CSF in aseptic meningitis). Pleocytosis may be polymorphonuclear in severe infections. CSF abnormalities may not develop until 8 to 24 hours after onset of symptoms. Hemorrhagic necrosis can introduce red blood cells (RBCs) into CSF and elevate protein. CSF glucose levels may be low when the cause is varicella-zoster virus, mumps, or lymphocytic choriomeningitis virus.

CSF samples should be sent for viral identification using PCR or, in suspected cases of arboviral infection, detection of antiviral antibodies in CSF. PCR testing of CSF is the diagnostic test of choice for HSV-1, HSV-2, varicella-zoster virus, cytomegalovirus, enteroviruses, and JC virus. PCR for HSV in CSF is particularly sensitive and specific. However, results may not be available rapidly, and despite advances in technology, false-negative and false-positive results may still occur because of a variety of conditions; not all are technical failures (eg, the blood in a mildly traumatic CSF tap may inhibit the PCR amplification step). False-negative results can occur early in HSV-1 encephalitis; if a false-negative result is suspected based on clinical findings, testing should be repeated in 48 to 72 hours. A recently developed multiplex PCR process, which can detect multiple viral and other infectious agents simultaneously, provides diagnostic information within a few hours. Multiplex PCR results may need to be confirmed by conventional PCR.

CSF viral cultures grow enteroviruses but not most other viruses. For this reason, CSF viral cultures have been superseded by PCR and are rarely used in diagnosis.

CSF viral IgM titers are often useful for diagnosing acute infection, especially West Nile encephalitis, for which they are more reliable than PCR. CSF IgG and IgM titers may be more sensitive than PCR for encephalitis due to reactivated varicella-zoster virus infection. Paired acute and convalescent serologic tests of CSF and blood must be drawn several weeks apart; they can detect an increase in viral titers specific for certain viral infections.

Brain biopsy

Brain biopsy may be indicated for patients who

  • Are worsening

  • Have a lesion that is still undiagnosed

However, brain biopsy has a low yield unless it targets an abnormality seen on MRI or CT.

Diagnosis references

  1. 1. Venkatesan AR, Tunkel KC, Bloch AS, et al: Case definitions, diagnostic algorithms, and priorities in encephalitis: Consensus statement of the International Encephalitis Consortium. Clin Infect Dis 57(8):1114–1128, 2013. doi.org/10.1093/cid/cit458

  2. 2. Funk S, Knapp JK, Lebo E, et al: Combining serological and contact data to derive target immunity levels for achieving and maintaining measles elimination. BMC Med 17(1):180, 2109. doi: 10.1186/s12916-019-1413-7

Treatment of Encephalitis

  • Supportive care

Supportive therapy for encephalitis includes treatment of fever, dehydration, electrolyte disorders, and seizures. Euvolemia should be maintained.

Because a bacterial CNS infection is often difficult to exclude when patients who appear seriously ill present, empiric antibiotics are often given until bacterial meningitis is excluded.

Prognosis for Encephalitis

Recovery from viral encephalitis may take a very long time. Mortality rate varies with cause, but severity of epidemics due to the same virus varies during different years. Permanent neurologic deficits are common among patients who survive severe infection. Patients may also develop postviral memory impairments (1).

Prognosis reference

  1. 1. Kvam KA, Stahl JP, Chow FC, et al: Outcome and sequelae of infectious encephalitis. J Clin Neurol 20(1):23-36, 2024. doi: 10.3988/jcn.2023.0240

Key Points

  • Viruses that cause epidemic or sporadic infections can invade and infect brain parenchyma (causing encephalitis) and/or trigger postinfectious inflammatory demyelination (acute disseminated encephalomyelitis).

  • Encephalitis causes fever, headache, and altered mental status, often accompanied by seizures and focal neurologic deficits.

  • Do contrast-enhanced MRI and CSF testing.

  • Treat encephalitis due to an immunologic reaction with corticosteroids and plasma exchange or IV immune globulin.

quizzes_lightbulb_red
Test your KnowledgeTake a Quiz!
Download the free MSD Manual App iOS ANDROID
Download the free MSD Manual App iOS ANDROID
Download the free MSD Manual App iOS ANDROID