Meningitis is inflammation of the meninges, the membranes that wrap the brain and spinal cord. Encephalitis is inflammation of the brain tissue itself. The two often occur together, and when both are affected the condition is called meningoencephalitis.
Because the brain sits inside the rigid skull, any swelling raises the pressure within it, which can harm nerves and brain tissue. Inflammation can also weaken the blood-brain barrier, letting blood cells, protein, toxins and germs into the cerebrospinal fluid (CSF). The fluid then flows sluggishly or becomes blocked, pushing pressure up further and reducing blood supply to the brain. Left untreated, both conditions can be fatal.
Most cases are caused by infection, usually viral and less often bacterial, fungal or parasitic. Rarer causes include brain surgery and autoimmune reactions. Illness may come on quickly (acute) or last a month or more (chronic), and severity ranges from mild to life-threatening.
Viral meningitis is the most common type. It is usually milder than the bacterial form, is rarely life-threatening and does not lead to blood poisoning (septicaemia). Children under 5 and people with weak immunity are most often affected. Causes include enteroviruses, herpes simplex, mumps, measles, Epstein-Barr virus, HIV and cytomegalovirus (CMV).
Bacterial meningitis is a medical emergency that can worsen within hours. Many people carry the responsible bacteria harmlessly in the nose and throat; illness starts when they reach the bloodstream. Babies, young children, teenagers, older people and those with weak immunity are most at risk. After the age of three months the main causes are meningococcus, pneumococcus and Haemophilus influenzae type b (Hib). In newborns, Group B streptococcus, E. coli and Listeria are more typical and can pass from mother to baby. These bacteria may also cause septicaemia, which can damage organs and limbs. Meningococcal disease spreads easily.
Chronic meningitis lasts more than four weeks. Tuberculosis is its leading cause; others include syphilis, fungi such as Cryptococcus (especially with HIV), parasites and some non-infectious diseases. It can occasionally recur.
Encephalitis typically causes fever, headache and a change in consciousness, sometimes with seizures. Mild cases may go unrecognised. Viruses are the usual cause, most often herpes simplex, followed by the chickenpox virus, enteroviruses, mumps and Epstein-Barr virus. Measles can lead to encephalitis, occasionally years after the infection. Rabies and arboviruses carried by mosquitoes or ticks are rarer causes, and which ones occur varies around the world. Bacteria (including those behind Lyme disease and TB), fungi and parasites such as Toxoplasma are rare causes.
In primary encephalitis the infection reaches the brain directly. In secondary, or post-infectious, encephalitis the immune system turns on the brain after a viral infection, or occasionally after a vaccine or because of a tumour. One such form, acute disseminated encephalomyelitis (ADEM), damages the myelin sheath that protects nerve fibres and is more common in children. Most encephalitis is acute, but it can also develop slowly over months, for example with HIV.
Both conditions can begin like flu, with fever, headache, nausea, vomiting and aching joints, then worsen over hours or days. Meningitis may go on to cause a stiff neck, discomfort in bright light, confusion, fits, a rash and severe limb pain. With septicaemia there may also be pale or blotchy skin, cold hands and feet, difficulty breathing, drowsiness and a red or purple rash that does not fade when a glass is pressed on it. This rash is a late sign and may not appear at all, so any rash should be shown to a doctor.
Encephalitis usually brings headache, fever and reduced alertness, and can affect speech, hearing, sensation, movement or personality, or lead to seizures and coma. Older people may simply seem drowsy. Babies may be irritable, floppy or stiff, refuse feeds and have a bulging soft spot on the head.
The outlook depends on the cause and how fast treatment starts. Many people recover fully, but some are left with hearing loss, seizures or problems with thinking, and bacterial meningitis can be fatal even with prompt care.
Diagnosis starts with a physical and neurological examination and questions about recent illness, travel, contact with sick people and exposure to animals, mosquitoes or ticks. Laboratory tests aim to confirm the diagnosis, find the cause quickly so treatment can be targeted, and check general health.
The key test is analysis of cerebrospinal fluid (CSF), collected by lumbar puncture. Infection can make the fluid cloudy and raise its pressure. Basic tests measure CSF protein (often raised) and glucose (often low) and count and classify white blood cells: more neutrophils point to bacteria, more lymphocytes to a virus. A Gram stain and culture identify bacteria or fungi and show which medicines will work. Further tests may include PCR for viruses such as herpes and enteroviruses, cryptococcal antigen, tests for tuberculosis and syphilis (VDRL), and CSF lactate, LDH and CRP, which tend to be higher in bacterial meningitis.
Blood tests may include glucose, protein, full blood count, blood cultures, antibody and antigen tests, kidney and liver function and CRP. CT, MRI, ultrasound in babies and EEG can also help.
Vaccination is the main protection. Vaccines exist against Hib, several types of pneumococcus and several groups of meningococcus (including MenACWY, MenB and MenC), and many countries include them in routine childhood immunisation. Wide use of the Hib vaccine has sharply cut meningitis from this bacterium. Pneumococcal vaccine also stops children carrying the bacteria in the nose and throat, so they are less likely to pass it on. The MMR vaccine has reduced meningitis and encephalitis caused by mumps and measles. Travellers to high-risk areas can be vaccinated against Japanese encephalitis, tick-borne encephalitis and rabies. No vaccine gives complete protection.
Hand washing, keeping away from people who are unwell, avoiding certain uncooked foods (because of Listeria and Salmonella) and preventing mosquito bites also lower the risk. Close contacts of someone with meningococcal disease, such as household members, may be given a short course of antibiotics and sometimes a vaccine.
Bacterial meningitis and encephalitis are emergencies. Broad-spectrum antibiotics are given into a vein straight away, often before the bacteria have been identified, and may be changed once culture results are available. Treatment can last weeks or longer, and infected abscesses sometimes need draining.
Mild viral cases often need only rest and symptom relief, sometimes at home. Encephalitis caused by herpes or chickenpox viruses is treated with the antiviral acyclovir, which is often started before test results are back; HIV-related cases need antiretroviral therapy. Fungal infections are treated with antifungal drugs into a vein, sometimes for a long time. Some parasitic infections, such as Toxoplasma, respond to medicines, but infection with the amoeba Naegleria fowleri is often fatal.
Supportive care may include rest in a quiet, dark room, fluids, pain relief, medicines for seizures and nausea, and corticosteroids or diuretics to reduce brain swelling and pressure.
Rarely, the cause is not an infection but an autoimmune disorder, a reaction to a medicine or certain cancers. Other serious problems, such as a brain abscess, a head injury or drugs, can produce similar symptoms.
The infection does not always begin in the brain. It can spread from the blood, a nearby ear infection, the airways or the gut, or get in after a head injury.
Whether meningitis is contagious depends on the germ. Meningococcal meningitis spreads easily, and the common bacterial causes pass between people in respiratory secretions. It is possible to have meningitis or encephalitis more than once, and some people with weak immunity need long-term treatment to stop it returning.