A reversible and robust electrochemical pH oscillator was achieved using an ethyl viologen/ionic liquid (IL) aqueous solution under an applied redox potential in a batch reactor, where the IL incorporated into the pH oscillator increased the stability of the pH oscillation by acting as an electron buffer solution.