Developing a sensitive, rapid, and accurate method for the quantitative and visual detection of the anthrax biomarker dipicolinic acid (DPA) is of great significance to human health and public safety. Due to the presence of the "antenna effect", the sensitization of Eu 3+ ions and Tb 3+ ions can be facilely achieved by the organic ligands with different degrees and exhibits excellent luminescence behavior of Eu 3+ ions and Tb 3+ ions, enabling a dual-centered lanthanide metal−organic framework (Ln-MOF) to be a promising ratiometric fluorescence sensor for the trace of DPA determination. Herein, we present a series of nanoporous dualcentered lanthanide metal−organic frameworks, denoted as {Eu x Tb 1−x (BPDC)(μ 3 -OH)(H 2 O)•H 2 O•DMF} n (Eu x Tb 1−x -BPDC) assembled with 2,2′-bipyridine-4,4′-dicarboxylic acid (H 2 BPDC), as ratiometric fluorescence sensors for DPA. Among these, Eu 0.5 Tb 0.5 -BPDC stands out as the optimal material, exhibiting superior fluorescence performance for quantitative, visual, and ratiometric DPA detection. Moreover, Eu 0.5 Tb 0.5 -BPDC demonstrates excellent fluorescence stability in aqueous solution and superior fluorescence capability for ratiometric DPA detection with remarkable sensitivity (limit of detection (LOD) = 0.608 μM), superior selectivity (K sv = 6.46 × 10 6 M −1 ), excellent anti-interference, and impressive reusability. Due to the contribution of blocked energy transfer between the mixed-lanthanide ions and competitive absorption in the presence of DPA, Eu 0.5 Tb 0.5 -BPDC demonstrates a visual color change observation from red to greenish-yellow under the illumination of ultraviolet light. Most importantly, the colorimetric detection of DPA can be achieved by fluorescence test strips and portable hydrogels, facilitating the practical application of Eu 0.5 Tb 0.5 -BPDC as ratiometric fluorescence sensors for DPA detection.