For general information only. This library does not replace advice, diagnosis or treatment from a qualified health professional. In an emergency, call 911.

Library / Conditions

Viral infections of the brain and spinal cord

A group of infections in which a virus affects the brain, spinal cord or the membranes around them, ranging from mild viral meningitis to serious encephalitis.

Clinician view: includes diagnostic criteria, management and safety detail.

Overview

Viral infections of the brain and spinal cord happen when a virus reaches the central nervous system (CNS). The CNS is made up of the brain, the spinal cord and the thin protective layers that wrap around them, called the meninges. Doctors call this group of illnesses central nervous system viral diseases.

These infections are not one single disease. They range from illnesses that are uncomfortable but usually get better on their own, to illnesses that are life-threatening and need emergency treatment in hospital. What they share is that a virus, rather than bacteria or a fungus, is causing inflammation (swelling and irritation) somewhere in the nervous system.

Main types

  • Viral meningitis: infection and swelling of the meninges. It is the most common type and is often milder than bacterial meningitis.
  • Viral encephalitis: infection and swelling of the brain itself. It can affect thinking, behaviour, movement and alertness.
  • Meningoencephalitis: both the meninges and the brain are affected at the same time.
  • Myelitis: infection of the spinal cord, which can cause weakness or numbness in the arms or legs. Polio is a well-known example; enteroviruses and West Nile virus can also cause it.
  • Limbic encephalitis: swelling in the parts of the brain that handle memory and emotion. Herpes simplex virus is one cause, though this pattern can also come from the immune system attacking the brain.
  • Cerebral ventriculitis: inflammation of the fluid-filled spaces deep inside the brain (the ventricles). It is uncommon with viruses but can occur, for example with cytomegalovirus in people with a weak immune system.

Pseudorabies is a herpes-type virus of pigs and other animals. Infection in humans is extremely rare, with only a small number of cases reported, mostly in recent years.

Symptoms

Symptoms depend on which part of the nervous system is affected and how severe the infection is. They often start like the flu, with fever, tiredness and aches, then nervous system symptoms follow.

Signs of meningitis

  • Headache, often severe
  • Fever
  • Stiff or painful neck
  • Dislike of bright light
  • Nausea and vomiting

Signs of brain involvement (encephalitis)

  • Confusion, strange behaviour or personality change
  • Drowsiness or being hard to wake
  • Seizures (fits)
  • Trouble speaking, understanding or remembering
  • Weakness, numbness or loss of coordination
  • Hallucinations (seeing or hearing things that are not there)

Signs of spinal cord involvement

  • Sudden weakness or floppiness in one or more limbs
  • Numbness or tingling
  • Problems controlling the bladder or bowels

In babies and young children

Babies may not show classic signs. Watch for fever or a low temperature, poor feeding, unusual sleepiness, irritability, high-pitched crying, or a bulging soft spot on the top of the head.

Causes

Many different viruses can infect the nervous system. Some of the most common or important are:

  • Enteroviruses: the most common cause of viral meningitis. They spread through stool and respiratory droplets and are most active in summer and early autumn.
  • Herpes viruses: herpes simplex virus is the most common cause of serious sporadic encephalitis. The varicella-zoster virus (which causes chickenpox and shingles), cytomegalovirus and Epstein-Barr virus can also affect the brain.
  • Arboviruses: viruses spread by mosquitoes or ticks, such as West Nile virus, tick-borne encephalitis virus and Japanese encephalitis virus.
  • Mumps and measles viruses: now uncommon where vaccination is high, but they can still cause meningitis or encephalitis.
  • HIV: can affect the brain directly, and also weakens the immune system so other infections take hold.
  • Rabies virus: spread through bites or scratches from infected animals. It is very rare in people but almost always fatal once symptoms begin.
  • Poliovirus: now rare in most of the world because of vaccination.

Sometimes the virus reaches the nervous system through the bloodstream. Other viruses, like herpes simplex and rabies, travel along nerves. In many cases of encephalitis, no specific cause is found even after testing.

Risk factors

