text: Galvanic corrosion is the electrochemical erosion of metals. Corrosion occurs when two dissimilar metals are in contact with each other in the presence of an electrolyte, such as salt water. This forms a galvanic cell, with hydrogen gas forming on the more noble (less active) metal. The resulting electrochemical potential then develops an electric current that electrolytically dissolves the less noble material. A concentration cell can be formed if the same metal is exposed to two different concentrations of electrolyte.