In this study, the effects of particle distribution and anodizing time on the microstructure and corrosion resistance of the TiB2 particle-reinforced Al-Zn-Mg-Cu composite were investigated. Relationships between TiB2 particle distribution, anodizing time, coating growth rule, and corrosion resistance were characterized and discussed using an optical microscope, a scanning electron microscope, an electrochemical test, and a salt spray test. Dispersion of TiB2 particles by powder metallurgy improved the corrosion resistance of the anodized coating on composites. Compared with the matrix, the corrosion potential (Ecorr) of the anodized coating shifted to the positive direction, and the corrosion current density (icorr) decreased. Meanwhile, the icorr of the coating decreased initially and then increased with the extension of the anodization time. The corrosion resistance of the coating was optimal at an anodization time of 20 min. The corrosion resistance of the composite was determined by both the porosity and thickness of the coating. Additionally, all samples treated by potassium dichromate sealing had no corrosion points after a 336-h salt spray test, demonstrating an excellent corrosion resistance suitable for harsh environmental applications in industry.