The development of pH gated glucose (Glu) biosensor is of great significance to human health. Herein, we have designed a pH gated Glu responsive biomimetic nanochannel, modified with 3-aminobenzeneboronic acid. The Glu responsive property can be regulated by pH which can switch nanochannels from the “on” to “off” state.