The functionalization of materials for ultrasensitive detection of heavy metal ions (HMIs) in the environment is crucial. Herewith, we have functionalized inexpensive and environmentally friendly Fe3O4 nanoparticles with D-valine (Fe3O4–D–Val) by a simple co-precipitation synthetic approach characterized by XRD, FE-SEM, and FTIR spectroscopy. The Fe3O4–D–Val sensor was used for the ultrasensitive detection of Cd+2, Pb+2, and Cu+2 in water samples. This sensor shows a very low detection limit of 11.29, 4.59, and 20.07 nM for Cd+2, Pb+2, and Cu+2, respectively. The detection limits are much lower than the values suggested by the world health Organization. The real water samples were also analyzed using the developed sensor.