Encephalitis is most often caused by a viral infection. The specific viruses involved may vary. Exposure to viruses can occur through insect bites, food or drink, or skin contact. In rural areas, arboviruses that are carried by mosquitoes or ticks, or that are accidentally ingested, are the most common cause.