Optically detected magnetic resonance ͑ODMR͒ studies of molecular beam epitaxial GaNP/GaP structures reveal presence of a P-related complex defect, evident from its resolved hyperfine interaction between an unpaired electronic spin ͑S =1/ 2͒ and a nuclear spin ͑I = 1 2 ͒ of a 31 P atom. The principal axis of the defect is concluded to be along a ͗111͘ crystallographic direction from angular dependence of the ODMR spectrum, restricting the P atom ͑either a P Ga antisite or a P i interstitial͒ and its partner in the complex defect to be oriented along this direction. The principal values of the electronic g tensor and hyperfine interaction tensor are determined as: g Ќ = 2.013, g ʈ = 2.002, and A Ќ = 130ϫ 10 −4 cm −1 , A ʈ = 330ϫ 10 −4 cm −1 , respectively. The interface nature of the defect is clearly manifested by the absence of the ODMR lines originating from two out of four equivalent ͗111͘ orientations. Defect formation is shown to be facilitated by nitrogen ion bombardment under nonequilibrium growth conditions and the defect is thermally stable upon post-growth thermal annealing.