The main aim of the study was to document the recovery of the aquatic ecosystem after the release of toxic mining waste in the Guadiamar River Basin (Sevilla, SW Spain) in April 1998. Samples of water, plankton, periphyton and macroinvertebrates were taken once a month at nine sampling stations (six affected by the toxic release and three for control). Water hardness and pH recovered in a few weeks and did not change significantly thereafter in the river or in the marsh stations. Only the Agrio River (the tributary that received the initial waste dump) had a low pH (3–5) throughout the study period. High ammonia contents (up to 300 μM) were measured at two sampling stations due to sewage and oil mill pollution. Eutrophication was also common at most of the stations, including one reference site. The planktonic community did not differ substantially between reference and affected stations. On all occasions the small phytoplankton and zooplankton (rotifers) were dominant. Compared with the reference station, chlorophyll a in the riverine area increased, especially in the sewage-affected stations, while in the marsh area, no significant differences were found between affected and reference stations. After 6 months of cleaning operations, in November 1998 the macroinvertebrate community of the river was composed mainly of species of short life cycles typical of ponds (Heteroptera, Coleoptera and Odonata), while typical riverine species found at the upstream control station had not recolonised the river due to the transformation of the river into a series of artificial ponds constructed as sediment traps. An analysis of variance showed significantly higher values ( P<0.05) for all heavy metals analysed (Zn, Cu, Pb, As, Cd, Sb, Tl) in plankton and macroinvertebrate communities from impacted sites. Values found in invertebrates were highly variable, with a mean concentration of the most abundant metals, Zn and Cu, between two and three times those found in unpolluted areas. Values for As were up to five times higher while Pb, Sb and Tl showed up to 10-fold increases. At the affected stations, the metal concentrations found in biofilms, plankton and particulate material were more than five times greater than those in invertebrates. The slow recovery of the aquatic ecosystem clearly reflected the impact of the metal discharge and the subsequent cleaning activities following the mine spill, as well as the sewage inputs at two of the stations studied.