A detailed study on the photophysical and complexing properties of calixarenes bearing two and four dansyl derivatives (Calix-DANS2 and Calix-DANS4) in a CH3CN/H2O mixture (60:40 v/v) is reported. Calix-DANS2 shows a high selectivity towards Hg2+ over interfering cations (Na+, K+, Ca2+, Cu2+, Zn2+, Cd2+ and Pb2+) and a sensitivity in the 10(-7) mol L(-1) concentration range. The complexation of mercury ion induces a strong fluorescence quenching due to a well-defined electron transfer process from the fluorophore to the metal center. Calix-DANS4 exhibits an extremely high affinity for Pb2+ with a high selectivity over various competing ions. The unprecedented detection limit (4 microg L(-1)) is fully compatible with the level defined by the World Health Organisation. The affinity of Calix-DANS4 for Pb2+ can be rationalized by the activation of the inert pair of electrons on Pb2+. The number of fluorophores involved in the complexation can be determined from a careful time-resolved fluorescence characterization.