Anyone can get a viral infection of the nervous system, but some things raise the chance:

  • Age: newborns, young children and older adults are more likely to become seriously ill.
  • A weakened immune system: for example from HIV, cancer treatment, an organ transplant or medicines that suppress the immune system.
  • Not being vaccinated against measles, mumps, chickenpox, polio or, where relevant, Japanese encephalitis, tick-borne encephalitis or rabies.
  • Outdoor activity and season: mosquito and tick bites in warm months increase the risk of arbovirus infections.
  • Travel to areas where certain viruses are common.
  • Animal contact: bites or scratches from bats, dogs or wild animals carry a rabies risk.

Diagnosis

Because some brain infections need treatment very quickly, doctors often start medicine before all test results are back. Tests help work out where the infection is and what is causing it.

  • Physical and neurological exam: checking alertness, neck stiffness, strength, reflexes, speech and memory.
  • Lumbar puncture (spinal tap): a thin needle is placed in the lower back to collect a small amount of cerebrospinal fluid (CSF), the fluid around the brain and spinal cord. The fluid is checked for signs of infection and tested for specific viruses using PCR, a test that detects the virus's genetic material.
  • Blood tests: to look for infection, check general health and test for antibodies to certain viruses.
  • Brain imaging: an MRI or CT scan can show swelling or changes in the brain and rule out other causes.
  • EEG: a recording of the brain's electrical activity, useful if seizures or unusual behaviour are present.
  • Other samples: swabs from the throat or stool may help find enteroviruses.

Doctors also look for conditions that can look similar, such as bacterial meningitis, autoimmune encephalitis, stroke or a brain abscess.

Treatment

Treatment depends on the type of infection, the virus and how unwell you are.

Antiviral medicines

There is no specific antiviral for many viruses, including most enteroviruses and West Nile virus. For some, though, antiviral medicine is vital:

  • acyclovir is given through a drip (into a vein) for suspected herpes simplex or varicella-zoster encephalitis. It stops the virus from multiplying and is often started right away, before test results are back.
  • ganciclovir or foscarnet may be used for cytomegalovirus infection in people with a weak immune system.
  • Antiretroviral therapy treats HIV and protects the brain over time.

Until bacterial meningitis is ruled out, antibiotics are often given as well.

Supportive care

  • Rest, fluids and pain relief such as acetaminophen (paracetamol) for headache and fever. Most people with mild viral meningitis recover at home or after a short hospital stay.
  • Anti-seizure medicines if seizures occur.
  • Care in an intensive care unit for severe encephalitis, which may include help with breathing and treatment for brain swelling.

Rabies

Once symptoms of rabies begin, there is no reliable treatment. That is why prompt care after a possible exposure, before symptoms, is so important.

Recovery and living with it

Recovery from viral meningitis usually takes one to two weeks, though tiredness and headaches can linger for a while. Recovery from encephalitis can take months.

  • Rest and return to work, school or driving gradually, as your care team advises.
  • Rehabilitation may include physiotherapy, occupational therapy, speech therapy and help with memory and thinking.
  • Mood changes, anxiety and depression are common after encephalitis. Tell your doctor; support and treatment help.
  • Ask about driving rules if you had a seizure.
  • Keep follow-up appointments and take medicines as prescribed.

Complications

Mild viral meningitis rarely causes lasting problems. Encephalitis and spinal cord infections can leave longer-term effects, such as:

  • Memory and concentration problems
  • Ongoing seizures (epilepsy)
  • Changes in personality or mood
  • Weakness, paralysis or problems with balance
  • Hearing or vision loss
  • Fatigue

A small number of people develop autoimmune encephalitis after herpes simplex encephalitis, where the immune system starts to attack the brain. This can cause new symptoms weeks later and needs urgent review.

Outlook

The outlook varies widely. Most people with viral meningitis recover fully. Encephalitis is more serious; with fast treatment many people recover well, but some have lasting difficulties, and severe cases can be fatal. Early diagnosis and treatment, especially for herpes simplex encephalitis, make a real difference.

Prevention

  • Stay up to date with vaccines, including measles, mumps, rubella, chickenpox and polio. Ask about travel vaccines such as Japanese encephalitis, tick-borne encephalitis and rabies before trips.
  • Prevent bites: use insect repellent, wear long sleeves and trousers, and check for ticks after time outdoors.
  • Wash hands well, especially after using the toilet or changing nappies, to reduce enterovirus spread.
  • Avoid wild animals and bats. If you are bitten or scratched, wash the wound well with soap and running water for about 15 minutes and get medical care the same day.
  • During pregnancy, tell your care team if you or a partner has genital herpes.

