A method for minimizing localized corrosion of fluid containers that occurs as a consequence of most non-chemical procedures for removing scale deposits is described. It counteracts the unavoidable side-effect of the lowering of the local pH in the vicinity of the bubbles of CO2 that are generated during an electromagnetically-induced controlled precipitation procedure (17). The method is a simple and facile procedure for curbing the localized corrosion occurring as a result of most nonchemical procedures for removing scales. The method is desirably performed by an induction coil (20) wrapped around a fluid container such as a pipe encrusted with scale through which hard water is flowing (18). A pulsing electrical current (22A) is successively applied, a transitory induced electric current is generated in the solution, and scale encrusted on the fluid container dissolves in the solution. When the pulsing is stopped, the induced electric current in the solution ceases and so the scale stops dissolving, allowing a protective layer of scale to form over potential points of corrosion. Optionally permanent magnets may be used in the process, alone or with an induction coil.