A novel cadmium-based metal-organic framework (MOF) material with dual-emission signals has been constructed that can act as the first example of MOF-implicated ratiometric sensor for mercury(II) in pure water with a fast response, high selectivity, and sensitivity. The sensing mechanism is also discussed.