Abstract: A metal scavenger is composed of an addition product of a polyamine and an epihalohydrin. The addition product contains as substituent or substituents at least one carbodithio group and/or at least one carbodithioate salt group introduced therein by substituting the corresponding number of active hydrogen atom or atoms in the addition product. Metals can be scavenged from waste water by adding the metal scavenger together with at least one of sodium monosulfide, sodium polysulfides and sodium hydrogensulfide.