Electrochemical sensors for mercury ion detection would ideally demonstrate wide linear detection ranges (LDRs), ultratrace sensitivity, and high selectivity. This work presents an electrochemical sensor based on metallic 1T phase tungsten disulfide (WS2) microflowers for the detection of trace levels of Hg2+ ions with wide LDRs, ultratrace sensitivity, and high selectivity. Under optimized conditions, the sensor shows excellent sensitivities for Hg2+ with LDRs of 1 nm–1 µm and 0.1–1 mm. In addition to this, the limit of detection of the sensor toward Hg2+ is 0.0798 nm or 79.8 pm, which is well below the guideline value recommended by the World Health Organization. The sensor exhibits excellent selectivity for Hg2+ against other heavy metal ions including Cu2+, Fe3+, Ni2+, Pb2+, Cr3+, K+, Na+, Ag+, Sn2+, and Cd2+. The thus‐obtained excellent sensitivity and selectivity with wide LDRs can be attributed to the high conductivity, large surface area microflower structured 1T‐WS2, and the complexation of Hg2+ ions with S2−. In addition to good repeatability, reproducibility, and stability, this sensor shows the practical feasibility of Hg2+ detection in tap water suggesting a promising device for real applications.