The determination of trace mercury in water samples by electrolytic deposition and electrothermal atomic-absorption spectrophotometry is described. Traces of mercury in water are preconcentrated by electrolytic reduction and deposition on a platinum wire cathode, which is then put into a graphite cup for direct atomization and measurement. The method is sensitive and simple, with a detection limit of 0.04 ng/ml. Almost all the metal ions commonly found in water samples can be tolerated, because of the selective deposition at controlled potential.