Diquat (DQ) is a typical bipyridine herbicide widely used to control weeds in fields and orchards. The severe toxicity of diquat poses a serious threat to the environment and human health. Metal-organic frameworks (MOFs) have received widespread attention due to their unique physical and chemical properties and applications in the detection of toxic and harmful substances. In this work, a two-dimensional (2D) Tb(III) functionalized MOF Tb(III)@1 (1 = [Cd(HTATB)(bimb)]n·H2O (Cd-MOF), H3TATB = 4,4′,4″-triazine-2,4,6-tribenzoicacid, bimb = 1,4-bis((1H-imidazol-1-yl)methyl)benzene) has been prepared and characterized. Tb(III)@1 has excellent optical properties and high water and chemical stability. After the Tb(III) is fixed by the uncoordinated -COO- in the 1 framework, Tb(III)@1 emits the typical green fluorescence of the lanthanide ion Tb(III) through the “antenna effect”. It is worth noting that Tb(III)@1 can be used as a dual emission fluorescence chemical sensor for the ratio fluorescence detection of pesticide DQ, exhibiting a relatively low detection limit of 0.06 nM and a wide detection range of 0–50 nM. After the addition of DQ, a rapid color change of Tb(III)@1 fluorescence from green to blue was observed due to the combined effects of IFE, FRET and dynamic quenching. Therefore, a simple test paper box has been designed for direct on-site determination of pesticide DQ. In addition, the developed sensor has been successfully applied to the detection of DQ in real samples (fruits a Yin-Xia Sun and Bo-Tao Ji contributed equally to this work and should be considered co-first authors.nd vegetables) with satisfactory results. The results indicate that the probe developed in this study has broad application prospects in both real sample detection and actual on-site testing.