Epilepsy After CNS Infection

When an infection has ended but the brain remains vulnerable to seizures

Infections involving the brain, its coverings or nearby structures can cause seizures during the acute illness and, in some people, leave behind an enduring tendency to have unprovoked seizures later. This is one reason the International League Against Epilepsy recognises infectious causes as a major aetiological category of epilepsy.

Examples include viral encephalitis, bacterial meningitis, brain abscesses, tuberculosis affecting the central nervous system, cerebral malaria and neurocysticercosis. The mechanisms, risks and treatment are not identical for all of them, so “post-infectious epilepsy” is not one single disease.

Acute seizure or epilepsy?

This distinction is fundamental.

A seizure occurring while a person has an active central nervous system infection may be an acute symptomatic seizure. The ILAE definition describes acute symptomatic seizures as seizures occurring at the time of, or in close temporal association with, a documented brain insult. Active CNS infection is specifically included in this framework.

An acute symptomatic seizure is not automatically the same as epilepsy. Epilepsy implies an enduring predisposition to recurrent unprovoked seizures.

After the infection resolves, some people never have another seizure. Others later develop recurrent unprovoked seizures because the infection or the inflammatory response has produced persistent changes in brain tissue or networks. At that point, the clinical problem has moved from an acute symptomatic seizure to an acquired epilepsy.

How can infection leave an epileptic network behind?

The pathways differ between infections, but several mechanisms can contribute.

  • direct injury to neurons and supporting cells;
  • inflammation and immune activation;
  • blood-brain barrier disruption;
  • cerebral oedema;
  • infarction or haemorrhage caused by infection-related vascular injury;
  • abscesses, granulomas, calcifications or other focal lesions;
  • gliosis and scarring after tissue injury;
  • damage involving the hippocampus or other seizure-prone networks;
  • prolonged or repeated seizures during the acute illness, including status epilepticus.

The result can be a brain region or network that remains abnormally excitable after the infectious organism has been eradicated.

This is why treating the infection and treating the epilepsy are related but not always the same problem.

Viral encephalitis

Encephalitis is inflammation of the brain. Viral encephalitis can produce acute seizures, sometimes severe or prolonged, and a proportion of survivors later develop epilepsy.

Herpes simplex virus encephalitis is particularly important because it often affects temporal and limbic structures. These regions are strongly involved in focal epilepsy and memory. Acute seizures are common in herpes simplex encephalitis, and seizure activity during the acute illness is one of the recognised risk factors for later post-encephalitic epilepsy.

A 2023 meta-analysis of viral encephalitis studies found associations between later epilepsy and factors including seizures during the acute illness, status epilepticus, coma, MRI abnormalities, focal EEG abnormalities and HSV detected in cerebrospinal fluid. A nationwide study published in 2026 similarly found that acute symptomatic seizures were an important risk marker for later post-viral encephalitis epilepsy.

These are population-level associations, not a prediction for any one individual. Many people who have seizures during encephalitis do not go on to develop chronic epilepsy.

Bacterial meningitis

Bacterial meningitis primarily affects the membranes surrounding the brain and spinal cord, but the inflammatory process can also affect the brain itself and its blood vessels.

Seizures can occur during the acute illness. Long-term neurological consequences can include epilepsy, hearing loss, cognitive changes, motor impairment and other neurological deficits.

Research has identified acute seizures and persistent neurological injury as important markers of increased risk for later unprovoked seizures after bacterial meningitis. The level of risk also varies with the organism, severity of illness and degree of brain involvement.

Vaccination and rapid treatment of bacterial meningitis therefore have implications beyond survival from the acute infection: they can also reduce preventable neurological disability.

Brain abscess

A brain abscess is a focal collection of infection within brain tissue. Seizures may occur during the acute illness, but a structural lesion can also remain after treatment in the form of gliosis or other tissue change.

When later epilepsy develops, it is often focal because the seizure network is related to a localised area of previous injury.

The exact seizure manifestations depend on where the abscess and subsequent injury are located. A frontal lesion may produce very different seizures from a temporal, parietal or occipital lesion.

Tuberculosis affecting the central nervous system

Central nervous system tuberculosis can involve meningitis, tuberculomas, infarcts and other forms of brain injury. Seizures may occur during active disease and later epilepsy can develop when lasting structural damage remains.

Risk cannot be understood simply from the word “tuberculosis”. What matters neurologically is how the infection affected the brain: whether there were focal granulomas, vascular complications, hydrocephalus, cortical injury or other structural changes.

Cerebral malaria

Cerebral malaria can cause acute seizures, particularly in children, and survivors may experience long-term neurological consequences. Research has linked cerebral malaria with later epilepsy in some populations.

The relationship is complex because severe infection, repeated seizures, hypoglycaemia, fever, hypoxia and direct or inflammatory brain injury may coexist during the acute illness.

For this reason, malaria-associated seizures should not all be treated as though they have the same mechanism or prognosis.

Neurocysticercosis

Neurocysticercosis is one of the most important preventable infectious causes of epilepsy worldwide. It results from larval Taenia solium cysts affecting the central nervous system.

WHO notes that neurocysticercosis can cause focal epilepsy, epileptic seizures, hydrocephalus, headache, focal neurological deficits and raised intracranial pressure. In endemic regions it may account for a substantial proportion of epilepsy cases.

Seizure risk depends on factors including lesion number, location and stage, the inflammatory response and whether residual calcification remains. Because neurocysticercosis has its own diagnostic and treatment complexities, it is covered separately on this site rather than being compressed into a single paragraph here.

