MgPNO5 crystallizes in the orthorhombic Pmn2_1 space group. Mg(1) is bonded to one O(1), one O(4), and four equivalent O(3) atoms to form MgO6 octahedra that share corners with four equivalent Mg(1)O6 octahedra, corners with three equivalent P(1)O4 tetrahedra, and  an edgeedge with one P(1)O4 tetrahedra. The corner-sharing octahedral tilt angles are 53°. P(1) is bonded to one O(1), one O(2), and two equivalent O(3) atoms to form PO4 tetrahedra that share corners with three equivalent Mg(1)O6 octahedra and  an edgeedge with one Mg(1)O6 octahedra. The corner-sharing octahedral tilt angles range from 48-55°. N(1) is bonded in a water-like geometry to one O(2) and one O(4) atom. There are four inequivalent O sites. In the first O site, O(1) is bonded in a bent 120 degrees geometry to one Mg(1) and one P(1) atom. In the second O site, O(2) is bonded in a bent 120 degrees geometry to one P(1) and one N(1) atom. In the third O site, O(3) is bonded in a distorted trigonal planar geometry to two equivalent Mg(1) and one P(1) atom. In the fourth O site, O(4) is bonded in a distorted bent 150 degrees geometry to one Mg(1) and one N(1) atom.
MgPNO5 crystallizes in the orthorhombic Pmn2_1 space group. Mg(1) is bonded to one O(1), one O(4), and four equivalent O(3) atoms to form MgO6 octahedra that share corners with four equivalent Mg(1)O6 octahedra, corners with three equivalent P(1)O4 tetrahedra, and  an edgeedge with one P(1)O4 tetrahedra. The corner-sharing octahedral tilt angles are 53°. The Mg(1)-O(1) bond length is 1.97 Å. The Mg(1)-O(4) bond length is 2.26 Å. There are two shorter (2.08 Å) and two longer (2.26 Å) Mg(1)-O(3) bond lengths. P(1) is bonded to one O(1), one O(2), and two equivalent O(3) atoms to form PO4 tetrahedra that share corners with three equivalent Mg(1)O6 octahedra and  an edgeedge with one Mg(1)O6 octahedra. The corner-sharing octahedral tilt angles range from 48-55°. The P(1)-O(1) bond length is 1.50 Å. The P(1)-O(2) bond length is 1.68 Å. Both P(1)-O(3) bond lengths are 1.54 Å. N(1) is bonded in a water-like geometry to one O(2) and one O(4) atom. The N(1)-O(2) bond length is 1.41 Å. The N(1)-O(4) bond length is 1.21 Å. There are four inequivalent O sites. In the first O site, O(1) is bonded in a bent 120 degrees geometry to one Mg(1) and one P(1) atom. In the second O site, O(2) is bonded in a bent 120 degrees geometry to one P(1) and one N(1) atom. In the third O site, O(3) is bonded in a distorted trigonal planar geometry to two equivalent Mg(1) and one P(1) atom. In the fourth O site, O(4) is bonded in a distorted bent 150 degrees geometry to one Mg(1) and one N(1) atom.