The fast development of the population and industrialization cause many environmental problems due to the increase of carcinogenic compounds and heavy metals in the environment. In this regard, many studies have been conducted to remove these compounds from the water, air, and soil. The Layered double hydroxide is one of the adsorbents which have attracted great attention in recent years owing to its ease of preparation, costeffectiveness, environmental compatibility, and non-toxicity. Consequently, in this study, magnetic nanoparticles of Fe@Mg-Al layered double hydroxide have been modified with ammonium pyrrolidine dithiocarbamate (APDC) and then used as an adsorbent to form a complex with cadmium ions and removing them. Based on the absorption properties of synthesized magnetic nanoparticles, an easy, practical, economical and repeatable method has been developed to remove contaminants from water, including heavy metal ions. Cadmium ion has been studied by floating in an aqueous medium by these nanoparticles. Also, the optimal values of effective factors such as pH, amount of magnetic nanoparticles, contact time, temperature and sample volume and ligand concentration were 7, 0.045 g, 30 min, 35 ˚C, 25 mL and 1.7 mg L-1 , respectively. The isotherm equations have been also investigated to evaluate the absorption quality. The thermodynamic parameters as well as the effects of interfering ions have been investigated as well. A flame atomic absorption spectrometer (FAAS) has been applied to detect Cd ions.