We report the results of ab initio calculations and analysis of systematic trends for the F centers in the bulk and on the (001) surface in oxide perovskites, such as BaTiO 3 , SrTiO 3 , SrZrO 3 , and PbZrO 3 , with a corresponding comparison of the F centers in perovskites with those in alkaline earth metal fluorides (CaF 2 , BaF 2 , and SrF 2 ). It was found that in perovskites in both bulk F centers and those on their (001) surfaces, two nearest to the vacancy Ti or Zr atoms repel each other, while the next nearest O atoms relax towards the oxygen vacancy. It was also found that the obtained relaxations of atoms in the nearest neighborhood around the F center in ABO 3 perovskites are generally larger than in alkaline earth metal fluorides. The bulk and (001)-terminated surface F center ground states in BaTiO 3 , SrTiO 3 , and SrZrO 3 perovskites are located 0.23, 0.69, 1.12 eV, and 0.07, 0.25, 0.93 eV, respectively, below the conduction band bottom, indicating that the F center is a shallow donor. The vacancies in BaTiO 3 , SrZrO 3 , and PbZrO 3 are occupied with 1.103e, 1.25e, and 0.68e, respectively, whereas slightly smaller charges, only 1.052e, 1.10e, and 0.3e are localized inside the F center on the perovskite (001) surface. In contrast to the partly covalent ABO 3 perovskites, charge is well localized (around 80 %) inside the ionic CaF 2 , BaF 2 , and SrF 2 fluorine vacancy.