Encephalitis is inflammation of the brain. Encephalitis can be caused by a viral or bacterial infection, an autoimmune condition, or an insect bite.