Two 1,8-naphthyridines were synthesized and found to be fluorescent in solution. These compounds were studied in the presence of Cu(+) and Cu(2+) ions and it was verified that the metal causes the quenching of their fluorescence emission, due to the formation of complexes between the naphthyridine and the metal. A displacement assay was carried out in a DMSO-water mixture with the addition of various anions to the solutions of the complexes, and it was observed that these systems have a high capacity to selectively detect cyanide.