We also noted that the patient was weakly positive for influenza virus IgM antibodies, so empirical antiviral therapy (acyclovir and oseltamivir), IVIG and dexamethasone were given after admission, but then the patient was diagnosed as teratoma-associated anti-NMDAR encephalitis according to the patient’s condition and auxiliary examination. The gene discussed is CD40LG; the disease is viral encephalitis.