Encephalitis is a disease of the brain. It is when there is an inflammation of the brain. This is most often caused by viruses, but may also be caused by bacteria. The brain is damaged when the inflamed brain parts push against the skull. Encephalitis can be fatal. Encephalitis can be caused by diseases such as syphilis or rabies.