Why acute seizures matter

One of the most consistent findings across several CNS infections is that seizures during the acute illness identify a group at higher risk of later epilepsy.

That does not mean the acute seizure itself necessarily “causes” the future epilepsy. Severe infection may simultaneously produce more extensive brain injury and a greater likelihood of acute seizures. Prolonged seizure activity may also add further stress to already injured tissue.

Status epilepticus during an acute cerebral infection is particularly important because it can reflect severe cortical involvement and has been associated with a higher risk of later epilepsy.

MRI can show the aftermath

MRI may show abnormalities during the acute infection and persistent structural changes afterwards.

Depending on the infection, these can include temporal lobe injury, cortical or subcortical scars, infarction, gliosis, calcification, granulomas or focal tissue loss.

An MRI abnormality can support the explanation for later focal epilepsy, but the same principle applies here as elsewhere in epilepsy: the visible structural lesion and the full seizure-generating network are not necessarily identical.

See also MRI Lesion Does Not Always Mean Seizure Cause.

What can EEG show?

EEG can show epileptiform discharges, focal slowing or more widespread disturbance during or after CNS infection.

During severe encephalitis, EEG can be especially useful when clinicians suspect non-convulsive seizures or non-convulsive status epilepticus.

After recovery, an epileptiform EEG can add evidence that recurrent events are epileptic and may help localise or classify the epilepsy. But a normal routine EEG does not exclude post-infectious epilepsy.

EEG and MRI answer different questions: EEG samples electrical activity; MRI shows structure.

Does everyone need long-term antiseizure medication?

No.

A person who has only acute symptomatic seizures during an infection is not automatically committed to lifelong antiseizure treatment. The decision depends on the infection, severity of the acute seizures, structural injury, EEG findings, recurrence after the acute illness and the individual’s overall risk profile.

Once recurrent unprovoked seizures occur and epilepsy is established, treatment follows the principles used for other structural or infectious epilepsies, while also accounting for the underlying disease, other medicines and organ function.

There is no single medication that is uniquely correct for “post-infectious epilepsy”. Seizure type, epilepsy type, interactions, adverse effects, age, pregnancy considerations and other medical conditions all matter.

Treating the infection is not the same as treating the epilepsy

During an active CNS infection, treating the underlying cause is essential. That may involve antiviral, antibacterial, antiparasitic, antifungal or antituberculous therapy, depending on the diagnosis.

But once an acquired epileptic network has become established, eradication of the infectious organism does not necessarily remove the epilepsy. The infection may be gone while the structural and network consequences remain.

Conversely, a person may need treatment for acute seizures during infection without ever developing chronic epilepsy.

When should clinicians reconsider the cause?

A history of CNS infection can be highly relevant, but it can also become an anchoring diagnosis.

If a person develops recurrent events years later, clinicians still need to establish whether those events are epileptic, what type of epilepsy is present and whether another cause has emerged.

Not every blackout, movement, sensory episode or episode of confusion in somebody who once had meningitis or encephalitis is automatically a seizure.

Likewise, a new change in established seizures may justify reassessment rather than simply assuming that an old infection explains everything.

Drug-resistant post-infectious epilepsy

Some post-infectious epilepsies respond well to medication. Others become drug-resistant.

When seizures remain uncontrolled despite appropriate antiseizure medicines, specialist reassessment can include high-resolution MRI, prolonged video-EEG, neuropsychology and other presurgical investigations.

Selected people with a clearly localised post-infectious epileptic network can be candidates for epilepsy surgery. Reviews have described particularly favourable surgical situations when previous cerebral infection has left a well-defined structural lesion, such as unilateral hippocampal sclerosis, and the seizure semiology, EEG and imaging are concordant.

Not every post-infectious epilepsy is surgically treatable, and widespread or multifocal injury can make localisation more difficult.

The global burden is unequal

CNS infection is a particularly important cause of epilepsy in many low- and middle-income settings.

WHO identifies meningitis, encephalitis and neurocysticercosis among recognised causes of epilepsy and notes that CNS infections are important causes of epilepsy in tropical regions.

The burden is shaped not only by exposure to infection but also by vaccination coverage, sanitation, access to early antimicrobial treatment, intensive care, neuroimaging, EEG, rehabilitation and antiseizure medication.

This means some infection-associated epilepsies are potentially preventable — but prevention depends on public health infrastructure as much as neurological care.

The key distinction

A CNS infection can cause seizures during the acute illness, long-term epilepsy after the infection, or both.

These are related but not interchangeable diagnoses.

The infection may disappear while an epileptic network remains. An acute seizure may resolve without epilepsy developing. MRI damage may increase risk without guaranteeing seizures. A normal EEG does not rule the condition out. And the same infectious diagnosis can lead to very different neurological outcomes in different people.

Understanding post-infectious epilepsy therefore requires clinicians to separate the acute infection, the acute symptomatic seizure, the lasting brain injury and the later epilepsy.

Related pages

Selected infection-specific pages

Infectious Epilepsies →
Cerebral Malaria and Later Epilepsy →
Congenital Infections and Epilepsy →
HIV, Opportunistic CNS Infection and Epilepsy →
Meningitis and Later Epilepsy →
Post-Encephalitic Epilepsy →
Tuberculosis of the CNS and Epilepsy →

Sources and further reading

Evidence checked: September 2026.

This page is for general education and does not replace individual assessment by a neurology or infectious-diseases team.

Page information · Published:

If revised after publication, the update date appears below:

Dates reflect website publication and editing, not independent medical review. See our sources and editorial policy, or report a correction.