Powder diffraction structure analysis / X-ray diffraction / Rietveld refinement / Layered materials / Photoluminescence / Organic-inorganic hybrids Abstract. The hydrothermal synthesis and detailed structural characterisation of layered materials formulated as [Ln(H 2 cmp)] Á xH 2 O [where H 5 cmp ¼ (carboxymethyl)iminodi(methylphosphonic acid) andx < 1; Ln 3þ ¼ Nd 3þ (1) and Eu 3þ (2)] are reported. Compounds were isolated as microcrystalline powders and the crystal structure of 1 was determined by ab initio methods from high-resolution synchrotron powder X-ray diffraction (PXRD) data collected at the European Synchrotron Radiation Facility (ESRF, Grenoble, France --beam lines BM01a and BM01b). The structure of 2 was refined by conventional PXRD, starting from the atomic coordinates of 1. Materials contain a single Ln 3þ metal centre in highly distorted dodecahedral coordination geometry. Connectivity through H 2 cmp 3À anionic ligands leads to undulated tapes of Ln 3þ running parallel to the b-axis [closest inter-Ln distances of 4.203(3) and 4.170(3) A for 1 and 2, respectively] which coalesce into layers, 2 1 [Nd(H 2 cmp)], extended in the bc plane. The presence of a terminal protonated phosphonate group seems to induce the formation of the layers. Topologically, the structure is a 8-connected uninodal plane net, which can be further envisaged as two periodic self-penetrated (4,4) nets. The photophysical properties of the Eu 3þ -bearing material were studied at room temperature (with and without vacuum). The two materials have been further studied using thermogravimetric analysis (TGA), vibrational spectroscopy (ATR-FTIR) and CHN elemental analyses.