Contamination detection and removal are important steps in environmental monitoring and cleanup. In this study, europium metal-organic framework structures (Eu-MOF) were designed and prepared that can act as fluorescent probes and photocatalysts for the detection and removal of tetracycline (TC) antibiotics. Eu-MOF was generated by a one-step solvothermal method using europium ion as the metal ion and terephthalic acid as the organic ligand source. The red fluorescence of Eu-MOF is selectively enhanced by TC due to the antenna effect. Eu-MOF, which has a linear range of 0.5–60 μM, can be utilized as a fluorescent probe for tetracycline detection based on this phenomena. In particular, Eu-MOF was found to be able to effectively photocatalyze the degradation of TC, with tetracycline removal rates of about 70 % and 55 % after 180 min of irradiation under ultraviolet light (UV) light and simulated visible light, respectively. The photocatalytic ability of Eu-MOF originated from the generation of hydroxyl radicals (•OH), superoxide radicals (•O2−) and electron holes (h+) under light irradiation. This study innovatively proposed a bifunctional Eu-MOF for TC fluorescence detection and photocatalytic degradation, which provides a novel method for the quick and easy identification and elimination of pharmaceutical contaminants. It can also provide some reference value for the construction of ratiometric fluorescent probes and heterojunction photocatalysts and their application in the treatment of water pollution.