A two-photon reversible fluorescent probe L1 was designed and synthesized. The fluorescence intensity of the probe solution was strong, while the fluorescence of the solution was obviously quenched and the color of the solution was changed after the addition of hypochlorous acid, indicating this is "naked-eye sensor" for the detection of HClO. The probe showed great selectivity for hypochlorous acid over other reactive oxygen species (ROS) and anions. Fluorescence titration experiments showed that the probe has a low detection limit of 0.674 μM. Because of a morpholine group introduced to the naphathalimide framework, probe L1 was successfully applied to detect intracellular HClO in lysosome.