The invention belongs to the technical field of nano material preparation and metal ion detection, and particularly relates to a nitrogen doped fluorescent carbon quantum dot and a preparation methodthereof. The preparation method for the nitrogen doped fluorescent carbon quantum dot comprises the following steps: preparing a mixed solution of carboxymethyl cellulose and ethanediamine; putting the mixed solution in a high-pressure reaction kettle to perform hydrothermal reaction to obtain a reaction solution; performing ultrasonic treatment on the reaction solution, centrifuging, and filtering to obtain filtrate; using super-pure water to perform dialysis treatment on filtrate, and freezing and drying a solid product obtained by dialysis to obtain powder, thereby obtaining the nitrogen doped fluorescent carbon quantum dot. The method is simple in preparation process, is green and environmentally friendly, is low in cost, is simple in equipment and is suitable for large-scale production; and the prepared carbon quantum dot has excellent performances of being good in water solubility, stable in fluorescence property, uniform in grain size, non-toxic and harmless, biocompatible and the like, so that the application field of the carbon quantum dot is expanded.