Corrosion resistance is an important property that could be affected by the ageing process. In order to investigate whether aging affects the corrosion resistance, corrosion rate and yield strength of diecast magnesium alloy AZ91D were measured and analysed after ageing. It was found that the dependence of the corrosion rate on ageing time can be ascribed to the changes in microstructure of the alloy and chemical composition of its matrix. Precipitation of the β phase (Mg17Al12) occurred along the grain boundaries during the initial ageing stages, resulting in a decreasing corrosion rate and an inceasing yield strength. In the later stages, the decreasing aluminium content in the a matrix made it more active, causing an increase in the corrosion rate. The decrease in aluminium content in the matrix also leads to a decrease in yield strength.