How Do You Get Herpes Encephalitis: Causes & Risks

Herpes encephalitis develops when the herpes simplex virus, usually HSV-1 (the type that causes cold sores), travels along nerves from its resting place in the face and reaches the brain. This is rare, but it’s the most common cause of fatal sporadic encephalitis. Most people who develop it already carry the virus, often without knowing it.

How the Virus Reaches the Brain

HSV-1 normally lives dormant in nerve cells near the face after an initial infection, which may have been so mild you never noticed it. The virus can reach the brain through three known routes. The most studied path runs from the mouth and throat area along the trigeminal nerve (the main sensory nerve of the face) or the olfactory nerve (which handles smell) directly into the brain. The olfactory cortex, the brain region that processes smell, may serve as a direct port of entry.

Once inside the brain, the virus tends to target specific areas: the temporal lobes (on the sides of your brain, near the temples), the hippocampus (critical for memory), and nearby structures involved in emotion and behavior. This pattern explains why herpes encephalitis often produces confusion, personality changes, and memory problems rather than, say, vision loss or paralysis. The virus causes intense inflammation and tissue destruction in these regions, which is what makes the condition so dangerous.

Primary Infection vs. Reactivation

Herpes encephalitis can happen in two ways. In some cases, the virus reaches the brain during a first-ever HSV infection. But more often in adults, it results from reactivation of a virus that has been lying dormant in nerve cells for years or even decades. The virus hides inside neurons in a latent state, essentially invisible to the immune system, and something triggers it to wake up and begin replicating again.

Known triggers for HSV reactivation include emotional stress, fever, UV exposure (like a sunburn), hormonal changes, dental surgery, and head trauma. In most people, reactivation produces nothing more than a cold sore. In rare cases, the reactivated virus travels inward along nerves toward the brain instead of outward toward the skin. Why this happens in some people and not others is not fully understood, but genetics play a role.

Who Is at Higher Risk

Anyone carrying HSV-1 could theoretically develop herpes encephalitis, but certain factors increase the risk substantially. People with weakened immune systems, whether from HIV, organ transplant medications, or chemotherapy, are more vulnerable because their bodies are less able to keep the virus in check.

In children, specific genetic mutations can dramatically raise the risk. Researchers have identified defects in a gene called TLR3, part of the body’s early virus-detection system, as a direct cause of childhood herpes encephalitis. Children with these mutations lack a key component of the innate immune response that normally prevents HSV-1 from reaching the brain. Mutations in several related immune signaling genes have also been linked to the condition. These genetic findings help explain why, out of the billions of people carrying HSV-1, only a small number ever develop brain infection.

Neonatal Herpes Encephalitis

Newborns get herpes encephalitis through a completely different route. Neonatal herpes is almost always acquired during birth, when a baby passes through the birth canal of a mother with an active herpes infection. The virus can enter through the baby’s eyes, skin, or mucous membranes and spread to the brain. Encephalitis is the most serious form of neonatal herpes, typically showing up within the first four weeks of life with lethargy, fever, and seizures.

The risk is highest when a mother contracts herpes for the first time during the third trimester, because she hasn’t yet built up antibodies that would partially protect the baby. In these situations, delivery by cesarean section is recommended. Babies born vaginally to mothers with active herpes lesions are typically started on antiviral medication immediately at birth.

Symptoms and How It’s Recognized

Herpes encephalitis often starts looking like a bad flu: fever, headache, and general fatigue. Within days, neurological symptoms emerge. These can include confusion, difficulty speaking, behavioral changes, seizures, and a declining level of consciousness. Because the virus targets the temporal lobes and areas involved in memory and emotion, people sometimes exhibit bizarre behavior or sudden personality shifts that family members notice before more obvious neurological signs appear.

The condition progresses quickly. Without treatment, it is uniformly fatal: one systematic review found a 100% mortality rate in untreated cases. Speed of diagnosis matters enormously.

How It’s Diagnosed

The standard diagnostic test is a PCR (polymerase chain reaction) test performed on cerebrospinal fluid, obtained through a spinal tap. This test amplifies and detects tiny amounts of HSV genetic material in the fluid surrounding the brain and spinal cord. It has a sensitivity of 96% and specificity of 99%, meaning it catches nearly all true cases while producing very few false positives. Brain imaging, typically an MRI, often shows characteristic swelling and damage in the temporal lobes, which helps confirm the diagnosis.

In rare cases, the PCR test can come back negative early in the illness, before the virus has shed enough genetic material into the spinal fluid. If symptoms and brain imaging strongly suggest herpes encephalitis, treatment usually begins immediately regardless of the initial test result.

Treatment and Survival

Herpes encephalitis is treated with intravenous antiviral medication, typically given for 21 days. Treatment needs to start as early as possible. Among patients who receive antiviral treatment, the survival rate is approximately 79%, a dramatic improvement over the 0% survival seen without treatment. However, many survivors experience lasting neurological effects, particularly memory problems, because of the damage the virus inflicts on the hippocampus and temporal lobes before treatment can halt it.

The gap between untreated and treated survival rates underscores why herpes encephalitis is treated as a medical emergency. When a patient presents with fever, confusion, and seizures, antiviral therapy is often started before test results come back, because waiting even a day or two for confirmation can mean the difference between recovery and permanent brain damage.