ConditionInfections

Viral Encephalitis

Viral encephalitis is inflammation of the brain caused by a virus. It typically starts with fever and headache, then progresses over hours to days to confusion, behavior changes, drowsiness, seizures or weakness. Herpes simplex virus is the most common identified cause of severe sporadic cases, and mosquito- and tick-borne viruses such as West Nile cause seasonal outbreaks. It is a medical emergency. IV acyclovir is started immediately when encephalitis is suspected, because early treatment of herpes encephalitis saves lives and brain function.

Also called: Viral brain inflammation, infectious encephalitis, meningoencephalitis (when the meninges are also involved)

At a glance

What it is
Brain inflammation caused by a viral infection.
Common causes
Herpes simplex virus, varicella-zoster, enteroviruses, West Nile and other arboviruses; rarely rabies, measles.
Symptoms
Fever, headache, confusion, personality change, seizures, drowsiness, weakness, speech problems.
Diagnosis
MRI, lumbar puncture with viral PCR, EEG, blood tests.
Treatment
Immediate IV acyclovir; supportive and intensive care; rehabilitation.

When to get help

Call 911 or go to the ER

  • Fever with confusion, unusual behavior, drowsiness, seizures, weakness or trouble speaking: call 911
  • A severe headache with fever and stiff neck, or a rash that does not fade with pressure
  • A baby with fever, a bulging soft spot, poor feeding, irritability or floppiness

See a doctor within a day or two

  • Fever and severe headache after mosquito or tick bites, or travel to an area with outbreaks
  • Fever and headache in someone with weakened immunity

Book a routine appointment

  • Ongoing memory, mood, fatigue or seizure problems after recovery from encephalitis, for rehabilitation

What happens in viral encephalitis

Viruses can reach the brain through the bloodstream, along nerves (as with herpes simplex and rabies), or after reactivation of a virus lying dormant in nerves. The brain becomes inflamed and swollen, disrupting function. Specific viruses tend to target particular areas: herpes simplex affects the temporal lobes (memory, language and behavior), while West Nile can affect movement areas.

Encephalitis vs meningitis: meningitis is inflammation of the membranes covering the brain and spinal cord, causing headache, fever and stiff neck with normal thinking. Encephalitis affects the brain tissue itself, causing confusion, behavior change or seizures. The two often overlap (meningoencephalitis).

Causes

VirusNotes
Herpes simplex virus (HSV-1)Most common cause of severe sporadic encephalitis; occurs year-round; treatable with acyclovir
HSV-2Newborn encephalitis from infection at birth
Varicella-zoster virusChickenpox or shingles reactivation, especially in older or immunocompromised people
EnterovirusesSummer and fall, mainly children
West Nile virus and other mosquito-borne virusesSummer outbreaks; older adults most at risk
Tick-borne viruses (Powassan, tick-borne encephalitis)Spring to fall in certain regions
Japanese encephalitisAsia; vaccine-preventable
RabiesAnimal bites; almost always fatal once symptoms start
Measles, mumps, influenza, COVID-19, Epstein-Barr, CMV, HHV-6Less common causes

Autoimmune encephalitis, such as anti-NMDA receptor encephalitis, can mimic viral encephalitis and sometimes follows HSV encephalitis.

Symptoms

  • fever and headache
  • confusion, disorientation and agitation
  • personality or behavior changes, hallucinations
  • memory problems
  • drowsiness, reduced consciousness or coma
  • seizures
  • weakness, speech difficulties, abnormal movements
  • sensitivity to light and stiff neck if meninges are involved
  • in babies: fever, irritability, poor feeding, vomiting, bulging fontanelle, seizures

Diagnosis

  • MRI of the brain: shows inflammation; temporal lobe changes suggest herpes
  • lumbar puncture: spinal fluid typically shows increased white cells and protein; PCR detects HSV, VZV, enteroviruses and others
  • blood tests and antibody tests for arboviruses
  • EEG: detects seizure activity and brain dysfunction
  • testing for autoimmune antibodies if infection tests are negative
  • CT scan before lumbar puncture in some cases

Treatment

  • IV acyclovir is started immediately when encephalitis is suspected, without waiting for test results, and continued for 14 to 21 days if HSV is confirmed.
  • Supportive care: fluids, fever control, nutrition, breathing support if needed, often in intensive care.
  • Seizure control with anti-seizure medicines.
  • Management of brain swelling.
  • Specific antivirals for some other viruses (for example ganciclovir for CMV in immunocompromised people).
  • Immunotherapy if autoimmune encephalitis is diagnosed.

Recovery and complications

Outcomes vary widely by cause, age and speed of treatment. Many people recover fully, especially with milder viruses. Others have lasting problems:

  • memory loss and concentration difficulties
  • personality and mood changes, depression and anxiety
  • epilepsy
  • speech and language problems
  • weakness and coordination problems
  • fatigue

Rehabilitation, including neuropsychology, speech, occupational and physical therapy, helps recovery, which can continue for months to years.

Prevention

  • vaccination against measles, mumps, chickenpox, Japanese encephalitis (for travelers), tick-borne encephalitis (where available) and rabies (for high-risk people)
  • mosquito and tick bite prevention: repellents, long clothing, avoiding dusk and dawn exposure
  • prompt rabies post-exposure treatment after animal bites

Frequently asked questions

What are the first symptoms of viral encephalitis?

It often starts like the flu, with fever, headache and tiredness. Within hours to days, confusion, behavior changes, drowsiness, seizures or weakness can develop. These neurological symptoms with fever need emergency care.

What is the most common cause of viral encephalitis?

Herpes simplex virus is the most common identified cause of severe sporadic viral encephalitis. Enteroviruses and mosquito-borne viruses such as West Nile cause many seasonal cases.

Is viral encephalitis contagious?

The encephalitis itself is not passed between people, but some of the viruses that cause it are contagious, such as enteroviruses, measles and chickenpox. Mosquito- and tick-borne viruses are not spread person to person.

Can you fully recover from encephalitis?

Many people recover fully, especially with early treatment. Others are left with problems such as memory loss, seizures or personality changes. Rehabilitation helps, and improvement can continue for a long time.

Sources

This guide was written from current patient and clinical guidance, including:

  • Infectious Diseases Society of America: The management of encephalitis: clinical practice guidelines
  • National Institute of Neurological Disorders and Stroke: Meningitis and encephalitis
  • CDC: West Nile virus clinical overview
  • Encephalitis International: Types of encephalitis
  • MedlinePlus: Encephalitis