A new anthracene dimer connected by two imidazolium moieties has been systematically designed and synthesized as a fluorescent chemosensor for selective binding of H(2)PO(4)(-) over other anions, which have been examined using fluorescence and (1)H NMR and rationalized with ab initio study.