Skip to main content
General practice·General practice

Viral Encephalitis

Overview

Viral encephalitis means swelling of the brain caused by a virus. 'Encephalitis' simply means inflammation of the brain, and inflammation is the body's natural response to infection. When a virus reaches the brain, the immune system fights back, and this fighting causes swelling. The swelling can make the brain work less well for a while, which is why people feel confused, very sleepy, or unwell. Viral encephalitis is uncommon, but it is a serious illness that needs medical care quickly. Most people who get treated early make a good recovery, although it can take weeks or months to feel like yourself again.

Key facts

  • Viral encephalitis is a rare but serious condition where a virus causes the brain to swell.
  • It is not contagious in the usual way — you cannot catch encephalitis from someone, though you can catch some of the viruses that lead to it.
  • The most common early signs are fever, headache, and unusual sleepiness or confusion.
  • It is treated in hospital, and getting help early makes a real difference.
  • Many people recover fully, but tiredness, memory problems, or mood changes can linger for a while.

No, viral encephalitis is rare. In most countries, only a small number of people get it each year. Because it is rare, many people — and sometimes even doctors — do not think of it at first. That is why knowing the warning signs matters. If fever is combined with confusion, unusual sleepiness, or a seizure, treat it as an emergency.

Anyone can get viral encephalitis, at any age. It can affect healthy children and adults. Some people are at higher risk of becoming seriously ill: babies and very young children, adults over about 60, people with a weakened immune system (the body's defence system), people who have recently had certain viral infections, and people who live in or travel to areas where viruses spread by mosquitoes or ticks are common. Most cases cannot be predicted, so it is not anyone's fault.

Symptoms

Call emergency services immediately if you notice:
  • A seizure (fit), especially a first seizure
  • Being unconscious or very hard to wake
  • Sudden confusion, agitation, or not making sense
  • Fever with a stiff neck and severe headache
  • Weakness or drooping on one side of the face or body
  • Slurred speech or trouble speaking
  • Trouble breathing, or the person is turning blue
  • Severe headache that comes on very suddenly
  • Hallucinations or behaviour that is very out of character and unsafe
  • A baby who is floppy, unresponsive, or having a seizure
See a doctor urgently (same day) if you notice:
  • ⚠Fever with unusual sleepiness or confusion
  • ⚠Headache with sensitivity to light and feeling sick
  • ⚠New behaviour changes, especially in a child or older adult
  • ⚠Being unable to keep fluids down
  • ⚠A feeling that something is seriously wrong — trust it and get help the same day

Common symptoms

  • Fever
  • Headache that may be severe
  • Feeling very sleepy, drowsy, or hard to wake
  • Confusion, or difficulty thinking clearly
  • Stiff neck
  • Sensitivity to light (light hurts your eyes)
  • Feeling sick or being sick
  • Lack of energy and feeling generally unwell
  • Muscle aches
  • Changes in behaviour or personality, such as being unusually irritable or withdrawn
  • Difficulty speaking or finding words
  • Seizures (fits) — these are a medical emergency
  • Weakness or numbness in part of the body
  • Seeing or hearing things that are not there (hallucinations)

Symptoms in children

  • Being unusually sleepy, floppy, or hard to wake
  • Being very irritable or crying in a way that is hard to soothe
  • A high-pitched cry in babies
  • Poor feeding or refusing feeds
  • Being sick (vomiting)
  • A bulging soft spot on a baby's head (the fontanelle)
  • Stiff body or jerky movements
  • Seizures (fits)
  • Losing skills they had, such as talking or walking, or seeming 'not themselves'

Symptoms in older adults

  • Confusion or memory problems that come on suddenly
  • Being much more drowsy or withdrawn than usual
  • Falls or unsteadiness
  • Not eating or drinking much
  • Fever may be low or even absent
  • New seizures
  • Speech problems or weakness on one side of the body
  • Family members noticing the person is 'just not right' — trust that instinct

Causes

Main causes

  • Many different viruses can reach the brain and cause swelling. Common ones include viruses from the herpes family — including the virus that causes cold sores and the virus that causes chickenpox.
  • Viruses we can be vaccinated against, such as measles, mumps, and rubella, can cause encephalitis, though this is now rare where vaccination is widespread.
  • Enteroviruses — a large family of common viruses that usually cause mild stomach or cold-like illness.
  • Viruses spread by mosquito bites, such as West Nile virus and Japanese encephalitis virus, which occur in certain parts of the world.
  • Viruses spread by tick bites, such as tick-borne encephalitis virus, found in parts of Europe and Asia.
  • Rabies virus, which is spread through the saliva of an infected animal, usually by a bite.
  • In some cases, the brain swelling is not caused by the virus itself but by the immune system reacting strongly after an infection. This is called post-infectious encephalitis, and doctors treat it differently.

Risk factors

  • Being very young (babies and small children) or over about 60
  • Having a weakened immune system, for example from certain illnesses or treatments
  • Living in or travelling to areas where mosquito- or tick-borne viruses are common
  • Spending a lot of time outdoors in areas with ticks or mosquitoes, especially without protection
  • Not being up to date with routine vaccinations
  • Coming into contact with wild or stray animals, particularly in areas where rabies is present
  • A recent viral illness — though in most people this never leads to encephalitis

When to see a doctor

See a doctor urgently if:

  • Fever together with confusion, unusual sleepiness, or a stiff neck — go to emergency care straight away
  • Any seizure in someone who has never had one before
  • A child who is floppy, very drowsy, or not feeding
  • A sudden change in behaviour or personality, especially with a fever
  • A severe headache that is different from any headache you have had before
  • Weakness, numbness, or trouble speaking or walking

Book a routine appointment if:

  • You had viral encephalitis and are worried about recovery, tiredness, or memory
  • You are planning travel to an area where mosquito- or tick-borne infections are common and want advice
  • You are unsure whether your child's vaccinations are up to date
  • You have ongoing headaches, sleep problems, or mood changes after being unwell
  • You want to talk about returning to work, school, or sport after encephalitis
It is natural to worry after a serious illness, and it is also very common to feel tired, foggy, or emotional for a while. Most headaches and fevers are not encephalitis. The key thing to watch for is a change in how the person is thinking or behaving — confusion, unusual drowsiness, or a seizure. If that happens, get help immediately. Otherwise, take things one day at a time and ask your doctor or pharmacist about anything that worries you.

Diagnosis

A doctor will start by asking about symptoms, recent illnesses, travel, animal contact, and vaccinations, and will examine the person carefully. Because encephalitis can be hard to spot, especially early on, doctors often look for signs like confusion, drowsiness, a stiff neck, or changes in behaviour. If they suspect encephalitis, they will usually send the person to hospital for tests. Some tests look for the virus, and others look at how the brain is working. Treatment is often started before all the results come back, because early treatment matters more than waiting for every answer.

Tests that may be done

  • A lumbar puncture (spinal tap) — a small sample of the fluid around the spine is taken with a fine needle. This is the most important test and looks for signs of infection and for the virus itself.
  • Blood tests to check for infection, inflammation, and how the body is coping
  • An MRI or CT scan of the head — pictures that show swelling or other changes in the brain
  • An EEG (electroencephalogram) — painless sticky pads on the head record the brain's electrical activity and can show seizures or patterns typical of encephalitis
  • Swabs or samples from the nose, throat, or other areas to look for viruses
  • In some cases, a small sample of brain tissue, though this is only done when other tests are unclear

What to expect at your appointment

Being tested for encephalitis usually means staying in hospital for at least a few days. Some tests, like blood tests and scans, are quick. A lumbar puncture takes longer and you will usually be asked to lie flat for a while afterwards to prevent a headache. Results for virus tests can take days, so treatment often begins straight away. It is normal to feel frightened and to have lots of questions — ask the team to explain each step in plain words, and ask if you can have a family member or friend with you for support.

Treatment

Viral encephalitis is treated in hospital, often in a high-dependency or intensive care unit at first. There is no single medicine that cures every type of viral encephalitis, so treatment focuses on supporting the body while it fights the infection and on protecting the brain. Some viruses do respond to antiviral medicines, so doctors often start one early rather than waiting for test results. Treatment is tailored to each person, and the team will explain what is being done and why.

Self-care at home

  • Rest is genuinely part of the treatment — your brain needs time to recover
  • Drink fluids regularly, especially if you have a fever
  • Return to work, school, and exercise gradually, building up over weeks rather than days
  • Keep a simple diary of symptoms, sleep, and energy to spot patterns and share with your doctor
  • Avoid alcohol and recreational drugs while recovering, as they can worsen confusion and fatigue
  • Ask for help with everyday tasks — accepting support is not a sign of weakness
  • Write things down or use phone reminders if memory feels unreliable for a while
  • Keep follow-up appointments, even when you feel better

Medical treatments

In hospital, the team will monitor breathing, blood pressure, and consciousness closely, and give fluids and nutrition support as needed. Antiviral medicines are used for some viruses — doctors may start one before results are back because early treatment helps. Medicines may also be given to control seizures, reduce swelling, or ease pain and fever. Some people need help with breathing or close monitoring in intensive care. If the swelling is caused by the immune system overreacting rather than by the virus itself, doctors may use treatments that calm the immune response. After the acute phase, physiotherapy, occupational therapy, speech and language therapy, and psychology input can all help with recovery. Your care team will explain each option and its risks and benefits.

When is surgery considered?

Surgery is rarely needed for viral encephalitis. It may occasionally be considered if there is severe pressure or swelling in the brain that medicines cannot control, or if a sample of brain tissue is needed to make the diagnosis when other tests are unclear. These situations are uncommon, and the specialist team would discuss the reasons carefully with you and your family.

Living with this condition

Recovery from encephalitis is usually measured in weeks and months, not days. Many people feel very tired at first and find it hard to concentrate, remember things, or cope with noise and busy places. This can be frustrating, especially when you look well on the outside. Pacing yourself — doing a little, then resting — helps more than pushing through. Some people find it useful to go back to work or school part-time at first, and to tell their employer or teacher what has happened so they can make adjustments.

Lifestyle tips

  • Build a daily routine with regular sleep and wake times
  • Plan rest breaks into your day, even if you feel fine
  • Start gentle activity such as short walks, and increase slowly
  • Limit screen time and noisy environments when you feel overloaded
  • Ask family and friends for practical help with shopping, childcare, or paperwork
  • Keep a notebook or use phone reminders for appointments and tasks
  • Be honest with your employer or school about what you need
  • Avoid alcohol while you are still recovering and while taking any medicines

Diet and exercise

Eat regular, balanced meals to help your body heal, and drink water throughout the day. There is no special diet that treats encephalitis. When it comes to exercise, start gently. Short walks and light stretching are a good beginning. Build up slowly over weeks, and stop if you feel dizzy, very tired, or unwell. Some people find that their energy runs out suddenly — this is common after a brain illness, so rest when you need to. Ask your doctor or physiotherapist before returning to strenuous exercise, contact sports, or driving.

Mental health and emotional wellbeing

It is very common to feel anxious, low, irritable, or emotionally fragile after encephalitis. Some people have mood swings or find that their personality feels different for a while. This can be frightening for you and for those around you. These feelings are part of the recovery for many people and usually improve with time and support. Talking to a doctor, counsellor, or psychologist can really help, and there is no shame in asking. If you or someone you care for feels hopeless, trapped, or has thoughts of harming themselves, contact your local emergency number or a crisis support service straight away — help is available, and you deserve it.

Prevention

You cannot prevent every case of viral encephalitis, because it is rare and often unpredictable. But you can lower the risk in several practical ways: keep vaccinations up to date, protect against mosquito and tick bites, and practise good hand hygiene. If you are travelling, check the health advice for your destination well before you go, and ask about any recommended vaccines or bite-prevention measures.

Vaccines

Some, but not all, of the viruses that cause encephalitis can be prevented by vaccines. Routine childhood vaccines against measles, mumps, rubella, and chickenpox greatly reduce the risk of these viruses causing brain infection. There are also vaccines for some travel-related viruses, such as Japanese encephalitis and tick-borne encephalitis, and for rabies. These are recommended for certain destinations, jobs, or situations rather than for everyone. Ask your doctor or travel health clinic whether any of these are right for you, and check that your routine vaccinations are up to date.

Screening programmes

There is no screening test for viral encephalitis, because it is rare and cannot be predicted. Screening is not needed for most people. If you are pregnant or planning a pregnancy, your doctor may check your immunity to certain viruses such as rubella as part of routine care.

Complications

If left untreated

  • Longer or more severe brain swelling
  • Seizures that are hard to control
  • Memory problems and difficulty concentrating
  • Changes in personality, mood, or behaviour
  • Problems with speech, walking, balance, or coordination
  • Weakness on one side of the body
  • Hearing or vision changes
  • Very rarely, severe brain damage or death — which is why early treatment matters so much

Long-term outlook

Most people with viral encephalitis survive, and many recover well, especially when treatment starts early. Recovery can be slow and uneven, and some people are left with tiredness, memory difficulties, or mood changes for months. A smaller number have longer-lasting problems and benefit from rehabilitation and support. Children often recover remarkably well, though follow-up is important as difficulties can show up later at school. Every person's path is different, and there is real reason for hope. Keep in touch with your medical team, be patient with your progress, and ask for the help you need along the way.

Find support

External links open third-party websites. Ruqelo Health is not responsible for external content. Listing an organisation does not imply endorsement.

Always verify with your doctor

Health guidance differs by country and region. This page is general education and may not match the guidelines, medicines, or practice where you live. Discuss your concerns with your own doctor or healthcare provider, and follow local guidance where it exists.

Important notice This information is for educational purposes only. It does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider about your specific situation. If you are experiencing a medical emergency, call your local emergency services immediately.

Related conditions

Sources and guidance

No guideline names this topic

No health guideline or clinical chapter that names this exact topic is cited here. This page is for general education and information only. It is not a diagnosis, a treatment plan, or personal medical advice. Check with your own doctor and follow their advice. If symptoms are severe, sudden, or worrying, get medical care promptly, and call your local emergency number in an emergency. Ruqelo LLC is not responsible for medical or legal outcomes from decisions based on this information.

Last updated: October 26, 2026

Educational note: This information is for education only and is not a diagnosis.

Use it to support, not replace, advice from a licensed clinician.

If symptoms are severe, worsening, or urgent, call your local emergency number or seek emergency care.

Guidance may differ by country or region. Confirm local recommendations with a qualified healthcare provider.

Questions about this article