Encephalitis
Encephalitis means inflammation of the brain itself — not the fluid or membranes around it, but the living, working brain tissue that holds your thoughts, memories, movements, and personality. It is uncommon, but it is one of the true emergencies in medicine, because two of its most important forms are treatable only if treatment starts early. The first is herpes simplex encephalitis, which was almost uniformly devastating before the antiviral drug acyclovir — and where every hour of delay in starting that drug measurably worsens the odds of survival. The second is a group of conditions recognized only in the last two decades: autoimmune encephalitis, in which the body's own immune system attacks brain receptors, producing what can look at first like a sudden psychiatric breakdown, yet which often reverses dramatically with immune treatment. This article explains what encephalitis is, how to recognize the danger signs, how doctors diagnose and treat it, and how much of it can be prevented.
Table of Contents
- What Is Encephalitis?
- Types of Encephalitis
- Symptoms and Red Flags
- Causes and Risk Factors
- Diagnosis
- Treatment
- Prognosis and Recovery
- Complications and Long-Term Effects
- Prevention
- Key Research Papers
- Connections
What Is Encephalitis?
Encephalitis is inflammation of the parenchyma — the functioning tissue — of the brain, almost always accompanied by signs that the brain is not working normally: confusion, drowsiness, personality change, seizures, or weakness. That last part matters. Inflammation alone is not enough; encephalitis is defined by inflammation plus neurological dysfunction. The International Encephalitis Consortium built its widely used case definition around exactly this combination: altered mental status lasting 24 hours or more, together with supporting evidence such as fever, seizures, new focal findings, or characteristic changes on brain imaging, spinal fluid, or EEG.
Encephalitis versus meningitis
People often confuse encephalitis with meningitis, and the distinction is worth understanding because it changes what to expect. Meningitis is inflammation of the meninges — the protective membranes wrapped around the brain and spinal cord. Its hallmark is meningeal irritation: severe headache, a stiff neck, sensitivity to light, and fever, usually with the brain itself still working normally. The person is miserable but typically alert and oriented.
Encephalitis is different because the disease is inside the brain tissue. That is why its signature is altered brain function — confusion, abnormal behavior, hallucinations, memory loss, seizures, speech problems, or a declining level of consciousness. In practice the two overlap: when both the brain and its coverings are inflamed, doctors call it meningoencephalitis, and many patients sit somewhere on the spectrum between the two.
Encephalitis versus encephalopathy
A third term causes confusion: encephalopathy, which simply means the brain is malfunctioning — possible from many non-inflammatory causes such as liver or kidney failure, low sodium, low blood sugar, drug toxicity, or lack of oxygen. Encephalitis is the specific subset in which that malfunction comes from inflammation, driven by an infection or by the immune system. Sorting out which one a patient has is a central job of the emergency evaluation, because the treatments differ completely.
Types of Encephalitis
Encephalitis is best understood by what is driving the inflammation. There are three broad categories, and telling them apart shapes every treatment decision.
1. Infectious (viral) encephalitis
Viruses are the most commonly identified cause. Worldwide, the single most important treatable one is herpes simplex virus type 1 (HSV-1) — the same virus that causes cold sores. HSV encephalitis is not seasonal and not spread person-to-person as encephalitis; it strikes sporadically at any age, has a striking tendency to attack the temporal lobes (the brain's memory and emotion centers), and is a genuine emergency because prompt antiviral treatment is the difference between life and death. It is the form every clinician is trained to assume is present until proven otherwise.
Many other viruses can cause encephalitis: enteroviruses, varicella-zoster (chickenpox/shingles virus), Epstein–Barr, cytomegalovirus (especially in immunocompromised people), measles, mumps, rabies, and the mosquito- and tick-borne arboviruses — West Nile virus, Japanese encephalitis virus, and tick-borne encephalitis virus among them. Bacteria, fungi, and parasites cause encephalitis far less often, but they matter in the right setting, such as advanced HIV/AIDS.
2. Autoimmune encephalitis
One of the biggest shifts in neurology this century is the recognition that the immune system itself can cause encephalitis by making antibodies that attack brain proteins — no infection required. The best-known example is anti-NMDA receptor encephalitis, first described by Josep Dalmau and colleagues in 2007–2008. It classically affects young women and is sometimes triggered by an ovarian tumor (a teratoma), though it occurs in men, children, and people with no tumor at all. It often begins with psychiatric symptoms — anxiety, paranoia, hallucinations, agitation — before progressing to seizures, strange involuntary movements of the face and limbs, and swings in heart rate and blood pressure.
Remarkably, a study from the California Encephalitis Project found that in young people, anti-NMDA receptor encephalitis was diagnosed more often than any single viral cause. Other antibody targets have since been identified — LGI1, CASPR2, GABA-B, and AMPA receptors among them — each with its own pattern. The crucial point is that these conditions are treatable, often with excellent recovery, when they are recognized rather than dismissed as primary psychiatric illness.
3. Post-infectious encephalitis (ADEM)
Sometimes the brain inflammation comes not from an active infection but from the immune system's reaction to a recent one. Acute disseminated encephalomyelitis (ADEM) is the main example: an immune-mediated attack on the brain's myelin (the insulation around nerve fibers) that appears days to a few weeks after a viral illness, and much more rarely after a vaccination. It is most common in children, is usually a single episode (monophasic), and shows up on MRI as multiple scattered patches of inflammation in the white matter. Because it can resemble a first attack of multiple sclerosis, careful follow-up is needed to tell them apart.
Symptoms and Red Flags
Encephalitis often opens with a nonspecific, flu-like prodrome — fever, headache, aches, and fatigue — that can last hours to a few days. What sets encephalitis apart is what comes next: signs that the brain itself is affected.
- Altered mental status — confusion, disorientation, drowsiness that can deepen toward coma. This is the cardinal feature.
- Behavioral and personality change — agitation, hallucinations, paranoia, or psychosis. In autoimmune forms these can be the very first sign.
- Seizures — new-onset seizures, focal or generalized, are common and sometimes the presenting event.
- Memory and speech problems — especially with HSV encephalitis, which targets the memory-forming temporal lobes.
- Focal neurological deficits — weakness, numbness, vision changes, or trouble with balance and coordination.
- Headache, stiff neck, and light sensitivity — when the meninges are also involved (meningoencephalitis).
- Movement disorders and autonomic instability — involuntary facial and limb movements, and unstable heart rate, blood pressure, and temperature, are characteristic of anti-NMDA receptor encephalitis.
In infants the signs are subtler and easy to miss: a bulging soft spot on the head, poor feeding, unusual irritability or floppiness, and persistent crying.
Red flags — go to the emergency department now
Encephalitis is a medical emergency. Seek emergency care immediately for any of the following, particularly when they appear together:
- Fever with confusion, drowsiness, or a change in behavior or consciousness.
- A first-ever seizure, or a seizure that will not stop.
- New weakness, numbness, vision loss, or difficulty speaking.
- The sudden onset of psychosis or severe agitation accompanied by fever, headache, or seizures — do not assume a purely psychiatric cause.
- A severe headache with neck stiffness and altered alertness.
The reason to act fast is simple: if the cause is herpes simplex virus, the antiviral treatment works best when started within hours, not days.
Causes and Risk Factors
The list of possible causes is long, but a few patterns help make sense of it:
- Viruses are the most frequently identified infectious cause — HSV-1 above all, plus enteroviruses, varicella-zoster, Epstein–Barr, and the arboviruses.
- Geography and season matter for the mosquito- and tick-borne viruses. West Nile virus peaks in late summer; Japanese encephalitis is a leading cause across rural Asia; tick-borne encephalitis follows tick activity in parts of Europe and Asia; and tick bites also transmit the bacterium behind Lyme disease, which can involve the nervous system.
- A weakened immune system — from HIV, organ transplant, chemotherapy, or immune-suppressing drugs — opens the door to organisms that rarely trouble healthy people, such as cytomegalovirus, JC virus, and toxoplasma.
- Age extremes. Infants and older adults are at higher risk of severe disease.
- Autoimmune triggers. Anti-NMDA receptor encephalitis is sometimes paraneoplastic — driven by a hidden tumor such as an ovarian teratoma — and, notably, autoimmune encephalitis can appear weeks after a bout of HSV encephalitis, as the immune system that fought the virus turns on the brain.
An important and humbling reality: even after a thorough workup, no specific cause is identified in a large share of cases — roughly a third to a half in well-studied populations. This does not mean the evaluation failed; it reflects the limits of current testing, and it is exactly why doctors treat empirically for the most dangerous, treatable causes while the search continues.
Diagnosis
Diagnosing encephalitis is a race against the clock, and the guiding rule is that testing must not delay treatment for the causes that kill. The evaluation usually includes:
- Lumbar puncture (spinal tap) and cerebrospinal fluid (CSF) analysis. This is the cornerstone. Encephalitis typically produces a lymphocytic pleocytosis (increased white cells of the lymphocyte type), mildly elevated protein, and normal or near-normal glucose. Red blood cells or a reddish tinge can point toward HSV.
- CSF PCR testing. Polymerase chain reaction detects viral DNA or RNA directly in spinal fluid. HSV PCR is the diagnostic gold standard — highly sensitive and specific — but it can be falsely negative in the first 24–72 hours, so a repeat test is done when suspicion remains high despite an initial negative result.
- MRI of the brain (preferred over CT). In HSV encephalitis it classically shows swelling and sometimes bleeding in one or both temporal lobes. ADEM shows scattered white-matter lesions; autoimmune encephalitis may show inflammation in the medial temporal lobes or look normal.
- Electroencephalogram (EEG). Usually shows diffuse slowing; focal temporal discharges can support HSV, and a distinctive pattern called the "extreme delta brush" is associated with anti-NMDA receptor encephalitis.
- Autoimmune antibody panels in both blood and spinal fluid — testing for anti-NMDA receptor, LGI1, CASPR2, and other antibodies when an autoimmune cause is suspected. Because these conditions can be paraneoplastic, a tumor search (for example, pelvic imaging to look for an ovarian teratoma) is part of the workup.
- Blood tests — cultures, targeted serologies, and an HIV test — plus a CT scan of the head before the spinal tap if there are signs of dangerously raised pressure inside the skull.
Treatment
Treatment depends on the cause, but one principle overrides everything else.
Start acyclovir now — do not wait for confirmation
Because herpes simplex encephalitis is common, catastrophic if missed, and treatable, the standard of care is to start intravenous acyclovir immediately in anyone with suspected encephalitis — before PCR results return, on suspicion alone. The landmark trials led by Richard Whitley showed that acyclovir sharply reduced death and disability compared with the older drug it replaced, and later work confirmed that every hour of delay in starting acyclovir worsens the outcome. The usual regimen is 10 mg/kg intravenously every 8 hours for 14–21 days, with generous hydration because the drug can stress the kidneys. If HSV and the other herpesviruses are then confidently excluded, acyclovir can be stopped. The cost of treating a few extra patients who turn out not to have HSV is trivial next to the cost of missing one who does.
Immunotherapy for autoimmune encephalitis
When the cause is autoimmune, the goal flips from killing a virus to calming an over-active immune system. First-line treatment combines high-dose corticosteroids (such as intravenous methylprednisolone) with intravenous immunoglobulin (IVIG) or plasma exchange. Patients who do not respond move to second-line agents such as rituximab or cyclophosphamide. If a tumor is found, removing it is a key part of treatment and improves the odds of recovery. A large observational study by Titulaer and colleagues showed that early treatment and tumor removal predicted better long-term outcomes in anti-NMDA receptor encephalitis, with most patients recovering substantially — though often slowly, over many months.
Supportive and intensive care
Whatever the cause, severe encephalitis is managed in the hospital, often in an intensive care unit. Supportive care can be lifesaving: protecting the airway and breathing, controlling seizures with antiepileptic drugs, managing raised pressure inside the skull, correcting fluid and electrolyte problems (a low blood sodium from SIADH is common), and stabilizing the swings in heart rate and blood pressure seen in autoimmune cases. For a few specific infections there are targeted antivirals — ganciclovir or foscarnet for cytomegalovirus, for example — but for most arboviral encephalitides, such as West Nile, there is no specific antiviral, and excellent supportive care is the treatment.
Prognosis and Recovery
Outcomes vary enormously depending on the cause, how severe the illness is, and — above all — how quickly the right treatment starts. A few benchmarks illustrate why speed matters so much:
- Herpes simplex encephalitis. Untreated, it killed roughly 70% of patients. With prompt acyclovir, mortality falls to around 20–30%, but many survivors are left with lasting memory and cognitive difficulties. The earlier acyclovir starts, the better the odds of a good recovery — which is the entire reason for treating on suspicion.
- Anti-NMDA receptor encephalitis. Despite how frightening it looks, the outlook is often good: with immunotherapy and tumor removal when needed, most patients recover substantially. Recovery is slow, unfolds over months, and roughly reverses the order in which symptoms appeared. A minority relapse and need ongoing monitoring.
- ADEM. Especially in children, recovery is frequently good, though some are left with residual deficits.
Across all types, recovery is usually a marathon rather than a sprint. Rehabilitation — physical, occupational, speech, and neuropsychological — is central to regaining function, and improvement can continue for a year or more after the acute illness.
Complications and Long-Term Effects
Because encephalitis injures brain tissue, it can leave lasting marks even after the inflammation resolves. In the acute phase, the dangers include cerebral swelling and dangerously high pressure inside the skull, status epilepticus (prolonged, non-stopping seizures), low blood sodium, autonomic instability, and coma.
Longer-term effects, which vary widely by cause and severity, may include:
- Epilepsy — ongoing seizures are among the most common lasting consequences. (See Epilepsy.)
- Memory impairment and amnesia — especially after HSV encephalitis, which damages the temporal lobes.
- Cognitive changes — problems with attention, planning, processing speed, and word-finding.
- Personality and behavioral change, along with mood disorders such as depression and anxiety.
- Persistent fatigue and headaches.
- Physical deficits — weakness, balance and coordination problems, or speech difficulties.
These sequelae are why survivors benefit from structured rehabilitation and, often, long-term support from neurology, neuropsychology, and rehabilitation specialists.
Prevention
Not every case of encephalitis can be prevented — there is no vaccine against herpes simplex virus, and for HSV the best defense is fast recognition and treatment. But a large share of the world's encephalitis burden is preventable through vaccines and by avoiding the bites that transmit certain viruses.
Vaccines
- Measles and mumps — both can cause encephalitis, and measles can trigger a rare, fatal, delayed brain disease called SSPE years later. The MMR vaccine has dramatically reduced these complications where vaccination is widespread.
- Japanese encephalitis — a leading cause of viral encephalitis in Asia, with an effective vaccine recommended for people living in or traveling to endemic rural areas.
- Tick-borne encephalitis — a vaccine is available and advised for those exposed in endemic regions of Europe and Asia.
- Rabies — encephalitis from rabies is almost universally fatal once symptoms begin, but is preventable with prompt post-exposure vaccination after an animal bite.
- Varicella (chickenpox) vaccination reduces the varicella-zoster virus infections that can, uncommonly, involve the brain.
Avoiding mosquito and tick bites
For the arboviruses that have no vaccine or targeted treatment — West Nile virus chief among them in North America — bite prevention is the main protection:
- Use insect repellent (such as DEET), and wear long sleeves and trousers during peak mosquito hours around dawn and dusk.
- Use screens and bed nets, and eliminate standing water where mosquitoes breed.
- In tick country, wear protective clothing, use repellent, and check for and remove attached ticks promptly after time outdoors.
Because encephalitis can lead to sepsis and other cascading emergencies when severe, the simplest and most powerful "prevention" of a bad outcome remains early action: treat any fever plus confusion, seizure, or new neurological change as an emergency until a doctor says otherwise.
Key Research Papers
- Venkatesan A, Tunkel AR, Bloch KC, et al. Case definitions, diagnostic algorithms, and priorities in encephalitis: consensus statement of the International Encephalitis Consortium. Clinical Infectious Diseases. 2013;57(8):1114-1128.
- Tunkel AR, Glaser CA, Bloch KC, et al. The management of encephalitis: clinical practice guidelines by the Infectious Diseases Society of America. Clinical Infectious Diseases. 2008;47(3):303-327.
- Solomon T, Michael BD, Smith PE, et al. Management of suspected viral encephalitis in adults — Association of British Neurologists and British Infection Association National Guidelines. Journal of Infection. 2012;64(4):347-373.
- Steiner I, Budka H, Chaudhuri A, et al. Viral meningoencephalitis: a review of diagnostic methods and guidelines for management. European Journal of Neurology. 2010;17(8):999-e57.
- Whitley RJ, Alford CA, Hirsch MS, et al. Vidarabine versus acyclovir therapy in herpes simplex encephalitis. New England Journal of Medicine. 1986;314(3):144-149.
- Granerod J, Ambrose HE, Davies NW, et al. Causes of encephalitis and differences in their clinical presentations in England: a multicentre, population-based prospective study. The Lancet Infectious Diseases. 2010;10(12):835-844.
- Glaser CA, Honarmand S, Anderson LJ, et al. Beyond viruses: clinical profiles and etiologies associated with encephalitis. Clinical Infectious Diseases. 2006;43(12):1565-1577.
- Dalmau J, Gleichman AJ, Hughes EG, et al. Anti-NMDA-receptor encephalitis: case series and analysis of the effects of antibodies. The Lancet Neurology. 2008;7(12):1091-1098.
- Dalmau J, Lancaster E, Martinez-Hernandez E, et al. Clinical experience and laboratory investigations in patients with anti-NMDAR encephalitis. The Lancet Neurology. 2011;10(1):63-74.
- Gable MS, Sheriff H, Dalmau J, et al. The frequency of autoimmune N-methyl-D-aspartate receptor encephalitis surpasses that of individual viral etiologies in young individuals enrolled in the California Encephalitis Project. Clinical Infectious Diseases. 2012;54(7):899-904.
- Titulaer MJ, McCracken L, Gabilondo I, et al. Treatment and prognostic factors for long-term outcome in patients with anti-NMDA receptor encephalitis: an observational cohort study. The Lancet Neurology. 2013;12(2):157-165.
- Graus F, Titulaer MJ, Balu R, et al. A clinical approach to diagnosis of autoimmune encephalitis. The Lancet Neurology. 2016;15(4):391-404.
Live PubMed Searches
These links open live PubMed searches for the listed keywords — results update as new studies are indexed.
- Herpes simplex encephalitis and acyclovir — PubMed search
- Anti-NMDA receptor encephalitis — PubMed search
- Autoimmune encephalitis diagnosis — PubMed search
- Viral encephalitis management — PubMed search
- Acute disseminated encephalomyelitis (ADEM) — PubMed search
- Japanese encephalitis vaccine — PubMed search
- West Nile neuroinvasive disease — PubMed search