Overview

Encephalitis (en-sef-uh-LIE-tis) is inflammation of the brain. It can be caused by viral or bacterial infections, or by immune cells mistakenly attacking the brain. Viruses that can lead to encephalitis can be spread by insects such as mosquitos and ticks.

When inflammation is caused by an infection in the brain, it's known as infectious encephalitis. And when it's caused by the immune system attacking the brain, it's known as autoimmune encephalitis. Sometimes there is no known cause.

Encephalitis can sometimes lead to death. Getting diagnosed and treated right away is important because it's hard to predict how encephalitis may affect each person.

Symptoms

Encephalitis may cause many different symptoms including confusion, personality changes, seizures or trouble with movement. Encephalitis also may cause changes in sight or hearing.

Most people with infectious encephalitis have flu-like symptoms, such as:

  • Headache.
  • Fever.
  • Aches in muscles or joints.
  • Fatigue or weakness.

Typically, these are followed by more-serious symptoms over a period of hours to days, such as:

  • Stiff neck.
  • Confusion, agitation or hallucinations.
  • Seizures.
  • Loss of feeling or being unable to move certain areas of the face or body.
  • Irregular movements.
  • Muscle weakness.
  • Trouble with speech or hearing.
  • Loss of consciousness, including coma.

In infants and young children, symptoms also might include:

  • Bulging of the soft spots of an infant's skull.
  • Nausea and vomiting.
  • Stiffness affecting the whole body.
  • Poor feeding or not waking for a feeding.
  • Irritability.

In autoimmune encephalitis, symptoms may develop more slowly over several weeks. Flu-like symptoms are less common but can sometimes happen weeks before more-serious symptoms start. Symptoms are different for everyone, but it's common for people to have a combination of symptoms, including:

  • Changes in personality.
  • Memory loss.
  • Trouble understanding what is real and what is not, known as psychosis.
  • Seeing or hearing things that aren't there, known as hallucinations.
  • Seizures.
  • Changes in vision.
  • Sleep problems.
  • Muscle weakness.
  • Loss of sensation.
  • Trouble walking.
  • Irregular movements.
  • Bladder and bowel symptoms.

When to see a doctor

Get medical care right away if you experience any of the more-serious symptoms associated with encephalitis. A bad headache, fever and change in consciousness require urgent care.

Infants and young children with any symptoms of encephalitis also need urgent care.

From Mayo Clinic to your inbox

Sign up for free and stay up to date on research advancements, health tips, current health topics, and expertise on managing health. Click here for an email preview.

To provide you with the most relevant and helpful information, and understand which information is beneficial, we may combine your email and website usage information with other information we have about you. If you are a Mayo Clinic patient, this could include protected health information. If we combine this information with your protected health information, we will treat all of that information as protected health information and will only use or disclose that information as set forth in our notice of privacy practices. You may opt-out of email communications at any time by clicking on the unsubscribe link in the e-mail.

Causes

In about half of patients, the exact cause of encephalitis is not known.

In those for whom a cause is found, there are two main types of encephalitis:

  • Infectious encephalitis. This condition usually occurs when a virus infects the brain. The infection may affect one area or be widespread. Viruses are the most common causes of infectious encephalitis, including some that can be passed by mosquitoes or ticks. Very rarely, encephalitis may be caused by bacteria, fungus or parasites.
  • Autoimmune encephalitis. This condition occurs when your own immune cells mistakenly attack the brain or make antibodies targeting proteins and receptors in the brain. The exact reason why this happens is not completely understood. Sometimes autoimmune encephalitis can be triggered by cancerous or noncancerous tumors, known as paraneoplastic syndromes of the nervous system. Other types of autoimmune encephalitis such as acute disseminated encephalomyelitis (ADEM) can be triggered by an infection in the body. This is known as post-infectious autoimmune encephalitis. In many instances, no trigger for the immune response is found.

Common viral causes

