Two anion probes 1 and 2 featuring the dipyrrole carboxamide moiety for anion recognition have been prepared. These structurally simple anion probes display great selectivity for the cyanide anion over other common inorganic anions in semiaqueous environment via the formation of cyanohydrin derivatives. [structure: see text]