A novel chelating resin (PPS-ATD) containing N and S elements was prepared through the chloromethylation of polyphenylene sulfide resin and subsequent functionalization with 2-amino-1,3,4-thiadiazole (ATD). The structure of PPS-ATD was systematically characterized and analyzed by the Fourier transform infrared spectroscopy, elemental analysis, thermogravimetric analysis, scanning electron microscope, and energy dispersive spectrometer. The adsorption performance of PPS-ATD was evaluated by batch methods at different pH, temperature, adsorption time, and initial concentration, and the results showed that the PPS-ATD exhibited high adsorption capacity (197.79mg<bold>g</bold>-1 at 298K) and selectivity for Hg(II). The adsorption of PPS-ATD for Hg(II) was well fitted by the Langmuir isotherm model, and the adsorption process was endothermic. After 5 consecutive regeneration cycles, no obvious loss in the adsorption capacity of the PPS-ATD was found, which implied that the PPS-ATD had great application prospects in the treatment of mercury-containing wastewater.