The invention discloses an aluminum alloy capable of being subjected to pressure casting and anodizing. The mass ratio formula of the aluminum alloy is ZnMgMn<c>M<d>Al<e>, wherein M is one or more of Cr, Zr, Cu, Ti, rare earth elements, V, Co, Ni, Sn, Nb, Mo, Fe, Si, B, In, Ca and Be, a is not smaller than 0.1% but not larger than 20%, b is not smaller than 0% but not larger than 4%, c is not smaller than 0.1% but not larger than 4%, d is not smaller than 0% but not larger than 5%, and the balance e. The aluminum alloy capable of being subjected to pressure casting and anodizing is good in fluidity and pressure casting performance and can be easily machined in the later period; a semi-finished product obtained after pressure casting can be subjected to anodizing and colored with various colors, and the aluminum alloy is a high-quality aluminum alloy applied to products with high appearance requirements. By adjusting the ratio, it is guaranteed that while the alloy can be subjected to anodizing, comprehensive performance of the alloy can meet the pressure casting technique, and thin-wall products can be produced.