Coptisine (COP), one of the bioactive components in Rhizoma Coptidis, has many pharmacological effects. Meanwhile, the determination of COP is essential in pharmacological and clinical applications. Herein, we prepared carbon quantum dots (CQDs) by one-step oil-thermal method using paper mill sludge (PMS) as precursor, and developed a ratiometric fluorescence method for the determination of COP. The structural and optical properties of PMS-CQDs were evaluated through highresolution transmission electron microscopy (HRTEM), Fourier-transform infrared (FTIR) spectroscopy, X-ray photoelectron spectroscopy (XPS), X-ray powder diffraction (XRD), ultraviolet-visible (UV-vis), fluorescence, zeta potential and fluorescence lifetime experiments. Fluorescence intensity ratio at 550 nm and 425 nm (I 550 /I 425 ) was recorded as an index for quantitative detection of COP. The detection concentration of COP ranges from 0.1 to 50 μM in good linear correlation (R 2 = 0.9974) with a limit of detection of 0.028 μM (3σ/k). The quenching mechanism was deduced to be inner filter effect and static quenching. The ratiometric fluorescent probe showed impressive selectivity and sensitivity towards COP, and was successfully applied to the detection of COP in human urine with expected recoveries (95.22-111.00%) and relative standard deviations (0.46-2.95%), indicating that our developed method has a great application prospect in actual sample detection.