Zeolite imidazolate framework-8 (ZIF-8), which is a special subgroup of metal–organic frameworks (MOFs), was synthesized and modified by ethylenediamine (ZIF-8-EDA) to prepare an efficient adsorbent for the high sorption of Cd2+ ions from solution. The synthesized and modified ZIF-8 (ZIF-8-EDA) were characterized by X-ray diffraction (XRD), Fourier-transform infrared (FT-IR) spectroscopy, Brunauer–Emmett–Teller (BET), field emission scanning electron microscopy (FE-SEM) with energy dispersive spectroscopy (EDS), and transmission electron microscopy (TEM) analysis. The optimum conditions for dosage of adsorbent, initial ion concentration, pH, and contact time were 0.05 g/l, 50 mg/l, 6, and 60 min, respectively, for cadmium ion sorption from aqueous solutions with a removal efficiency of 89.7% for ZIF-8 and 93.5% for ZIF-8-EDA. Adsorption kinetics and equilibrium data were analyzed using the Langmuir and Freundlich equations. The Langmuir model fitted the equilibrium data better than the Freundlich model. According to the Langmuir equation, the maximum uptake for the cadmium ions was 294.11(mg/g). The calculated thermodynamic parameters (ΔG°, ΔH°, and ΔS°) indicated that the adsorption process was feasible, spontaneous, and endothermic at 20–50 °C. Based on the results, the amino functionalized ZIF-8 had improved adsorption performance due to the replacing of the starting linker with organic ligands that had effective functional groups, leading to chemical coordination due to the interaction of metal ions with the non-bonding pair of electrons on the N atoms of the amino functional group. The selectivity toward metal ion adsorption by ZIF-8-EDA was Cd2+ > Pb2+ > Ni2+.