A new fluorescent probe P derived from naphthalimide bearing a pyridine group has been synthesized and characterized. The proposed probe P shows high selectivity and sensitivity to Cu2+ in aqueous media. Under optimized conditions, the linear response of P (2 μM) toward Cu2+ was 0.05–0.9 μM in ethanol-water solution (3:2, v:v, 50 mM HEPES, pH 7.4), and the detection limit was 0.03 μM.