Fluorescent materials presenting unique color changes in response to external stimuli have wide applications in information storage and anticounterfeiting. However, developing intelligent fluorescent materials with high security levels and dynamically displaying encrypted information is still a challenge. Herein, we report a new method for constructing excellent fluorescent materials by loading the photochromic molecule spiropyran into a lanthanide metal-organic framework. Controlling the isomerization of the spiropyran unit regulates the fluorescence resonance energy transfer (FRET) mechanism between the spiropyran acceptor and the lanthanide donor, leading to an exceptional reversible absorption/luminescence modulation ability. As the irradiation time is extended, the fluorescent color changes continuously from yellow-greenish to orange and then to red through the FRET process within 60 s. This composite system has great potential in anticounterfeiting because of the following advantages: (1) the materials have different fluorescence emissions and optical colors regulated by ultraviolet radiation, which is convenient for designing complex anticounterfeiting patterns; (2) the system can be repeatedly verified quickly and exhibit dynamic fluorescence color within 60 s, having great potential in advanced anticounterfeiting, where time is key in encryption/decryption. These unique advantages will greatly enhance the reliability of anticounterfeiting measures and increase the difficulty of anticounterfeiting.