Abstract In this study, we used nitrogen-doped carbon dots (NCDs), which were synthesized via the hydrothermal method of corn-stover biomass as raw material and polyethyleneimine (PEI) as the nitrogen source, introduced them into the carboxymethyl cellulose-based hydrogel to prepare an environmentally friendly fluorescent cellulose-based hydrogel (NCDs/CMC-PAM). NCDs/CMC-PAM was also used for simultaneous fluorescence monitoring and removal of Cu (II) in aqueous solution. The chemical and physical structures, adsorption behaviors and fluorescent properties of NCDs/CMC-PAM were investigated. The results showed that NCDs/CMC-PAM exhibited a well-linear response range of fluorescence response for Cu (II) (0∼100 μM, detection limit of 3.42 μM). NCDs/CMC-PAM showed maximum adsorption capacities of 237.71 mg/g for Cu (II), the adsorption process followed the Langmuir isotherm model and pseudo-second-order kinetic model, which is an exothermic spontaneous reaction with an increase in entropy. It can still maintain 79.03% of the original adsorption capacity after six cycles (pH=6). The adsorption mechanisms of NCDs/CMC-PAM for Cu (II) are intraparticle diffusion, electrostatic attraction, ion exchange, and ligand interaction. Hence, the present study provides a new green way to synthesize an adsorbent that can be applied for the adsorption and detection of heavy metal ions.