Goal-oriented development of novel covalent organic frameworks (COFs) to construct a sensing platform for highly toxic mercury (II, Hg 2+ ) is of tremendous significance. Recently, numerous COFs with sulfur-based ligands were developed for Hg 2+ monitoring; however, strong binding of Hg 2+ by sulfur makes their regeneration very tough. Herein, we designed and developed an amino-functionalized fluorescent COF (COF− NH 2 ) through facile postmodification for Hg 2+ detection in which the π-conjugation skeleton is the signal reader and the nitrogenbased side is the highly selective Hg 2+ receptor. More importantly, this nitrogen-based receptor permits the reversible binding of Hg 2+ . As a sensing platform, the outstanding performance of COF−NH 2 for Hg 2+ detection was reached with respect to high sensitivity with an ultralow detection of 15.3 nM, real-time response with rapid signal change of 10 s, and facile visualization with significant fluorescence color change. Expectedly, COF−NH 2 obtained facile recycling which still shows excellent response performance toward Hg 2+ after six cycles based on the reversible interaction between amino groups and Hg 2+ . Our work not only shows an attractive foreground of fluorescent COF for Hg 2+ detection but also emphasizes the easy construction of novel COF materials via the rational introduction of metal ligands for the recognition of other metal ions.