KMgC6NH10O8 crystallizes in the monoclinic P2_1/c space group. K(1) is bonded in a 9-coordinate geometry to one H(8), one O(1), one O(2), one O(3), one O(4), one O(5), one O(8), and two equivalent O(6) atoms. The K(1)-H(8) bond length is 2.84 Å. The K(1)-O(1) bond length is 2.77 Å. The K(1)-O(2) bond length is 3.05 Å. The K(1)-O(3) bond length is 2.86 Å. The K(1)-O(4) bond length is 2.72 Å. The K(1)-O(5) bond length is 3.02 Å. The K(1)-O(8) bond length is 2.88 Å. There is one shorter (2.86 Å) and one longer (3.12 Å) K(1)-O(6) bond length. Mg(1) is bonded in a distorted octahedral geometry to one N(1), one O(1), one O(2), one O(3), one O(5), and one O(7) atom. The Mg(1)-N(1) bond length is 2.27 Å. The Mg(1)-O(1) bond length is 2.11 Å. The Mg(1)-O(2) bond length is 2.03 Å. The Mg(1)-O(3) bond length is 2.07 Å. The Mg(1)-O(5) bond length is 2.05 Å. The Mg(1)-O(7) bond length is 2.09 Å. There are six inequivalent C sites. In the first C site, C(1) is bonded in a distorted bent 120 degrees geometry to one O(1) and one O(2) atom. The C(1)-O(1) bond length is 1.27 Å. The C(1)-O(2) bond length is 1.27 Å. In the second C site, C(2) is bonded in a distorted trigonal non-coplanar geometry to one N(1), one H(1), and one H(2) atom. The C(2)-N(1) bond length is 1.47 Å. The C(2)-H(1) bond length is 1.10 Å. The C(2)-H(2) bond length is 1.10 Å. In the third C site, C(3) is bonded in a distorted bent 120 degrees geometry to one O(3) and one O(4) atom. The C(3)-O(3) bond length is 1.28 Å. The C(3)-O(4) bond length is 1.26 Å. In the fourth C site, C(4) is bonded in a distorted trigonal non-coplanar geometry to one N(1), one H(3), and one H(4) atom. The C(4)-N(1) bond length is 1.47 Å. The C(4)-H(3) bond length is 1.10 Å. The C(4)-H(4) bond length is 1.10 Å. In the fifth C site, C(5) is bonded in a distorted bent 120 degrees geometry to one O(5) and one O(6) atom. The C(5)-O(5) bond length is 1.28 Å. The C(5)-O(6) bond length is 1.27 Å. In the sixth C site, C(6) is bonded in a distorted trigonal non-coplanar geometry to one N(1), one H(5), and one H(6) atom. The C(6)-N(1) bond length is 1.48 Å. The C(6)-H(5) bond length is 1.10 Å. The C(6)-H(6) bond length is 1.10 Å. N(1) is bonded in a tetrahedral geometry to one Mg(1), one C(2), one C(4), and one C(6) atom. There are ten inequivalent H sites. In the first H site, H(1) is bonded in a single-bond geometry to one C(2) atom. In the second H site, H(2) is bonded in a single-bond geometry to one C(2) atom. In the third H site, H(3) is bonded in a single-bond geometry to one C(4) atom. In the fourth H site, H(4) is bonded in a single-bond geometry to one C(4) atom. In the fifth H site, H(5) is bonded in a single-bond geometry to one C(6) atom. In the sixth H site, H(6) is bonded in a single-bond geometry to one C(6) atom. In the seventh H site, H(7) is bonded in a single-bond geometry to one O(8) atom. The H(7)-O(8) bond length is 1.00 Å. In the eighth H site, H(8) is bonded in a distorted single-bond geometry to one K(1) and one O(8) atom. The H(8)-O(8) bond length is 1.01 Å. In the ninth H site, H(9) is bonded in a linear geometry to one O(7) and one O(8) atom. The H(9)-O(7) bond length is 1.04 Å. The H(9)-O(8) bond length is 1.51 Å. In the tenth H site, H(10) is bonded in a single-bond geometry to one O(7) atom. The H(10)-O(7) bond length is 0.97 Å. There are eight inequivalent O sites. In the first O site, O(1) is bonded in a 3-coordinate geometry to one K(1), one Mg(1), and one C(1) atom. In the second O site, O(2) is bonded in a distorted bent 120 degrees geometry to one K(1), one Mg(1), and one C(1) atom. In the third O site, O(3) is bonded in a 3-coordinate geometry to one K(1), one Mg(1), and one C(3) atom. In the fourth O site, O(4) is bonded in a distorted single-bond geometry to one K(1) and one C(3) atom. In the fifth O site, O(5) is bonded in a distorted bent 120 degrees geometry to one K(1), one Mg(1), and one C(5) atom. In the sixth O site, O(6) is bonded in a 1-coordinate geometry to two equivalent K(1) and one C(5) atom. In the seventh O site, O(7) is bonded in a distorted trigonal non-coplanar geometry to one Mg(1), one H(10), and one H(9) atom. In the eighth O site, O(8) is bonded in a distorted trigonal non-coplanar geometry to one K(1), one H(7), one H(8), and one H(9) atom. Linkers: 2 O ,4 [O]C(=O)CN(CC([O])=O)CC([O])=O. Metal clusters: 4 [K] ,4 [Mg]. The MOF has largest included sphere 2.14 A, density 1.74 g/cm3, surface area 2617.05 m2/g, accessible volume 0.09 cm3/g