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.

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 Canada
Viral encephalitis and several causative infections (such as West Nile virus, rabies and polio) are notifiable in Canada; report through local public health. The Public Health Agency of Canada publishes guidance on West Nile virus, rabies post-exposure care and the Canadian Immunization Guide, including travel vaccines.
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
- U.S. National Library of Medicine. MeSH: Central Nervous System Viral Diseases. meshb.nlm.nih.gov
- MedlinePlus: Encephalitis. medlineplus.gov/encephalitis.html
- MedlinePlus: Meningitis. medlineplus.gov/meningitis.html
- NINDS: Meningitis and encephalitis. ninds.nih.gov/health-information/disorders/meningitis-and-encephalitis
- IDSA: The management of encephalitis: clinical practice guidelines (2008). doi.org/10.1086/589747
- 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