The as-cast, homogenized, and peak-aged AZ63 alloys are investigated via microstructure observation, EDS analysis, hydrogen evolution, and electrochemical tests. The results suggest that the heat treatments exert an influence on the corrosion behavior of AZ63 alloy via the microstructure transformation. The corrosion of homogenized alloy is retarded by protective oxide layer at first, but achieves highest corrosion rate among the three alloys owing to the less protective products film. The micro-galvanic couples endow the as-cast and peak-aged alloys high dissolution activity, but the adhesive products alleviate the corrosion. Two models are proposed to interpret the dissolution mechanism for these alloys.