Water-soluble fluorescent Ag nanoclusters (NCs) were facilely prepared using commercially available polyinosinic acid or polycytidylic acid. The fluorescence intensity of the as-prepared Ag NCs was effectively quenched by trace Hg2+, which was used for the detection of Hg2+ in water samples with good performance.