The hydrodynamics of gas evolution plays an important role in the pitting corrosion of metals. A new technique for the measurement of the local hydrodynamics caused by corrosion processes, using the atomic force microscope, has been presented in this work. The hydrodynamics of hydrogen evolution on Al surface due to pitting corrosion was studied. The characteristic features of the hydrodynamics are discussed. To the best of our knowledge this is the first local measurement of pitting corrosion hydrodynamics.