We investigated the electronic structure and magnetism of zigzag blue phosphorene nanoribbons (ZBPNRs) using first principles density functional theory calculations by changing the widths of ZBPNRs from 1.5 to 5 nm. In addition, the effect of H and O passivation was explored as well. The ZBPNRs displayed intra-edge antiferromagnetic ground state with a semiconducting band gap of $0.35 eV; and this was insensitive to the edge structure relaxation effect. However, the edge magnetism of ZBPNRs disappeared with H-passivation. Moreover, the band gap of H-passivated ZBPNRs was greatly enhanced because the calculated band gap was $1.77 eV, and this was almost the same as that of two-dimensional blue phosphorene layer. For O-passivated ZBPNRs, we also found an intraedge antiferromagnetic state. Besides, both unpassivated and O-passivated ZBPNRs preserved almost the same band gap. We predict that the electronic band structure and magnetic properties can be controlled by means of passivation. Moreover, the edge magnetism can be also modulated by the strain. Nonetheless, the intrinsic physical properties are size independent. This feature can be an advantage for device applications because it may not be necessary to precisely control the width of the nanoribbon. V C 2015 AIP Publishing LLC. [http://dx.