Encephalitis is most often caused by a fungal infection.