The invention discloses an aluminum alloy for high-strength corrosion-resistant doors and windows, which comprises 6.50-10.50% of Zn, 2.50-3.50% of Cu, 2.10-2.50% of Mg, 0.40-0.60% of Mn, 0.34-0.38% of Si, 0.19-0.25% of Cr, 0.11-0.15% of Ti, 0.02-0.05% of Mo, 0.22-0.26% of B, 0.05-0.09% of rare-earth element Re, and the balance of Al. The aluminum alloy is prepared by the steps of melting, slag-off, heat preservation, standing, on-line refining, proportioning, refining, on-line degassing, casting, uniform annealing, extrusion molding, heat treatment, coloring and pore sealing. By optimizing the composition, proportion and processing technology of the alloy, the contradiction between the strength and the casting performance of the aluminum alloy can be effectively solved, and the problems of large thermal cracking tendency, poor corrosion resistance and poor high temperature strength of the aluminum alloy are solved.