The viruses that can cause encephalitis include:

  • Herpes simplex virus (HSV). Both HSV type 1 and HSV type 2 can cause encephalitis. HSV type 1 causes cold sores and fever blisters around the mouth, and HSV type 2 causes genital herpes. Encephalitis caused by HSV type 1 is rare but can result in significant brain damage or death.
  • Other herpes viruses. These include the Epstein-Barr virus, which commonly causes infectious mononucleosis, and the varicella-zoster virus, which commonly causes chickenpox and shingles.
  • Enteroviruses. These viruses include the poliovirus and the coxsackievirus, which usually cause an illness with flu-like symptoms, eye inflammation and abdominal pain.
  • Mosquito-borne viruses. These viruses can cause infections such as West Nile, La Crosse, St. Louis, western equine and eastern equine encephalitis. Symptoms of an infection might appear within a few days to a couple of weeks after exposure to a mosquito-borne virus.
  • Tick-borne viruses. The Powassan virus is carried by ticks and causes encephalitis in the Midwestern United States. Symptoms usually appear about a week after a bite from an infected tick.
  • Rabies virus. Infection with the rabies virus, which is usually transmitted by a bite from an infected animal, causes a rapid progression to encephalitis once symptoms begin. Rabies is a rare cause of encephalitis in the United States.

Risk factors

Anyone can develop encephalitis. Factors that may increase the risk include:

  • Age. Some types of encephalitis are more common or more serious in certain age groups. In general, young children and older adults are at greater risk of most types of viral encephalitis. Similarly, some forms of autoimmune encephalitis are more common in children and young adults, whereas others are more common in older adults.
  • Weakened immune system. People who have HIV/AIDS, take immune-suppressing medicines or have another condition causing a weakened immune system are at increased risk of encephalitis.
  • Geographical regions. Mosquito- or tick-borne viruses are common in particular geographical regions.
  • Season of the year. Mosquito- and tick-borne diseases tend to be more common in summer in many areas of the United States.
  • Autoimmune disease. People who already have an autoimmune condition may be more prone to develop autoimmune encephalitis.
  • Smoking. Smoking increases the chances of developing lung cancer, which in turn increases the risk of developing paraneoplastic syndromes including encephalitis.

Complications

The complications of encephalitis vary, depending on factors such as:

  • Your age.
  • The cause of your infection.
  • The severity of your initial illness.
  • The time from disease onset to treatment.

People with relatively mild illness usually recover within a few weeks with no long-term complications.

Complications of serious illness

Inflammation can injure the brain, possibly resulting in a coma or death.

Other complications may last for months or may be permanent. Complications can vary widely and can include:

  • Fatigue that doesn't go away.
  • Weakness or lack of muscle coordination.
  • Personality changes.
  • Memory problems.
  • Hearing or vision changes.
  • Trouble with speech.

Prevention

The best way to prevent viral encephalitis is to take precautions to avoid exposure to viruses that can cause the disease. Try to:

  • Practice good hygiene. Wash hands often and thoroughly with soap and water, especially after using the toilet and before and after meals.
  • Don't share utensils. Don't share tableware and drinks.
  • Teach your children good habits. Make sure they practice good hygiene and avoid sharing utensils at home and school.
  • Get vaccinations. Keep your own and your children's vaccinations current. Before traveling, talk to your healthcare professional about recommended vaccinations for different destinations.

Protection against mosquitoes and ticks

To minimize your exposure to mosquitoes and ticks:

  • Dress to protect yourself. Wear long-sleeved shirts and long pants outside. This is especially important if you're outside between dusk and dawn when mosquitoes are most active. It's also important when you're in a wooded area with tall grasses and shrubs where ticks are more common.
  • Apply mosquito repellent. Chemicals such as DEET can be applied to both the skin and clothes. To apply repellent to your face, spray it on your hands and then wipe it on your face. If you're using both sunscreen and a repellent, apply sunscreen first.
  • Use insecticide. The Environmental Protection Agency recommends the use of products containing permethrin, which repels and kills ticks and mosquitoes. These products can be sprayed on clothing, tents and other outdoor gear. Permethrin shouldn't be applied to the skin.
  • Avoid mosquitoes. Stay away from places where mosquitoes are most common. If possible, don't do outdoor activities from dusk till dawn when mosquitoes are most active. Repair broken windows and screens.
  • Get rid of water sources outside your home. Eliminate standing water in your yard, where mosquitoes can lay their eggs. Common places include flowerpots or other gardening containers, flat roofs, old tires, and clogged gutters.
  • Look for outdoor signs of viral disease. If you notice sick or dying birds or animals, report your observations to your local health department.

Protection for young children

Insect repellents aren't recommended for use on infants younger than 2 months of age. Instead, cover an infant carrier or stroller with mosquito netting.

For older infants and children, repellents with 10% to 30% DEET are considered safe. Products containing both DEET and sunscreen aren't recommended for children. This is because reapplying for sunscreen protection can expose the child to too much DEET.

