Red mud is highly alkaline (pH 13), saline and can contain elevated concentrations of several potentially toxic elements (e.g. Al, As, Mo and V). Release of up to 1 million m(3) of bauxite residue (red mud) suspension from the Ajka repository, western Hungary, caused large-scale contamination of downstream rivers and floodplains. There is now concern about the potential leaching of toxic metal(loid)s from the red mud as some have enhanced solubility at high pH. This study investigated the impact of red mud addition to three different Hungarian soils with respect to trace element solubility and soil geochemistry. The effectiveness of gypsum amendment for the rehabilitation of red mud-contaminated soils was also examined. Red mud addition to soils caused a pH increase, proportional to red mud addition, of up to 4 pH units (e.g. pH 7→11). Increasing red mud addition also led to significant increases in salinity, dissolved organic carbon and aqueous trace element concentrations. However, the response was highly soil specific and one of the soils tested buffered pH to around pH 8.5 even with the highest red mud loading tested (33% w/w); experiments using this soil also had much lower aqueous Al, As and V concentrations. Gypsum addition to soil/red mud mixtures, even at relatively low concentrations (1% w/w), was sufficient to buffer experimental pH to 7.5-8.5. This effect was attributed to the reaction of Ca(2+) supplied by the gypsum with OH(-) and carbonate from the red mud to precipitate calcite. The lowered pH enhanced trace element sorption and largely inhibited the release of Al, As and V. Mo concentrations, however, were largely unaffected by gypsum induced pH buffering due to the greater solubility of Mo (as molybdate) at circumneutral pH. Gypsum addition also leads to significantly higher porewater salinities, and column experiments demonstrated that this increase in total dissolved solids persisted even after 25 pore volume replacements. Gypsum addition could therefore provide a cheaper alternative to recovery (dig and dump) for the treatment of red mud-affected soils. The observed inhibition of trace metal release within red mud-affected soils was relatively insensitive to either the percentage of red mud or gypsum present, making the treatment easy to apply. However, there is risk that over-application of gypsum could lead to detrimental long-term increases in soil salinity.