A novel fluorescent probe, with advanced features including “turn-on” fluorescence response, high sensitivity, good compatibility, and mitochondria-targeting function, has been synthesized based on structural design for detecting and visualizing cyanide in foods and biological systems. An electron-donating triphenylamine group (TPA) was employed as the fluorescent and an electron-accepting 4-methyl-N-methyl-pyridinium iodide (Py) moiety was used as a mitochondria-targeted localization unit, which formed intramolecular charge transfer (ICT) system. The “turn-on” fluorescence response of the probe (TPA-BTD-Py, TBP) toward cyanide is attributed two reasons, one is the insertion of an electron-deficient benzothiadiazole (BTD) group into the conjugated system between TPA and Py, and the other is the inhibition of ICT induced by the nucleophilic addition of CN–. Two active sites for reacting with CN− were involved in TBP molecule and high response sensitivity were observed in tetrahydrofuran solvent containing 3 % H2O. The response time could be reduced to 150 s, the linear range was 0.25–50 μM, and the limit of detection was 0.046 μM for CN− analysis. The TBP probe was successfully applied to the detection of cyanide in food samples prepared in aqueous solution, including the sprouting potato, bitter almond, cassava, and apple seeds. Furthermore, TBP exhibited low cytotoxicity, clear mitochondria-localizing capability in HeLa cells and excellent fluorescence imaging of exogenous and endogenous CN– in living PC12 cells. Moreover, exogenous CN– with intraperitoneal injection in nude mice could be well monitored visually by the “turn-on” fluorescence. Therefore, the strategy based on structural design provided good prospects for optimizing fluorescent probes.