We explored the association between ApoB/ApoA-I ratio and anti-NMDAR encephalitis in the present study. The gene discussed is APOA1; the disease is viral encephalitis.