The invention relates to the technical field of photochemical detection and analysis, and discloses a fluorescent compound for detecting viscosity of oil displacement of tertiary oil recovery, and a preparation method and application of the fluorescent compound. The fluorescent probe is 2-(4-bis(4-methoxyphenyl)amino)phenyl)anthracene-9,10-dione (TPAMD). The probe compound disclosed by the invention is composed of groups with an aggregation-induced emission characteristic and anthraquinone groups with an electron-withdrawing effect, and thus has an aggregation-induced emission characteristic and an intramolecular charge transfer characteristic simultaneously. The probe is easy to prepare, is high in yield, has good viscosity responsiveness, and has relatively good linear response. The probe can be used in complex solvent environments, has good resistance to solvent perturbation, can be used to achieve detection of viscosity of chemical displacement agents in the oil production field, and the method has an analysis and detection potential for various viscosity-sensitive fields such as chemistry, food, environment and the like.