In 1998, the Agrio and Guadiamar rivers underwent an enormous environmental disaster caused by the rupture of the Aznalcóllar tailings dam and the release of 6 hm(3) of pyrite sludge and acidic water. Both rivers run over recent alluvial materials which form a small-sized aquifer which is however important because underground water feeds the flow of the rivers. This work analyzes the state of groundwater 10 years after the spill. Before the dam failure, this aquifer was already contaminated in the zone nearest to the mine, to which the impact of the spill was added. Contamination levels in the alluvial aquifer of the Agrio River have decreased remarkably. However, they are still important, with acidic pH values and high concentrations of toxic elements (maximum values of 16 mg/L of Zn and 15 mg/L of Al). There are also important levels of contamination in the Guadiamar alluvial area closest to the mine, as well as in specific zones located further south. The concentration of toxic elements is mainly controlled by pH. The evolution of contaminant levels show a sharp decrease after the first years following the spill, followed by a subsequent stabilization. It is necessary to take measures for the recovery of the aquifer because, otherwise, groundwater will continue contributing contaminants into the Agrio and Guadiamar rivers.