Magnetic fluorescent composite nanomaterials have broad application prospects in the fields of biological imaging, anticounterfeiting identification, suspicious object tracking, and identification of latent fingerprints in forensic medicine. For an effective taggant, a clearly visible identifying mark is necessary to enable observers to capture labeling information quickly and accurately, even from a distance. The preparation method of magnetic fluorescent composite materials is complicated and usually needs different surface modification and assembly processes. The limited loading capacity of fluorescent materials also limits the fluorescence properties of the composite, so it is difficult to produce obvious fluorescence as a taggant to meet the requirements of visible labeling. In this study, a core-shell structure of a magnetic fluorescent composite was prepared by using the metal-organic framework ZIF-8 as the host of fluorescent materials and an encapsulation shell coated on the Fe