Recovery of inorganic Hg and Ni present in water coming from metallurgical processes through ion exchange operations and in contaminated soils using phyto-remediation techniques has been studied. The operating conditions have been optimized and a crandallite type compound has been synthesized as an ion exchanger.