Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page: //medlineplus.gov/ency/article/001415.htm

Encephalitis

Encephalitis is irritation and swelling (inflammation) of the brain, most often due to infections.

Causes

Encephalitis is a rare condition. It occurs more often in the first year of life and decreases with age. The very young and older adults are more likely to have a severe case.

Encephalitis is most often caused by a virus. Many types of viruses may cause it. Exposure can occur through:

  • Breathing in droplets from the nose, mouth, or throat from an infected person
  • Contaminated food or drink
  • Mosquito, tick, and other insect bites
  • Skin contact

Different viruses occur in different geographic locations. Many cases occur during a certain season.

Encephalitis caused by the herpes simplex virus is the leading cause of more severe cases in all ages, including newborns.

Routine vaccination has greatly reduced encephalitis due to some viruses, including:

Other viruses that cause encephalitis include:

After the virus enters the body, the brain tissue swells. This swelling may destroy nerve cells, and cause bleeding in the brain and brain damage.

Other causes of encephalitis may include:

Symptoms

Some people may have symptoms of a cold or stomach infection before encephalitis symptoms begin.

When this infection is not very severe, the symptoms may be similar to those of other illnesses:

  • Fever that is not very high
  • Low energy and a poor appetite

Other symptoms include:

Symptoms in newborns and younger infants may not be as easy to recognize:

  • Body stiffness
  • Irritability and crying more often (these symptoms may get worse when the baby is picked up)
  • Poor feeding
  • Soft spot on the top of the head may bulge out more
  • Vomiting

Emergency symptoms:

  • Loss of consciousness, poor responsiveness, stupor, coma
  • Muscle weakness or paralysis
  • Seizures
  • Severe headache
  • Sudden change in mental functions, such as flat mood, impaired judgment, memory loss, or a lack of interest in daily activities

Exams and Tests

The health care provider will perform a physical exam and ask about symptoms.

Tests that may be done include:

  • Brain MRI
  • CT scan of the head
  • Single-photon emission computed tomography (SPECT)
  • Culture of cerebrospinal fluid (CSF), blood, or urine (however, this test is rarely useful)
  • Electroencephalogram (EEG)
  • Lumbar puncture and CSF examination
  • Tests that detect antibodies to a virus (serology tests)
  • Test that detects tiny amounts of virus DNA (polymerase chain reaction -- PCR)

Treatment

The goals of treatment are to provide supportive care (rest, nutrition, fluids) to help the body fight the infection, and to relieve symptoms.

Medicines may include:

  • Antiviral medicines, if a virus caused the infection
  • Antibiotics, if bacteria are the cause
  • Antiseizure medicines to prevent seizures
  • Steroids to reduce brain swelling
  • Sedatives for irritability or restlessness
  • Acetaminophen for fever and headache

If brain function is severely affected, physical therapy and speech therapy may be needed after the infection is controlled.

Outlook (Prognosis)

The outcome varies. Some cases are mild and short, and the person fully recovers. Other cases are severe, and permanent problems or death is possible.

The acute phase normally lasts for 1 to 2 weeks. Fever and symptoms gradually or suddenly disappear. Some people may take several months to fully recover.

Possible Complications

Permanent brain damage may occur in severe cases of encephalitis. It can affect:

  • Hearing
  • Memory
  • Muscle control
  • Sensation
  • Speech
  • Vision

When to Contact a Medical Professional

Go to the emergency room or call 911 or the local emergency number if you have:

  • Sudden fever
  • Other symptoms of encephalitis

Prevention

Children and adults should avoid contact with anyone who has encephalitis.

Controlling mosquitoes (a mosquito bite can transmit some viruses) may reduce the chance of some infections that can lead to encephalitis.

  • Apply an insect repellant containing the chemical, DEET when you go outside (but DO NOT use DEET products on infants younger than 2 months).
  • Remove any sources of standing water (such as old tires, cans, gutters, and wading pools).
  • Wear long-sleeved shirts and pants when outside, especially at dusk.

Children and adults should get routine vaccinations for viruses that can cause encephalitis. People should receive specific vaccines if they are traveling to places such as parts of Asia, where Japanese encephalitis is found.

Vaccinate animals to prevent encephalitis caused by the rabies virus.

Images

References

Beckham JD, Tyler KL. Encephalitis. In: Bennett JE, Dolin R, Blaser MJ, eds. Mandell, Douglas, and Bennett's Principles and Practice of Infectious Diseases. 9th ed. Philadelphia, PA: Elsevier; 2020:chap 89.

Bronstein DE, Glaser CA. Encephalitis and meningoencephalitis. In: Cherry JD, Harrison GJ, Kaplan SL, Steinbach WJ, Hotez PJ, eds. Feigin and Cherry's Textbook of Pediatric Infectious Diseases. 8th ed. Philadelphia, PA: Elsevier; 2019:chap 36.

Lissauer T, Carroll W. Infection and immunity. In: Lissauer T, Carroll W, eds. Illustrated Textbook of Paediatrics. 6th ed. Philadelphia, PA: Elsevier; 2022:chap 15.

Review Date 7/28/2022

Updated by: Charles I. Schwartz MD, FAAP, Clinical Assistant Professor of Pediatrics, Perelman School of Medicine at the University of Pennsylvania, General Pediatrician at PennCare for Kids, Phoenixville, PA. Also reviewed by David C. Dugdale, MD, Medical Director, Brenda Conaway, Editorial Director, and the A.D.A.M. Editorial team.

Related MedlinePlus Health Topics