Nature Water, Published online: 30 July 2026; doi:10.1038/s44221-026-00679-w Electrochemical ion pumping enables tunable, simultaneous desalination and selective heavy-metal recovery from complex industrial brines by precisely controlling the electrode potential to couple capacitive ion removal with targeted metal electrodeposition.