Encephalitis is not a genetic illness. It is a temporary or permanent inflammation of the brain which is usually caused by a viral infection.
The most common viruses that cause encephalitis include:
A risk factor is something that increases your chance of getting a disease or condition. Risk factors for encephalitis include:
Newborns of mothers who have genital herpes simplex
I hope this answers your question,