The basic reaction involved in dry corrosion is:

Where M is a metal element.

The metal loses electrons to form an ion and some free electrons. The ionic metal can then react with oxygen to form a metal oxide. In dry corrosion, the oxygen comes from the air, in wet corrosion, the oxygen is supplied by aerated water.