Based on the cluster assembling method, five boron-phosphorus nanowires (NWs) were designed, namely P 8 B 2 -I, P 8 B 2 -II, P 6 B 4 , P 8 B 6 and P 10 B 4 NWs. All the five assembled NWs exhibit good stability according to our density functional theory (DFT) calculations: high cohesive energies, almost no imaginary frequencies, structural integrity through a 5 ps molecular dynamics simulation at 300-750 K. These five assembled NWs are wide-bandgap semiconductors, with the indirect/direct bandgaps in the range of 1.04-2.47 eV. Among them, P 8 B 2 -I, P 8 B 2 -II and P 8 B 6 NWs perfectly satisfy the requirements (bandgaps and band positions) of a good photocatalyst for water splitting, and particularly the P 8 B 2 -II NW is a promising photocatalyst candidate for water splitting with high efficiency, because of the different spatial distributions of CBM and VBM, the comparable energy differences (ΔE 1 /ΔE 2 ) between CBM/VBM level and water reduction/oxidation potential, good catalytic performance for both hydrogen evolution reaction (HER) and oxygen evolution reaction (OER), and the optical adsorption in visible and UV light region. Our comprehensive studies may be helpful to design new P-based binary nanomaterials with specific application in photocatalyzing water splitting.