A chelate-forming resin bearing mercapto and azo groups and its application to the recovery of mercury(II).