The corrosion behaviour of 6082 aluminium alloy was studied by measuring the electrochemical impedance spectra and electrode polarization curves. After the electrochemical tests, a microstructural analysis of the samples was conducted by using optical microscopy and electron scanning microscopy techniques to determine the corrosion mechanism. The results show that the Nyquist plot of the electrochemical impedance data in the NaCl solution consists of high‐ and low‐frequency capacitive impedance loops. When
SO
4
2
− ions are added to the NaCl etchant, the Nyquist plots of the electrochemical impedance data are composed of two different curves: a high‐frequency capacitive impedance loop and a low‐frequency inductive impedance loop. The corrosion current density increases with increasing
SO
4
2
− concentration, and as a result, the corrosion resistance of the aluminium alloy decreases. The microstructures of 6082 aluminium alloy consist of Mg2Si secondary particles in a large α‐Al matrix. Pitting corrosion initially occurs at the boundary between the matrix and secondary particles because the electrode potentials of the matrix and secondary particles are different. Then, corrosion paths develop along the network‐like grain boundaries, and finally, massive network‐like corrosion occurs throughout the entire alloy.