On the basis of the unusual anionic potential response of a diboronic acid and its ability to specifically recognize glucose, a highly selective enzyme-free potentiometric glucose sensor was developed.