The incubation time of OPD with the AuNP dispersion, the pHvalue of the AuNP dispersion and the phenylenediamine isomer(MPD, OPD or PPD) incubated with the AuNP dispersion in the pres-ence of Hg2+are further optimized according to the sensing effectof our proposed detection system towards Hg2+.