Compared with the HCs, Hcy (p = 0.002), ApoB (p = 0.004), Lpa (p = 0.045), and ApoB/ApoA-1(p = 0.001) were significantly increased in patients with anti-NMDAR encephalitis. This evidence concerns the gene LPA and viral encephalitis.