Tips for using mosquito repellent with children include:

  • Always assist children with the use of mosquito repellent.
  • Spray on clothing and exposed skin.
  • Apply the repellent when outdoors to lessen the risk of inhaling the repellent.
  • Spray repellent on your hands and then apply it to your child's face. Take care around the eyes and ears.
  • Don't use repellent on the hands of young children who may put their hands in their mouths.
  • Wash treated skin with soap and water when you come indoors.

Encephalitis care at Mayo Clinic

May 16, 2024
  1. Bennett JE, et al. Encephalitis. In: Mandell, Douglas, and Bennett's Principles and Practice of Infectious Diseases. 9th ed. Elsevier; 2020. http://www.clinicalkey.com. Accessed April 5, 2022.
  2. Krogstad P, et al. Acute viral encephalitis in children: Clinical manifestations and diagnosis. https://www.uptodate.com/contents/search. Accessed April 5, 2022.
  3. Ferri FF. Encephalitis, acute viral. In: Ferri's Clinical Advisor 2022. Elsevier; 2022. http://www.clinicalkey.com. Accessed April 5, 2022.
  4. AskMayoExpert. Viral encephalitis. Mayo Clinic; 2022.
  5. Gluckman SJ. Viral encephalitis in adults. https://www.uptodate.com/contents/search. Accessed April 5, 2022.
  6. Encephalitis. National Institute of Neurological Disorders and Stroke. https://www.ninds.nih.gov/health-information/disorders/encephalitis#. Accessed March 10, 2024.
  7. Bradshaw MG, et al. Emergency evaluation and management of encephalitis and myelitis in adults. Seminars in Neurology. 2019; doi:10.1055/s-0038-1676845.
  8. Gundamraj V, et al. Viral meningitis and encephalitis: An update. Current Opinion in Infectious Diseases. 2023; doi:10.1097/QCO.0000000000000922.
  9. Krogstad P, et al. Acute viral encephalitis in children: Treatment and prevention. https://www.uptodate.com/contents/search. Accessed April 5, 2022.
  10. Daroff RB, et al. Viral encephalitis and meningitis. In: Bradley's Neurology in Clinical Practice. 8th ed. Saunders Elsevier; 2022. https://www.clinicalkey.com. Accessed April 5, 2022.
  11. Zachary KC. Acyclovir: An overview. https://www.uptodate.com/contents/search. Accessed April 5, 2022.
  12. Breisch N. Prevention of arthropod and insect bites: Repellents and other measures. https://www.uptodate.com/contents/search. Accessed April 5, 2022.
  13. West Nile virus prevention. Centers for Disease Control and Prevention. http://www.cdc.gov/westnile/faq/repellent.html. Accessed April 5, 2022.
  14. Dubey D, et al. Autoimmune encephalitis epidemiology and a comparison to infectious encephalitis. Annals of Neurology. 2018; doi:10.1002/ana.25131.
  15. Thomas AR. Allscripts EPSi. Mayo Clinic. Jan. 3, 2024.
  16. Krogstad P, et al. Acute viral encephalitis in children: Treatment and prevention. https://www.uptodate.com/contents/search. Accessed April 13, 2022.
  17. Singh TD, et al. Predictors of outcome in HSV encephalitis. Journal of Neurology. 2016; doi:10.1007/s00415-015-7960-8.
  18. Wormser GP, et al. Update and commentary on four emerging tick-borne infections: Ehrlichia muris-like agent, borrelia miyamotoi, deer tick virus, heartland virus, and whether ticks play a role in transmission of bartonella henselae. Infectious Disease Clinics of North America. 2015; doi:10.1016/j.idc.2015.02.009.
  19. Howe CL, et al. Neuroprotection mediated by inhibition of calpain during acute viral encephalitis. Scientific Reports. 2016; doi:10.1038/srep28699.
  20. Graff-Radford J (expert opinion). Mayo Clinic. April 14, 2022.
  21. Ferri FF. Antibody-mediated autoimmune encephalitis. In: Ferri's Clinical Advisor 2024. Elsevier; 2024. https://www.clinicalkey.com. Accessed March 10, 2024.
  22. Trewin BP, et al. Immunotherapy in autoimmune encephalitis. Current Opinion in Neurology. 2022; doi:10.1097/WCO.0000000000001048.
  23. Abbuehl LS. Can we forecast poor outcomes in herpes simplex and varicella zoster encephalitis? A narrative review. Frontiers in Neurology. 2023; doi:10.3389/fneur.2023.1130090.
  24. AskMayoExpert. Autoimmune and paraneoplastic neurologic syndromes (adult). Mayo Clinic; 2023.

Related

Associated Procedures

News from Mayo Clinic

Products & Services