a b s t r a c tAn optical sensor for mercury ion (Hg 2+ ), based on quenching the fluorescence of the sensing reagent porphyrin immobilized in plasticized poly(vinyl chloride) (PVC) membrane, has been developed. The responses to mercury ion were compared for the sensors modified with three porphyrin compounds including 5,10,15,20-tetraphenylporphyrin (TPP), tetra(p-dimethylaminophenyl)porphyrin (TDMAPP) and tetra(N-phenylpyrazole) porphyrin (TPPP). Among them, TDMAPP showed the most remarkable response to Hg 2+ . The drastic decrease of the TDMAPP fluorescence intensity was attributed to the formation of a complex between TDMAPP and Hg 2+ , which has been utilized as the fabrication basis of a Hg 2+ -sensitive fluorescence sensor. The analytical performance characteristics of the TDMAPP modified sensor was investigated. The response mechanism, especially involving the response difference of three porphyrin compounds, was discussed in detail. The sensor can be applied to the quantification of Hg 2+ with a linear range covering from 4.0 × 10 −8 mol L −1 to 4.0 × 10 −6 mol L −1 . The limit of detection was 8.0 × 10 −9 mol L −1 . The sensor exhibited excellent reproducibility, reversibility and selectivity. Also, the TDMAPP-based sensor was successfully used for the determination of Hg 2+ in environmental water samples.