Adherent bubbles at electrodes are generally treated as reaction penalties. Herein, in situ hydroxylation of indium tin oxide surfaces can be easily achieved by applying a constant potential of +1.0 V in the presence of bubbles. Its successful hydroxylation is further demonstrated by preparing a ferrocene-terminated film, which is confirmed by cyclic voltammetry and X-ray photoelectron spectroscopy.