Perfluorinated compounds (PFCs), as an important class of environmental pollutants, have chemical and structural similarities that make their detection a great technical challenge. This study synthesized three species of metal-organic frameworks (MOFs) using different lanthanide metal ions or organic ligands, which were integrated into a fluorescent sensor array. This innovative approach offers a straightforward, rapid, and precise detection strategy for PFCs. Different ionization properties and fluorinated hydrophobic tails of PFCs lead to different electrostatic attraction and hydrophobic effects between PFCs and sensing elements, which become the basis for differential sensing. Furthermore, the fluorescence signal is more convenient to collect, making the sensor array simple to complete the identification. Combined with pattern recognition methods, the array successfully identified seven kinds of PFCs and mixtures with a classification accuracy of 100 % and a detection limit as low as 51 nM. Finally, the utility of the sensor array in river water sample analysis was verified. The strategy provides an effective method for identifying and determining PFCs and offers new opportunities for developing sensor arrays based on lanthanide MOFs.