The potential removal and preconcentration of lead(II), cadmium(II), and chromium(III) ions from wastewaters were investigated and explored. Magnetite nanoparticles were chemically modified with p-nitro aniline. The aniline-coated magnetite nanoparticles (ANMNPs) were fully characterized by FT-IR, XRD, SEM, and TEM measurements. Batch studies were performed to address various experimental parameters for the removal and determination of these ions. ANMNPs showed high tendency to investigated metal ions, in this order: Cr(III) > Cd(II) > Pb(II), owing to the strong contribution of surface loaded aniline. The potential applications of ANMNPs adsorbent for removal and preconcentration of Pb(II), Cr(III), and Cd(II) from wastewaters as well as drinking tap water samples were successfully accomplished giving recovery values of (98–101 %), without any noticeable interference of the wastewater or drinking tap water matrices.