Porous graphitic carbon nitride (pg-C 3 N 4 ) was synthesized from bulk g-C 3 N 4 (Bg-C 3 N 4 ). First, bulk g-C 3 N 4 was prepared by a thermal method with poly-condensation of melamine as a precursor. The pg-C 3 N 4 was synthesized from Bg-C 3 N 4 under ultrasonic treatment in a sulphuric acid medium. Thereafter, pg-C 3 N 4 was combined with commercial silica gel (Slg) to give a fluorescent Slg/pg-C 3 N 4 powder. These prepared materials were characterized by means of distinctive instrumental techniques consisting of UV-visible spectroscopy (UV-visible), fluorescence spectroscopy (FL), Fourier transform infrared spectroscopy (FT-IR) X-ray diffraction (XRD), Raman spectroscopy, Brunauer-Emmett-Teller (BET), scanning electron microscope (SEM), transmission electron microscopy (TEM) and live cell microscopy. The fluorescent Slg/pg-C 3 N 4 powder was used as a labeling agent for the development of latent fingerprints (LFP) on different surfaces such as glass slides, aluminum foil, aluminum sheets, aluminum rods, a compact disc (CD), iron discs, coins, a tea cup and spoon. The LFP images were additionally captured through the use of ultraviolet radiation at 365 nm due to the fluorescent nature of the Slg/ pg-C 3 N 4 powder. The LFP images have been also investigated using different commercial powders such as ZnSO 4 , TiO 2 and Iodine vapor for comparison with fluorescent Slg/pg-C 3 N 4 powder. The Slg/pg-C 3 N 4 powder was used to investigate the LFP images submerged in fresh water. Ultimately, the different fluorescent backgrounds of LFP images had been demonstrated using live cell microscopy with pg-C 3 N 4 and Bg-C 3 N 4 . The fluorescent Slg/pg-C 3 N 4 powder exhibited potential as a good labeling agent with excessive sensitivity, rapid detection and an eco-friendly nature. This fluorescent Slg/pg-C 3 N 4 powder was also used to develop the LFP images under conditions that are likely to simulate real crime scenes to establish whether this material can be used in real forensic investigations.Keywords Porous g-C 3 N 4 • Silica gel/porous g-C 3 N 4 • Latent fingerprint detection