Perovskite oxides have emerged as promising candidates for electrocatalytic nitrate reduction (ERN) catalysts due to their unique electronic structures and tunable chemical compositions. In this work, we employed a fluorine ion substitution strategy to modulate the oxygen site of LaCoO3 (LCO), resulting in the construction of F-substituted LaCoO3 (LCOF0.5) catalyst for efficient ERN. The incorporation of fluorine ions leads to a weakening of the hybridization between the O 1 s orbital and Co 3d orbital of the catalyst, thereby inducing an increase in oxygen vacancies. The abundant oxygen vacancies can facilitate the electron transfer and surface adsorption energy of the ERN reaction intermediates. This leads to a reduction in the energy barriers for both the reduction of *HNO3 to *NO2 and the reduction of *HNO2 to *NO, thereby enhancing the performance of ERN. As excepted, LCOF0.5 exhibits a rapid reaction rate of k = 5.48 × 10−3 min−1, which is 1.70 times faster than that of pristine LCO, and its catalytic activity approaches that of the state-of-the-art electrocatalysts for ERN. Applying this strategy to LaFeO3 and LaMnO3 also yields similar results, demonstrating its general applicability. The F-anion substitution strategy offers new opportunities for significantly enhancing ERN performance.