The effect of equal-channel angular pressing (ECAP) on the pitting corrosion resistance of Al (AA1100) and Al-Mg (AA5052) alloy with anodization and without was investigated by means of polarization curves in solutions containing 300 ppm or 0.6 mol/L of Cl- and by surface analysis. In Al and Al-Mg alloy without anodization, the potentials for pitting corrosion were evidently shifted to the noble direction by ECAP process, indicating that this process improves resistance to pitting corrosion. SEM observation revealed that the pitting corrosion occurred near the impurity precipitates and the size of impurity precipitated decreased with ECAP process. The time-dependence of corrosion potential and the polarization resistance determined by AC impedance technique suggested that the formation rate of Al oxide films was increased with ECAP process. The improvement in pitting corrosion resistance of Al and Al-Mg by ECAP seems to be attributable to the decrease in the size of impurity precipitates and the increase in the formation rate of Al oxide films. On the other hand, the time required for initiating pitting corrosion of anodised Al was longer with ECAP than without, indicating improvement in the pitting corrosion resistance by application of ECAP. However, the pitting corrosion of anodized Al-Mg alloy occurred earlier with ECAP than without, showing that the corrosion resistance was worse with ECAP than without. In anodized Al-Mg alloy, cracks occurred in the anodic oxide films during initial corrosion and the cracks were larger with ECAP than without. It is assumed that the pitting corrosion was promoted by the cracks due to the higher internal stress resulting from ECAP.