BackgroundPseudorabies virus (PRV) was thought to only infect animals. Recent studies have shown that it can also infect human.Case presentationWe report a case of pseudorabies virus encephalitis and endophthalmitis, diagnosed 89 days after onset, confirmed with intraocular fluid metagenomic next generation sequencing (mNGS) after the result of two cerebrospinal fluid (CSF) mNGS tests were negative. Although treatment with intravenous acyclovir, foscarnet sodium, and methylprednisolone improved the symptoms of encephalitis, significant diagnostic delay resulted in permanent visual loss.ConclusionsThis case suggests that pseudorabies virus (PRV) DNA in the intraocular fluid may have a higher positivity than that in the CSF. PRV may persist in the intraocular fluid for an extended period and may thus require extended antiviral therapy. Patients with severe encephalitis and PRV should be examined with the focus on pupil reactivity and light reflex. A fundus examination should be performed in patients with a central nervous system infection, specifically, those in a comatose state, to help reduce eye disability.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12883-023-03227-1.