Selective liquid and gas adsorptions are important for environmental control and industrial processes. Here, unique porous lanthanide−organic frameworks of [Ln 2 (1,3-pdta) 2 (H 2 O) 2 ] n 2n− {Ln = La (1), Ce (2), Pr (3), and Nd (4), 1,3-pdta = CH 2 [CH 2 N-(CH 2 CO 2 H) 2 ] 2 } are template-synthesized by 1,2-ethylenediamine and fully characterized, which possess hydrophobic and hydrophilic open channels simultaneously. The skeletons are stable up to 200 °C. Obvious downfield shifts have been observed for 1,2-ethylenediamine in the confined channel with solid-state 13 C NMR measurement. The ammonium salt is directly used for the removal of 1,2-ethylenediamine in water. Its saturated adsorption capacity is reached in <1 min and can be regenerated easily with a similar uptake capacity. Moreover, the materials can also selectively adsorb O 2 , CH 4 , and CO 2 , respectively, which is useful for CO 2 /CH 4 , CO 2 /H 2 , and O 2 /N 2 separation. The combined hydrophobic and hydrophilic open channels of the lanthanides make them promising functional materials for the elimination of 1,2-ethylenediamine and gas separations.