Socalant is highly effective in inhibiting not only calcium and magnesium salts, but also barium, sulfate and fluoride deposits, and prevents contamination of the membranes by compounds of iron, silicon and aluminum and other metals.