In this study, we prepared the porous Ni2P2O7 nanowires with low-crystallinity (LC-NPO) and high-crystallinity Ni2P2O7 nanosheets (HC-NPO), and employed them for the first time as catalyst in the CO2 photoreduction reaction. The photocatalytic performance of them was tested under the UV–Vis light irradiation and compared with the TiO2 commercial powder (P25). The CO2 photoreduction experiments shown that the LC-NPO had the highest ability than the HCNPO and the P25. Specifically, with triethanolamine (TEOA) as the sacrificial agent, LC-NPO achieved CO and CH4 yields of approximately 56.06 and 12.13 μmol·g−1 after 4 h UV–Vis light irradiation, which were 4.67 and 5.00 times of P25, respectively. The experimental results, and Density Functional Theory calculations proved that the unique porous nanowire structure enables LC-NPO to have a larger specific surface area, higher quantity of oxygen defects, and superior CO2 capture ability compared to HC-NPO. These features maybe the primary reasons for the excellent CO2 photoreduction ability. Besides, the photo-electrochemical characterizations revealed that the LC-NPO had the much superior photoelectrochemical properties than the HC-NPO, which was another reason for enhanced photocatalytic ability. In-situ FTIR and 13C isotope labeling experiments were used to monitor the CO2 reduction process, and finally a potential enhanced mechanism had been discussed.