The symptoms of encephalitis can have a number of possible causes, so several tests may be needed to diagnose it.
A scan of the brain can help show whether you have encephalitis or another problem such as a stroke, brain tumour or brain aneurysm (a swelling in an artery).
The 2 main types of scan used are:
A lumbar puncture is a procedure to remove some fluid from around the spinal cord (the nerves running up the spine) so it can be checked for signs of encephalitis.
For the procedure:
The sample will be checked for signs of infection or a problem with your immune system, which are the main causes of encephalitis.
Other tests may include: