The invention relates to a method for electrochemical preparation of hydrotalcite for in-situ treatment on a strontium-containing radioactive waste liquid in a power plant. The method comprises the following steps: preparing simulated radioactive wastewater with Sr<2+> as electrolyte, dropping an alkali solution and an acid solution, adjusting the pH value to be 5-11, and carrying out electrolysiswith double power supplies, wherein a direct-current voltage stabilizing power supply with an aluminum piece as an anode and graphite as a cathode is adopted as one group of the power supplies, and apulse power supply with two zinc pieces as an anode and a cathode respectively is adopted as the other group of the power supplies; alternating the anodes and the cathodes through inverse electrodes,carrying out electrolysis synthesis under a constant temperature condition, after the reaction is completed, leaving the electrolyte to stand, filtering, and carrying out solid-liquid separation, soas to complete simulation waste liquid purification treatment. By adopting the method, a great amount of chemicals or absorbents are not needed, only nitrate radicals and chloride ions of certain concentrations in the waste liquid need to be controlled, no secondary pollution can be caused, efficient removal of multiple divalent radioactive metallic ions can be achieved, and the method only aims at removal of strontium ions, is capable achieving efficient solid-liquid separation, is wide in material resource, simple in process and convenient to operate.