e two examples of alkaline-earth M(II)-phosphonate coordination polymers, [Ba 2 (L)(H 2 O) 9 ]⋅3H 2 O (1) and [Mg 1.5 have been hydrothermally synthesized and characterized by elemental analysis, FT-IR, PXRD, TG-DSC, and single-crystal X-ray diffraction. Compound 1 possesses a 2D inorganic-organic alternate arrangement layer structure built from 1D inorganic chains through the piperazine bridge, in which the ligand L −4 shows two types of coordination modes reported rarely at the same time. In 1, both crystallographic distinct Ba(1) and Ba(2) ions adopt 8-coordination two caps and 9-coordination three caps triangular prism geometry structures, respectively. Compound 2 possesses a zero-dimensional mononuclear structure with two crystallographic distinct Mg(II) ions. Free metal cations [MgO 6 ] 2+ and uncoordinated anions (L-H 2 ) 2− are joined together by static electric force. Results of photoluminescent measurement indicate three main emission bands centered at 300 nm, 378.5 nm, and 433 nm for 1 and 302 nm, 378 nm, and 434.5 nm for 2 ( ex = 235 nm), respectively. e high energy emissions could be derived from the intraligand * -transition stations of H 4 L (310 nm and 382 nm, ex = 235 nm), while the low energy emission (>400 nm) of 1-2 may be due to the coordination effect with metal(II) ions.