Inorganic hole transport materials (HTMs) play an important role for the stability and efficiency of planar perovskite solar cells (PSCs). Among the numerous inorganic HTMs, NiCo2O4 with its excellent performance is the emerging candidate for hole transport layers (HTLs) and is attracting increasing attention. However, the low electrical conductivity and optical transmittance of NiCo2O4 severely limit the device performance. Herein, the Zn2+ was used to dope NiCo2O4 to improve the electrical conductivity and optical transmittance of NiCo2O4. And the effects of the concentration of Zn2+ on the morphology, structure and properties of NiCo2O4 were investigated. The morphology and transparency of ZnxNi1-xCo2O4 would not be affected when the concentration of Zn2+ is below 0.1, but when it is up to 0.15 and 0.2, the morphology of NiCo2O4 clustered together or showed a diamond-shaped block, and the optical transmittance also decreased significantly. Meanwhile, with the increase of doping amount, the conductivity and hole mobility are gradually increased. As a result, the optimal concentration of Zn2+ is 0.1. Besides, the Zn0.1Ni0.9Co2O4 possessed a significant improvement in hole extraction and better band alignment compared to the NiCo2O4. And hence, the power conversion efficiency (PCE) of PSCs fabricated in open air is up to 13.41% by using Zn0.1Ni0.9Co2O4. This work develops a potential strategy for developing highly efficient and stable PSCs, opens up a new horizon for the development of inorganic HTMs.