BackgroundThis work adopts an efficient method including thermal calcination, surface hydroxylation, and hydrothermal cutting to synthesize graphitic C3N4 quantum dots (CNQDs) for detecting metal ions in aqueous solutions. MethodsFunctionalized CNQDs, ranged from 2 to 6 nm in particle size, were of layered crystalline and contain a large amount of surface functionalities such as carbonyl, carboxylic, and amino groups. The CNQD suspension exhibited a maximal fluorescence intensity at 420 nm with high quantum yield of 13.6% under UV irradiation. Significant findingsThe CNQD suspension demonstrated superior sensitivity and selectivity toward iron ions with ppm-level detection limit in liquid phase. The Stern-Volmer analysis revealed that CNQD suspension was appropriate for the detection of Fe3+ and Fe2+ ions with LOD of 6.5 and 7.7 ppm, respectively. The fluorescence quenching mechanism of CNQD suspension mainly originates from a strong interaction between the ions and the surface functionalities followed by the photoinduced energy transfer effect, thus inducing the fluorescence extraction. Moreover, the CNQD suspension also offers a satisfactory biocompatibility toward 3T3 cell after 24 h. Accordingly, the robust design of CNQDs developed in this work paves the way for developing highly sensitive and selective probes for detecting target species in aqueous solutions.