Mg3C14P4H24(NO9)2 crystallizes in the triclinic P-1 space group. There are two inequivalent Mg sites. In the first Mg site, Mg(1) is bonded to two equivalent O(1), two equivalent O(4), and two equivalent O(8) atoms to form MgO6 octahedra that share corners with two equivalent P(1)CO3 tetrahedra and corners with two equivalent P(2)CO3 tetrahedra. Both Mg(1)-O(1) bond lengths are 2.01 Å. Both Mg(1)-O(4) bond lengths are 2.05 Å. Both Mg(1)-O(8) bond lengths are 2.19 Å. In the second Mg site, Mg(2) is bonded to one O(5), one O(6), one O(7), one O(9), and two equivalent O(2) atoms to form MgO6 octahedra that share  a cornercorner with one C(1)P2CO tetrahedra, corners with two equivalent P(1)CO3 tetrahedra, corners with two equivalent P(2)CO3 tetrahedra, and  an edgeedge with one Mg(2)O6 octahedra. The Mg(2)-O(5) bond length is 2.16 Å. The Mg(2)-O(6) bond length is 1.99 Å. The Mg(2)-O(7) bond length is 2.12 Å. The Mg(2)-O(9) bond length is 2.20 Å. There is one shorter (1.97 Å) and one longer (2.12 Å) Mg(2)-O(2) bond length. There are seven inequivalent C sites. In the first C site, C(1) is bonded to one C(2), one P(1), one P(2), and one O(7) atom to form distorted CP2CO tetrahedra that share  a cornercorner with one Mg(2)O6 octahedra and  a cornercorner with one O(5)MgPH2 tetrahedra. The corner-sharing octahedral tilt angles are 76°. The C(1)-C(2) bond length is 1.53 Å. The C(1)-P(1) bond length is 1.87 Å. The C(1)-P(2) bond length is 1.88 Å. The C(1)-O(7) bond length is 1.45 Å. In the second C site, C(2) is bonded in a distorted water-like geometry to one C(1), one C(3), one H(7), and one H(8) atom. The C(2)-C(3) bond length is 1.50 Å. The C(2)-H(7) bond length is 1.10 Å. The C(2)-H(8) bond length is 1.10 Å. In the third C site, C(3) is bonded in a trigonal planar geometry to one C(2), one C(4), and one C(7) atom. The C(3)-C(4) bond length is 1.39 Å. The C(3)-C(7) bond length is 1.40 Å. In the fourth C site, C(4) is bonded in a distorted trigonal planar geometry to one C(3), one N(1), and one H(9) atom. The C(4)-N(1) bond length is 1.35 Å. The C(4)-H(9) bond length is 1.09 Å. In the fifth C site, C(5) is bonded in a distorted bent 120 degrees geometry to one C(6), one N(1), and one H(10) atom. The C(5)-C(6) bond length is 1.39 Å. The C(5)-N(1) bond length is 1.35 Å. The C(5)-H(10) bond length is 1.09 Å. In the sixth C site, C(6) is bonded in a distorted trigonal planar geometry to one C(5), one C(7), and one H(11) atom. The C(6)-C(7) bond length is 1.39 Å. The C(6)-H(11) bond length is 1.09 Å. In the seventh C site, C(7) is bonded in a distorted single-bond geometry to one C(3), one C(6), and one H(12) atom. The C(7)-H(12) bond length is 1.09 Å. There are two inequivalent P sites. In the first P site, P(1) is bonded to one C(1), one O(1), one O(2), and one O(3) atom to form distorted PCO3 tetrahedra that share  a cornercorner with one Mg(1)O6 octahedra, corners with two equivalent Mg(2)O6 octahedra, and  a cornercorner with one P(2)CO3 tetrahedra. The corner-sharing octahedral tilt angles range from 28-67°. The P(1)-O(1) bond length is 1.52 Å. The P(1)-O(2) bond length is 1.55 Å. The P(1)-O(3) bond length is 1.53 Å. In the second P site, P(2) is bonded to one C(1), one O(4), one O(5), and one O(6) atom to form distorted PCO3 tetrahedra that share  a cornercorner with one Mg(1)O6 octahedra, corners with two equivalent Mg(2)O6 octahedra, and  a cornercorner with one P(1)CO3 tetrahedra. The corner-sharing octahedral tilt angles range from 42-67°. The P(2)-O(4) bond length is 1.51 Å. The P(2)-O(5) bond length is 1.57 Å. The P(2)-O(6) bond length is 1.54 Å. N(1) is bonded in a trigonal planar geometry to one C(4), one C(5), and one H(1) atom. The N(1)-H(1) bond length is 1.08 Å. There are twelve inequivalent H sites. In the first H site, H(1) is bonded in a distorted linear geometry to one N(1) and one O(3) atom. The H(1)-O(3) bond length is 1.63 Å. In the second H site, H(2) is bonded in a distorted linear geometry to one O(5) and one O(7) atom. The H(2)-O(5) bond length is 1.58 Å. The H(2)-O(7) bond length is 1.02 Å. In the third H site, H(3) is bonded in a single-bond geometry to one O(8) atom. The H(3)-O(8) bond length is 0.99 Å. In the fourth H site, H(4) is bonded in a single-bond geometry to one O(8) atom. The H(4)-O(8) bond length is 0.98 Å. In the fifth H site, H(5) is bonded in a single-bond geometry to one O(5) and one O(9) atom. The H(5)-O(5) bond length is 1.73 Å. The H(5)-O(9) bond length is 1.01 Å. In the sixth H site, H(6) is bonded in a single-bond geometry to one O(9) atom. The H(6)-O(9) bond length is 0.98 Å. In the seventh H site, H(7) is bonded in a single-bond geometry to one C(2) atom. In the eighth H site, H(8) is bonded in a single-bond geometry to one C(2) atom. In the ninth H site, H(9) is bonded in a single-bond geometry to one C(4) atom. In the tenth H site, H(10) is bonded in a single-bond geometry to one C(5) atom. In the eleventh H site, H(11) is bonded in a single-bond geometry to one C(6) atom. In the twelfth H site, H(12) is bonded in a single-bond geometry to one C(7) atom. There are nine inequivalent O sites. In the first O site, O(1) is bonded in a distorted bent 120 degrees geometry to one Mg(1) and one P(1) atom. In the second O site, O(2) is bonded in a distorted T-shaped geometry to two equivalent Mg(2) and one P(1) atom. In the third O site, O(3) is bonded in a water-like geometry to one P(1) and one H(1) atom. In the fourth O site, O(4) is bonded in a distorted bent 150 degrees geometry to one Mg(1) and one P(2) atom. In the fifth O site, O(5) is bonded to one Mg(2), one P(2), one H(2), and one H(5) atom to form distorted OMgPH2 tetrahedra that share  a cornercorner with one C(1)P2CO tetrahedra. In the sixth O site, O(6) is bonded in a distorted bent 120 degrees geometry to one Mg(2) and one P(2) atom. In the seventh O site, O(7) is bonded in a distorted trigonal non-coplanar geometry to one Mg(2), one C(1), and one H(2) atom. In the eighth O site, O(8) is bonded in a distorted water-like geometry to one Mg(1), one H(3), and one H(4) atom. In the ninth O site, O(9) is bonded in a distorted water-like geometry to one Mg(2), one H(5), and one H(6) atom. Linkers: 2 [O]P([O])(=O)C(O)(CC1=CC=CN[CH]1)P([O])([O])=O. Metal clusters: 3 [Mg]. The MOF has largest included sphere 2.97 A, density 1.76 g/cm3, surface area 3358.35 m2/g, accessible volume 0.16 cm3/g