The solvent-free melt reactions between lanthanide(iii) nitrates and pyrimidine-4,6-dicarboxylic acid (H2pmdc) led to three-dimensional (3D) coordination polymers with formula [Ln(μ4-pmdc)(NO3)(H2O)]n () [Ln(iii) = La, Ce, Pr, Nd, Sm, and Eu] and {[Ln(μ4-pmdc)(NO3)(H2O)]·H2O}n () [Ln(iii) = Gd, Tb, Dy, Ho, Er, Tm, Yb, and Lu]. The crystal structure of compounds is built up from the junction of centrosymmetric Ln(iii)-pmdc dimers, where pmdc ligand adopts an unusual μ4-κ(2)N,O:κ(2)N',O':κ(2)O,O'':κO''' coordination mode, rendering a metal coordination number of 10. The smaller ionic radii of the second half of the series prevents the latter coordination mode in , giving rise to a framework based on triangular shaped motifs. A common structural feature is the coordination of the nitrate anion as terminal chelating ligand which limits the presence of a unique coordination water molecule. Magnetic properties have been analysed for all compounds, through the variable temperature susceptibility and field dependent magnetization. Photoluminescence measurements were performed at different temperatures and excitation wavelengths upon Sm(3+), Eu(3+), Tb(3+), and Dy(3+) containing compounds which exhibit strong characteristic emissions in the visible region. Decay lifetime measurements indicate long-lived excitation states in the compounds by achieving values in the range of millisecond for the terbium compound. The absolute quantum yields of the polycrystalline samples result in 20% and 18% for and , respectively, and in almost negligible response for and . Illumination of single crystals of these compounds revealed waveguiding behaviour along the edges of the main axis of the crystals.