An 18-metal lanthanide nanoring [Yb18(L1)8(HL2)2(OAc)20(MeOH)8(EtOH)6(H2O)4] (1), which shows a ratiometric fluorescent response to DPA, was constructed through the strategy of using two types of polydentate organic ligands. The addition of DPA increases the visible ligand-centered emission, but decreases the NIR lanthanide luminescence of 1. The limit of luminescent detection of 1 for DPA is 1.5 μM. The high fluorescence sensitivity of 1 to DPA is not affected by the existence of interferents such as aromatic carboxylates and ions.