Subjects with acute viral encephalitis in comparison to subjects without acute viral encephalitis showed a significantly higher frequency of 2DL1 KIR gene and AA KIR haplotypes and of HLA-C2 and HLA-A-Bw4 alleles. The gene discussed is KIR3DL1; the disease is viral encephalitis.