An inflammation of the brain usually from a viral infection. Viral encephalitis may be caused by herpes, west Nile virus, measles, chickenpox, rubella, and equine viruses. Rarely encephalitis can result from cancer, bacterial, fungal or parasitic infections, from medications or a reaction to a vaccination.