YBN2 is beta beryllia-derived structured and crystallizes in the tetragonal P-4m2 space group. The structure is three-dimensional. Y3+ is bonded in a 4-coordinate geometry to four equivalent N3- atoms. All Y–N bond lengths are 2.20 Å. B3+ is bonded to four equivalent N3- atoms to form corner-sharing BN4 tetrahedra. All B–N bond lengths are 1.74 Å. N3- is bonded to two equivalent Y3+ and two equivalent B3+ atoms to form corner-sharing NY2B2 tetrahedra.