Mitochondria-targeted fluorescent probes are highly important to obtain mitochondrial function information. However, the accuracy of the current mitochondria-targeted fluorescent probes is unsatisfactory owing to the following two reasons. In the first case, some probes that always have a mitochondria-targeting group, thus, would react with the analytes outside of mitochondria and enter mitochondria with the generated fluorophore signal, which leads to a false-positive result. In the other case, after response to the analytes in mitochondria, some probes could diffuse from mitochondria to other organelles, thus triggering a false-negative result. To avoid the two problems, herein, we develop a precipitated fluorophore-based probe, which precipitates in situ after reacting with analytes, for the accurate detection of mitochondrial analytes. The probe was modified with HQPQ, a novel solid-state fluorophore that is insoluble in water. As a proof of concept, we designed and synthesized a probe (HQPQ-B) for H2O2 detection. Based on the different mitochondria-targeting capacities of quinoline salts and quinolone, HQPQ loses the mitochondria-targeting ability after reacting with analytes outside of mitochondria, thus avoiding a false-positive result. On the contrary, when the probe first localized in mitochondria and then reacted with analytes, HQPQ would precipitate and remain in mitochondria without diffusing to other sites, thus avoiding a false-negative result. Therefore, HQPQ enables the accurate detection of mitochondrial analytes. We believe that the novel strategy based on HQPQ will be a general strategy for accurate detection of mitochondrial analytes without interference from other sites, which enables an accurate study on mitochondrial function.