The first porous 3D [Ln-Fe] heterometal-organic frameworks incorporating high-spin Fe(ii) ions were structurally characterized with fascinating 1D channels and higher thermal stability: the robust frameworks still keep intact on removing free H(2)O or adsorbing C(2)H(5)OH, and the luminescence of [Eu-Fe] complex displays selective detection of Mg(2+).