Purpose: The purpose of this study was to use the percent amplitude of fluctuation (PerAF) to study the changes in brain activity and nerve function of herpes zoster keratitis (HZK) patients.Methods: We recruited 20 HZK patients and 20 healthy controls (HCs). Each of these groups included ten males and ten females and were matched in weight and age. All participants underwent resting-state functional magnetic resonance imaging (rs-fMRI). The percent amplitude of fluctuation (PerAF) method was used for analysis and detected differences between the two groups in the neurological function of brain areas. We also applied the receiver operating characteristic (ROC) curve to analyze the two groups and did a correlation analysis between the PerAF value, anxiety, and depression score, and visual acuity.Results: The PerAF signal at the right putamen and right precentral gyrus were significantly higher in patients than in HCs. However, the PerAF value of the left inferior temporal was lower in patients than in HCs. In addition, the HZK patients' anxiety and depression score (HADS) and visual acuity (VA) negatively correlated with the PerAF value at the left inferior temporal gyrus. Conclusion: HZK patients had some changes in brain regions, and the changes were also related to their mood and visual acuity. These findings might contribute to other studies in the potential pathological mechanism, disease development, prognosis, and brain function in HZK patients.