For the purification of heavy metal-containing wastewater, a process according to the invention deposits heavy metal deposits on a cathode or cathodes which are mechanically removed. For this purpose the invention provides an apparatus having a device for the mechanical removal of the heavy metal deposits on the cathode or cathodes.