In the United States

Arboviral diseases such as West Nile virus are nationally notifiable in the US, and the CDC tracks cases through ArboNET. Animal bites with possible rabies exposure should be discussed with local or state health departments, which advise on post-exposure prophylaxis.

Diagnosis

Suspect CNS viral infection in patients with fever plus headache, meningism, altered mental status, seizures or focal deficits. Distinguish meningitis (preserved cerebral function) from encephalitis (altered mentation or focal signs). Encephalitis case definitions (International Encephalitis Consortium) require altered mental status for 24 hours or more without an alternative cause (major criterion); two minor criteria define possible and three or more probable or confirmed encephalitis (fever of 38 C or higher within 72 hours, new seizures, new focal signs, CSF pleocytosis of 5 cells/microlitre or more, compatible neuroimaging, or EEG abnormality).

Key investigations: lumbar puncture once safe (imaging first if reduced consciousness, focal signs, papilloedema or immunosuppression). Typical viral CSF shows lymphocytic pleocytosis, normal or mildly raised protein and normal glucose ratio; early samples may be neutrophilic. Send CSF PCR for HSV-1/2, VZV and enterovirus, plus others by context (CMV, EBV, HHV-6, HIV, parechovirus in infants). Arbovirus diagnosis relies largely on CSF and serum IgM. MRI is preferred; temporal lobe changes suggest HSV. EEG for seizures or fluctuating consciousness. Test HIV in all. Consider autoimmune encephalitis panels (e.g. NMDA receptor) if infection testing is negative. A negative early HSV PCR does not exclude HSV; repeat at 3 to 7 days if suspicion persists.

Management

Start empirical IV acyclovir promptly for suspected encephalitis (10 mg/kg every 8 hours in adults with normal renal function), alongside empirical antibacterial therapy until bacterial meningitis is excluded. Continue for 14 to 21 days in confirmed HSV encephalitis. Adjust for renal function, ensure hydration and monitor creatinine because of crystal nephropathy. CMV: ganciclovir and/or foscarnet (monitor marrow and renal function, electrolytes). Viral meningitis in immunocompetent patients is usually managed supportively; antiviral benefit in HSV-2 meningitis is uncertain.

Supportive care: seizure control, management of raised intracranial pressure, airway protection, fluid and sodium monitoring (SIADH). Post-exposure rabies prophylaxis (wound care, rabies immune globulin and vaccine) for significant exposures. Notify public health for reportable infections (e.g. arboviral disease, rabies, polio, measles).

Red flags: falling GCS, status epilepticus, signs of herniation, acute flaccid paralysis. Watch for post-HSV anti-NMDAR encephalitis presenting with relapse weeks later. Guidance: IDSA encephalitis guidelines (2008); ABN/BIA guidelines for suspected viral encephalitis in adults (2012). Prognosis: enteroviral meningitis usually resolves without sequelae; HSV encephalitis mortality remains substantial despite treatment and many survivors have neurocognitive deficits, so early acyclovir is critical.

When to get medical help

See a doctor the same day if you have a fever with headache that is worse than usual, or if you were bitten or scratched by an animal that could carry rabies.

Call emergency services or go to the nearest emergency department right away if you or someone else has:

  • Fever with a severe headache, stiff neck or dislike of bright light
  • Confusion, unusual behaviour or trouble staying awake
  • A seizure
  • Sudden weakness, numbness, or trouble speaking
  • A rash that does not fade when pressed with a glass
  • In a baby: fever, poor feeding, floppiness, unusual sleepiness or a bulging soft spot

In an emergency, call 911.

References

  1. U.S. National Library of Medicine. MeSH: Central Nervous System Viral Diseases. meshb.nlm.nih.gov
  2. MedlinePlus: Encephalitis. medlineplus.gov/encephalitis.html
  3. MedlinePlus: Meningitis. medlineplus.gov/meningitis.html
  4. NINDS: Meningitis and encephalitis. ninds.nih.gov/health-information/disorders/meningitis-and-encephalitis
  5. IDSA: The management of encephalitis: clinical practice guidelines (2008). doi.org/10.1086/589747
  6. Solomon T et al. Management of suspected viral encephalitis in adults: ABN and BIA national guidelines (2012). doi.org/10.1016/j.jinf.2011.11.013