Photoelectron holography in strong-field tunneling ionization is an efficient way to probe the structures and the ultrafast dynamics information of atoms and molecules. Manipulating the process of photoelectron holography is important for its application. Here, we study theoretically strong-field photoelectron holography in the spatially inhomogeneous field by solving the time-dependent Schrödinger equation. Our results show that the returning energy of the rescattering electron is greatly enhanced in the spatially inhomogeneous field, and the holographic interference pattern can be separated from other types of interference in the photoelectron momentum distribution. Moreover, our results show that the time window of tunneling ionization wherein the electron could be driven back to induce holography is broadened in the inhomogeneous field. These properties are beneficial for the application of photoelectron holography in probing the atomic and molecular structures and dynamics. The origin for these properties is analyzed with the classical trajectory model.