The effect of quenching condition such as air cooled (AC) and water quenched (WQ) treatment on the corrosion behavior of 6063 Al alloy was investigated by optical microscope, field emission scanning electron microscope and electrochemical work station.The experimental results showed that the corrosion resistance of the AC 6063 Al alloy was much worse than that of the WQ one, and the corrosion form of the AC sample was intergranular corrosion (IGC) and pitting whereas only pitting was found on the WQ alloy.Slow quenching after solution heat treatment caused grain boundary precipitation Mg 2 Si, introducing IGC susceptibility.The corrosion mechanism of pitting was contributed to galvanic corrosion between coarse impurity phase particles (Al-Fe-Si) and matrix Al, and IGC resulted from galvanic corrosion between grain boundary precipitates and matrix Al.