The boron doped diamond (BDD) electrode is presented as an appropriate candidate for next generation glass-free, highly stable and accurate pH sensors. The method used in this study is based on the potential change related to the hydrogen evolution reaction following a current step, which is pH dependent. Alkali cations in the solution have no influence on the accuracy of the pH calibration curve, which provides an advantage with respect to the conventional pH glass electrode. The unwanted influence of electrochemically active compounds in solution can be avoided by adjusting the current density applied during chronopotentiometric measurements. The accuracy of the pH measurements is due to the excellent stability as well as the wide potential window and low background current of BDD electrodes. This faculty was not observed when using conventional electrode materials. The efficacy of this new type of pH sensor has been tested using tap water as a typical real sample.