Infections and other disorders affecting the brain and spinal cord can activate the immune system, which leads to inflammation.  These diseases, and the resulting inflammation, can produce a wide range of symptoms, including fever, headache, seizures, and changes in behavior or confusion. In extreme cases, these can cause brain damage, stroke, or even death.
Inflammation of the meninges, the membranes that surround the brain and spinal cord, is called meningitis; inflammation of the brain itself is called encephalitis.  Myelitis refers to inflammation of the spinal cord.  When both the brain and the spinal cord are involved, the condition is called encephalomyelitis.
What causes meningitis and encephalitis?
Infectious causes of meningitis and encephalitis include bacteria, viruses, fungi, and parasites. For some individuals, environmental exposure (such as a parasite), recent travel, or an immunocompromised state (such as HIV, diabetes, steroids, chemotherapy treatment) are important risk factors. Â There are also non-infectious causes such as autoimmune/rheumatological diseases and certain medications.
Meningitis
Bacterial meningitis is a rare but potentially fatal disease.  Several types of bacteria can first cause an upper respiratory tract infection and then travel through the bloodstream to the brain.  The disease can also occur when certain bacteria invade the meninges directly.  Bacterial meningitis can cause stroke, hearing loss, and permanent brain damage.
- Pneumococcal meningitis is the most common form of meningitis and is the most serious form of bacterial meningitis. Some 6,000 cases of pneumococcal meningitis are reported in the United States each year. The disease is caused by the bacterium Streptococcus pneumoniae, which also causes pneumonia, blood poisoning (septicemia), and ear and sinus infections. At particular risk are children under age 2 and adults with a weakened immune system. People who have had pneumococcal meningitis often suffer neurological damage ranging from deafness to severe brain damage. Immunizations are available for certain strains of the pneumococcal bacteria.
- Meningococcal meningitis is caused by the bacterium Neisseria meningitides. Each year in the United States about 2,600 people get this highly contagious disease. High-risk groups include infants under the age of 1 year, people with suppressed immune systems, travelers to foreign countries where the disease is endemic, and college students (freshmen in particular), military recruits, and others who reside in dormitories. Between 10 and 15 percent of cases are fatal, with another 10-15 percent causing brain damage and other serious side effects. If meningococcal meningitis is diagnosed, people in close contact with an infected individual should be given preventative antibiotics.
- Haemophilus influenzae meningitis was at one time the most common form of bacterial meningitis. Fortunately, the Haemophilus influenzae b vaccine has greatly reduced the number of cases in the United States. Those most at risk of getting this disease are children in child-care settings and children who do not have access to the vaccine.
Other forms of bacterial meningitis include Listeria monocytogenes meningitis (in which certain foods such as unpasteurized dairy or deli meats are sometimes implicated); Escherichia coli meningitis, which is most common in elderly adults and newborns and may be transmitted to a baby through the birth canal; and Mycobacterium tuberculosis meningitis, a rare disease that occurs when the bacterium that causes tuberculosis attacks the meninges.
Viral, or aseptic, meningitis is usually caused by enteroviruses—common viruses that enter the body through the mouth and travel to the brain and surrounding tissues where they multiply.  Enteroviruses are present in mucus, saliva, and feces, and can be transmitted through direct contact with an infected person or an infected object or surface.  Other viruses that cause meningitis include varicella zoster (the virus that causes chicken pox and can appear decades later as shingles), influenza, mumps, HIV, and herpes simplex type 2 (genital herpes).
Fungal infections can affect the brain.  The most common form of fungal meningitis is caused by the fungus cryptococcus neoformans (found mainly in dirt and bird droppings).  Cryptococcal meningitis mostly occurs in immunocompromised individuals such as those with AIDS but can also occur in healthy people.  Some of these cases can be slow to develop and smolder for weeks.  Although treatable, fungal meningitis often recurs in nearly half of affected persons.
Parasitic causes include cysticercosis (a tapeworm infection in the brain), which is common in other parts of the world, as well as cerebral malaria.
There are rare cases of amoebic meningitis, sometimes related to fresh water swimming, which can be rapidly fatal.
Encephalitis
Encephalitis, usually viral, can be caused by some of the same infections listed above. Â However, up to 60 percent of cases remain undiagnosed. Several thousand cases of encephalitis are reported each year, but many more may occur since the symptoms may be mild to non-existent in most individuals.
Most diagnosed cases of encephalitis in the United States are caused by herpes simplex virus types 1 and 2, arboviruses (such as West Nile Virus), which are transmitted from infected animals to humans through the bite of an infected tick, mosquito, or other blood-sucking insect, or enteroviruses. Â Lyme disease, a bacterial infection spread by tick bite, occasionally causes meningitis, and very rarely encephalitis. Rabies virus, which is transmitted by bites of rabid animals, is an extremely rare cause of human encephalitis.
Herpes simplex encephalitis (HSE) is responsible for about 10 percent of all encephalitis cases, with a frequency of about 2 cases per million persons per year.  More than half of untreated cases are fatal.  About 30 percent of cases result from the initial infection with the herpes simplex virus; the majority of cases are caused by reactivation of an earlier infection.  Most people acquire herpes simplex virus type 1 (the cause of cold sores or fever blisters) in childhood.
HSE due to herpes simplex virus type 1 can affect any age group but is most often seen in persons under age 20 or over age 40. Â This rapidly progressing disease is the single most important cause of fatal sporadic encephalitis in the United States. Â Symptoms can include headache and fever for up to 5 days, followed by personality and behavioral changes, seizures, hallucinations, and altered levels of consciousness. Â Brain damage in adults and in children beyond the first month of life is usually seen in the frontal lobes (leading to behavioral and personality changes) and temporal lobes (leading to memory and speech problems) and can be severe.
Type 2 virus (genital herpes) is most often transmitted through sexual contact. Â Many people do not know they are infected and may not have active genital lesions. Â An infected mother can transmit the disease to her child at birth, through contact with genital secretions. Â In newborns, symptoms such as lethargy, irritability, tremors, seizures, and poor feeding generally develop between 4 and 11 days after delivery.
Four common forms of mosquito-transmitted viral encephalitis are seen in the United States:
- Equine encephalitis affects horses and humans.
- Eastern equine encephalitis also infects birds that live in freshwater swamps of the eastern U.S. seaboard and along the Gulf Coast.  In humans, symptoms are seen 4-10 days following transmission and include sudden fever, general flu-like muscle pains, and headache of increasing severity, followed by coma and death in severe cases.  About half of infected individuals die from the disorder.  Fewer than 10 human cases are seen annually in the United States.
- Western equine encephalitis is seen in farming areas in the western and central plains states.  Symptoms begin 5-10 days following infection.  Children, particularly those under 12 months of age, are affected more severely than adults and may have permanent neurologic damage.  Death occurs in about 3 percent of cases.
- Venezuelan equine encephalitis is very rare in this country.  Children are at greatest risk of developing severe complications, while adults generally develop flu-like symptoms.  Epidemics in South and Central America have killed thousands of persons and left others with permanent, severe neurologic damage.
- LaCrosse encephalitis occurs most often in the upper midwestern states (Illinois, Wisconsin, Indiana, Ohio, Minnesota, and Iowa) but also has been reported in the southeastern and mid-Atlantic regions of the country.  Most cases are seen in children under age 16.  Symptoms such as vomiting, headache, fever, and lethargy appear 5-10 days following infection.  Severe complications include seizures, coma, and permanent neurologic damage.  About 100 cases of LaCrosse encephalitis are reported each year.
- St. Louis encephalitis is most prevalent in temperate regions of the United States but can occur throughout most of the country.  The disease is generally milder in children than in adults, with elderly adults at highest risk of severe disease or death.  Symptoms typically appear 7-10 days following infection and include headache and fever.  In more severe cases, confusion and disorientation, tremors, convulsions (especially in the very young), and coma may occur.
- West Nile encephalitis is usually transmitted by a bite from an infected mosquito, but can also occur after transplantation of an infected organ or transfusions of infected blood or blood products.  Symptoms are flu-like and include fever, headache, and joint pain. Some individuals may develop a skin rash and swollen lymph glands, while others may not show any symptoms.  At highest risk are older adults and people with weakened immune systems.
Outside the United States, Japanese encephalitis is one of the most common causes of encephalitis worldwide. It is widespread in Asia and is transmitted by a mosquito. A vaccine is available so travelers to at-risk areas should discuss this with their healthcare provider.
Powassan encephalitis is rare but is the only well-documented tick-borne arbovirus in the United States and Canada. Symptoms are noticed 7-10 days following the bite (most people do not notice tick bites) and may include headache, fever, nausea, confusion, partial paralysis, coma, and seizures.
It is also possible to develop encephalitis that has non-infectious or autoimmune causes. Some cases of encephalitis are caused by an autoimmune disorder that may in some instances be triggered by an infection (“post infectious”) or by a cancer – even one that is microscopic and cannot be found (so-called paraneoplastic neurological syndromes).  NMDA-Receptor encephalitis is a type of autoantibody-mediated encephalitis and is being increasingly recognized; it was the most documented form of non-bacterial meningitis reported in the long-term study and follow-up of participants in the California Encephalitis project.  Treatment involves immunosuppression and/or tumor removal if such a cause is foun
Who is at risk for encephalitis and meningitis?
Anyone—from infants to older adults—can get encephalitis or meningitis. People with weakened immune systems, including those persons with HIV or those taking immunosuppressant drugs, are at increased risk.
How are these disorders transmitted?
Some forms of bacterial meningitis and encephalitis are contagious and can be spread through contact with saliva, nasal discharge, feces, or respiratory and throat secretions (often spread through kissing, coughing, or sharing drinking glasses, eating utensils, or such personal items as toothbrushes, lipstick, or cigarettes).  For example, people sharing a household, at a day care center, or in a classroom with an infected person can become infected.  College students living in dormitories—in particular, college freshmen—have a higher risk of contracting meningococcal meningitis than college students overall.  Children who have not been given routine vaccines are at increased risk of developing certain types of bacterial meningitis.
Because these diseases can occur suddenly and progress rapidly, anyone who is suspected of having either meningitis or encephalitis should immediately contact a doctor or go to the hospital.
What are the signs and symptoms?
The hallmark signs of meningitis include some or all of the following: sudden fever, severe headache, nausea or vomiting, double vision, drowsiness, sensitivity to bright light, and a stiff neck. Encephalitis can be characterized by fever, seizures, change in behavior, and confusion and disorientation. Related neurological signs depend on which part of the brain is affected by the encephalitic process as some of these are quite localized while others are more widespread.
Meningitis often appears with flu-like symptoms that develop over 1-2 days. Â Distinctive rashes are typically seen in some forms of the disease. Â Meningococcal meningitis may be associated with kidney and adrenal gland failure and shock.
Individuals with encephalitis often show mild flu-like symptoms.  In more severe cases, people may experience problems with speech or hearing, double vision, hallucinations, personality changes, and loss of consciousness. Other severe complications include loss of sensation in some parts of the body, muscle weakness, partial paralysis in the arms and legs, impaired judgment, seizures, and memory loss.
Important signs of meningitis or encephalitis to watch for in an infant include fever, lethargy, not waking for feedings, vomiting, body stiffness, unexplained/unusual irritability, and a full or bulging fontanel (the soft spot on the top of the head).
How are meningitis and encephalitis diagnosed?
Following a physical exam and medical history to review activities of the past several days or weeks (such as recent exposure to insects, ticks or animals, any contact with ill persons, or recent travel; preexisting medical conditions and medications), the doctor may order various diagnostic tests to confirm the presence of infection or inflammation. Â Early diagnosis is vital, as symptoms can appear suddenly and escalate to brain damage, hearing and/or speech loss, blindness, or even death.
Diagnostic tests include:
- A neurological examination involves a series of physical examination tests designed to assess motor and sensory function, nerve function, hearing and speech, vision, coordination and balance, mental status, and changes in mood or behavior.
- Laboratory screening of blood, urine, and body secretions can help detect and identify brain and/or spinal cord infection and determine the presence of antibodies and foreign proteins.  Such tests can also rule out metabolic conditions that may have similar symptoms.
- Analysis of the cerebrospinal fluid that surrounds and protects the brain and spinal cord can detect infections in the brain and/or spinal cord, acute and chronic inflammation, and other diseases.  A small amount of cerebrospinal fluid is removed by a special needle that is inserted into the lower back and the fluid is tested to detect the presence of bacteria, blood, and viruses. The testing can also measure glucose levels (a low glucose level can be seen in bacterial or fungal meningitis) and white blood cells (elevated white blood cell counts are a sign of inflammation), as well as protein and antibody levels.
Brain imaging can reveal signs of brain inflammation, internal bleeding or hemorrhage, or other brain abnormalities. Two painless, noninvasive imaging procedures are routinely used to diagnose meningitis and encephalitis.
- Computed tomography, also known as a CT scan, combines x-rays and computer technology to produce rapid, clear, two-dimensional images of organs, bones, and tissues.  Occasionally a contrast dye is injected into the bloodstream to highlight the different tissues in the brain and to detect signs of encephalitis or inflammation of the meninges.
- Magnetic resonance imaging (MRI) uses computer-generated radio waves and a strong magnet to produce detailed images of body structures, including tissues, organs, bones, and nerves.  An MRI can help identify brain and spinal cord inflammation, infection, tumors, and other conditions.  A contrast dye may be injected prior to the test to reveal more detail.
Additionally, electroencephalography, or EEG, can identify abnormal brain waves by monitoring electrical activity in the brain noninvasively through the skull.  Among its many functions, EEG is used to help diagnose patterns that may suggest specific viral infections such as herpes virus and to detect seizures that don’t show any clinical symptoms but may contribute to an altered level of consciousness in critically ill individuals.
How are these infections treated?
People who are suspected of having meningitis or encephalitis should receive immediate, aggressive medical treatment. Â Both diseases can progress quickly and have the potential to cause severe, irreversible neurological damage.
Meningitis
Early treatment of bacterial meningitis involves antibiotics that can cross the blood-brain barrier (a lining of cells that keeps harmful micro-organisms and chemicals from entering the brain). Appropriate antibiotic treatment for most types of meningitis can greatly reduce the risk of dying from the disease. Anticonvulsants to prevent seizures and corticosteroids to reduce brain inflammation may be prescribed.
Infected sinuses may need to be drained.  Corticosteroids such as prednisone may be ordered to relieve brain pressure and swelling and to prevent hearing loss that is common in Haemophilus influenza meningitis.  Lyme disease is treated with antibiotics.
Antibiotics, developed to kill bacteria, are not effective against viruses. Fortunately, viral meningitis is rarely life threatening and no specific treatment is needed. Fungal meningitis is treated with intravenous antifungal medications.
Encephalitis
Antiviral drugs used to treat viral encephalitis include acyclovir and ganciclovir. For most encephalitis-causing viruses, no specific treatment is available.
Autoimmune causes of encephalitis are treated with additional immunosuppressant drugs and screening for underlying tumors when appropriate. Acute disseminated encephalomyelitis, a non-infectious inflammatory brain disease mostly seen in children, is treated with steroids.
Anticonvulsants may be prescribed to stop or prevent seizures. Â Corticosteroids can reduce brain swelling. Â Affected individuals with breathing difficulties may require artificial respiration.
Once the acute illness is under control, comprehensive rehabilitation should include cognitive rehabilitation and physical, speech, and occupational therapy.
Can meningitis and encephalitis be prevented?
People should avoid sharing food, utensils, glasses, and other objects with someone who may be exposed to or have the infection. Â People should wash their hands often with soap and rinse under running water.
Effective vaccines are available to prevent Haemophilus influenza, pneumococcal and meningococcal meningitis.
People who live, work, or go to school with someone who has been diagnosed with bacterial meningitis may be asked to take antibiotics for a few days as a preventive measure.
To lessen the risk of being bitten by an infected mosquito or other arthropod, people should limit outdoor activities at night, wear long-sleeved clothing when outdoors, use insect repellents that are most effective for that particular region of the country, and rid lawn and outdoor areas of free-standing pools of water, in which mosquitoes breed. Repellants should not be over-applied, particularly on young children and especially infants, as chemicals such as DEET may be absorbed through the skin.
What is the prognosis for these infections?
Outcome generally depends on the particular infectious agent involved, the severity of the illness, and how quickly treatment is given. Â In most cases, people with very mild encephalitis or meningitis can make a full recovery, although the process may be slow.
Individuals who experience only headache, fever, and stiff neck may recover in 2-4 weeks. Â Individuals with bacterial meningitis typically show some relief 48-72 hours following initial treatment but are more likely to experience complications caused by the disease. Â In more serious cases, these diseases can cause hearing and/or speech loss, blindness, permanent brain and nerve damage, behavioral changes, cognitive disabilities, lack of muscle control, seizures, and memory loss. Â These individuals may need long-term therapy, medication, and supportive care.
The recovery from encephalitis is variable depending on the cause of the disease and extent of brain inflammation.